Skip to content

(Cloudwatch LogQueryWidgetProps): (Lack of accountId filed) #26105

Open
@bygo7

Description

@bygo7

Describe the feature

We are trying to utilize the cross-account cross-region visibility through cloudwatch.
I can connect logs from different account to monitoring account, but on the cloudwatch dashboard I need to put "accountId" filed on my LogQueryWidgetProps manually.
Problem is that the LogQueryWidgetProps on CDK does not have "accountId" filed, so that I can not make query without manually going to AWS console and modifying dashboard body json.

Use Case

Constructing LogQueryWidget with CDK, utilizing cross-account cross-region

Proposed Solution

Adding "accountId" filed supported on LogQueryWidgetProps

Other Information

No response

Acknowledgements

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

CDK version used

v2

Environment details (OS name and version, etc.)

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.p1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions