Skip to content

custom-resources: Incorrect documentation/comment for deprecated ProviderProps.role property #35049

@memorsolutions

Description

@memorsolutions

Describe the issue

#33600 separated the role property into two new properties, frameworkOnEventRole and frameworkCompleteAndTimeoutRole. However, the comment deprecating the old role property incorrectly states that there are 3 new properties, frameworkOnEventLambdaRole, frameworkIsCompleteLambdaRole, and frameworkOnTimeoutLambdaRole. Both the number of properties listed in the comment and the spelling of the names are incorrect.

This error makes it's way into the online documentation as shown in the links below.

Links

role

frameworkOnEventRole

frameworkCompleteAndTimeoutRole

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/custom-resourcesRelated to AWS CDK Custom ResourcesdocumentationThis is a problem with documentation.effort/smallSmall work item – less than a day of effortp2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions