Package-level declarations

Types

enum CapacityProviderAutoScalingGroupProviderManagedDraining : Enum<CapacityProviderAutoScalingGroupProviderManagedDraining> , ConvertibleToJava<CapacityProviderAutoScalingGroupProviderManagedDraining>

The managed draining option for the Auto Scaling group capacity provider. When you enable this, Amazon ECS manages and gracefully drains the EC2 container instances that are in the Auto Scaling group capacity provider.

enum CapacityProviderAutoScalingGroupProviderManagedTerminationProtection : Enum<CapacityProviderAutoScalingGroupProviderManagedTerminationProtection> , ConvertibleToJava<CapacityProviderAutoScalingGroupProviderManagedTerminationProtection>

The managed termination protection setting to use for the Auto Scaling group capacity provider. This determines whether the Auto Scaling group has managed termination protection. The default is off.

Link copied to clipboard
enum CapacityProviderManagedScalingStatus : Enum<CapacityProviderManagedScalingStatus> , ConvertibleToJava<CapacityProviderManagedScalingStatus>

Determines whether to use managed scaling for the capacity provider.

enum ClusterCapacityProviderAssociationsCapacityProvider : Enum<ClusterCapacityProviderAssociationsCapacityProvider> , ConvertibleToJava<ClusterCapacityProviderAssociationsCapacityProvider>

If using ec2 auto-scaling, the name of the associated capacity provider. Otherwise FARGATE, FARGATE_SPOT.

Link copied to clipboard
enum ServiceAvailabilityZoneRebalancing : Enum<ServiceAvailabilityZoneRebalancing> , ConvertibleToJava<ServiceAvailabilityZoneRebalancing>

Indicates whether to use Availability Zone rebalancing for the service. For more information, see Balancing an Amazon ECS service across Availability Zones in the Amazon Elastic Container Service Developer Guide.

Link copied to clipboard
enum ServiceAwsVpcConfigurationAssignPublicIp : Enum<ServiceAwsVpcConfigurationAssignPublicIp> , ConvertibleToJava<ServiceAwsVpcConfigurationAssignPublicIp>

Whether the task's elastic network interface receives a public IP address. Consider the following when you set this value:

Link copied to clipboard
enum ServiceDeploymentControllerType : Enum<ServiceDeploymentControllerType> , ConvertibleToJava<ServiceDeploymentControllerType>

The deployment controller type to use. There are three deployment controller types available:

Link copied to clipboard
enum ServiceEbsTagSpecificationPropagateTags : Enum<ServiceEbsTagSpecificationPropagateTags> , ConvertibleToJava<ServiceEbsTagSpecificationPropagateTags>

Determines whether to propagate the tags from the task definition to the Amazon EBS volume. Tags can only propagate to a `SERVICE` specified in `ServiceVolumeConfiguration`. If no value is specified, the tags aren't propagated.

Link copied to clipboard
enum ServiceLaunchType : Enum<ServiceLaunchType> , ConvertibleToJava<ServiceLaunchType>

The launch type on which to run your service. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.

Link copied to clipboard
enum ServicePlacementConstraintType : Enum<ServicePlacementConstraintType> , ConvertibleToJava<ServicePlacementConstraintType>

The type of constraint. Use `distinctInstance` to ensure that each task in a particular group is running on a different container instance. Use `memberOf` to restrict the selection to a group of valid candidates.

Link copied to clipboard
enum ServicePlacementStrategyType : Enum<ServicePlacementStrategyType> , ConvertibleToJava<ServicePlacementStrategyType>

The type of placement strategy. The `random` placement strategy randomly places tasks on available candidates. The `spread` placement strategy spreads placement across available candidates evenly based on the `field` parameter. The `binpack` strategy places tasks on available candidates that have the least available amount of the resource that's specified with the `field` parameter. For example, if you binpack on memory, a task is placed on the instance with the least amount of remaining memory but still enough to run the task.

Link copied to clipboard
enum ServicePropagateTags : Enum<ServicePropagateTags> , ConvertibleToJava<ServicePropagateTags>

Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags aren't propagated. Tags can only be propagated to the task during task creation. To add tags to a task after task creation, use the TagResource API action. You must set this to a value other than `NONE` when you use Cost Explorer. For more information, see Amazon ECS usage reports in the Amazon Elastic Container Service Developer Guide. The default is `NONE`.

Link copied to clipboard
enum ServiceSchedulingStrategy : Enum<ServiceSchedulingStrategy> , ConvertibleToJava<ServiceSchedulingStrategy>

The scheduling strategy to use for the service. For more information, see Services. There are two service scheduler strategies available:

Link copied to clipboard
enum TaskDefinitionAuthorizationConfigIam : Enum<TaskDefinitionAuthorizationConfigIam> , ConvertibleToJava<TaskDefinitionAuthorizationConfigIam>

Determines whether to use the Amazon ECS task role defined in a task definition when mounting the Amazon EFS file system. If it is turned on, transit encryption must be turned on in the `EFSVolumeConfiguration`. If this parameter is omitted, the default value of `DISABLED` is used. For more information, see Using Amazon EFS access points in the Amazon Elastic Container Service Developer Guide.

enum TaskDefinitionContainerDefinitionVersionConsistency : Enum<TaskDefinitionContainerDefinitionVersionConsistency> , ConvertibleToJava<TaskDefinitionContainerDefinitionVersionConsistency>

Specifies whether Amazon ECS will resolve the container image tag provided in the container definition to an image digest. By default, the value is `enabled`. If you set the value for a container as `disabled`, Amazon ECS will not resolve the provided container image tag to a digest and will use the original image URI specified in the container definition for deployment. For more information about container image resolution, see Container image resolution in the Amazon ECS Developer Guide.

enum TaskDefinitionEfsVolumeConfigurationTransitEncryption : Enum<TaskDefinitionEfsVolumeConfigurationTransitEncryption> , ConvertibleToJava<TaskDefinitionEfsVolumeConfigurationTransitEncryption>

Determines whether to use encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server. Transit encryption must be turned on if Amazon EFS IAM authorization is used. If this parameter is omitted, the default value of `DISABLED` is used. For more information, see Encrypting data in transit in the Amazon Elastic File System User Guide.

Link copied to clipboard
enum TaskDefinitionPortMappingAppProtocol : Enum<TaskDefinitionPortMappingAppProtocol> , ConvertibleToJava<TaskDefinitionPortMappingAppProtocol>

The application protocol that's used for the port mapping. This parameter only applies to Service Connect. We recommend that you set this parameter to be consistent with the protocol that your application uses. If you set this parameter, Amazon ECS adds protocol-specific connection handling to the Service Connect proxy. If you set this parameter, Amazon ECS adds protocol-specific telemetry in the Amazon ECS console and CloudWatch. If you don't set a value for this parameter, then TCP is used. However, Amazon ECS doesn't add protocol-specific telemetry for TCP. `appProtocol` is immutable in a Service Connect service. Updating this field requires a service deletion and redeployment. Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.

Link copied to clipboard
enum TaskSetAwsVpcConfigurationAssignPublicIp : Enum<TaskSetAwsVpcConfigurationAssignPublicIp> , ConvertibleToJava<TaskSetAwsVpcConfigurationAssignPublicIp>

Whether the task's elastic network interface receives a public IP address. The default value is DISABLED.

Link copied to clipboard
enum TaskSetLaunchType : Enum<TaskSetLaunchType> , ConvertibleToJava<TaskSetLaunchType>

The launch type that new tasks in the task set will use. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html in the Amazon Elastic Container Service Developer Guide.

Link copied to clipboard
enum TaskSetScaleUnit : Enum<TaskSetScaleUnit> , ConvertibleToJava<TaskSetScaleUnit>

The unit of measure for the scale value.