Uses of Class
software.amazon.awscdk.services.ecs.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
Modifier and TypeMethodDescriptionstatic PlacementStrategy
PlacementStrategy.packedBy
(BinPackResource resource) Places tasks on the container instances with the least available capacity of the specified resource.static PlacementStrategy
PlacementStrategy.packedByCpu()
Places tasks on container instances with the least available amount of CPU capacity.static PlacementStrategy
PlacementStrategy.packedByMemory()
Places tasks on container instances with the least available amount of memory capacity.static PlacementStrategy
PlacementStrategy.randomly()
Places tasks randomly.static PlacementStrategy
PlacementStrategy.spreadAcross
(@NotNull String... fields) Places tasks evenly based on the specified value.static PlacementStrategy
PlacementStrategy.spreadAcrossInstances()
Places tasks evenly across all container instances in the cluster.Modifier and TypeMethodDescriptiondefault List<PlacementStrategy>
Ec2ServiceProps.getPlacementStrategies()
The placement strategies to use for tasks in the service.final List<PlacementStrategy>
Ec2ServiceProps.Jsii$Proxy.getPlacementStrategies()
Modifier and TypeMethodDescriptionvoid
Ec2Service.addPlacementStrategies
(@NotNull PlacementStrategy... strategies) Adds one or more placement strategies to use for tasks in the service.Modifier 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
Modifier 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()
Modifier 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
Modifier and TypeMethodDescriptiondefault List<PlacementStrategy>
EcsEc2LaunchTargetOptions.getPlacementStrategies()
Placement strategies.final List<PlacementStrategy>
EcsEc2LaunchTargetOptions.Jsii$Proxy.getPlacementStrategies()
Modifier and TypeMethodDescriptionEcsEc2LaunchTarget.Builder.placementStrategies
(List<? extends PlacementStrategy> placementStrategies) Placement strategies.EcsEc2LaunchTargetOptions.Builder.placementStrategies
(List<? extends PlacementStrategy> placementStrategies) Sets the value ofEcsEc2LaunchTargetOptions.getPlacementStrategies()