-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(wrapped constructs): shorten wrapped ID names in deprecated constructs #371
Conversation
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
// W (for 'wrapped') is added to the id so that the id's of the constructs with the old and new names don't collide | ||
// If this character pushes you beyond the 64 character limit, just import the new named construct and instantiate | ||
// it in place of the older named version. They are functionally identical, aside from the types no other changes | ||
// will be required. (eg - new EventbridgeToLambda instead of DynamoDBStreamToLambda) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cut/paste error here
// W (for 'wrapped') is added to the id so that the id's of the constructs with the old and new names don't collide | ||
// If this character pushes you beyond the 64 character limit, just import the new named construct and instantiate | ||
// it in place of the older named version. They are functionally identical, aside from the types no other changes | ||
// will be required. (eg - new EventbridgeToSns instead of EventsRuleToSns) | ||
const wrappedConstruct: EventsRuleToSns = new EventbridgeToSns(this, `${id}`, convertedProps); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uh...where's the W?
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Issue #369 , if available:
Description of changes:
-Replaced
-wrapped
withW
in order to prevent the error of more than 64 characters in an ID name-Updated all tests to support new id names
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
fixes #369