aws iot update-authorizer
Updates an authorizer. AWS CLI reference
1 example 6 options Its page in the AWS CLI reference
Examples
To update a custom authorizer
The following update-authorizer example he state of CustomAuthorizer2 to INACTIVE.
aws iot update-authorizer --authorizer-name CustomAuthorizer2 --status INACTIVEIdentify--authorizer-nameThe authorizer name.--statusThe status of the update authorizer request.Its output
{
"authorizerName": "CustomAuthorizer2",
"authorizerArn": "arn:aws:iot:us-west-2:123456789012:authorizer/CustomAuthorizer2"
}For more information, see Creating and managing custom authorizers (CLI) in the AWS IoT Core Developer Guide.
Options
--authorizer-function-arnThe ARN of the authorizer's Lambda function.--authorizer-nameThe authorizer name.--enable-caching-for-httpWhen true, the result from the authorizer’s Lambda function is cached for the time specified in refreshAfterInSeconds.--statusThe status of the update authorizer request.--token-key-nameThe key used to extract the token from the HTTP headers.--token-signing-public-keysThe public keys used to verify the token signature.