Skip to content

Make stack.partition concrete if region is concrete #4092

@eladb

Description

@eladb

🚀 Feature Request

Description

If users specify env.region when they define a Stack, we should be able to return a concrete value for stack.partition instead of { "Ref": "AWS::Partition" }

Proposed Solution

Create a map from region to partition in region-info.

Environment

  • CDK CLI Version:
  • Module Version:
  • OS:
  • Language:

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/coreRelated to core CDK functionalityeffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.good first issueRelated to contributions. See CONTRIBUTING.mdp2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions