Interface ISnsTopicProps
Customize the SNS Topic Event Target.
Inherited Members
Namespace: Amazon.CDK.AWS.Events.Targets
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISnsTopicProps : ITargetBaseProps
Syntax (vb)
Public Interface ISnsTopicProps
Inherits ITargetBaseProps
Remarks
ExampleMetadata: infused
Examples
Rule onCommitRule;
Topic topic;
onCommitRule.AddTarget(new SnsTopic(topic, new SnsTopicProps {
Message = RuleTargetInput.FromText($"A commit was pushed to the repository {codecommit.ReferenceEvent.repositoryName} on branch {codecommit.ReferenceEvent.referenceName}")
}));
Synopsis
Properties
Message | The message to send to the topic. |
Properties
Message
The message to send to the topic.
virtual RuleTargetInput Message { get; }
Property Value
Remarks
Default: the entire EventBridge event