Skip to content

Commit

Permalink
S3Location support for LayerVersion.ContentUri
Browse files Browse the repository at this point in the history
Update to SAM schema
Fixes awslabs#337
  • Loading branch information
PaulMaddox committed Jan 5, 2021
1 parent bdaec19 commit ff93310
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion generate/sam-2016-10-31.json
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,12 @@
"ContentUri": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion",
"Required": false,
"PrimitiveType": "String",
"PrimitiveTypes": [
"String"
],
"Types": [
"S3Location"
],
"UpdateType": "Immutable"
},
"CompatibleRuntimes": {
Expand Down Expand Up @@ -522,6 +527,29 @@
}
}
},
"AWS::Serverless::LayerVersion.S3Location": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#s3-location-object",
"Properties": {
"Bucket": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction",
"Required": true,
"PrimitiveType": "String",
"UpdateType": "Immutable"
},
"Key": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction",
"Required": true,
"PrimitiveType": "String",
"UpdateType": "Immutable"
},
"Version": {
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction",
"Required": false,
"PrimitiveType": "Integer",
"UpdateType": "Immutable"
}
}
},
"AWS::Serverless::Function.FileSystemConfig": {
"Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-filesystemconfig.html#cfn-lambda-function-filesystemconfig-localmountpath",
"Properties": {
Expand Down

0 comments on commit ff93310

Please sign in to comment.