interface EcsCapacityIncreaseConfigurationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_arcregionswitch.CfnPlan.EcsCapacityIncreaseConfigurationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsarcregionswitch#CfnPlan_EcsCapacityIncreaseConfigurationProperty |
![]() | software.amazon.awscdk.services.arcregionswitch.CfnPlan.EcsCapacityIncreaseConfigurationProperty |
![]() | aws_cdk.aws_arcregionswitch.CfnPlan.EcsCapacityIncreaseConfigurationProperty |
![]() | 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.