Uses of Class
software.amazon.awscdk.services.ecs.PlacementConstraint
Packages that use PlacementConstraint
Package
Description
Amazon ECS Construct Library
CDK Construct library for higher-level ECS Constructs
Amazon EventBridge Scheduler Targets Construct Library
Tasks for AWS Step Functions
-
Uses of PlacementConstraint in software.amazon.awscdk.services.ecs
Methods in software.amazon.awscdk.services.ecs that return PlacementConstraintModifier and TypeMethodDescriptionstatic PlacementConstraintPlacementConstraint.distinctInstances()Use distinctInstance to ensure that each task in a particular group is running on a different container instance.static PlacementConstraintUse memberOf to restrict the selection to a group of valid candidates specified by a query expression.Methods in software.amazon.awscdk.services.ecs that return types with arguments of type PlacementConstraintModifier 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()Methods in software.amazon.awscdk.services.ecs with parameters of type PlacementConstraintModifier and TypeMethodDescriptionvoidTaskDefinition.addPlacementConstraint(PlacementConstraint constraint) Adds the specified placement constraint to the task definition.voidEc2Service.addPlacementConstraints(PlacementConstraint... constraints) Adds one or more placement constraints to use for tasks in the service.Method parameters in software.amazon.awscdk.services.ecs with type arguments of type PlacementConstraintModifier 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
Methods in software.amazon.awscdk.services.ecs.patterns that return types with arguments of type PlacementConstraintModifier 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()Method parameters in software.amazon.awscdk.services.ecs.patterns with type arguments of type PlacementConstraintModifier 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.scheduler.targets
Methods in software.amazon.awscdk.services.scheduler.targets that return types with arguments of type PlacementConstraintModifier and TypeMethodDescriptiondefault List<PlacementConstraint> Ec2TaskProps.getPlacementConstraints()The rules that must be met in order to place a task on a container instance.final List<PlacementConstraint> Ec2TaskProps.Jsii$Proxy.getPlacementConstraints()Method parameters in software.amazon.awscdk.services.scheduler.targets with type arguments of type PlacementConstraintModifier and TypeMethodDescriptionEc2TaskProps.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints) Sets the value ofEc2TaskProps.getPlacementConstraints()EcsRunEc2Task.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints) The rules that must be met in order to place a task on a container instance. -
Uses of PlacementConstraint in software.amazon.awscdk.services.stepfunctions.tasks
Methods in software.amazon.awscdk.services.stepfunctions.tasks that return types with arguments of type PlacementConstraintModifier and TypeMethodDescriptiondefault List<PlacementConstraint> EcsEc2LaunchTargetOptions.getPlacementConstraints()Placement constraints.final List<PlacementConstraint> EcsEc2LaunchTargetOptions.Jsii$Proxy.getPlacementConstraints()Method parameters in software.amazon.awscdk.services.stepfunctions.tasks with type arguments of type PlacementConstraintModifier and TypeMethodDescriptionEcsEc2LaunchTarget.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints) Placement constraints.EcsEc2LaunchTargetOptions.Builder.placementConstraints(List<? extends PlacementConstraint> placementConstraints) Sets the value ofEcsEc2LaunchTargetOptions.getPlacementConstraints()