Skip to content
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

CfnInstance Metadata example. #5087

Closed
ppsimatikas opened this issue Nov 19, 2019 · 1 comment
Closed

CfnInstance Metadata example. #5087

ppsimatikas opened this issue Nov 19, 2019 · 1 comment
Assignees
Labels
@aws-cdk/aws-ec2 Related to Amazon Elastic Compute Cloud docs/generated Related to the generated API Reference documentation feature-request A feature should be added or improved.

Comments

@ppsimatikas
Copy link

ppsimatikas commented Nov 19, 2019

Dear AWS CDK developers,

I am trying to use the CfnInstance class documented here: https://docs.aws.amazon.com/cdk/api/latest/python/aws_cdk.aws_ec2/CfnInstance.html

This documentation is missing 1 critical example for the use of MetaData

I do not see the option of adding metadata to the CfnInstance class. Is that by design?

This is a 📕 documentation issue

@ppsimatikas ppsimatikas added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Nov 19, 2019
@ppsimatikas ppsimatikas changed the title CfnInstance UserData and Metadata example. CfnInstance Metadata example. Nov 19, 2019
@SomayaB SomayaB added docs/generated Related to the generated API Reference documentation @aws-cdk/aws-ec2 Related to Amazon Elastic Compute Cloud labels Nov 19, 2019
@rix0rrr
Copy link
Contributor

rix0rrr commented Nov 25, 2019

You would use the "escape hatch" functionality (addOverride) to add the proper metadata fields to your resource.

https://docs.aws.amazon.com/cdk/latest/guide/cfn_layer.html

@SomayaB SomayaB removed the needs-triage This issue or PR still needs to be triaged. label Jan 15, 2020
@SomayaB SomayaB assigned SomayaB and unassigned rix0rrr Jan 15, 2020
@SomayaB SomayaB closed this as completed Jan 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-ec2 Related to Amazon Elastic Compute Cloud docs/generated Related to the generated API Reference documentation feature-request A feature should be added or improved.
Projects
None yet
Development

No branches or pull requests

3 participants