| Package | Description |
|---|---|
| software.amazon.awscdk.services.ecs |
Amazon ECS Construct Library
|
| software.amazon.awscdk.services.stepfunctions.tasks |
Tasks for AWS Step Functions
|
| Modifier and Type | Method and Description |
|---|---|
static PlacementStrategy |
PlacementStrategy.packedBy(BinPackResource resource)
(experimental) Places tasks on the container instances with the least available capacity of the specified resource.
|
static PlacementStrategy |
PlacementStrategy.packedByCpu()
(experimental) Places tasks on container instances with the least available amount of CPU capacity.
|
static PlacementStrategy |
PlacementStrategy.packedByMemory()
(experimental) Places tasks on container instances with the least available amount of memory capacity.
|
static PlacementStrategy |
PlacementStrategy.randomly()
(experimental) Places tasks randomly.
|
static PlacementStrategy |
PlacementStrategy.spreadAcross(String... fields)
(experimental) Places tasks evenly based on the specified value.
|
static PlacementStrategy |
PlacementStrategy.spreadAcrossInstances()
(experimental) Places tasks evenly across all container instances in the cluster.
|
| Modifier and Type | Method and Description |
|---|---|
default List<PlacementStrategy> |
Ec2ServiceProps.getPlacementStrategies()
(experimental) The placement strategies to use for tasks in the service.
|
List<PlacementStrategy> |
Ec2ServiceProps.Jsii$Proxy.getPlacementStrategies() |
| Modifier and Type | Method and Description |
|---|---|
void |
Ec2Service.addPlacementStrategies(PlacementStrategy... strategies)
(experimental) Adds one or more placement strategies to use for tasks in the service.
|
| Modifier and Type | Method and Description |
|---|---|
Ec2Service.Builder |
Ec2Service.Builder.placementStrategies(List<? extends PlacementStrategy> placementStrategies)
(experimental) The placement strategies to use for tasks in the service.
|
Ec2ServiceProps.Builder |
Ec2ServiceProps.Builder.placementStrategies(List<? extends PlacementStrategy> placementStrategies)
Sets the value of
Ec2ServiceProps.getPlacementStrategies() |
| Constructor and Description |
|---|
Jsii$Proxy(TaskDefinition taskDefinition,
Boolean assignPublicIp,
Boolean daemon,
List<? extends PlacementConstraint> placementConstraints,
List<? extends PlacementStrategy> placementStrategies,
List<? extends ISecurityGroup> securityGroups,
SubnetSelection vpcSubnets,
ICluster cluster,
List<? extends CapacityProviderStrategy> capacityProviderStrategies,
DeploymentCircuitBreaker circuitBreaker,
CloudMapOptions cloudMapOptions,
DeploymentController deploymentController,
Number desiredCount,
Boolean enableEcsManagedTags,
Duration healthCheckGracePeriod,
Number maxHealthyPercent,
Number minHealthyPercent,
PropagatedTagSource propagateTags,
String serviceName)
Constructor that initializes the object based on literal property values passed by the
Ec2ServiceProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
default List<PlacementStrategy> |
EcsEc2LaunchTargetOptions.getPlacementStrategies()
(experimental) Placement strategies.
|
List<PlacementStrategy> |
EcsEc2LaunchTargetOptions.Jsii$Proxy.getPlacementStrategies() |
| Modifier and Type | Method and Description |
|---|---|
EcsEc2LaunchTarget.Builder |
EcsEc2LaunchTarget.Builder.placementStrategies(List<? extends PlacementStrategy> placementStrategies)
(experimental) Placement strategies.
|
EcsEc2LaunchTargetOptions.Builder |
EcsEc2LaunchTargetOptions.Builder.placementStrategies(List<? extends PlacementStrategy> placementStrategies)
Sets the value of
EcsEc2LaunchTargetOptions.getPlacementStrategies() |
| Constructor and Description |
|---|
Jsii$Proxy(List<? extends PlacementConstraint> placementConstraints,
List<? extends PlacementStrategy> placementStrategies)
Constructor that initializes the object based on literal property values passed by the
EcsEc2LaunchTargetOptions.Builder. |
Copyright © 2021. All rights reserved.