aws-cdk-lib.aws_sam.CfnFunction.SQSEventProperty

interface SQSEventProperty

LanguageType name
.NETAmazon.CDK.AWS.SAM.CfnFunction.SQSEventProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssam#CfnFunction_SQSEventProperty
Javasoftware.amazon.awscdk.services.sam.CfnFunction.SQSEventProperty
Pythonaws_cdk.aws_sam.CfnFunction.SQSEventProperty
TypeScript aws-cdk-lib » 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 { aws_sam as sam } from 'aws-cdk-lib';
const sQSEventProperty: sam.CfnFunction.SQSEventProperty = {
  queue: 'queue',

  // the properties below are optional
  batchSize: 123,
  enabled: false,
};

Properties

NameTypeDescription
queuestringCfnFunction.SQSEventProperty.Queue.
batchSize?numberCfnFunction.SQSEventProperty.BatchSize.
enabled?boolean | IResolvableCfnFunction.SQSEventProperty.Enabled.

queue

Type: string

CfnFunction.SQSEventProperty.Queue.


batchSize?

Type: number (optional)

CfnFunction.SQSEventProperty.BatchSize.


enabled?

Type: boolean | IResolvable (optional)

CfnFunction.SQSEventProperty.Enabled.