@Stability(value=Stable) @Internal public static final class AddAutoScalingGroupCapacityOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AddAutoScalingGroupCapacityOptions
AddAutoScalingGroupCapacityOptionssoftware.amazon.jsii.JsiiObject.InitializationModeAddAutoScalingGroupCapacityOptions.Builder, AddAutoScalingGroupCapacityOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(AddAutoScalingGroupCapacityOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
AddAutoScalingGroupCapacityOptions.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getCanContainersAccessInstanceRole()
Specifies whether the containers can access the container instance role.
|
MachineImageType |
getMachineImageType()
What type of machine image this is.
|
Boolean |
getSpotInstanceDraining()
Specify whether to enable Automated Draining for Spot Instances running Amazon ECS Services.
|
IKey |
getTopicEncryptionKey()
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. |
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(AddAutoScalingGroupCapacityOptions.Builder builder)
AddAutoScalingGroupCapacityOptions.Builder.public final Boolean getCanContainersAccessInstanceRole()
AddAutoScalingGroupCapacityOptionsDefault: false
getCanContainersAccessInstanceRole in interface AddAutoScalingGroupCapacityOptionspublic final MachineImageType getMachineImageType()
AddAutoScalingGroupCapacityOptions
Depending on the setting, different UserData will automatically be added
to the AutoScalingGroup to configure it properly for use with ECS.
If you create an AutoScalingGroup yourself and are adding it via
addAutoScalingGroup(), you must specify this value. If you are adding an
autoScalingGroup via addCapacity, this value will be determined
from the machineImage you pass.
Default: - Automatically determined from `machineImage`, if available, otherwise `MachineImageType.AMAZON_LINUX_2`.
getMachineImageType in interface AddAutoScalingGroupCapacityOptionspublic final Boolean getSpotInstanceDraining()
AddAutoScalingGroupCapacityOptionsFor more information, see Using Spot Instances.
Default: false
getSpotInstanceDraining in interface AddAutoScalingGroupCapacityOptionspublic final IKey getTopicEncryptionKey()
AddAutoScalingGroupCapacityOptionsAddAutoScalingGroupCapacityOptions.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.
getTopicEncryptionKey in interface AddAutoScalingGroupCapacityOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.