Skip to content

Commit

Permalink
CFN+SAM Spec Updates (#1993)
Browse files Browse the repository at this point in the history
See CHANGELOG
  • Loading branch information
Elad Ben-Israel authored Mar 11, 2019
1 parent 85a1840 commit 707f02c
Show file tree
Hide file tree
Showing 3 changed files with 114 additions and 8 deletions.
49 changes: 49 additions & 0 deletions packages/@aws-cdk/cfnspec/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,52 @@
# Serverless Application Model (SAM) Resource Specification v2016-10-31

## New Resource Types


## Attribute Changes


## Property Changes

* AWS::Serverless::Application Location.PrimitiveType (__deleted__)
* AWS::Serverless::Application Location.PrimitiveTypes (__added__)

## Property Type Changes

* AWS::Serverless::Api.Auth Authorizers.Type (__deleted__)
* AWS::Serverless::Api.Auth Authorizers.PrimitiveType (__added__)

# CloudFormation Resource Specification v2.26.0

## New Resource Types


## Attribute Changes


## Property Changes

* AWS::SSM::PatchBaseline Tags (__added__)
* AWS::StepFunctions::Activity Tags (__added__)
* AWS::StepFunctions::StateMachine Tags (__added__)

## Property Type Changes

* AWS::StepFunctions::Activity.TagsEntry (__added__)
* AWS::StepFunctions::StateMachine.TagsEntry (__added__)
* Tag Key.Documentation (__changed__)
* Old: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html#cfn-resource-tags-key
* New: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-tag.html#cfn-dms-endpoint-tag-key
* Tag Key.Required (__changed__)
* Old: true
* New: false
* Tag Value.Documentation (__changed__)
* Old: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html#cfn-resource-tags-value
* New: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-tag.html#cfn-dms-endpoint-tag-value
* Tag Value.Required (__changed__)
* Old: true
* New: false


# CloudFormation Resource Specification v2.25.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18545,6 +18545,40 @@
}
}
},
"AWS::StepFunctions::Activity.TagsEntry": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-activity-tagsentry.html",
"Properties": {
"Key": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-activity-tagsentry.html#cfn-stepfunctions-activity-tagsentry-key",
"PrimitiveType": "String",
"Required": true,
"UpdateType": "Mutable"
},
"Value": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-activity-tagsentry.html#cfn-stepfunctions-activity-tagsentry-value",
"PrimitiveType": "String",
"Required": true,
"UpdateType": "Mutable"
}
}
},
"AWS::StepFunctions::StateMachine.TagsEntry": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-tagsentry.html",
"Properties": {
"Key": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-tagsentry.html#cfn-stepfunctions-statemachine-tagsentry-key",
"PrimitiveType": "String",
"Required": true,
"UpdateType": "Mutable"
},
"Value": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-tagsentry.html#cfn-stepfunctions-statemachine-tagsentry-value",
"PrimitiveType": "String",
"Required": true,
"UpdateType": "Mutable"
}
}
},
"AWS::WAF::ByteMatchSet.ByteMatchTuple": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-bytematchset-bytematchtuples.html",
"Properties": {
Expand Down Expand Up @@ -19130,24 +19164,24 @@
}
},
"Tag": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html",
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-tag.html",
"Properties": {
"Key": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html#cfn-resource-tags-key",
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-tag.html#cfn-dms-endpoint-tag-key",
"PrimitiveType": "String",
"Required": true,
"Required": false,
"UpdateType": "Mutable"
},
"Value": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html#cfn-resource-tags-value",
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-tag.html#cfn-dms-endpoint-tag-value",
"PrimitiveType": "String",
"Required": true,
"Required": false,
"UpdateType": "Mutable"
}
}
}
},
"ResourceSpecificationVersion": "2.25.0",
"ResourceSpecificationVersion": "2.26.0",
"ResourceTypes": {
"AWS::AmazonMQ::Broker": {
"Attributes": {
Expand Down Expand Up @@ -34045,6 +34079,13 @@
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
},
"Tags": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-patchbaseline.html#cfn-ssm-patchbaseline-tags",
"ItemType": "Tag",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
}
}
},
Expand Down Expand Up @@ -35017,6 +35058,13 @@
"PrimitiveType": "String",
"Required": true,
"UpdateType": "Immutable"
},
"Tags": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-activity.html#cfn-stepfunctions-activity-tags",
"ItemType": "TagsEntry",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
}
}
},
Expand Down Expand Up @@ -35045,6 +35093,13 @@
"PrimitiveType": "String",
"Required": false,
"UpdateType": "Immutable"
},
"Tags": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachine.html#cfn-stepfunctions-statemachine-tags",
"ItemType": "TagsEntry",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
}
}
},
Expand Down
6 changes: 4 additions & 2 deletions packages/@aws-cdk/cfnspec/spec-source/000_sam.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"Properties": {
"Authorizers": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api-auth-object",
"PrimitiveType": "Json",
"Required": false,
"Type": "String",
"UpdateType": "Immutable"
},
"DefaultAuthorizer": {
Expand Down Expand Up @@ -546,7 +546,9 @@
"Properties": {
"Location": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessapplication",
"PrimitiveType": "String",
"PrimitiveTypes": [
"String"
],
"Required": true,
"Types": [
"ApplicationLocation"
Expand Down

0 comments on commit 707f02c

Please sign in to comment.