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
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(@NotNull 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(@NotNull PlacementStrategy... strategies) 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.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()default List<PlacementStrategy>RunEcsEc2TaskProps.getPlacementStrategies()Deprecated.final List<PlacementStrategy>RunEcsEc2TaskProps.Jsii$Proxy.getPlacementStrategies()Deprecated.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()RunEcsEc2Task.Builder.placementStrategies(List<? extends PlacementStrategy> placementStrategies) Deprecated.RunEcsEc2TaskProps.Builder.placementStrategies(List<? extends PlacementStrategy> placementStrategies) Deprecated.