File tree Expand file tree Collapse file tree 1 file changed +27
-5
lines changed
packages/cdk-blue-green-container-deployment/src Expand file tree Collapse file tree 1 file changed +27
-5
lines changed Original file line number Diff line number Diff line change 1
- import { IEcsDeploymentConfig , CfnDeploymentConfigProps , CfnDeploymentConfig } from '@aws-cdk/aws-codedeploy' ;
2
-
3
- import { Aws , Construct } from '@aws-cdk/core' ;
4
-
5
- export type EcsDeploymentConfigurationProps = Omit < CfnDeploymentConfigProps , 'computePlatform' > ;
1
+ import { IEcsDeploymentConfig , CfnDeploymentConfig } from '@aws-cdk/aws-codedeploy' ;
2
+
3
+ import { Aws , Construct , IResolvable } from '@aws-cdk/core' ;
4
+
5
+ export interface EcsDeploymentConfigurationProps {
6
+ /**
7
+ * `AWS::CodeDeploy::DeploymentConfig.DeploymentConfigName`.
8
+ *
9
+ * @external
10
+ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentconfig.html#cfn-codedeploy-deploymentconfig-deploymentconfigname
11
+ */
12
+ readonly deploymentConfigName ?: string ;
13
+ /**
14
+ * `AWS::CodeDeploy::DeploymentConfig.MinimumHealthyHosts`.
15
+ *
16
+ * @external
17
+ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentconfig.html#cfn-codedeploy-deploymentconfig-minimumhealthyhosts
18
+ */
19
+ readonly minimumHealthyHosts ?: CfnDeploymentConfig . MinimumHealthyHostsProperty | IResolvable ;
20
+ /**
21
+ * `AWS::CodeDeploy::DeploymentConfig.TrafficRoutingConfig`.
22
+ *
23
+ * @external
24
+ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentconfig.html#cfn-codedeploy-deploymentconfig-trafficroutingconfig
25
+ */
26
+ readonly trafficRoutingConfig ?: CfnDeploymentConfig . TrafficRoutingConfigProperty | IResolvable ;
27
+ }
6
28
7
29
export class EcsDeploymentConfiguration extends Construct {
8
30
readonly deploymentConfig : IEcsDeploymentConfig ;
You can’t perform that action at this time.
0 commit comments