CmdID / aws / aws apigatewayv2
aws apigatewayv2 create-authorizer
Creates an Authorizer for an API. AWS CLI reference
11 options Its page in the AWS CLI reference
Options
--api-idThe API identifier.--authorizer-credentials-arnSpecifies the required credentials as an IAM role for API Gateway to invoke the authorizer.--authorizer-payload-format-versionSpecifies the format of the payload sent to an HTTP API Lambda authorizer.--authorizer-result-ttl-in-secondsThe time to live (TTL) for cached authorizer results, in seconds.--authorizer-typeThe authorizer type.--authorizer-uriThe authorizer's Uniform Resource Identifier (URI).--enable-simple-responsesSpecifies whether a Lambda authorizer returns a response in a simple format.--identity-sourceThe identity source for which authorization is requested.--identity-validation-expressionThis parameter is not used.--jwt-configurationRepresents the configuration of a JWT authorizer.--nameThe name of the authorizer.