Class CfnQueuePolicyProps
Properties for defining a CfnQueuePolicy
.
Inheritance
System.Object
CfnQueuePolicyProps
Implements
Namespace: Amazon.CDK.AWS.SQS
Assembly: Amazon.CDK.AWS.SQS.dll
Syntax (csharp)
public class CfnQueuePolicyProps : Object, ICfnQueuePolicyProps
Syntax (vb)
Public Class CfnQueuePolicyProps
Inherits Object
Implements ICfnQueuePolicyProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-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.SQS;
var policyDocument;
var cfnQueuePolicyProps = new CfnQueuePolicyProps {
PolicyDocument = policyDocument,
Queues = new [] { "queues" }
};
Synopsis
Constructors
CfnQueuePolicyProps() |
Properties
PolicyDocument | A policy document that contains the permissions for the specified Amazon SQS queues. |
Queues | The URLs of the queues to which you want to add the policy. |
Constructors
CfnQueuePolicyProps()
public CfnQueuePolicyProps()
Properties
PolicyDocument
A policy document that contains the permissions for the specified Amazon SQS queues.
public object PolicyDocument { get; set; }
Property Value
System.Object
Remarks
For more information about Amazon SQS policies, see Using custom policies with the Amazon SQS access policy language in the Amazon SQS Developer Guide .
Queues
The URLs of the queues to which you want to add the policy.
public string[] Queues { get; set; }
Property Value
System.String[]
Remarks
You can use the Ref
function to specify an AWS::SQS::Queue
resource.