interface Ec2AsgCapacityIncreaseConfigurationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_arcregionswitch.CfnPlan.Ec2AsgCapacityIncreaseConfigurationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsarcregionswitch#CfnPlan_Ec2AsgCapacityIncreaseConfigurationProperty |
![]() | software.amazon.awscdk.services.arcregionswitch.CfnPlan.Ec2AsgCapacityIncreaseConfigurationProperty |
![]() | aws_cdk.aws_arcregionswitch.CfnPlan.Ec2AsgCapacityIncreaseConfigurationProperty |
![]() | aws-cdk-lib » aws_arcregionswitch » CfnPlan » Ec2AsgCapacityIncreaseConfigurationProperty |
Configuration for increasing the capacity of Amazon EC2 Auto Scaling groups during a Region switch.
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 ec2AsgCapacityIncreaseConfigurationProperty: arcregionswitch.CfnPlan.Ec2AsgCapacityIncreaseConfigurationProperty = {
asgs: [{
arn: 'arn',
crossAccountRole: 'crossAccountRole',
externalId: 'externalId',
}],
// the properties below are optional
capacityMonitoringApproach: 'capacityMonitoringApproach',
targetPercent: 123,
timeoutMinutes: 123,
ungraceful: {
minimumSuccessPercentage: 123,
},
};
Properties
Name | Type | Description |
---|---|---|
asgs | IResolvable | IResolvable | Asg [] | The EC2 Auto Scaling groups for the configuration. |
capacity | string | The monitoring approach that you specify EC2 Auto Scaling groups for the configuration. |
target | number | The target percentage that you specify for EC2 Auto Scaling groups. |
timeout | number | The timeout value specified for the configuration. |
ungraceful? | IResolvable | Ec2 | The settings for ungraceful execution. |
asgs
Type:
IResolvable
|
IResolvable
|
Asg
[]
The EC2 Auto Scaling groups for the configuration.
capacityMonitoringApproach?
Type:
string
(optional)
The monitoring approach that you specify EC2 Auto Scaling groups for the configuration.
targetPercent?
Type:
number
(optional, default: 100)
The target percentage that you specify for EC2 Auto Scaling groups.
timeoutMinutes?
Type:
number
(optional, default: 60)
The timeout value specified for the configuration.
ungraceful?
Type:
IResolvable
|
Ec2
(optional)
The settings for ungraceful execution.