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

feat(cdk): Expose props as read/write properties in CFN resources #2372

Merged
merged 1 commit into from
Jun 18, 2019

Commits on Jun 17, 2019

  1. feat(cdk): Expose props in CFN resources and remove propertyOverrides (

    …aws#2372)
    
    Modify the generation of CFN resources to create Class members for each
    CloudFormation Property. This removes the need for the property override
    solution implemented previously. CloudFormation Resource attributes are
    now prefixed with `attr` instead of resource name. The RefKind patches
    are removed. All L2 resources have been updated to consume the new
    attribute names. The Ref attributes are removed and the new `refAsString`
    is used.
    
    Added tagging support for AppSync, AppMesh, StepFunctions.
    
    Token now supports `number` types, so the generated code no longer
    treats number as non-tokenizable.
    
    BREAKING CHANGE: All L1 (CFN) Resources have attributes prefixed with
    `attr`. For example, in S3 `bucket.bucketArn` is now `bucket.attrArn`.
    The property overrides for typed properties has been removed, instead
    users can now directly access CloudFormation properties on the class.
    
    Fixes aws#2100
    moofish32 committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    2368ab6 View commit details
    Browse the repository at this point in the history