Skip to content

Commit b3a05a9

Browse files
committed
fix: props syntax
1 parent 02b9ba4 commit b3a05a9

File tree

1 file changed

+27
-5
lines changed

1 file changed

+27
-5
lines changed

packages/cdk-blue-green-container-deployment/src/ecs-deployment-configuration.ts

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,30 @@
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+
}
628

729
export class EcsDeploymentConfiguration extends Construct {
830
readonly deploymentConfig: IEcsDeploymentConfig;

0 commit comments

Comments
 (0)