Documentation
¶
Overview ¶
CDK constructs for defining an interaction between an AWS Lambda function and an Amazon S3 bucket.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApiGatewayToSqs_IsConstruct ¶
func ApiGatewayToSqs_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 NewApiGatewayToSqs_Override ¶
func NewApiGatewayToSqs_Override(a ApiGatewayToSqs, scope constructs.Construct, id *string, props *ApiGatewayToSqsProps)
Types ¶
type ApiGatewayToSqs ¶
type ApiGatewayToSqs interface { constructs.Construct ApiGateway() awsapigateway.RestApi ApiGatewayCloudWatchRole() awsiam.Role ApiGatewayLogGroup() awslogs.LogGroup ApiGatewayRole() awsiam.Role DeadLetterQueue() *awssqs.DeadLetterQueue Node() constructs.Node SqsQueue() awssqs.Queue ToString() *string }
func NewApiGatewayToSqs ¶
func NewApiGatewayToSqs(scope constructs.Construct, id *string, props *ApiGatewayToSqsProps) ApiGatewayToSqs
type ApiGatewayToSqsProps ¶
type ApiGatewayToSqsProps struct { // Whether to deploy an API Gateway Method for Create operations on the queue (i.e. sqs:SendMessage). AllowCreateOperation *bool `json:"allowCreateOperation"` // Whether to deploy an API Gateway Method for Delete operations on the queue (i.e. sqs:DeleteMessage). AllowDeleteOperation *bool `json:"allowDeleteOperation"` // Whether to deploy an API Gateway Method for Read operations on the queue (i.e. sqs:ReceiveMessage). AllowReadOperation *bool `json:"allowReadOperation"` // Optional user-provided props to override the default props for the API Gateway. ApiGatewayProps interface{} `json:"apiGatewayProps"` // API Gateway Request template for Create method, if allowCreateOperation set to true. CreateRequestTemplate *string `json:"createRequestTemplate"` // Optional user provided properties for the dead letter queue. DeadLetterQueueProps *awssqs.QueueProps `json:"deadLetterQueueProps"` // API Gateway Request template for Delete method, if allowDeleteOperation set to true. DeleteRequestTemplate *string `json:"deleteRequestTemplate"` // Whether to deploy a secondary queue to be used as a dead letter queue. DeployDeadLetterQueue *bool `json:"deployDeadLetterQueue"` // Existing instance of SQS queue object, providing both this and queueProps will cause an error. ExistingQueueObj awssqs.Queue `json:"existingQueueObj"` // User provided props to override the default props for the CloudWatchLogs LogGroup. LogGroupProps *awslogs.LogGroupProps `json:"logGroupProps"` // 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"` // API Gateway Request template for Get method, if allowReadOperation set to true. ReadRequestTemplate *string `json:"readRequestTemplate"` }
Source Files
¶
Click to show internal directories.
Click to hide internal directories.