5
5
Name|Description
6
6
----|-----------
7
7
[ DummyTaskDefinition] ( #cloudcomponents-cdk-blue-green-container-deployment-dummytaskdefinition ) |* No description*
8
+ [ EcsDeploymentConfig] ( #cloudcomponents-cdk-blue-green-container-deployment-ecsdeploymentconfig ) |* No description*
8
9
[ EcsDeploymentGroup] ( #cloudcomponents-cdk-blue-green-container-deployment-ecsdeploymentgroup ) |* No description*
9
10
[ EcsService] ( #cloudcomponents-cdk-blue-green-container-deployment-ecsservice ) |* No description*
10
11
[ PushImageProject] ( #cloudcomponents-cdk-blue-green-container-deployment-pushimageproject ) |* No description*
@@ -15,6 +16,7 @@ Name|Description
15
16
Name|Description
16
17
----|-----------
17
18
[ DummyTaskDefinitionProps] ( #cloudcomponents-cdk-blue-green-container-deployment-dummytaskdefinitionprops ) |* No description*
19
+ [ EcsDeploymentConfigurationProps] ( #cloudcomponents-cdk-blue-green-container-deployment-ecsdeploymentconfigurationprops ) |* No description*
18
20
[ EcsDeploymentGroupProps] ( #cloudcomponents-cdk-blue-green-container-deployment-ecsdeploymentgroupprops ) |* No description*
19
21
[ EcsServiceProps] ( #cloudcomponents-cdk-blue-green-container-deployment-ecsserviceprops ) |* No description*
20
22
[ PushImageProjectProps] ( #cloudcomponents-cdk-blue-green-container-deployment-pushimageprojectprops ) |* No description*
@@ -26,6 +28,8 @@ Name|Description
26
28
Name|Description
27
29
----|-----------
28
30
[ IDummyTaskDefinition] ( #cloudcomponents-cdk-blue-green-container-deployment-idummytaskdefinition ) |* No description*
31
+ [ IEcsDeploymentConfig] ( #cloudcomponents-cdk-blue-green-container-deployment-iecsdeploymentconfig ) |* No description*
32
+ [ IEcsDeploymentGroup] ( #cloudcomponents-cdk-blue-green-container-deployment-iecsdeploymentgroup ) |Interface for an ECS deployment group.
29
33
[ IEcsService] ( #cloudcomponents-cdk-blue-green-container-deployment-iecsservice ) |* No description*
30
34
31
35
@@ -93,11 +97,69 @@ addToExecutionRolePolicy(statement: PolicyStatement): void
93
97
94
98
95
99
100
+ ## class EcsDeploymentConfig <a id =" cloudcomponents-cdk-blue-green-container-deployment-ecsdeploymentconfig " ></a >
101
+
102
+
103
+
104
+ __ Implements__ : [ IConstruct] ( #constructs-iconstruct ) , [ IConstruct] ( #aws-cdk-core-iconstruct ) , [ IConstruct] ( #constructs-iconstruct ) , [ IDependable] ( #aws-cdk-core-idependable ) , [ IResource] ( #aws-cdk-core-iresource ) , [ IConstruct] ( #constructs-iconstruct ) , [ IDependable] ( #aws-cdk-core-idependable ) , [ IConstruct] ( #aws-cdk-core-iconstruct ) , [ IEcsDeploymentConfig] ( #cloudcomponents-cdk-blue-green-container-deployment-iecsdeploymentconfig )
105
+ __ Extends__ : [ Resource] ( #aws-cdk-core-resource )
106
+
107
+ ### Initializer
108
+
109
+
110
+
111
+
112
+ ``` ts
113
+ new EcsDeploymentConfig (scope : Construct , id : string , props : EcsDeploymentConfigurationProps )
114
+ ```
115
+
116
+ * ** scope** (<code >[ Construct] ( #aws-cdk-core-construct ) </code >) * No description*
117
+ * ** id** (<code >string</code >) * No description*
118
+ * ** props** (<code >[ EcsDeploymentConfigurationProps] ( #cloudcomponents-cdk-blue-green-container-deployment-ecsdeploymentconfigurationprops ) </code >) * No description*
119
+ * ** deploymentConfigName** (<code >string</code >) ` AWS::CodeDeploy::DeploymentConfig.DeploymentConfigName ` . __ * Optional* __
120
+ * ** minimumHealthyHosts** (<code >[ CfnDeploymentConfig.MinimumHealthyHostsProperty] ( #aws-cdk-aws-codedeploy-cfndeploymentconfig-minimumhealthyhostsproperty ) | ; [ IResolvable] ( #aws-cdk-core-iresolvable ) </code >) ` AWS::CodeDeploy::DeploymentConfig.MinimumHealthyHosts ` . __ * Optional* __
121
+ * ** trafficRoutingConfig** (<code >[ IResolvable] ( #aws-cdk-core-iresolvable ) | ; [ CfnDeploymentConfig.TrafficRoutingConfigProperty] ( #aws-cdk-aws-codedeploy-cfndeploymentconfig-trafficroutingconfigproperty ) </code >) ` AWS::CodeDeploy::DeploymentConfig.TrafficRoutingConfig ` . __ * Optional* __
122
+
123
+
124
+
125
+ ### Properties
126
+
127
+
128
+ Name | Type | Description
129
+ -----|------|-------------
130
+ ** deploymentConfigArn** | <code >string</code > | <span ></span >
131
+ ** deploymentConfigName** | <code >string</code > | <span ></span >
132
+ * static* ** ALL_AT_ONCE** | <code >[ IEcsDeploymentConfig] ( #cloudcomponents-cdk-blue-green-container-deployment-iecsdeploymentconfig ) </code > | <span ></span >
133
+ * static* ** CANARY_10PERCENT_15MINUTES** | <code >[ IEcsDeploymentConfig] ( #cloudcomponents-cdk-blue-green-container-deployment-iecsdeploymentconfig ) </code > | <span ></span >
134
+ * static* ** CANARY_10PERCENT_5MINUTES** | <code >[ IEcsDeploymentConfig] ( #cloudcomponents-cdk-blue-green-container-deployment-iecsdeploymentconfig ) </code > | <span ></span >
135
+ * static* ** LINEAR_10PERCENT_EVERY_1MINUTE** | <code >[ IEcsDeploymentConfig] ( #cloudcomponents-cdk-blue-green-container-deployment-iecsdeploymentconfig ) </code > | <span ></span >
136
+ * static* ** LINEAR_10PERCENT_EVERY_3MINUTES** | <code >[ IEcsDeploymentConfig] ( #cloudcomponents-cdk-blue-green-container-deployment-iecsdeploymentconfig ) </code > | <span ></span >
137
+
138
+ ### Methods
139
+
140
+
141
+ #### * static* fromEcsDeploymentConfigName(_ scope, _ id, ecsDeploymentConfigName) <a id =" cloudcomponents-cdk-blue-green-container-deployment-ecsdeploymentconfig-fromecsdeploymentconfigname " ></a >
142
+
143
+ Import a custom Deployment Configuration for an ECS Deployment Group defined outside the CDK.
144
+
145
+ ``` ts
146
+ static fromEcsDeploymentConfigName (_scope : Construct , _id : string , ecsDeploymentConfigName : string ): IEcsDeploymentConfig
147
+ ```
148
+
149
+ * ** _ scope** (<code >[ Construct] ( #aws-cdk-core-construct ) </code >) the parent Construct for this new Construct.
150
+ * ** _ id** (<code >string</code >) the logical ID of this new Construct.
151
+ * ** ecsDeploymentConfigName** (<code >string</code >) the name of the referenced custom Deployment Configuration.
152
+
153
+ __ Returns__ :
154
+ * <code >[ IEcsDeploymentConfig] ( #cloudcomponents-cdk-blue-green-container-deployment-iecsdeploymentconfig ) </code >
155
+
156
+
157
+
96
158
## class EcsDeploymentGroup <a id =" cloudcomponents-cdk-blue-green-container-deployment-ecsdeploymentgroup " ></a >
97
159
98
160
99
161
100
- __ Implements__ : [ IConstruct] ( #constructs-iconstruct ) , [ IConstruct] ( #aws-cdk-core-iconstruct ) , [ IConstruct] ( #constructs-iconstruct ) , [ IDependable] ( #aws-cdk-core-idependable ) , [ IResource] ( #aws-cdk-core-iresource ) , [ IConstruct] ( #constructs-iconstruct ) , [ IDependable] ( #aws-cdk-core-idependable ) , [ IConstruct] ( #aws-cdk-core-iconstruct ) , [ IEcsDeploymentGroup] ( #aws -cdk-aws-codedeploy -iecsdeploymentgroup ) , [ IConstruct] ( #constructs-iconstruct ) , [ IDependable] ( #aws-cdk-core-idependable ) , [ IConstruct] ( #aws-cdk-core-iconstruct ) , [ IResource] ( #aws-cdk-core-iresource )
162
+ __ Implements__ : [ IConstruct] ( #constructs-iconstruct ) , [ IConstruct] ( #aws-cdk-core-iconstruct ) , [ IConstruct] ( #constructs-iconstruct ) , [ IDependable] ( #aws-cdk-core-idependable ) , [ IResource] ( #aws-cdk-core-iresource ) , [ IConstruct] ( #constructs-iconstruct ) , [ IDependable] ( #aws-cdk-core-idependable ) , [ IConstruct] ( #aws-cdk-core-iconstruct ) , [ IEcsDeploymentGroup] ( #cloudcomponents -cdk-blue-green-container-deployment -iecsdeploymentgroup ) , [ IConstruct] ( #constructs-iconstruct ) , [ IDependable] ( #aws-cdk-core-idependable ) , [ IConstruct] ( #aws-cdk-core-iconstruct ) , [ IResource] ( #aws-cdk-core-iresource )
101
163
__ Extends__ : [ Resource] ( #aws-cdk-core-resource )
102
164
103
165
### Initializer
@@ -119,7 +181,7 @@ new EcsDeploymentGroup(scope: Construct, id: string, props: EcsDeploymentGroupPr
119
181
* ** testTrafficListener** (<code >[ TrafficListener] ( #cloudcomponents-cdk-blue-green-container-deployment-trafficlistener ) </code >) * No description*
120
182
* ** applicationName** (<code >string</code >) * No description* __ * Optional* __
121
183
* ** autoRollbackOnEvents** (<code >Array<[ RollbackEvent] ( #cloudcomponents-cdk-blue-green-container-deployment-rollbackevent ) ></code >) The event type or types that trigger a rollback. __ * Optional* __
122
- * ** deploymentConfig** (<code >[ IEcsDeploymentConfig] ( #aws -cdk-aws-codedeploy -iecsdeploymentconfig ) </code >) * No description* __ * Optional* __
184
+ * ** deploymentConfig** (<code >[ IEcsDeploymentConfig] ( #cloudcomponents -cdk-blue-green-container-deployment -iecsdeploymentconfig ) </code >) * No description* __ * Optional* __
123
185
* ** terminationWaitTimeInMinutes** (<code >number</code >) the number of minutes before deleting the original (blue) task set. __ * Default* __ : 60
124
186
125
187
@@ -130,7 +192,7 @@ new EcsDeploymentGroup(scope: Construct, id: string, props: EcsDeploymentGroupPr
130
192
Name | Type | Description
131
193
-----|------|-------------
132
194
** application** | <code >[ IEcsApplication] ( #aws-cdk-aws-codedeploy-iecsapplication ) </code > | The reference to the CodeDeploy ECS Application that this Deployment Group belongs to.
133
- ** deploymentConfig** | <code >[ IEcsDeploymentConfig] ( #aws -cdk-aws-codedeploy -iecsdeploymentconfig ) </code > | The Deployment Configuration this Group uses.
195
+ ** deploymentConfig** | <code >[ IEcsDeploymentConfig] ( #cloudcomponents -cdk-blue-green-container-deployment -iecsdeploymentconfig ) </code > | The Deployment Configuration this Group uses.
134
196
** deploymentGroupArn** | <code >string</code > | The ARN of this Deployment Group.
135
197
** deploymentGroupName** | <code >string</code > | The physical name of the CodeDeploy Deployment Group.
136
198
@@ -228,6 +290,21 @@ Name | Type | Description
228
290
229
291
230
292
293
+ ## struct EcsDeploymentConfigurationProps <a id =" cloudcomponents-cdk-blue-green-container-deployment-ecsdeploymentconfigurationprops " ></a >
294
+
295
+
296
+
297
+
298
+
299
+
300
+ Name | Type | Description
301
+ -----|------|-------------
302
+ ** deploymentConfigName** ? | <code >string</code > | ` AWS::CodeDeploy::DeploymentConfig.DeploymentConfigName ` .<br />__ * Optional* __
303
+ ** minimumHealthyHosts** ? | <code >[ CfnDeploymentConfig.MinimumHealthyHostsProperty] ( #aws-cdk-aws-codedeploy-cfndeploymentconfig-minimumhealthyhostsproperty ) | ; [ IResolvable] ( #aws-cdk-core-iresolvable ) </code > | ` AWS::CodeDeploy::DeploymentConfig.MinimumHealthyHosts ` .<br />__ * Optional* __
304
+ ** trafficRoutingConfig** ? | <code >[ IResolvable] ( #aws-cdk-core-iresolvable ) | ; [ CfnDeploymentConfig.TrafficRoutingConfigProperty] ( #aws-cdk-aws-codedeploy-cfndeploymentconfig-trafficroutingconfigproperty ) </code > | ` AWS::CodeDeploy::DeploymentConfig.TrafficRoutingConfig ` .<br />__ * Optional* __
305
+
306
+
307
+
231
308
## struct EcsDeploymentGroupProps <a id =" cloudcomponents-cdk-blue-green-container-deployment-ecsdeploymentgroupprops " ></a >
232
309
233
310
@@ -244,7 +321,7 @@ Name | Type | Description
244
321
** testTrafficListener** | <code >[ TrafficListener] ( #cloudcomponents-cdk-blue-green-container-deployment-trafficlistener ) </code > | <span ></span >
245
322
** applicationName** ? | <code >string</code > | __ * Optional* __
246
323
** autoRollbackOnEvents** ? | <code >Array<[ RollbackEvent] ( #cloudcomponents-cdk-blue-green-container-deployment-rollbackevent ) ></code > | The event type or types that trigger a rollback.<br />__ * Optional* __
247
- ** deploymentConfig** ? | <code >[ IEcsDeploymentConfig] ( #aws -cdk-aws-codedeploy -iecsdeploymentconfig ) </code > | __ * Optional* __
324
+ ** deploymentConfig** ? | <code >[ IEcsDeploymentConfig] ( #cloudcomponents -cdk-blue-green-container-deployment -iecsdeploymentconfig ) </code > | __ * Optional* __
248
325
** terminationWaitTimeInMinutes** ? | <code >number</code > | the number of minutes before deleting the original (blue) task set.<br />__ * Default* __ : 60
249
326
250
327
@@ -293,6 +370,44 @@ Name | Type | Description
293
370
294
371
295
372
373
+ ## interface IEcsDeploymentConfig <a id =" cloudcomponents-cdk-blue-green-container-deployment-iecsdeploymentconfig " ></a >
374
+
375
+ __ Implemented by__ : [ EcsDeploymentConfig] ( #cloudcomponents-cdk-blue-green-container-deployment-ecsdeploymentconfig )
376
+ __ Obtainable from__ : [ EcsDeploymentConfig] ( #cloudcomponents-cdk-blue-green-container-deployment-ecsdeploymentconfig ) .[ fromEcsDeploymentConfigName] ( #cloudcomponents-cdk-blue-green-container-deployment-ecsdeploymentconfig#cloudcomponents-cdk-blue-green-container-deployment-ecsdeploymentconfig-fromecsdeploymentconfigname ) ()
377
+
378
+
379
+
380
+ ### Properties
381
+
382
+
383
+ Name | Type | Description
384
+ -----|------|-------------
385
+ ** deploymentConfigArn** | <code >string</code > | <span ></span >
386
+ ** deploymentConfigName** | <code >string</code > | <span ></span >
387
+
388
+
389
+
390
+ ## interface IEcsDeploymentGroup <a id =" cloudcomponents-cdk-blue-green-container-deployment-iecsdeploymentgroup " ></a >
391
+
392
+ __ Implemented by__ : [ EcsDeploymentGroup] ( #cloudcomponents-cdk-blue-green-container-deployment-ecsdeploymentgroup )
393
+
394
+ Interface for an ECS deployment group.
395
+
396
+ ### Properties
397
+
398
+
399
+ Name | Type | Description
400
+ -----|------|-------------
401
+ ** application** | <code >[ IEcsApplication] ( #aws-cdk-aws-codedeploy-iecsapplication ) </code > | The reference to the CodeDeploy ECS Application that this Deployment Group belongs to.
402
+ ** deploymentConfig** | <code >[ IEcsDeploymentConfig] ( #cloudcomponents-cdk-blue-green-container-deployment-iecsdeploymentconfig ) </code > | The Deployment Configuration this Group uses.
403
+ ** deploymentGroupArn** | <code >string</code > | The ARN of this Deployment Group.
404
+ ** deploymentGroupName** | <code >string</code > | The physical name of the CodeDeploy Deployment Group.
405
+ ** env** | <code >[ ResourceEnvironment] ( #aws-cdk-core-resourceenvironment ) </code > | The environment this resource belongs to.
406
+ ** node** | <code >[ ConstructNode] ( #aws-cdk-core-constructnode ) </code > | The construct tree node for this construct.
407
+ ** stack** | <code >[ Stack] ( #aws-cdk-core-stack ) </code > | The stack in which this resource is defined.
408
+
409
+
410
+
296
411
## interface IEcsService <a id =" cloudcomponents-cdk-blue-green-container-deployment-iecsservice " ></a >
297
412
298
413
__ Implemented by__ : [ EcsService] ( #cloudcomponents-cdk-blue-green-container-deployment-ecsservice )
0 commit comments