Interface ICfnTopicPolicyProps
Properties for defining a CfnTopicPolicy
.
Namespace: Amazon.CDK.AWS.SNS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnTopicPolicyProps
Syntax (vb)
Public Interface ICfnTopicPolicyProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topicpolicy.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
Properties
Policy |
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. |
Properties
PolicyDocument
A policy document that contains permissions to add to the specified SNS topics.
object PolicyDocument { get; }
Property Value
System.
Remarks
Topics
The Amazon Resource Names (ARN) of the topics to which you want to add the policy.
string[] Topics { get; }
Property Value
System.
Remarks
You can use the Ref
function to specify an AWS::SNS::Topic
resource.