admin管理员组文章数量:1391975
I'm trying to configure SNS SMS Attributes (see image below) using AWS CDK. However, I can't seem to find any documentation or examples on how to set these preferences using CDK (Typescript).
The goal is to
- Set SNS SMS spend limit
- Define a default sender ID
- Enable delivery status logging
- Store SNS usage reports in Cloudwatch
Resources found
CDKTF does seem to have this: .md
I also found an older configuration, but was unable to get it running:
I'm trying to configure SNS SMS Attributes (see image below) using AWS CDK. However, I can't seem to find any documentation or examples on how to set these preferences using CDK (Typescript).
The goal is to
- Set SNS SMS spend limit
- Define a default sender ID
- Enable delivery status logging
- Store SNS usage reports in Cloudwatch
Resources found
CDKTF does seem to have this: https://github/hashicorp/cdktf-aws-cdk/blob/main/docs/snsSmsPreferences.md
I also found an older configuration, but was unable to get it running: https://github/markilott/aws-cdk-configure-sns
Share Improve this question edited Mar 12 at 21:06 Kevin asked Mar 12 at 21:00 KevinKevin 1,1443 gold badges15 silver badges33 bronze badges1 Answer
Reset to default 0Looking at the documentation, CDK construct for SNS Text Messaging doesn't exist nor do CloudFormation template for it.
CDKTF has it because, as far as I know, TF doesn't use CloudFormation but uses AWS API instead.
If you look at https://github/markilott/aws-cdk-configure-sns/blob/main/lib/sns-config-stack.ts#L108-L123, it's using AwsCustomResource. That's what you can do as well, create your own CustomResource.
本文标签: aws cdkConfigure SNS SMS Attributes using CDKStack Overflow
版权声明:本文标题:aws cdk - Configure SNS SMS Attributes using CDK - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744730706a2622031.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论