Class CfnTopicInlinePolicyProps
Properties for defining a CfnTopicInlinePolicy
.
Inheritance
System.Object
CfnTopicInlinePolicyProps
Implements
Namespace: Amazon.CDK.AWS.SNS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTopicInlinePolicyProps : Object, ICfnTopicInlinePolicyProps
Syntax (vb)
Public Class CfnTopicInlinePolicyProps
Inherits Object
Implements 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
Constructors
CfnTopicInlinePolicyProps() |
Properties
PolicyDocument | A policy document that contains permissions to add to the specified Amazon SNS topic. |
TopicArn | The Amazon Resource Name (ARN) of the topic to which you want to add the policy. |
Constructors
CfnTopicInlinePolicyProps()
public CfnTopicInlinePolicyProps()
Properties
PolicyDocument
A policy document that contains permissions to add to the specified Amazon SNS topic.
public object PolicyDocument { get; set; }
Property Value
System.Object
Remarks
TopicArn
The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
public string TopicArn { get; set; }
Property Value
System.String