@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:17.165Z") @Stability(value=Experimental) public interface AddAutoScalingGroupCapacityOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
AddAutoScalingGroupCapacityOptions.Builder
A builder for
AddAutoScalingGroupCapacityOptions |
static class |
AddAutoScalingGroupCapacityOptions.Jsii$Proxy
An implementation for
AddAutoScalingGroupCapacityOptions |
| Modifier and Type | Method and Description |
|---|---|
static AddAutoScalingGroupCapacityOptions.Builder |
builder() |
default Boolean |
getCanContainersAccessInstanceRole()
(experimental) Specifies whether the containers can access the container instance role.
|
default MachineImageType |
getMachineImageType()
(experimental) Specify the machine image type.
|
default Boolean |
getSpotInstanceDraining()
(experimental) Specify whether to enable Automated Draining for Spot Instances running Amazon ECS Services.
|
default IKey |
getTopicEncryptionKey()
(experimental) 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. |
@Stability(value=Experimental) @Nullable default Boolean getCanContainersAccessInstanceRole()
Default: false
@Stability(value=Experimental) @Nullable default MachineImageType getMachineImageType()
Default: MachineImageType.AMAZON_LINUX_2
@Stability(value=Experimental) @Nullable default Boolean getSpotInstanceDraining()
For more information, see Using Spot Instances.
Default: false
@Stability(value=Experimental) @Nullable default IKey getTopicEncryptionKey()
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. If this property is provided, then this key will be used to encrypt the contents of that SNS Topic. See [SNS Data Encryption](https://docs.aws.amazon.com/sns/latest/dg/sns-data-encryption.html) for more information.
Default: The SNS Topic will not be encrypted.
@Stability(value=Experimental) static AddAutoScalingGroupCapacityOptions.Builder builder()
Copyright © 2021. All rights reserved.