feat(ec2): add versionDescription property for LaunchTemplate#30837
feat(ec2): add versionDescription property for LaunchTemplate#30837mergify[bot] merged 8 commits intoaws:mainfrom
versionDescription property for LaunchTemplate#30837Conversation
versionDescription property for LaunchTemplate
| /** | ||
| * A description for the first version of the launch template. | ||
| * The version descrioption must be maximum 255 characters long, including hyphens (-), | ||
| * underscores (_), spaces, and tabs. | ||
| * | ||
| * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#cfn-ec2-launchtemplate-versiondescription | ||
| */ | ||
| readonly versionDescription?: string; |
There was a problem hiding this comment.
The CodeBuild CI seems to be failing. Optional properties must have @default documentation. Could you add the label and description to the JSDoc?
aws-cdk-lib: error: [awslint:props-default-doc:aws-cdk-lib.aws_ec2.LaunchTemplateProps.versionDescription] Optional property must have @default documentation
aws-cdk-lib: Error: /codebuild/output/src1195990305/src/github.com/aws/aws-cdk/tools/@aws-cdk/cdk-build-tools/bin/cdk-awslint exited with error code 1
aws-cdk-lib: Build failed.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
| * The version descrioption must be maximum 255 characters long, including hyphens (-), | ||
| * underscores (_), spaces, and tabs. |
There was a problem hiding this comment.
including hyphens (-), * underscores (_), spaces, and tabs.
Is there documentation available to confirm this? (I could not find that in the CFn documentation.)
| * A description for the first version of the launch template. | ||
| * The version descrioption must be maximum 255 characters long, including hyphens (-), |
There was a problem hiding this comment.
A line break would make it clearer.
| * A description for the first version of the launch template. | |
| * The version descrioption must be maximum 255 characters long, including hyphens (-), | |
| * A description for the first version of the launch template. | |
| * | |
| * The version descrioption must be maximum 255 characters long, including hyphens (-), |
|
@go-to-k |
Co-authored-by: Kenta Goto (k.goto) <24818752+go-to-k@users.noreply.github.com>
go-to-k
left a comment
There was a problem hiding this comment.
Thanks for the changes. Approved.
|
@go-to-k |
gracelu0
left a comment
There was a problem hiding this comment.
Hi @yuppe-kyupeen , thanks for your contribution. Just one small typo to fix, otherwise LGTM!
Co-authored-by: Grace Luo <54298030+gracelu0@users.noreply.github.com>
|
Hi @gracelu0, thanks for your review and suggestion! 👍 |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
|
Comments on closed issues and PRs are hard for our team to see. |
…s#30837) ### Issue # (if applicable) ### Reason for this change The change introduces the `versionDescription` property to the `LaunchTemplate` ### Description of changes - Add the `versionDescription` property for `LaunchTemplateProps`, which was missing in the L2 construct. - Add validation for character limit ### Description of how you validated changes I Added a unit test for launch template and added the `versionDescription` property in the integration tests. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
Comments on closed issues and PRs are hard for our team to see. If you need help, please open a new issue that references this one. |
Issue # (if applicable)
Reason for this change
The change introduces the
versionDescriptionproperty to theLaunchTemplateDescription of changes
versionDescriptionproperty forLaunchTemplateProps, which was missing in the L2 construct.Description of how you validated changes
I Added a unit test for launch template and added the
versionDescriptionproperty in the integration tests.Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license