Documentation ¶
Overview ¶
CDK Constructs for deploying AWS Eventbridge that invokes AWS SQS
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EventbridgeToSqs_IsConstruct ¶
func EventbridgeToSqs_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func NewEventbridgeToSqs_Override ¶
func NewEventbridgeToSqs_Override(e EventbridgeToSqs, scope constructs.Construct, id *string, props *EventbridgeToSqsProps)
Types ¶
type EventbridgeToSqs ¶
type EventbridgeToSqs interface { constructs.Construct DeadLetterQueue() *awssqs.DeadLetterQueue EncryptionKey() awskms.IKey EventBus() awsevents.IEventBus EventsRule() awsevents.Rule Node() constructs.Node SqsQueue() awssqs.Queue ToString() *string }
func NewEventbridgeToSqs ¶
func NewEventbridgeToSqs(scope constructs.Construct, id *string, props *EventbridgeToSqsProps) EventbridgeToSqs
type EventbridgeToSqsProps ¶
type EventbridgeToSqsProps struct { // User provided eventRuleProps to override the defaults. EventRuleProps *awsevents.RuleProps `json:"eventRuleProps"` // Optional user provided properties for the dead letter queue. DeadLetterQueueProps *awssqs.QueueProps `json:"deadLetterQueueProps"` // Whether to deploy a secondary queue to be used as a dead letter queue. DeployDeadLetterQueue *bool `json:"deployDeadLetterQueue"` // Use a KMS Key, either managed by this CDK app, or imported. // // If importing an encryption key, it must be specified in // the encryptionKey property for this construct. EnableEncryptionWithCustomerManagedKey *bool `json:"enableEncryptionWithCustomerManagedKey"` // Whether to grant additional permissions to the Lambda function enabling it to purge the SQS queue. EnableQueuePurging *bool `json:"enableQueuePurging"` // An optional, imported encryption key to encrypt the SQS queue, and SNS Topic. EncryptionKey awskms.Key `json:"encryptionKey"` // Optional user-provided props to override the default props for the encryption key. EncryptionKeyProps *awskms.KeyProps `json:"encryptionKeyProps"` // A new custom EventBus is created with provided props. EventBusProps *awsevents.EventBusProps `json:"eventBusProps"` // Existing instance of a custom EventBus. ExistingEventBusInterface awsevents.IEventBus `json:"existingEventBusInterface"` // Existing instance of SQS queue object, providing both this and queueProps will cause an error. ExistingQueueObj awssqs.Queue `json:"existingQueueObj"` // The number of times a message can be unsuccessfully dequeued before being moved to the dead-letter queue. MaxReceiveCount *float64 `json:"maxReceiveCount"` // User provided props to override the default props for the SQS queue. QueueProps *awssqs.QueueProps `json:"queueProps"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.