Skip to content

Commit 858ff23

Browse files
feat(cfnspec): cloudformation spec v108.0.0 (#23808)
1 parent 4313a21 commit 858ff23

File tree

3 files changed

+123
-1
lines changed

3 files changed

+123
-1
lines changed

packages/@aws-cdk/cfnspec/CHANGELOG.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
2+
# Serverless Application Model (SAM) Resource Specification v2016-10-31
3+
4+
## New Resource Types
5+
6+
7+
## Attribute Changes
8+
9+
10+
## Property Changes
11+
12+
13+
## Property Type Changes
14+
15+
* AWS::Serverless::Function.HttpApiEvent (__added__)
16+
* AWS::Serverless::Function.HttpApiFunctionAuth (__added__)
17+
* AWS::Serverless::Function.RouteSettings (__added__)
18+
* AWS::Serverless::Function.EventSource Properties.Types (__changed__)
19+
* Added HttpApiEvent
20+
121
# CloudFormation Resource Specification v108.0.0
222

323
## New Resource Types

packages/@aws-cdk/cfnspec/spec-source/cfn-lint/StatefulResources/000.json

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"AWS::Neptune::DBCluster" : {},
1919
"AWS::Neptune::DBInstance" : {},
2020
"AWS::OpenSearchService::Domain" : {},
21+
"AWS::Organizations::Account" : {},
2122
"AWS::QLDB::Ledger" : {},
2223
"AWS::RDS::DBCluster" : {},
2324
"AWS::RDS::DBInstance" : {},

packages/@aws-cdk/cfnspec/spec-source/specification/100_sam/000_official/spec.json

+102-1
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,8 @@
792792
"CloudWatchLogsEvent",
793793
"IoTRuleEvent",
794794
"AlexaSkillEvent",
795-
"EventBridgeRuleEvent"
795+
"EventBridgeRuleEvent",
796+
"HttpApiEvent"
796797
],
797798
"UpdateType": "Immutable"
798799
},
@@ -844,6 +845,71 @@
844845
}
845846
}
846847
},
848+
"AWS::Serverless::Function.HttpApiEvent": {
849+
"Documentation": "https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#httpapi",
850+
"Properties": {
851+
"ApiId": {
852+
"Documentation": "https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#httpapi",
853+
"PrimitiveType": "String",
854+
"Required": false,
855+
"UpdateType": "Immutable"
856+
},
857+
"Auth": {
858+
"Documentation": "https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-httpapi.html",
859+
"Required": false,
860+
"Type": "HttpApiFunctionAuth",
861+
"UpdateType": "Immutable"
862+
},
863+
"Method": {
864+
"Documentation": "https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#httpapi",
865+
"PrimitiveType": "String",
866+
"Required": false,
867+
"UpdateType": "Immutable"
868+
},
869+
"Path": {
870+
"Documentation": "https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#httpapi",
871+
"PrimitiveType": "String",
872+
"Required": false,
873+
"UpdateType": "Immutable"
874+
},
875+
"PayloadFormatVersion": {
876+
"Documentation": "https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#httpapi",
877+
"PrimitiveType": "String",
878+
"Required": false,
879+
"UpdateType": "Immutable"
880+
},
881+
"RouteSettings": {
882+
"Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-stage.html#cfn-apigatewayv2-stage-routesettings",
883+
"Required": false,
884+
"Type": "RouteSettings",
885+
"UpdateType": "Immutable"
886+
},
887+
"TimeoutInMillis": {
888+
"Documentation": "https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#httpapi",
889+
"PrimitiveType": "Integer",
890+
"Required": false,
891+
"UpdateType": "Immutable"
892+
}
893+
}
894+
},
895+
"AWS::Serverless::Function.HttpApiFunctionAuth": {
896+
"Documentation": "https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-httpapifunctionauth.html",
897+
"Properties": {
898+
"AuthorizationScopes": {
899+
"Documentation": "https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-httpapifunctionauth.html",
900+
"PrimitiveItemType": "String",
901+
"Required": false,
902+
"Type": "List",
903+
"UpdateType": "Immutable"
904+
},
905+
"Authorizer": {
906+
"Documentation": "https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-httpapifunctionauth.html",
907+
"PrimitiveType": "String",
908+
"Required": false,
909+
"UpdateType": "Immutable"
910+
}
911+
}
912+
},
847913
"AWS::Serverless::Function.IAMPolicyDocument": {
848914
"Documentation": "http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html",
849915
"Properties": {
@@ -1052,6 +1118,41 @@
10521118
}
10531119
}
10541120
},
1121+
"AWS::Serverless::Function.RouteSettings": {
1122+
"Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-stage-routesettings.html",
1123+
"Properties": {
1124+
"DataTraceEnabled": {
1125+
"Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-stage-routesettings.html#cfn-apigatewayv2-stage-routesettings-datatraceenabled",
1126+
"PrimitiveType": "Boolean",
1127+
"Required": false,
1128+
"UpdateType": "Immutable"
1129+
},
1130+
"DetailedMetricsEnabled": {
1131+
"Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-stage-routesettings.html#cfn-apigatewayv2-stage-routesettings-detailedmetricsenabled",
1132+
"PrimitiveType": "Boolean",
1133+
"Required": false,
1134+
"UpdateType": "Immutable"
1135+
},
1136+
"LoggingLevel": {
1137+
"Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-stage-routesettings.html#cfn-apigatewayv2-stage-routesettings-logginglevel",
1138+
"PrimitiveType": "String",
1139+
"Required": false,
1140+
"UpdateType": "Immutable"
1141+
},
1142+
"ThrottlingBurstLimit": {
1143+
"Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-stage-routesettings.html#cfn-apigatewayv2-stage-routesettings-throttlingburstlimit",
1144+
"PrimitiveType": "Integer",
1145+
"Required": false,
1146+
"UpdateType": "Immutable"
1147+
},
1148+
"ThrottlingRateLimit": {
1149+
"Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-stage-routesettings.html#cfn-apigatewayv2-stage-routesettings-throttlingratelimit",
1150+
"PrimitiveType": "Double",
1151+
"Required": false,
1152+
"UpdateType": "Immutable"
1153+
}
1154+
}
1155+
},
10551156
"AWS::Serverless::Function.S3Event": {
10561157
"Documentation": "https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#s3",
10571158
"Properties": {

0 commit comments

Comments
 (0)