Class SqsDestination
Use an Amazon SQS queue as an event destination.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AppConfig
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SqsDestination : DeputyBase, IEventDestination
Syntax (vb)
Public Class SqsDestination
Inherits DeputyBase
Implements IEventDestination
Remarks
ExampleMetadata: infused
Examples
Queue queue;
new Extension(this, "MyExtension", new ExtensionProps {
Actions = new [] {
new Action(new ActionProps {
ActionPoints = new [] { ActionPoint.ON_DEPLOYMENT_START },
EventDestination = new SqsDestination(queue)
}) }
});
Synopsis
Constructors
Sqs |
|
Sqs |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Sqs |
Used by jsii to construct an instance of this class from DeputyProps |
Properties
Extension |
The URI of the extension event destination. |
Policy |
The IAM policy document to invoke the event destination. |
Type | The type of the extension event destination. |
Constructors
SqsDestination(IQueue)
SqsDestination(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected SqsDestination(ByRefValue reference)
Parameters
- reference Amazon.
JSII. Runtime. Deputy. By Ref Value The Javascript-owned object reference
SqsDestination(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected SqsDestination(DeputyBase.DeputyProps props)
Parameters
- props Amazon.
JSII. Runtime. Deputy. Deputy Base. Deputy Props The deputy props
Properties
ExtensionUri
The URI of the extension event destination.
public virtual string ExtensionUri { get; }
Property Value
System.
PolicyDocument
The IAM policy document to invoke the event destination.
public virtual PolicyDocument PolicyDocument { get; }
Property Value
Type
The type of the extension event destination.
public virtual SourceType Type { get; }
Property Value