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 909934e93f..2194c1fced 100644 --- a/generate/sam-2016-10-31.json +++ b/generate/sam-2016-10-31.json @@ -937,6 +937,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 5817750549..a1ff33ce22 100644 --- a/schema/sam.go +++ b/schema/sam.go @@ -144743,6 +144743,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 1f8b85f887..f7908dee90 100644 --- a/schema/sam.schema.json +++ b/schema/sam.schema.json @@ -144738,6 +144738,12 @@ "Enabled": { "type": "boolean" }, + "FunctionResponseTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, "StartingPosition": { "type": "string" },