最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

amazon web services - Enable "Include sub domains" in an AWS CloudWatch RUM monitor using CDK? - Stack Overflo

programmeradmin4浏览0评论

CloudWatch RUM in the AWS UI console has a field for "Application domain" and a separate checkbox for "Include sub domains".

However, there is no corresponding boolean field in the CDK class, CfnAppMonitor, only a domain string.

How do I check that box without using the AWS UI if my infra is managed as CDK code?

CloudWatch RUM in the AWS UI console has a field for "Application domain" and a separate checkbox for "Include sub domains".

However, there is no corresponding boolean field in the CDK class, CfnAppMonitor, only a domain string.

How do I check that box without using the AWS UI if my infra is managed as CDK code?

Share Improve this question asked yesterday AntrikshyAntrikshy 3,1065 gold badges37 silver badges71 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

While it's not obvious in documentation, the domain field in the CDK class accepts wildcards. If you set it to *.anyothersubdomain.example, the app monitor created in AWS will have its properties set like this:

  • Application domain: anyothersubdomain.example
  • Include sub domains: [checked]

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论