interface EcsCapacityIncreaseConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ARCRegionSwitch.CfnPlan.EcsCapacityIncreaseConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsarcregionswitch#CfnPlan_EcsCapacityIncreaseConfigurationProperty |
Java | software.amazon.awscdk.services.arcregionswitch.CfnPlan.EcsCapacityIncreaseConfigurationProperty |
Python | aws_cdk.aws_arcregionswitch.CfnPlan.EcsCapacityIncreaseConfigurationProperty |
TypeScript | aws-cdk-lib » aws_arcregionswitch » CfnPlan » EcsCapacityIncreaseConfigurationProperty |
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 { aws_arcregionswitch as arcregionswitch } from 'aws-cdk-lib';
const ecsCapacityIncreaseConfigurationProperty: arcregionswitch.CfnPlan.EcsCapacityIncreaseConfigurationProperty = {
services: [{
clusterArn: 'clusterArn',
crossAccountRole: 'crossAccountRole',
externalId: 'externalId',
serviceArn: 'serviceArn',
}],
// the properties below are optional
capacityMonitoringApproach: 'capacityMonitoringApproach',
targetPercent: 123,
timeoutMinutes: 123,
ungraceful: {
minimumSuccessPercentage: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| services | IResolvable | (IResolvable | Service)[] | The services specified for the configuration. |
| capacity | string | The monitoring approach specified for the configuration, for example, Most_Recent . |
| target | number | The target percentage specified for the configuration. |
| timeout | number | The timeout value specified for the configuration. |
| ungraceful? | IResolvable | Ecs | The settings for ungraceful execution. |
services
Type:
IResolvable | (IResolvable | Service)[]
The services specified for the configuration.
capacityMonitoringApproach?
Type:
string
(optional)
The monitoring approach specified for the configuration, for example, Most_Recent .
targetPercent?
Type:
number
(optional, default: 100)
The target percentage specified for the configuration.
timeoutMinutes?
Type:
number
(optional, default: 60)
The timeout value specified for the configuration.
ungraceful?
Type:
IResolvable | Ecs
(optional)
The settings for ungraceful execution.

.NET
Go
Java
Python
TypeScript