Skip to content

Commit

Permalink
fix(schema): add HttpApi, HttpApiFunctionAuth, RouteSettings (awslabs…
Browse files Browse the repository at this point in the history
  • Loading branch information
gsweetwood committed Jan 20, 2023
1 parent 6e2bc60 commit 78913ea
Show file tree
Hide file tree
Showing 7 changed files with 411 additions and 2 deletions.
67 changes: 67 additions & 0 deletions cloudformation/serverless/aws-serverless-function_httpapievent.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

57 changes: 57 additions & 0 deletions cloudformation/serverless/aws-serverless-function_routesettings.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion cloudformation/serverless/function_properties.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

103 changes: 102 additions & 1 deletion generate/sam-2016-10-31.json
Expand Up @@ -856,7 +856,8 @@
"CloudWatchLogsEvent",
"IoTRuleEvent",
"AlexaSkillEvent",
"EventBridgeRuleEvent"
"EventBridgeRuleEvent",
"HttpApiEvent"
],
"UpdateType": "Immutable"
}
Expand Down Expand Up @@ -1083,6 +1084,106 @@
}
}
},
"AWS::Serverless::Function.HttpApiFunctionAuth": {
"Documentation": "https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-httpapifunctionauth.html",
"Properties": {
"AuthorizationScopes": {
"Documentation": "https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-httpapifunctionauth.html",
"Required": false,
"Type": "List",
"PrimitiveItemType": "String",
"UpdateType": "Immutable"
},
"Authorizer": {
"Documentation": "https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-httpapifunctionauth.html",
"Required": false,
"PrimitiveType": "String",
"UpdateType": "Immutable"
}
}
},
"AWS::Serverless::Function.HttpApiEvent": {
"Documentation": "https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#httpapi",
"Properties": {
"Path": {
"Documentation": "https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#httpapi",
"Required": false,
"PrimitiveType": "String",
"UpdateType": "Immutable"
},
"Method": {
"Documentation": "https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#httpapi",
"Required": false,
"PrimitiveType": "String",
"UpdateType": "Immutable"
},
"ApiId": {
"Documentation": "https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#httpapi",
"Required": false,
"PrimitiveType": "String",
"UpdateType": "Immutable"
},
"Auth": {
"Documentation": "https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-httpapi.html",
"Required": false,
"Type": "HttpApiFunctionAuth",
"UpdateType": "Immutable"
},
"TimeoutInMillis": {
"Documentation": "https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#httpapi",
"Required": false,
"PrimitiveType": "Integer",
"UpdateType": "Immutable"
},
"PayloadFormatVersion": {
"Documentation": "https://github.com/aws/serverless-application-model/blob/master/versions/2016-10-31.md#httpapi",
"Required": false,
"PrimitiveType": "String",
"UpdateType": "Immutable"
},
"RouteSettings": {
"Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-stage.html#cfn-apigatewayv2-stage-routesettings",
"Required": false,
"Type": "RouteSettings",
"UpdateType": "Immutable"
}
}
},
"AWS::Serverless::Function.RouteSettings": {
"Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-stage-routesettings.html",
"Properties": {
"DataTraceEnabled": {
"Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-stage-routesettings.html#cfn-apigatewayv2-stage-routesettings-datatraceenabled",
"Required": false,
"PrimitiveType": "Boolean",
"UpdateType": "Immutable"
},
"DetailedMetricsEnabled": {
"Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-stage-routesettings.html#cfn-apigatewayv2-stage-routesettings-detailedmetricsenabled",
"Required": false,
"PrimitiveType": "Boolean",
"UpdateType": "Immutable"
},
"LoggingLevel": {
"Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-stage-routesettings.html#cfn-apigatewayv2-stage-routesettings-logginglevel",
"Required": false,
"PrimitiveType": "String",
"UpdateType": "Immutable"
},
"ThrottlingBurstLimit": {
"Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-stage-routesettings.html#cfn-apigatewayv2-stage-routesettings-throttlingburstlimit",
"Required": false,
"PrimitiveType": "Integer",
"UpdateType": "Immutable"
},
"ThrottlingRateLimit": {
"Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-stage-routesettings.html#cfn-apigatewayv2-stage-routesettings-throttlingratelimit",
"Required": false,
"PrimitiveType": "Double",
"UpdateType": "Immutable"
}
}
},
"AWS::Serverless::Function.RequestModel": {
"Documentation": "https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-requestmodel.html",
"Properties": {
Expand Down

0 comments on commit 78913ea

Please sign in to comment.