diff --git a/cloudformation/serverless/aws-serverless-function_alexaskillevent.go b/cloudformation/serverless/aws-serverless-function_alexaskillevent.go index fd7f6ac06c..cd8c376aa6 100644 --- a/cloudformation/serverless/aws-serverless-function_alexaskillevent.go +++ b/cloudformation/serverless/aws-serverless-function_alexaskillevent.go @@ -10,10 +10,10 @@ import ( // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#alexaskill type Function_AlexaSkillEvent struct { - // Variables AWS CloudFormation Property + // SkillId AWS CloudFormation Property // Required: false // See: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#alexaskill - Variables map[string]string `json:"Variables,omitempty"` + SkillId *string `json:"SkillId,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/generate/sam-2016-10-31.json b/generate/sam-2016-10-31.json index d907d0feba..fc703aab1e 100644 --- a/generate/sam-2016-10-31.json +++ b/generate/sam-2016-10-31.json @@ -1459,11 +1459,10 @@ "AWS::Serverless::Function.AlexaSkillEvent": { "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#alexaskill", "Properties": { - "Variables": { + "SkillId": { "Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#alexaskill", "Required": false, - "Type": "Map", - "PrimitiveItemType": "String", + "PrimitiveType": "String", "UpdateType": "Immutable" } } diff --git a/schema/sam.go b/schema/sam.go index d281ebc0ff..3b17a158de 100644 --- a/schema/sam.go +++ b/schema/sam.go @@ -183599,14 +183599,8 @@ var SamSchema = `{ "AWS::Serverless::Function.AlexaSkillEvent": { "additionalProperties": false, "properties": { - "Variables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "SkillId": { + "type": "string" } }, "type": "object" diff --git a/schema/sam.schema.json b/schema/sam.schema.json index 5e29ab0048..de005ec36f 100644 --- a/schema/sam.schema.json +++ b/schema/sam.schema.json @@ -183594,14 +183594,8 @@ "AWS::Serverless::Function.AlexaSkillEvent": { "additionalProperties": false, "properties": { - "Variables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "SkillId": { + "type": "string" } }, "type": "object"