| Package | Description |
|---|---|
| software.amazon.awscdk.services.ecs |
Amazon ECS Construct Library
|
| software.amazon.awscdk.services.stepfunctions.tasks |
Tasks for AWS Step Functions
|
| Modifier and Type | Method and Description |
|---|---|
static PlacementConstraint |
PlacementConstraint.distinctInstances()
(experimental) Use distinctInstance to ensure that each task in a particular group is running on a different container instance.
|
static PlacementConstraint |
PlacementConstraint.memberOf(String... expressions)
(experimental) Use memberOf to restrict the selection to a group of valid candidates specified by a query expression.
|
| Modifier and Type | Method and Description |
|---|---|
default List<PlacementConstraint> |
Ec2TaskDefinitionProps.getPlacementConstraints()
(experimental) An array of placement constraint objects to use for the task.
|
List<PlacementConstraint> |
Ec2TaskDefinitionProps.Jsii$Proxy.getPlacementConstraints() |
default List<PlacementConstraint> |
Ec2ServiceProps.getPlacementConstraints()
(experimental) The placement constraints to use for tasks in the service.
|
List<PlacementConstraint> |
Ec2ServiceProps.Jsii$Proxy.getPlacementConstraints() |
default List<PlacementConstraint> |
TaskDefinitionProps.getPlacementConstraints()
(experimental) The placement constraints to use for tasks in the service.
|
List<PlacementConstraint> |
TaskDefinitionProps.Jsii$Proxy.getPlacementConstraints() |
| Modifier and Type | Method and Description |
|---|---|
void |
TaskDefinition.addPlacementConstraint(PlacementConstraint constraint)
(experimental) Adds the specified placement constraint to the task definition.
|
void |
Ec2Service.addPlacementConstraints(PlacementConstraint... constraints)
(experimental) Adds one or more placement constraints to use for tasks in the service.
|
| Modifier and Type | Method and Description |
|---|---|
Ec2TaskDefinition.Builder |
Ec2TaskDefinition.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
(experimental) An array of placement constraint objects to use for the task.
|
TaskDefinition.Builder |
TaskDefinition.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
(experimental) The placement constraints to use for tasks in the service.
|
Ec2TaskDefinitionProps.Builder |
Ec2TaskDefinitionProps.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
Sets the value of
Ec2TaskDefinitionProps.getPlacementConstraints() |
Ec2ServiceProps.Builder |
Ec2ServiceProps.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
Sets the value of
Ec2ServiceProps.getPlacementConstraints() |
TaskDefinitionProps.Builder |
TaskDefinitionProps.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
Sets the value of
TaskDefinitionProps.getPlacementConstraints() |
Ec2Service.Builder |
Ec2Service.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
(experimental) The placement constraints to use for tasks in the service.
|
| Modifier and Type | Method and Description |
|---|---|
default List<PlacementConstraint> |
EcsEc2LaunchTargetOptions.getPlacementConstraints()
(experimental) Placement constraints.
|
List<PlacementConstraint> |
EcsEc2LaunchTargetOptions.Jsii$Proxy.getPlacementConstraints() |
default List<PlacementConstraint> |
RunEcsEc2TaskProps.getPlacementConstraints()
Deprecated.
|
List<PlacementConstraint> |
RunEcsEc2TaskProps.Jsii$Proxy.getPlacementConstraints()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
EcsEc2LaunchTargetOptions.Builder |
EcsEc2LaunchTargetOptions.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
Sets the value of
EcsEc2LaunchTargetOptions.getPlacementConstraints() |
EcsEc2LaunchTarget.Builder |
EcsEc2LaunchTarget.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
(experimental) Placement constraints.
|
RunEcsEc2Task.Builder |
RunEcsEc2Task.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
Deprecated.
|
RunEcsEc2TaskProps.Builder |
RunEcsEc2TaskProps.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
Deprecated.
|
Copyright © 2022. All rights reserved.