interface EcsCapacityIncreaseConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ARCRegionSwitch.Mixins.CfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsarcregionswitch/mixins#CfnPlanPropsMixin_EcsCapacityIncreaseConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.arcregionswitch.mixins.CfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_arcregionswitch.mixins.CfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_arcregionswitch » mixins » CfnPlanPropsMixin » 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 { mixins as arcregionswitch_mixins } from '@aws-cdk/mixins-preview/aws-arcregionswitch';
const ecsCapacityIncreaseConfigurationProperty: arcregionswitch_mixins.CfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty = {
capacityMonitoringApproach: 'capacityMonitoringApproach',
services: [{
clusterArn: 'clusterArn',
crossAccountRole: 'crossAccountRole',
externalId: 'externalId',
serviceArn: 'serviceArn',
}],
targetPercent: 123,
timeoutMinutes: 123,
ungraceful: {
minimumSuccessPercentage: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| capacity | string | The monitoring approach specified for the configuration, for example, Most_Recent . |
| services? | IResolvable | (IResolvable | Service)[] | The services specified for the configuration. |
| 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. |
capacityMonitoringApproach?
Type:
string
(optional)
The monitoring approach specified for the configuration, for example, Most_Recent .
services?
Type:
IResolvable | (IResolvable | Service)[]
(optional)
The services specified for the configuration.
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