| Package | Description |
|---|---|
| software.amazon.awscdk.services.ecs |
Amazon ECS Construct Library
|
| software.amazon.awscdk.services.ecs.patterns |
CDK Construct library for higher-level ECS Constructs
|
| software.amazon.awscdk.services.stepfunctions.tasks |
Tasks for AWS Step Functions
|
| Modifier and Type | Method and Description |
|---|---|
static PlacementConstraint |
PlacementConstraint.distinctInstances()
Use distinctInstance to ensure that each task in a particular group is running on a different container instance.
|
static PlacementConstraint |
PlacementConstraint.memberOf(String... expressions)
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> |
TaskDefinitionProps.getPlacementConstraints()
The placement constraints to use for tasks in the service.
|
List<PlacementConstraint> |
TaskDefinitionProps.Jsii$Proxy.getPlacementConstraints() |
default List<PlacementConstraint> |
Ec2ServiceProps.getPlacementConstraints()
The placement constraints to use for tasks in the service.
|
List<PlacementConstraint> |
Ec2ServiceProps.Jsii$Proxy.getPlacementConstraints() |
default List<PlacementConstraint> |
Ec2TaskDefinitionProps.getPlacementConstraints()
An array of placement constraint objects to use for the task.
|
List<PlacementConstraint> |
Ec2TaskDefinitionProps.Jsii$Proxy.getPlacementConstraints() |
| Modifier and Type | Method and Description |
|---|---|
void |
TaskDefinition.addPlacementConstraint(PlacementConstraint constraint)
Adds the specified placement constraint to the task definition.
|
void |
Ec2Service.addPlacementConstraints(PlacementConstraint... constraints)
Adds one or more placement constraints to use for tasks in the service.
|
| Modifier and Type | Method and Description |
|---|---|
TaskDefinitionProps.Builder |
TaskDefinitionProps.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
Sets the value of
TaskDefinitionProps.getPlacementConstraints() |
Ec2ServiceProps.Builder |
Ec2ServiceProps.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
Sets the value of
Ec2ServiceProps.getPlacementConstraints() |
TaskDefinition.Builder |
TaskDefinition.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
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() |
Ec2Service.Builder |
Ec2Service.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
The placement constraints to use for tasks in the service.
|
Ec2TaskDefinition.Builder |
Ec2TaskDefinition.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
An array of placement constraint objects to use for the task.
|
| Modifier and Type | Method and Description |
|---|---|
default List<PlacementConstraint> |
ApplicationLoadBalancedEc2ServiceProps.getPlacementConstraints()
The placement constraints to use for tasks in the service.
|
List<PlacementConstraint> |
ApplicationLoadBalancedEc2ServiceProps.Jsii$Proxy.getPlacementConstraints() |
default List<PlacementConstraint> |
NetworkMultipleTargetGroupsEc2ServiceProps.getPlacementConstraints()
The placement constraints to use for tasks in the service.
|
List<PlacementConstraint> |
NetworkMultipleTargetGroupsEc2ServiceProps.Jsii$Proxy.getPlacementConstraints() |
default List<PlacementConstraint> |
QueueProcessingEc2ServiceProps.getPlacementConstraints()
The placement constraints to use for tasks in the service.
|
List<PlacementConstraint> |
QueueProcessingEc2ServiceProps.Jsii$Proxy.getPlacementConstraints() |
default List<PlacementConstraint> |
ApplicationMultipleTargetGroupsEc2ServiceProps.getPlacementConstraints()
The placement constraints to use for tasks in the service.
|
List<PlacementConstraint> |
ApplicationMultipleTargetGroupsEc2ServiceProps.Jsii$Proxy.getPlacementConstraints() |
default List<PlacementConstraint> |
NetworkLoadBalancedEc2ServiceProps.getPlacementConstraints()
The placement constraints to use for tasks in the service.
|
List<PlacementConstraint> |
NetworkLoadBalancedEc2ServiceProps.Jsii$Proxy.getPlacementConstraints() |
| Modifier and Type | Method and Description |
|---|---|
ApplicationLoadBalancedEc2ServiceProps.Builder |
ApplicationLoadBalancedEc2ServiceProps.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
Sets the value of
ApplicationLoadBalancedEc2ServiceProps.getPlacementConstraints() |
NetworkLoadBalancedEc2Service.Builder |
NetworkLoadBalancedEc2Service.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
The placement constraints to use for tasks in the service.
|
NetworkMultipleTargetGroupsEc2ServiceProps.Builder |
NetworkMultipleTargetGroupsEc2ServiceProps.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
Sets the value of
NetworkMultipleTargetGroupsEc2ServiceProps.getPlacementConstraints() |
NetworkMultipleTargetGroupsEc2Service.Builder |
NetworkMultipleTargetGroupsEc2Service.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
The placement constraints to use for tasks in the service.
|
QueueProcessingEc2ServiceProps.Builder |
QueueProcessingEc2ServiceProps.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
Sets the value of
QueueProcessingEc2ServiceProps.getPlacementConstraints() |
ApplicationLoadBalancedEc2Service.Builder |
ApplicationLoadBalancedEc2Service.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
The placement constraints to use for tasks in the service.
|
ApplicationMultipleTargetGroupsEc2ServiceProps.Builder |
ApplicationMultipleTargetGroupsEc2ServiceProps.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
Sets the value of
ApplicationMultipleTargetGroupsEc2ServiceProps.getPlacementConstraints() |
NetworkLoadBalancedEc2ServiceProps.Builder |
NetworkLoadBalancedEc2ServiceProps.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
Sets the value of
NetworkLoadBalancedEc2ServiceProps.getPlacementConstraints() |
QueueProcessingEc2Service.Builder |
QueueProcessingEc2Service.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
The placement constraints to use for tasks in the service.
|
ApplicationMultipleTargetGroupsEc2Service.Builder |
ApplicationMultipleTargetGroupsEc2Service.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints)
The placement constraints to use for tasks in the service.
|
| Modifier and Type | Method and Description |
|---|---|
default List<PlacementConstraint> |
EcsEc2LaunchTargetOptions.getPlacementConstraints()
Placement constraints.
|
List<PlacementConstraint> |
EcsEc2LaunchTargetOptions.Jsii$Proxy.getPlacementConstraints() |
| 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)
Placement constraints.
|
Copyright © 2022. All rights reserved.