Interface CfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnPlanPropsMixin
@Stability(Stable)
public static interface CfnPlanPropsMixin.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.cfnpropertymixins.services.arcregionswitch.*;
EcsCapacityIncreaseConfigurationProperty ecsCapacityIncreaseConfigurationProperty = EcsCapacityIncreaseConfigurationProperty.builder()
.capacityMonitoringApproach("capacityMonitoringApproach")
.services(List.of(ServiceProperty.builder()
.clusterArn("clusterArn")
.crossAccountRole("crossAccountRole")
.externalId("externalId")
.serviceArn("serviceArn")
.build()))
.targetPercent(123)
.timeoutMinutes(123)
.ungraceful(EcsUngracefulProperty.builder()
.minimumSuccessPercentage(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe monitoring approach specified for the configuration, for example,Most_Recent.default ObjectThe services specified for the configuration.default NumberThe target percentage specified for the configuration.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
-
getCapacityMonitoringApproach
The monitoring approach specified for the configuration, for example,Most_Recent.- See Also:
-
getServices
The services specified for the configuration.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPlanPropsMixin.ServiceProperty>- 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.Returns union: either
IResolvableorCfnPlanPropsMixin.EcsUngracefulProperty- See Also:
-
builder
@Stability(Stable) static CfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty.Builder builder()
-