Table of Contents

Interface ICfnCodeDeployBlueGreenEcsAttributes

Namespace
Amazon.CDK
Assembly
Amazon.CDK.dll

The attributes of the ECS Service being deployed.

public interface ICfnCodeDeployBlueGreenEcsAttributes

Examples

// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK;
             var cfnCodeDeployBlueGreenEcsAttributes = new CfnCodeDeployBlueGreenEcsAttributes {
                 TaskDefinitions = new [] { "taskDefinitions" },
                 TaskSets = new [] { "taskSets" },
                 TrafficRouting = new CfnTrafficRouting {
                     ProdTrafficRoute = new CfnTrafficRoute {
                         LogicalId = "logicalId",
                         Type = "type"
                     },
                     TargetGroups = new [] { "targetGroups" },
                     TestTrafficRoute = new CfnTrafficRoute {
                         LogicalId = "logicalId",
                         Type = "type"
                     }
                 }
             };

Remarks

Type of the {@link CfnCodeDeployBlueGreenApplication.ecsAttributes} property.

ExampleMetadata: fixture=_generated

Properties

TaskDefinitions

The logical IDs of the blue and green, respectively, AWS::ECS::TaskDefinition task definitions.

string[] TaskDefinitions { get; }

Property Value

string[]

TaskSets

The logical IDs of the blue and green, respectively, AWS::ECS::TaskSet task sets.

string[] TaskSets { get; }

Property Value

string[]

TrafficRouting

The traffic routing configuration.

ICfnTrafficRouting TrafficRouting { get; }

Property Value

ICfnTrafficRouting