diff --git a/cloudformation/serverless/aws-serverless-function_kinesisevent.go b/cloudformation/serverless/aws-serverless-function_kinesisevent.go index 65d52e3fd9..93bd330f6b 100644 --- a/cloudformation/serverless/aws-serverless-function_kinesisevent.go +++ b/cloudformation/serverless/aws-serverless-function_kinesisevent.go @@ -20,6 +20,11 @@ type Function_KinesisEvent struct { // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#kinesis Enabled *bool `json:"Enabled,omitempty"` + // FunctionResponseTypes AWS CloudFormation Property + // Required: false + // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#kinesis + FunctionResponseTypes []string `json:"FunctionResponseTypes,omitempty"` + // StartingPosition AWS CloudFormation Property // Required: true // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#kinesis diff --git a/generate/sam-2016-10-31.json b/generate/sam-2016-10-31.json index bf2d7e2ab0..5a8e6b9719 100644 --- a/generate/sam-2016-10-31.json +++ b/generate/sam-2016-10-31.json @@ -931,6 +931,13 @@ "Required": false, "PrimitiveType": "Boolean", "UpdateType": "Immutable" + }, + "FunctionResponseTypes": { + "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#kinesis", + "Required": false, + "Type": "List", + "PrimitiveItemType": "String", + "UpdateType": "Immutable" } } }, diff --git a/schema/sam.go b/schema/sam.go index 269e990061..7b1ee6dad7 100644 --- a/schema/sam.go +++ b/schema/sam.go @@ -144740,6 +144740,12 @@ var SamSchema = `{ "Enabled": { "type": "boolean" }, + "FunctionResponseTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, "StartingPosition": { "type": "string" }, diff --git a/schema/sam.schema.json b/schema/sam.schema.json index 0ce61bd5a7..04a277ae4d 100644 --- a/schema/sam.schema.json +++ b/schema/sam.schema.json @@ -144735,6 +144735,12 @@ "Enabled": { "type": "boolean" }, + "FunctionResponseTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, "StartingPosition": { "type": "string" },