Interface ICfnTopicInlinePolicyProps
Properties for defining a CfnTopicInlinePolicy.
Namespace: Amazon.CDK.AWS.SNS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnTopicInlinePolicyProps
Syntax (vb)
Public Interface ICfnTopicInlinePolicyProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SNS;
var policyDocument;
var cfnTopicInlinePolicyProps = new CfnTopicInlinePolicyProps {
PolicyDocument = policyDocument,
TopicArn = "topicArn"
};
Synopsis
Properties
| PolicyDocument | A policy document that contains permissions to add to the specified Amazon topic. |
| TopicArn | The Amazon Resource Name (ARN) of the topic to which you want to add the policy. |
Properties
PolicyDocument
A policy document that contains permissions to add to the specified Amazon topic.
object PolicyDocument { get; }
Property Value
Remarks
TopicArn
The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
string TopicArn { get; }