Interface CfnPlan.Ec2AsgCapacityIncreaseConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPlan.Ec2AsgCapacityIncreaseConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnPlan
@Stability(Stable)
public static interface CfnPlan.Ec2AsgCapacityIncreaseConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Configuration for increasing the capacity of Amazon EC2 Auto Scaling groups during a Region switch.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.arcregionswitch.*; Ec2AsgCapacityIncreaseConfigurationProperty ec2AsgCapacityIncreaseConfigurationProperty = Ec2AsgCapacityIncreaseConfigurationProperty.builder() .asgs(List.of(AsgProperty.builder() .arn("arn") .crossAccountRole("crossAccountRole") .externalId("externalId") .build())) // the properties below are optional .capacityMonitoringApproach("capacityMonitoringApproach") .targetPercent(123) .timeoutMinutes(123) .ungraceful(Ec2UngracefulProperty.builder() .minimumSuccessPercentage(123) .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPlan.Ec2AsgCapacityIncreaseConfigurationProperty
static final class
An implementation forCfnPlan.Ec2AsgCapacityIncreaseConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getAsgs()
The EC2 Auto Scaling groups for the configuration.default String
The monitoring approach that you specify EC2 Auto Scaling groups for the configuration.default Number
The target percentage that you specify for EC2 Auto Scaling groups.default Number
The timeout value specified for the configuration.default Object
The settings for ungraceful execution.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAsgs
The EC2 Auto Scaling groups for the configuration.- See Also:
-
getCapacityMonitoringApproach
The monitoring approach that you specify EC2 Auto Scaling groups for the configuration.- See Also:
-
getTargetPercent
The target percentage that you specify for EC2 Auto Scaling groups.Default: - 100
- See Also:
-
getTimeoutMinutes
The timeout value specified for the configuration.Default: - 60
- See Also:
-
getUngraceful
The settings for ungraceful execution.- See Also:
-
builder
-