Skip to content

Commit

Permalink
Spec path AWS::CloudFront::Distribution.LambdaFunctionAssociation Lam…
Browse files Browse the repository at this point in the history
…bdaFunctionARN
  • Loading branch information
fatbasstard committed Mar 18, 2019
1 parent 4260121 commit 9369274
Show file tree
Hide file tree
Showing 16 changed files with 20 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/cfnlint/data/CloudSpecs/ap-northeast-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3444,7 +3444,7 @@
"LambdaFunctionARN": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-lambdafunctionassociation.html#cfn-cloudfront-distribution-lambdafunctionassociation-lambdafunctionarn",
"PrimitiveType": "String",
"Required": false,
"Required": true,
"UpdateType": "Mutable"
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/cfnlint/data/CloudSpecs/ap-northeast-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3352,7 +3352,7 @@
"LambdaFunctionARN": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-lambdafunctionassociation.html#cfn-cloudfront-distribution-lambdafunctionassociation-lambdafunctionarn",
"PrimitiveType": "String",
"Required": false,
"Required": true,
"UpdateType": "Mutable"
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/cfnlint/data/CloudSpecs/ap-south-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3056,7 +3056,7 @@
"LambdaFunctionARN": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-lambdafunctionassociation.html#cfn-cloudfront-distribution-lambdafunctionassociation-lambdafunctionarn",
"PrimitiveType": "String",
"Required": false,
"Required": true,
"UpdateType": "Mutable"
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/cfnlint/data/CloudSpecs/ap-southeast-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3369,7 +3369,7 @@
"LambdaFunctionARN": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-lambdafunctionassociation.html#cfn-cloudfront-distribution-lambdafunctionassociation-lambdafunctionarn",
"PrimitiveType": "String",
"Required": false,
"Required": true,
"UpdateType": "Mutable"
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/cfnlint/data/CloudSpecs/ap-southeast-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3444,7 +3444,7 @@
"LambdaFunctionARN": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-lambdafunctionassociation.html#cfn-cloudfront-distribution-lambdafunctionassociation-lambdafunctionarn",
"PrimitiveType": "String",
"Required": false,
"Required": true,
"UpdateType": "Mutable"
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/cfnlint/data/CloudSpecs/ca-central-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2890,7 +2890,7 @@
"LambdaFunctionARN": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-lambdafunctionassociation.html#cfn-cloudfront-distribution-lambdafunctionassociation-lambdafunctionarn",
"PrimitiveType": "String",
"Required": false,
"Required": true,
"UpdateType": "Mutable"
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/cfnlint/data/CloudSpecs/eu-central-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3369,7 +3369,7 @@
"LambdaFunctionARN": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-lambdafunctionassociation.html#cfn-cloudfront-distribution-lambdafunctionassociation-lambdafunctionarn",
"PrimitiveType": "String",
"Required": false,
"Required": true,
"UpdateType": "Mutable"
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/cfnlint/data/CloudSpecs/eu-west-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3461,7 +3461,7 @@
"LambdaFunctionARN": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-lambdafunctionassociation.html#cfn-cloudfront-distribution-lambdafunctionassociation-lambdafunctionarn",
"PrimitiveType": "String",
"Required": false,
"Required": true,
"UpdateType": "Mutable"
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/cfnlint/data/CloudSpecs/eu-west-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2907,7 +2907,7 @@
"LambdaFunctionARN": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-lambdafunctionassociation.html#cfn-cloudfront-distribution-lambdafunctionassociation-lambdafunctionarn",
"PrimitiveType": "String",
"Required": false,
"Required": true,
"UpdateType": "Mutable"
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/cfnlint/data/CloudSpecs/eu-west-3.json
Original file line number Diff line number Diff line change
Expand Up @@ -2359,7 +2359,7 @@
"LambdaFunctionARN": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-lambdafunctionassociation.html#cfn-cloudfront-distribution-lambdafunctionassociation-lambdafunctionarn",
"PrimitiveType": "String",
"Required": false,
"Required": true,
"UpdateType": "Mutable"
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/cfnlint/data/CloudSpecs/sa-east-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2576,7 +2576,7 @@
"LambdaFunctionARN": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-lambdafunctionassociation.html#cfn-cloudfront-distribution-lambdafunctionassociation-lambdafunctionarn",
"PrimitiveType": "String",
"Required": false,
"Required": true,
"UpdateType": "Mutable"
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/cfnlint/data/CloudSpecs/us-east-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3461,7 +3461,7 @@
"LambdaFunctionARN": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-lambdafunctionassociation.html#cfn-cloudfront-distribution-lambdafunctionassociation-lambdafunctionarn",
"PrimitiveType": "String",
"Required": false,
"Required": true,
"UpdateType": "Mutable"
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/cfnlint/data/CloudSpecs/us-east-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3303,7 +3303,7 @@
"LambdaFunctionARN": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-lambdafunctionassociation.html#cfn-cloudfront-distribution-lambdafunctionassociation-lambdafunctionarn",
"PrimitiveType": "String",
"Required": false,
"Required": true,
"UpdateType": "Mutable"
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/cfnlint/data/CloudSpecs/us-west-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3028,7 +3028,7 @@
"LambdaFunctionARN": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-lambdafunctionassociation.html#cfn-cloudfront-distribution-lambdafunctionassociation-lambdafunctionarn",
"PrimitiveType": "String",
"Required": false,
"Required": true,
"UpdateType": "Mutable"
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/cfnlint/data/CloudSpecs/us-west-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3461,7 +3461,7 @@
"LambdaFunctionARN": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-lambdafunctionassociation.html#cfn-cloudfront-distribution-lambdafunctionassociation-lambdafunctionarn",
"PrimitiveType": "String",
"Required": false,
"Required": true,
"UpdateType": "Mutable"
}
}
Expand Down
5 changes: 5 additions & 0 deletions src/cfnlint/data/ExtendedSpecs/all/01_spec_patch.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
"path": "/PropertyTypes/AWS::CloudFront::Distribution.DistributionConfig/Properties/DefaultCacheBehavior/Required",
"value": true
},
{
"op": "replace",
"path": "/PropertyTypes/AWS::CloudFront::Distribution.LambdaFunctionAssociation/Properties/LambdaFunctionARN/Required",
"value": true
},
{
"op": "replace",
"path": "/PropertyTypes/AWS::CloudFront::Distribution.DistributionConfig/Properties/Origins/Required",
Expand Down

0 comments on commit 9369274

Please sign in to comment.