interface AdvancedConfigurationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ECS.CfnService.AdvancedConfigurationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#CfnService_AdvancedConfigurationProperty |
![]() | software.amazon.awscdk.services.ecs.CfnService.AdvancedConfigurationProperty |
![]() | aws_cdk.aws_ecs.CfnService.AdvancedConfigurationProperty |
![]() | aws-cdk-lib » aws_ecs » CfnService » AdvancedConfigurationProperty |
The advanced settings for a load balancer used in blue/green deployments.
Specify the alternate target group, listener rules, and IAM role required for traffic shifting during blue/green deployments. For more information, see Required resources for Amazon ECS blue/green deployments in the Amazon Elastic Container Service Developer Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const advancedConfigurationProperty: ecs.CfnService.AdvancedConfigurationProperty = {
alternateTargetGroupArn: 'alternateTargetGroupArn',
// the properties below are optional
productionListenerRule: 'productionListenerRule',
roleArn: 'roleArn',
testListenerRule: 'testListenerRule',
};
Properties
Name | Type | Description |
---|---|---|
alternate | string | The Amazon Resource Name (ARN) of the alternate target group for Amazon ECS blue/green deployments. |
production | string | The Amazon Resource Name (ARN) that that identifies the production listener rule (in the case of an Application Load Balancer) or listener (in the case for an Network Load Balancer) for routing production traffic. |
role | string | The Amazon Resource Name (ARN) of the IAM role that grants Amazon ECS permission to call the Elastic Load Balancing APIs for you. |
test | string | The Amazon Resource Name (ARN) that identifies ) that identifies the test listener rule (in the case of an Application Load Balancer) or listener (in the case for an Network Load Balancer) for routing test traffic. |
alternateTargetGroupArn
Type:
string
The Amazon Resource Name (ARN) of the alternate target group for Amazon ECS blue/green deployments.
productionListenerRule?
Type:
string
(optional)
The Amazon Resource Name (ARN) that that identifies the production listener rule (in the case of an Application Load Balancer) or listener (in the case for an Network Load Balancer) for routing production traffic.
roleArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the IAM role that grants Amazon ECS permission to call the Elastic Load Balancing APIs for you.
testListenerRule?
Type:
string
(optional)
The Amazon Resource Name (ARN) that identifies ) that identifies the test listener rule (in the case of an Application Load Balancer) or listener (in the case for an Network Load Balancer) for routing test traffic.