| Package | Description |
|---|---|
| software.amazon.awscdk.services.ecs |
Amazon ECS Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
AsgCapacityProvider.Builder |
AsgCapacityProvider.Builder.autoScalingGroup(IAutoScalingGroup autoScalingGroup)
The autoscaling group to add as a Capacity Provider.
|
AsgCapacityProvider.Builder |
AsgCapacityProvider.Builder.canContainersAccessInstanceRole(Boolean canContainersAccessInstanceRole)
Specifies whether the containers can access the container instance role.
|
AsgCapacityProvider.Builder |
AsgCapacityProvider.Builder.capacityProviderName(String capacityProviderName)
The name of the capacity provider.
|
static AsgCapacityProvider.Builder |
AsgCapacityProvider.Builder.create(software.constructs.Construct scope,
String id) |
AsgCapacityProvider.Builder |
AsgCapacityProvider.Builder.enableManagedScaling(Boolean enableManagedScaling)
Whether to enable managed scaling.
|
AsgCapacityProvider.Builder |
AsgCapacityProvider.Builder.enableManagedTerminationProtection(Boolean enableManagedTerminationProtection)
Whether to enable managed termination protection.
|
AsgCapacityProvider.Builder |
AsgCapacityProvider.Builder.machineImageType(MachineImageType machineImageType)
What type of machine image this is.
|
AsgCapacityProvider.Builder |
AsgCapacityProvider.Builder.maximumScalingStepSize(Number maximumScalingStepSize)
Maximum scaling step size.
|
AsgCapacityProvider.Builder |
AsgCapacityProvider.Builder.minimumScalingStepSize(Number minimumScalingStepSize)
Minimum scaling step size.
|
AsgCapacityProvider.Builder |
AsgCapacityProvider.Builder.spotInstanceDraining(Boolean spotInstanceDraining)
Specify whether to enable Automated Draining for Spot Instances running Amazon ECS Services.
|
AsgCapacityProvider.Builder |
AsgCapacityProvider.Builder.targetCapacityPercent(Number targetCapacityPercent)
Target capacity percent.
|
AsgCapacityProvider.Builder |
AsgCapacityProvider.Builder.topicEncryptionKey(IKey topicEncryptionKey)
If
AddAutoScalingGroupCapacityOptions.taskDrainTime is non-zero, then the ECS cluster creates an SNS Topic to as part of a system to drain instances of tasks when the instance is being shut down. |
Copyright © 2022. All rights reserved.