@Stability(value=Experimental) @Internal public static final class AsgCapacityProviderProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AsgCapacityProviderProps
AsgCapacityProviderPropssoftware.amazon.jsii.JsiiObject.InitializationModeAsgCapacityProviderProps.Builder, AsgCapacityProviderProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(IAutoScalingGroup autoScalingGroup,
String capacityProviderName,
Boolean enableManagedScaling,
Boolean enableManagedTerminationProtection,
Number maximumScalingStepSize,
Number minimumScalingStepSize,
Number targetCapacityPercent,
Boolean canContainersAccessInstanceRole,
MachineImageType machineImageType,
Boolean spotInstanceDraining,
IKey topicEncryptionKey)
Constructor that initializes the object based on literal property values passed by the
AsgCapacityProviderProps.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) |
IAutoScalingGroup |
getAutoScalingGroup()
(experimental) The autoscaling group to add as a Capacity Provider.
|
Boolean |
getCanContainersAccessInstanceRole()
(experimental) Specifies whether the containers can access the container instance role.
|
String |
getCapacityProviderName()
(experimental) The name for the capacity provider.
|
Boolean |
getEnableManagedScaling()
(experimental) Whether to enable managed scaling.
|
Boolean |
getEnableManagedTerminationProtection()
(experimental) Whether to enable managed termination protection.
|
MachineImageType |
getMachineImageType()
(experimental) Specify the machine image type.
|
Number |
getMaximumScalingStepSize()
(experimental) Maximum scaling step size.
|
Number |
getMinimumScalingStepSize()
(experimental) Minimum scaling step size.
|
Boolean |
getSpotInstanceDraining()
(experimental) Specify whether to enable Automated Draining for Spot Instances running Amazon ECS Services.
|
Number |
getTargetCapacityPercent()
(experimental) Target capacity percent.
|
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. |
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(IAutoScalingGroup autoScalingGroup, String capacityProviderName, Boolean enableManagedScaling, Boolean enableManagedTerminationProtection, Number maximumScalingStepSize, Number minimumScalingStepSize, Number targetCapacityPercent, Boolean canContainersAccessInstanceRole, MachineImageType machineImageType, Boolean spotInstanceDraining, IKey topicEncryptionKey)
AsgCapacityProviderProps.Builder.public final IAutoScalingGroup getAutoScalingGroup()
AsgCapacityProviderPropsgetAutoScalingGroup in interface AsgCapacityProviderPropspublic final String getCapacityProviderName()
AsgCapacityProviderPropsDefault: CloudFormation-generated name
getCapacityProviderName in interface AsgCapacityProviderPropspublic final Boolean getEnableManagedScaling()
AsgCapacityProviderPropsDefault: true
getEnableManagedScaling in interface AsgCapacityProviderPropspublic final Boolean getEnableManagedTerminationProtection()
AsgCapacityProviderPropsDefault: true
getEnableManagedTerminationProtection in interface AsgCapacityProviderPropspublic final Number getMaximumScalingStepSize()
AsgCapacityProviderPropsIn most cases this should be left alone.
Default: 1000
getMaximumScalingStepSize in interface AsgCapacityProviderPropspublic final Number getMinimumScalingStepSize()
AsgCapacityProviderPropsIn most cases this should be left alone.
Default: 1
getMinimumScalingStepSize in interface AsgCapacityProviderPropspublic final Number getTargetCapacityPercent()
AsgCapacityProviderPropsIn most cases this should be left alone.
Default: 100
getTargetCapacityPercent in interface AsgCapacityProviderPropspublic final Boolean getCanContainersAccessInstanceRole()
AddAutoScalingGroupCapacityOptionsDefault: false
getCanContainersAccessInstanceRole in interface AddAutoScalingGroupCapacityOptionspublic final MachineImageType getMachineImageType()
AddAutoScalingGroupCapacityOptionsDefault: 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 © 2021. All rights reserved.