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 classA builder forCfnPlan.Ec2AsgCapacityIncreaseConfigurationPropertystatic final classAn implementation forCfnPlan.Ec2AsgCapacityIncreaseConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()getAsgs()The EC2 Auto Scaling groups for the configuration.default StringThe monitoring approach that you specify EC2 Auto Scaling groups for the configuration.default NumberThe target percentage that you specify for EC2 Auto Scaling groups.default NumberThe timeout value specified for the configuration.default ObjectThe 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.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPlan.AsgProperty>- 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.Returns union: either
IResolvableorCfnPlan.Ec2UngracefulProperty- See Also:
-
builder
-