Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

SAM Spec DeploymentPreference #112

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 48 additions & 1 deletion generate/sam-2016-10-31.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@
"PrimitiveType": "String",
"UpdateType": "Immutable"
},
"DeploymentPreference": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#deploymentpreference-object",
"Type": "DeploymentPreference",
"Required": false,
"UpdateType": "Immutable"
},
"Description": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction",
"Required": false,
Expand Down Expand Up @@ -553,6 +559,47 @@
}
}
},
"AWS::Serverless::Function.DeploymentPreference": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/docs/safe_lambda_deployments.rst",
"Properties": {
"Enabled": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#deploymentpreference-object",
"PrimitiveType": "Boolean",
"Required": true,
"UpdateType": "Immutable"
},
"Type": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#deploymentpreference-object",
"Required": true,
"Types": [
"AllAtOnce",
"Canary10Percent5Minutes",
"Canary10Percent10Minutes",
"Canary10Percent15Minutes",
"Canary10Percent30Minutes",
"Linear10PercentEvery1Minute",
"Linear10PercentEvery2Minutes",
"Linear10PercentEvery3Minutes",
"Linear10PercentEvery10Minutes"
],
"UpdateType": "Immutable"
},
"Alarms": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#deploymentpreference-object",
"PrimitiveItemType": "String",
"Type": "List",
"Required": false,
"UpdateType": "Immutable"
},
"Hooks": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#deploymentpreference-object",
"PrimitiveItemType": "String",
"Type": "List",
"Required": false,
"UpdateType": "Immutable"
}
}
},
"AWS::Serverless::SimpleTable.ProvisionedThroughput": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-provisionedthroughput.html",
"Properties": {
Expand All @@ -571,4 +618,4 @@
}
}
}
}
}