AWS IoT Authorizer
This page shows how to write Terraform and CloudFormation for AWS IoT Authorizer and write them securely.
aws_iot_authorizer (Terraform)
The Authorizer in AWS IoT can be configured in Terraform with the resource name aws_iot_authorizer
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
authorizer_function_arn
- (Required) The ARN of the authorizer's Lambda function.name
- (Required) The name of the authorizer.signing_disabled
- (Optional) Specifies whether AWS IoT validates the token signature in an authorization request. Default:false
.status
- (Optional) The status of Authorizer request at creation. Valid values:ACTIVE
,INACTIVE
. Default:ACTIVE
.token_key_name
- (Optional) The name of the token key used to extract the token from the HTTP headers. This value is required if signing is enabled in your authorizer.token_signing_public_keys
- (Optional) The public keys used to verify the digital signature returned by your custom authentication service. This value is required if signing is enabled in your authorizer.
In addition to all arguments above, the following attributes are exported:
arn
- The ARN of the authorizer.
Explanation in Terraform Registry
Creates and manages an AWS IoT Authorizer.
AWS::IoT::Authorizer (CloudFormation)
The Authorizer in IoT can be configured in CloudFormation with the resource name AWS::IoT::Authorizer
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
-
AuthorizerFunctionArn
required - String -
AuthorizerName
optional - String -
SigningDisabled
optional - Boolean -
Status
optional - String -
TokenKeyName
optional - String -
TokenSigningPublicKeys
optional - Map -
Tags
optional - List of Tag
Explanation in CloudFormation Registry
Specifies an authorizer.