CmdID / aws / aws apigateway
aws apigateway create-authorizer
Adds a new Authorizer resource to an existing RestApi resource. AWS CLI reference
10 options Its page in the AWS CLI reference
Options
--auth-typeOptional customer-defined field, used in OpenAPI imports and exports without functional impact.--authorizer-credentialsSpecifies the required credentials as an IAM role for API Gateway to invoke the authorizer.--authorizer-result-ttl-in-secondsThe TTL in seconds of cached authorizer results.--authorizer-uriSpecifies the authorizer's Uniform Resource Identifier (URI).--identity-sourceThe identity source for which authorization is requested.--identity-validation-expressionA validation expression for the incoming identity token.--nameThe name of the authorizer.--provider-arnsA list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer.--rest-api-idThe string identifier of the associated RestApi.--typeThe authorizer type.