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