AWS::ApiGateway::AuthorizerThe AWS::ApiGateway::Authorizer resource creates an authorization layer that API Gateway activates for methods that have authorization enabled. API Gateway activates the authorizer when a client calls those methods.
10 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Name | string | Required |
RestApiId | string | RequiredCreate-only |
Type | string | Required |
AuthorizerCredentials | string | |
AuthorizerResultTtlInSeconds | integer | |
AuthorizerUri | string | |
AuthType | string | |
IdentitySource | string | |
IdentityValidationExpression | string | |
ProviderARNs | Array<string> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
AuthorizerId | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ApiGateway::Authorizer
Resources:
MyResource:
Type: AWS::ApiGateway::Authorizer
Properties:
RestApiId: "my-restapiid"
Type: "value"
Name: "my-name"Permissions CloudFormation needs in your IAM role to manage this resource.
apigateway:POSTiam:PassRoleapigateway:GETapigateway:GETapigateway:PATCHiam:PassRoleapigateway:DELETEapigateway:GETEverything you need to know about ApiGateway on one page. HD quality, print-friendly.
Download Free InfographicRestApiIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
RestApiId