Skip to content

(cloudwatch): Add dashboard_arn property to dashboard #18744

@kornicameister

Description

@kornicameister

Description

I would like to be able to construct, use cloud watch dashboard ARN in my policies.
Having a property would make it easier and align resource to other resources that expose the ARN property.

Use Case

Building IAM policies to enable dashboard access.

Proposed Solution

Add a property to Dashboard resource that produces ARN based on arn:${Partition}:cloudwatch::${Account}:dashboard/${DashboardName} called dashboardArn.
Property will be readonly.

Other information

No response

Acknowledge

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-cloudwatchRelated to Amazon CloudWatcheffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions