Describe the feature
A feature to configure the display name used as the sender in messages sent from the topic.
トピックから送られるメッセージの送信者として用いられるdisplay nameを設定する機能。
Use Case
I want to specify displayName for the SNS topic.
Cloudformation can configure displayName, but sns.Topic L2 construct cannot do that.
SNSトピックに対してdisplayNameを設定したいです。
CloudformationではdisplayName引数から設定することができますが、現状CDKのsns.Topic L2コンストラクトからは設定することができません。
Proposed Solution
Add displayName to TopicProps and pass it to CfnTopic constructor as the displayName prop.
displayName引数をTopicPropsに追加し、それをCfnTopicコンストラクタのdisplayName引数に渡します。
export interface TopicProps {
...,
readonly displayName?: string // add
}
new CfnTopic(this, 'Resource', {
...,
displayName: props.displayName, // add
})
Other Information
No response
Acknowledgements
CDK version used
2.144.0
Environment details (OS name and version, etc.)
irrelevant
Describe the feature
A feature to configure the display name used as the sender in messages sent from the topic.
トピックから送られるメッセージの送信者として用いられる
display nameを設定する機能。Use Case
I want to specify
displayNamefor the SNS topic.Cloudformation can configure
displayName, butsns.TopicL2 construct cannot do that.SNSトピックに対してdisplayNameを設定したいです。
Cloudformationでは
displayName引数から設定することができますが、現状CDKのsns.TopicL2コンストラクトからは設定することができません。Proposed Solution
Add
displayNametoTopicPropsand pass it toCfnTopicconstructor as thedisplayNameprop.displayName引数をTopicPropsに追加し、それをCfnTopicコンストラクタのdisplayName引数に渡します。Other Information
No response
Acknowledgements
CDK version used
2.144.0
Environment details (OS name and version, etc.)
irrelevant