Skip to content

Commit 8699217

Browse files
committed
docs: update readme
1 parent 609ee46 commit 8699217

File tree

1 file changed

+11
-0
lines changed
  • packages/cdk-blue-green-container-deployment

1 file changed

+11
-0
lines changed

packages/cdk-blue-green-container-deployment/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,17 @@ export class BlueGreenContainerDeploymentStack extends Stack {
136136
prodTrafficListener: prodListener,
137137
testTrafficListener: testListener,
138138
terminationWaitTimeInMinutes: 100,
139+
createDeploymentConfigInput: {
140+
computePlatform: "ECS",
141+
deploymentConfigName: "Canary20Percent5Minute",
142+
trafficRoutingConfig: {
143+
type: "TimeBasedCanary",
144+
timeBasedCanary: {
145+
canaryInterval: 5,
146+
canaryPercentage: 20,
147+
},
148+
},
149+
},
139150
});
140151

141152
// @see https://github.com/cloudcomponents/cdk-constructs/tree/master/examples/blue-green-container-deployment-example/blue-green-repository

0 commit comments

Comments
 (0)