Skip to content

Commit

Permalink
feat(cfnspec): cloudformation spec v16.1.0 (aws#9216)
Browse files Browse the repository at this point in the history
Co-authored-by: AWS CDK Team <aws-cdk@amazon.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Jul 22, 2020
1 parent 9b3de1d commit d4b68d3
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 0 deletions.
23 changes: 23 additions & 0 deletions packages/@aws-cdk/cfnspec/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@

# Serverless Application Model (SAM) Resource Specification v2016-10-31

## New Resource Types


## Attribute Changes


## Property Changes


## Property Type Changes

* AWS::Serverless::Function.DestinationConfig (__added__)
* AWS::Serverless::Function.OnFailure (__added__)
* AWS::Serverless::Function.DynamoDBEvent BisectBatchOnFunctionError (__added__)
* AWS::Serverless::Function.DynamoDBEvent DestinationConfig (__added__)
* AWS::Serverless::Function.DynamoDBEvent MaximumBatchingWindowInSeconds (__added__)
* AWS::Serverless::Function.DynamoDBEvent MaximumRecordAgeInSeconds (__added__)
* AWS::Serverless::Function.DynamoDBEvent MaximumRetryAttempts (__added__)
* AWS::Serverless::Function.DynamoDBEvent ParallelizationFactor (__added__)

# CloudFormation Resource Specification v16.1.0

## New Resource Types
Expand Down
64 changes: 64 additions & 0 deletions packages/@aws-cdk/cfnspec/spec-source/000_sam.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,17 @@
}
}
},
"AWS::Serverless::Function.DestinationConfig": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#destination-config-object",
"Properties": {
"OnFailure": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#destination-config-object",
"Required": true,
"Type": "OnFailure",
"UpdateType": "Immutable"
}
}
},
"AWS::Serverless::Function.DomainSAMPT": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
"Properties": {
Expand All @@ -280,12 +291,48 @@
"Required": false,
"UpdateType": "Immutable"
},
"BisectBatchOnFunctionError": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#dynamodb",
"PrimitiveType": "Boolean",
"Required": false,
"UpdateType": "Immutable"
},
"DestinationConfig": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#dynamodb",
"Required": false,
"Type": "DestinationConfig",
"UpdateType": "Immutable"
},
"Enabled": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#dynamodb",
"PrimitiveType": "Boolean",
"Required": false,
"UpdateType": "Immutable"
},
"MaximumBatchingWindowInSeconds": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#dynamodb",
"PrimitiveType": "Integer",
"Required": false,
"UpdateType": "Immutable"
},
"MaximumRecordAgeInSeconds": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#dynamodb",
"PrimitiveType": "Integer",
"Required": false,
"UpdateType": "Immutable"
},
"MaximumRetryAttempts": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#dynamodb",
"PrimitiveType": "Integer",
"Required": false,
"UpdateType": "Immutable"
},
"ParallelizationFactor": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#dynamodb",
"PrimitiveType": "Integer",
"Required": false,
"UpdateType": "Immutable"
},
"StartingPosition": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#dynamodb",
"PrimitiveType": "String",
Expand Down Expand Up @@ -476,6 +523,23 @@
}
}
},
"AWS::Serverless::Function.OnFailure": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#destination-config-object",
"Properties": {
"Destination": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#destination-config-object",
"PrimitiveType": "String",
"Required": true,
"UpdateType": "Immutable"
},
"Type": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#destination-config-object",
"PrimitiveType": "String",
"Required": false,
"UpdateType": "Immutable"
}
}
},
"AWS::Serverless::Function.QueueSAMPT": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/policy_templates.rst",
"Properties": {
Expand Down

0 comments on commit d4b68d3

Please sign in to comment.