interface KinesisEventProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.SAM.CfnFunction.KinesisEventProperty |
Java | software.amazon.awscdk.services.sam.CfnFunction.KinesisEventProperty |
Python | aws_cdk.aws_sam.CfnFunction.KinesisEventProperty |
TypeScript | @aws-cdk/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 * as sam from '@aws-cdk/aws-sam';
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 | CfnFunction.KinesisEventProperty.StartingPosition . |
stream | string | CfnFunction.KinesisEventProperty.Stream . |
batch | number | CfnFunction.KinesisEventProperty.BatchSize . |
enabled? | boolean | IResolvable | CfnFunction.KinesisEventProperty.Enabled . |
function | string[] | CfnFunction.KinesisEventProperty.FunctionResponseTypes . |
startingPosition
Type:
string
CfnFunction.KinesisEventProperty.StartingPosition
.
stream
Type:
string
CfnFunction.KinesisEventProperty.Stream
.
batchSize?
Type:
number
(optional)
CfnFunction.KinesisEventProperty.BatchSize
.
enabled?
Type:
boolean |
IResolvable
(optional)
CfnFunction.KinesisEventProperty.Enabled
.
functionResponseTypes?
Type:
string[]
(optional)
CfnFunction.KinesisEventProperty.FunctionResponseTypes
.