-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnFunction_KinesisEventProperty.go
40 lines (37 loc) · 2 KB
/
CfnFunction_KinesisEventProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package awssam
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// kinesisEventProperty := &KinesisEventProperty{
// StartingPosition: jsii.String("startingPosition"),
// Stream: jsii.String("stream"),
//
// // the properties below are optional
// BatchSize: jsii.Number(123),
// Enabled: jsii.Boolean(false),
// FunctionResponseTypes: []*string{
// jsii.String("functionResponseTypes"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-kinesisevent.html
//
type CfnFunction_KinesisEventProperty struct {
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-kinesisevent.html#cfn-serverless-function-kinesisevent-startingposition
//
StartingPosition *string `field:"required" json:"startingPosition" yaml:"startingPosition"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-kinesisevent.html#cfn-serverless-function-kinesisevent-stream
//
Stream *string `field:"required" json:"stream" yaml:"stream"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-kinesisevent.html#cfn-serverless-function-kinesisevent-batchsize
//
BatchSize *float64 `field:"optional" json:"batchSize" yaml:"batchSize"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-kinesisevent.html#cfn-serverless-function-kinesisevent-enabled
//
Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-kinesisevent.html#cfn-serverless-function-kinesisevent-functionresponsetypes
//
FunctionResponseTypes *[]*string `field:"optional" json:"functionResponseTypes" yaml:"functionResponseTypes"`
}