Uses of Class
software.amazon.awscdk.services.ecs.PlacementStrategy
Packages that use PlacementStrategy
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 PlacementStrategy in software.amazon.awscdk.services.ecs
Methods in software.amazon.awscdk.services.ecs that return PlacementStrategyModifier and TypeMethodDescriptionstatic PlacementStrategyPlacementStrategy.packedBy(BinPackResource resource) Places tasks on the container instances with the least available capacity of the specified resource.static PlacementStrategyPlacementStrategy.packedByCpu()Places tasks on container instances with the least available amount of CPU capacity.static PlacementStrategyPlacementStrategy.packedByMemory()Places tasks on container instances with the least available amount of memory capacity.static PlacementStrategyPlacementStrategy.randomly()Places tasks randomly.static PlacementStrategyPlacementStrategy.spreadAcross(String... fields) Places tasks evenly based on the specified value.static PlacementStrategyPlacementStrategy.spreadAcrossInstances()Places tasks evenly across all container instances in the cluster.Methods in software.amazon.awscdk.services.ecs that return types with arguments of type PlacementStrategyModifier and TypeMethodDescriptiondefault List<PlacementStrategy> Ec2ServiceProps.getPlacementStrategies()The placement strategies to use for tasks in the service.final List<PlacementStrategy> Ec2ServiceProps.Jsii$Proxy.getPlacementStrategies()Methods in software.amazon.awscdk.services.ecs with parameters of type PlacementStrategyModifier and TypeMethodDescriptionvoidEc2Service.addPlacementStrategies(PlacementStrategy... newStrategies) Adds one or more placement strategies to use for tasks in the service.Method parameters in software.amazon.awscdk.services.ecs with type arguments of type PlacementStrategyModifier and TypeMethodDescriptionEc2Service.Builder.placementStrategies(List<? extends PlacementStrategy> placementStrategies) The placement strategies to use for tasks in the service.Ec2ServiceProps.Builder.placementStrategies(List<? extends PlacementStrategy> placementStrategies) Sets the value ofEc2ServiceProps.getPlacementStrategies() -
Uses of PlacementStrategy in software.amazon.awscdk.services.ecs.patterns
Methods in software.amazon.awscdk.services.ecs.patterns that return types with arguments of type PlacementStrategyModifier and TypeMethodDescriptiondefault List<PlacementStrategy> ApplicationLoadBalancedEc2ServiceProps.getPlacementStrategies()The placement strategies to use for tasks in the service.final List<PlacementStrategy> ApplicationLoadBalancedEc2ServiceProps.Jsii$Proxy.getPlacementStrategies()default List<PlacementStrategy> ApplicationMultipleTargetGroupsEc2ServiceProps.getPlacementStrategies()The placement strategies to use for tasks in the service.final List<PlacementStrategy> ApplicationMultipleTargetGroupsEc2ServiceProps.Jsii$Proxy.getPlacementStrategies()default List<PlacementStrategy> NetworkLoadBalancedEc2ServiceProps.getPlacementStrategies()The placement strategies to use for tasks in the service.final List<PlacementStrategy> NetworkLoadBalancedEc2ServiceProps.Jsii$Proxy.getPlacementStrategies()default List<PlacementStrategy> NetworkMultipleTargetGroupsEc2ServiceProps.getPlacementStrategies()The placement strategies to use for tasks in the service.final List<PlacementStrategy> NetworkMultipleTargetGroupsEc2ServiceProps.Jsii$Proxy.getPlacementStrategies()default List<PlacementStrategy> QueueProcessingEc2ServiceProps.getPlacementStrategies()The placement strategies to use for tasks in the service.final List<PlacementStrategy> QueueProcessingEc2ServiceProps.Jsii$Proxy.getPlacementStrategies()Method parameters in software.amazon.awscdk.services.ecs.patterns with type arguments of type PlacementStrategyModifier and TypeMethodDescriptionApplicationLoadBalancedEc2Service.Builder.placementStrategies(List<? extends PlacementStrategy> placementStrategies) The placement strategies to use for tasks in the service.ApplicationLoadBalancedEc2ServiceProps.Builder.placementStrategies(List<? extends PlacementStrategy> placementStrategies) Sets the value ofApplicationLoadBalancedEc2ServiceProps.getPlacementStrategies()ApplicationMultipleTargetGroupsEc2Service.Builder.placementStrategies(List<? extends PlacementStrategy> placementStrategies) The placement strategies to use for tasks in the service.ApplicationMultipleTargetGroupsEc2ServiceProps.Builder.placementStrategies(List<? extends PlacementStrategy> placementStrategies) Sets the value ofApplicationMultipleTargetGroupsEc2ServiceProps.getPlacementStrategies()NetworkLoadBalancedEc2Service.Builder.placementStrategies(List<? extends PlacementStrategy> placementStrategies) The placement strategies to use for tasks in the service.NetworkLoadBalancedEc2ServiceProps.Builder.placementStrategies(List<? extends PlacementStrategy> placementStrategies) Sets the value ofNetworkLoadBalancedEc2ServiceProps.getPlacementStrategies()NetworkMultipleTargetGroupsEc2Service.Builder.placementStrategies(List<? extends PlacementStrategy> placementStrategies) The placement strategies to use for tasks in the service.NetworkMultipleTargetGroupsEc2ServiceProps.Builder.placementStrategies(List<? extends PlacementStrategy> placementStrategies) Sets the value ofNetworkMultipleTargetGroupsEc2ServiceProps.getPlacementStrategies()QueueProcessingEc2Service.Builder.placementStrategies(List<? extends PlacementStrategy> placementStrategies) The placement strategies to use for tasks in the service.QueueProcessingEc2ServiceProps.Builder.placementStrategies(List<? extends PlacementStrategy> placementStrategies) Sets the value ofQueueProcessingEc2ServiceProps.getPlacementStrategies() -
Uses of PlacementStrategy in software.amazon.awscdk.services.scheduler.targets
Methods in software.amazon.awscdk.services.scheduler.targets that return types with arguments of type PlacementStrategyModifier and TypeMethodDescriptiondefault List<PlacementStrategy> Ec2TaskProps.getPlacementStrategies()The algorithm for selecting container instances for task placement.final List<PlacementStrategy> Ec2TaskProps.Jsii$Proxy.getPlacementStrategies()Method parameters in software.amazon.awscdk.services.scheduler.targets with type arguments of type PlacementStrategyModifier and TypeMethodDescriptionEc2TaskProps.Builder.placementStrategies(List<? extends PlacementStrategy> placementStrategies) Sets the value ofEc2TaskProps.getPlacementStrategies()EcsRunEc2Task.Builder.placementStrategies(List<? extends PlacementStrategy> placementStrategies) The algorithm for selecting container instances for task placement. -
Uses of PlacementStrategy in software.amazon.awscdk.services.stepfunctions.tasks
Methods in software.amazon.awscdk.services.stepfunctions.tasks that return types with arguments of type PlacementStrategyModifier and TypeMethodDescriptiondefault List<PlacementStrategy> EcsEc2LaunchTargetOptions.getPlacementStrategies()Placement strategies.final List<PlacementStrategy> EcsEc2LaunchTargetOptions.Jsii$Proxy.getPlacementStrategies()Method parameters in software.amazon.awscdk.services.stepfunctions.tasks with type arguments of type PlacementStrategyModifier and TypeMethodDescriptionEcsEc2LaunchTarget.Builder.placementStrategies(List<? extends PlacementStrategy> placementStrategies) Placement strategies.EcsEc2LaunchTargetOptions.Builder.placementStrategies(List<? extends PlacementStrategy> placementStrategies) Sets the value ofEcsEc2LaunchTargetOptions.getPlacementStrategies()