Documentation
¶
Overview ¶
CDK Constructs for AWS IoT to AWS SQS integration
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IotToSqs_IsConstruct ¶
func IotToSqs_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 NewIotToSqs_Override ¶
func NewIotToSqs_Override(i IotToSqs, scope constructs.Construct, id *string, props *IotToSqsProps)
Types ¶
type IotToSqs ¶
type IotToSqs interface { constructs.Construct DeadLetterQueue() *awssqs.DeadLetterQueue EncryptionKey() awskms.IKey IotActionsRole() awsiam.Role IotTopicRule() awsiot.CfnTopicRule Node() constructs.Node SqsQueue() awssqs.Queue ToString() *string }
func NewIotToSqs ¶
func NewIotToSqs(scope constructs.Construct, id *string, props *IotToSqsProps) IotToSqs
type IotToSqsProps ¶
type IotToSqsProps struct { // User provided CfnTopicRuleProps to override the defaults. IotTopicRuleProps *awsiot.CfnTopicRuleProps `json:"iotTopicRuleProps"` // 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"` // 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"` // 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.