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 classA builder forCfnPlan.EcsCapacityIncreaseConfigurationPropertystatic final classAn implementation forCfnPlan.EcsCapacityIncreaseConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe monitoring approach specified for the configuration, for example,Most_Recent.The 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
-
getServices
The services specified for the configuration.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPlan.ServiceProperty>- 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.Returns union: either
IResolvableorCfnPlan.EcsUngracefulProperty- See Also:
-
builder
-