Skip to content

Commit

Permalink
doc(codedeploy): Make Alias example in the README valid (#1810)
Browse files Browse the repository at this point in the history
  • Loading branch information
BDQ authored and skinny85 committed Feb 20, 2019
1 parent f6aea1b commit 940a860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-codedeploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ import lambda = require('@aws-cdk/aws-lambda');
const myApplication = new codedeploy.LambdaApplication(..);
const func = new lambda.Function(..);
const version = func.addVersion('1');
const version1Alias = new lambda.Alias({
const version1Alias = new lambda.Alias(this, 'alias', {
aliasName: 'prod',
version
});
Expand Down

0 comments on commit 940a860

Please sign in to comment.