AwsEcsServiceDetails
¶
Source code in docs_src/capo_securityhub/types/aws_ecs_service_details.py
capacity_provider_strategy
instance-attribute
¶
capacity_provider_strategy: NotRequired[AwsEcsServiceCapacityProviderStrategyList]
The capacity provider strategy that the service uses.
cluster
instance-attribute
¶
cluster: NotRequired[NonEmptyString]
The ARN of the cluster that hosts the service.
deployment_configuration
instance-attribute
¶
deployment_configuration: NotRequired[AwsEcsServiceDeploymentConfigurationDetails]
Deployment parameters for the service. Includes the number of tasks that run and the order in which to start and stop tasks.
deployment_controller
instance-attribute
¶
deployment_controller: NotRequired[AwsEcsServiceDeploymentControllerDetails]
Contains the deployment controller type that the service uses.
desired_count
instance-attribute
¶
desired_count: NotRequired[Integer]
The number of instantiations of the task definition to run on the service.
enable_ecs_managed_tags
instance-attribute
¶
enable_ecs_managed_tags: NotRequired[Boolean]
Whether to enable Amazon ECS managed tags for the tasks in the service.
enable_execute_command
instance-attribute
¶
enable_execute_command: NotRequired[Boolean]
Whether the execute command functionality is enabled for the service.
health_check_grace_period_seconds
instance-attribute
¶
health_check_grace_period_seconds: NotRequired[Integer]
After a task starts, the amount of time in seconds that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks.
launch_type
instance-attribute
¶
launch_type: NotRequired[NonEmptyString]
The launch type that the service uses.
Valid values: EC2 | FARGATE | EXTERNAL
load_balancers
instance-attribute
¶
load_balancers: NotRequired[AwsEcsServiceLoadBalancersList]
Information about the load balancers that the service uses.
network_configuration
instance-attribute
¶
network_configuration: NotRequired[AwsEcsServiceNetworkConfigurationDetails]
For tasks that use the awsvpc networking mode, the VPC subnet and security group configuration.
placement_constraints
instance-attribute
¶
placement_constraints: NotRequired[AwsEcsServicePlacementConstraintsList]
The placement constraints for the tasks in the service.
placement_strategies
instance-attribute
¶
placement_strategies: NotRequired[AwsEcsServicePlacementStrategiesList]
Information about how tasks for the service are placed.
platform_version
instance-attribute
¶
platform_version: NotRequired[NonEmptyString]
The platform version on which to run the service. Only specified for tasks that are hosted on Fargate. If a platform version is not specified, the LATEST platform version is used by default.
propagate_tags
instance-attribute
¶
propagate_tags: NotRequired[NonEmptyString]
Indicates whether to propagate the tags from the task definition to the task or from the service to the task. If no value is provided, then tags are not propagated.
Valid values: TASK_DEFINITION | SERVICE
role
instance-attribute
¶
role: NotRequired[NonEmptyString]
The ARN of the IAM role that is associated with the service. The role allows the Amazon ECS container agent to register container instances with an Elastic Load Balancing load balancer.
scheduling_strategy
instance-attribute
¶
scheduling_strategy: NotRequired[NonEmptyString]
The scheduling strategy to use for the service.
The REPLICA scheduling strategy places and maintains the desired number of tasks across the cluster. By default, the service scheduler spreads tasks across Availability Zones. Task placement strategies and constraints are used to customize task placement decisions.
The DAEMON scheduling strategy deploys exactly one task on each active container instance that meets all of the task placement constraints that are specified in the cluster. The service scheduler also evaluates the task placement constraints for running tasks and stops tasks that don't meet the placement constraints.
Valid values: REPLICA | DAEMON
service_name
instance-attribute
¶
service_name: NotRequired[NonEmptyString]
The name of the service.
The name can contain up to 255 characters. It can use letters, numbers, underscores, and hyphens.
service_registries
instance-attribute
¶
service_registries: NotRequired[AwsEcsServiceServiceRegistriesList]
Information about the service discovery registries to assign to the service.
task_definition
instance-attribute
¶
task_definition: NotRequired[NonEmptyString]
The task definition to use for tasks in the service.