Uses of Class
software.amazon.awscdk.services.ecs.PlacementConstraint
Package
Description
Amazon ECS Construct Library
CDK Construct library for higher-level ECS Constructs
Tasks for AWS Step Functions
-
Uses of PlacementConstraint in software.amazon.awscdk.services.ecs
Modifier and TypeMethodDescriptionstatic PlacementConstraint
PlacementConstraint.distinctInstances()
Use distinctInstance to ensure that each task in a particular group is running on a different container instance.static PlacementConstraint
Use memberOf to restrict the selection to a group of valid candidates specified by a query expression.Modifier and TypeMethodDescriptiondefault List<PlacementConstraint>
Ec2ServiceProps.getPlacementConstraints()
The placement constraints to use for tasks in the service.final List<PlacementConstraint>
Ec2ServiceProps.Jsii$Proxy.getPlacementConstraints()
default List<PlacementConstraint>
Ec2TaskDefinitionProps.getPlacementConstraints()
An array of placement constraint objects to use for the task.final List<PlacementConstraint>
Ec2TaskDefinitionProps.Jsii$Proxy.getPlacementConstraints()
default List<PlacementConstraint>
TaskDefinitionProps.getPlacementConstraints()
The placement constraints to use for tasks in the service.final List<PlacementConstraint>
TaskDefinitionProps.Jsii$Proxy.getPlacementConstraints()
Modifier and TypeMethodDescriptionvoid
TaskDefinition.addPlacementConstraint
(PlacementConstraint constraint) Adds the specified placement constraint to the task definition.void
Ec2Service.addPlacementConstraints
(@NotNull PlacementConstraint... constraints) Adds one or more placement constraints to use for tasks in the service.Modifier and TypeMethodDescriptionEc2Service.Builder.placementConstraints
(List<? extends PlacementConstraint> placementConstraints) The placement constraints to use for tasks in the service.Ec2ServiceProps.Builder.placementConstraints
(List<? extends PlacementConstraint> placementConstraints) Sets the value ofEc2ServiceProps.getPlacementConstraints()
Ec2TaskDefinition.Builder.placementConstraints
(List<? extends PlacementConstraint> placementConstraints) An array of placement constraint objects to use for the task.Ec2TaskDefinitionProps.Builder.placementConstraints
(List<? extends PlacementConstraint> placementConstraints) Sets the value ofEc2TaskDefinitionProps.getPlacementConstraints()
TaskDefinition.Builder.placementConstraints
(List<? extends PlacementConstraint> placementConstraints) The placement constraints to use for tasks in the service.TaskDefinitionProps.Builder.placementConstraints
(List<? extends PlacementConstraint> placementConstraints) Sets the value ofTaskDefinitionProps.getPlacementConstraints()
-
Uses of PlacementConstraint in software.amazon.awscdk.services.ecs.patterns
Modifier and TypeMethodDescriptiondefault List<PlacementConstraint>
ApplicationLoadBalancedEc2ServiceProps.getPlacementConstraints()
The placement constraints to use for tasks in the service.final List<PlacementConstraint>
ApplicationLoadBalancedEc2ServiceProps.Jsii$Proxy.getPlacementConstraints()
default List<PlacementConstraint>
ApplicationMultipleTargetGroupsEc2ServiceProps.getPlacementConstraints()
The placement constraints to use for tasks in the service.final List<PlacementConstraint>
ApplicationMultipleTargetGroupsEc2ServiceProps.Jsii$Proxy.getPlacementConstraints()
default List<PlacementConstraint>
NetworkLoadBalancedEc2ServiceProps.getPlacementConstraints()
The placement constraints to use for tasks in the service.final List<PlacementConstraint>
NetworkLoadBalancedEc2ServiceProps.Jsii$Proxy.getPlacementConstraints()
default List<PlacementConstraint>
NetworkMultipleTargetGroupsEc2ServiceProps.getPlacementConstraints()
The placement constraints to use for tasks in the service.final List<PlacementConstraint>
NetworkMultipleTargetGroupsEc2ServiceProps.Jsii$Proxy.getPlacementConstraints()
default List<PlacementConstraint>
QueueProcessingEc2ServiceProps.getPlacementConstraints()
The placement constraints to use for tasks in the service.final List<PlacementConstraint>
QueueProcessingEc2ServiceProps.Jsii$Proxy.getPlacementConstraints()
Modifier and TypeMethodDescriptionApplicationLoadBalancedEc2Service.Builder.placementConstraints
(List<? extends PlacementConstraint> placementConstraints) The placement constraints to use for tasks in the service.ApplicationLoadBalancedEc2ServiceProps.Builder.placementConstraints
(List<? extends PlacementConstraint> placementConstraints) Sets the value ofApplicationLoadBalancedEc2ServiceProps.getPlacementConstraints()
ApplicationMultipleTargetGroupsEc2Service.Builder.placementConstraints
(List<? extends PlacementConstraint> placementConstraints) The placement constraints to use for tasks in the service.ApplicationMultipleTargetGroupsEc2ServiceProps.Builder.placementConstraints
(List<? extends PlacementConstraint> placementConstraints) Sets the value ofApplicationMultipleTargetGroupsEc2ServiceProps.getPlacementConstraints()
NetworkLoadBalancedEc2Service.Builder.placementConstraints
(List<? extends PlacementConstraint> placementConstraints) The placement constraints to use for tasks in the service.NetworkLoadBalancedEc2ServiceProps.Builder.placementConstraints
(List<? extends PlacementConstraint> placementConstraints) Sets the value ofNetworkLoadBalancedEc2ServiceProps.getPlacementConstraints()
NetworkMultipleTargetGroupsEc2Service.Builder.placementConstraints
(List<? extends PlacementConstraint> placementConstraints) The placement constraints to use for tasks in the service.NetworkMultipleTargetGroupsEc2ServiceProps.Builder.placementConstraints
(List<? extends PlacementConstraint> placementConstraints) Sets the value ofNetworkMultipleTargetGroupsEc2ServiceProps.getPlacementConstraints()
QueueProcessingEc2Service.Builder.placementConstraints
(List<? extends PlacementConstraint> placementConstraints) The placement constraints to use for tasks in the service.QueueProcessingEc2ServiceProps.Builder.placementConstraints
(List<? extends PlacementConstraint> placementConstraints) Sets the value ofQueueProcessingEc2ServiceProps.getPlacementConstraints()
-
Uses of PlacementConstraint in software.amazon.awscdk.services.stepfunctions.tasks
Modifier and TypeMethodDescriptiondefault List<PlacementConstraint>
EcsEc2LaunchTargetOptions.getPlacementConstraints()
Placement constraints.final List<PlacementConstraint>
EcsEc2LaunchTargetOptions.Jsii$Proxy.getPlacementConstraints()
default List<PlacementConstraint>
RunEcsEc2TaskProps.getPlacementConstraints()
Deprecated.final List<PlacementConstraint>
RunEcsEc2TaskProps.Jsii$Proxy.getPlacementConstraints()
Deprecated.Modifier and TypeMethodDescriptionEcsEc2LaunchTarget.Builder.placementConstraints
(List<? extends PlacementConstraint> placementConstraints) Placement constraints.EcsEc2LaunchTargetOptions.Builder.placementConstraints
(List<? extends PlacementConstraint> placementConstraints) Sets the value ofEcsEc2LaunchTargetOptions.getPlacementConstraints()
RunEcsEc2Task.Builder.placementConstraints
(List<? extends PlacementConstraint> placementConstraints) Deprecated.RunEcsEc2TaskProps.Builder.placementConstraints
(List<? extends PlacementConstraint> placementConstraints) Deprecated.