Class CfnTopicPolicyProps
Properties for defining a CfnTopicPolicy
.
Inheritance
System.Object
CfnTopicPolicyProps
Implements
Namespace: Amazon.CDK.AWS.SNS
Assembly: Amazon.CDK.AWS.SNS.dll
Syntax (csharp)
public class CfnTopicPolicyProps : Object, ICfnTopicPolicyProps
Syntax (vb)
Public Class CfnTopicPolicyProps
Inherits Object
Implements ICfnTopicPolicyProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-policy.html
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 cfnTopicPolicyProps = new CfnTopicPolicyProps {
PolicyDocument = policyDocument,
Topics = new [] { "topics" }
};
Synopsis
Constructors
CfnTopicPolicyProps() |
Properties
PolicyDocument | A policy document that contains permissions to add to the specified SNS topics. |
Topics | The Amazon Resource Names (ARN) of the topics to which you want to add the policy. |
Constructors
CfnTopicPolicyProps()
public CfnTopicPolicyProps()
Properties
PolicyDocument
A policy document that contains permissions to add to the specified SNS topics.
public object PolicyDocument { get; set; }
Property Value
System.Object
Remarks
Topics
The Amazon Resource Names (ARN) of the topics to which you want to add the policy.
public string[] Topics { get; set; }
Property Value
System.String[]
Remarks
You can use the Ref
function to specify an AWS::SNS::Topic
resource.