interface SQSEventProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.SAM.CfnFunction.SQSEventProperty |
Java | software.amazon.awscdk.services.sam.CfnFunction.SQSEventProperty |
Python | aws_cdk.aws_sam.CfnFunction.SQSEventProperty |
TypeScript | @aws-cdk/aws-sam » CfnFunction » SQSEventProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as sam from '@aws-cdk/aws-sam';
const sQSEventProperty: sam.CfnFunction.SQSEventProperty = {
queue: 'queue',
// the properties below are optional
batchSize: 123,
enabled: false,
};
Properties
Name | Type | Description |
---|---|---|
queue | string | CfnFunction.SQSEventProperty.Queue . |
batch | number | CfnFunction.SQSEventProperty.BatchSize . |
enabled? | boolean | IResolvable | CfnFunction.SQSEventProperty.Enabled . |
queue
Type:
string
CfnFunction.SQSEventProperty.Queue
.
batchSize?
Type:
number
(optional)
CfnFunction.SQSEventProperty.BatchSize
.
enabled?
Type:
boolean |
IResolvable
(optional)
CfnFunction.SQSEventProperty.Enabled
.