Interface CfnPlan.EcsCapacityIncreaseConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPlan.EcsCapacityIncreaseConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnPlan
@Stability(Stable)
public static interface CfnPlan.EcsCapacityIncreaseConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The configuration for an AWS ECS capacity increase.
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.*; EcsCapacityIncreaseConfigurationProperty ecsCapacityIncreaseConfigurationProperty = EcsCapacityIncreaseConfigurationProperty.builder() .services(List.of(ServiceProperty.builder() .clusterArn("clusterArn") .crossAccountRole("crossAccountRole") .externalId("externalId") .serviceArn("serviceArn") .build())) // the properties below are optional .capacityMonitoringApproach("capacityMonitoringApproach") .targetPercent(123) .timeoutMinutes(123) .ungraceful(EcsUngracefulProperty.builder() .minimumSuccessPercentage(123) .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPlan.EcsCapacityIncreaseConfigurationProperty
static final class
An implementation forCfnPlan.EcsCapacityIncreaseConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The monitoring approach specified for the configuration, for example,Most_Recent
.The services specified for the configuration.default Number
The target percentage specified for the configuration.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
-
getServices
The services specified for the configuration.- See Also:
-
getCapacityMonitoringApproach
The monitoring approach specified for the configuration, for example,Most_Recent
.- See Also:
-
getTargetPercent
The target percentage specified for the configuration.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
-