Class CfnQueueInlinePolicyProps
Properties for defining a CfnQueueInlinePolicy
.
Inheritance
System.Object
CfnQueueInlinePolicyProps
Implements
Namespace: Amazon.CDK.AWS.SQS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnQueueInlinePolicyProps : Object, ICfnQueueInlinePolicyProps
Syntax (vb)
Public Class CfnQueueInlinePolicyProps
Inherits Object
Implements ICfnQueueInlinePolicyProps
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.SQS;
var policyDocument;
var cfnQueueInlinePolicyProps = new CfnQueueInlinePolicyProps {
PolicyDocument = policyDocument,
Queue = "queue"
};
Synopsis
Constructors
CfnQueueInlinePolicyProps() |
Properties
PolicyDocument | A policy document that contains the permissions for the specified Amazon SQS queues. |
Queue | The URLs of the queues to which you want to add the policy. |
Constructors
CfnQueueInlinePolicyProps()
public CfnQueueInlinePolicyProps()
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 .
Queue
The URLs of the queues to which you want to add the policy.
public string Queue { get; set; }
Property Value
System.String
Remarks
You can use the Ref
function to specify an AWS::SQS::Queue
resource.