interface KinesisEventProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SAM.CfnFunction.KinesisEventProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awssam#CfnFunction_KinesisEventProperty |
![]() | software.amazon.awscdk.services.sam.CfnFunction.KinesisEventProperty |
![]() | aws_cdk.aws_sam.CfnFunction.KinesisEventProperty |
![]() | aws-cdk-lib » aws_sam » CfnFunction » KinesisEventProperty |
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 kinesisEventProperty: sam.CfnFunction.KinesisEventProperty = {
startingPosition: 'startingPosition',
stream: 'stream',
// the properties below are optional
batchSize: 123,
enabled: false,
functionResponseTypes: ['functionResponseTypes'],
};
Properties
Name | Type | Description |
---|---|---|
starting | string | |
stream | string | |
batch | number | |
enabled? | boolean | IResolvable | |
function | string[] |
startingPosition
Type:
string
stream
Type:
string
batchSize?
Type:
number
(optional)
enabled?
Type:
boolean |
IResolvable
(optional)
functionResponseTypes?
Type:
string[]
(optional)