AWS::IoT::AuthorizerSpecifies an authorizer.
import { CfnAuthorizer } from 'aws-cdk-lib/aws-iot';Or use the module namespace:
import * as iot from 'aws-cdk-lib/aws-iot';
// iot.CfnAuthorizerConfiguration passed to the constructor as CfnAuthorizerProps.
authorizerFunctionArnRequiredstringThe authorizer's Lambda function ARN.
authorizerNameOptionalstringThe authorizer name.
enableCachingForHttpOptionalboolean | IResolvableWhen `true` , the result from the authorizer's Lambda function is cached for clients that use persistent HTTP connections. The results are cached for the time specified by the Lambda function in `refreshAfterInSeconds` . This value doesn't affect authorization of clients that use MQTT connections.
signingDisabledOptionalboolean | IResolvableSpecifies whether AWS IoT validates the token signature in an authorization request.
statusOptionalstringThe status of the authorizer. Valid values: `ACTIVE` | `INACTIVE`
tagsOptionalCfnTag[]Metadata which can be used to manage the custom authorizer. > For URI Request parameters use format: ...key1=value1&key2=value2... > > For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..." > > For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
tokenKeyNameOptionalstringThe key used to extract the token from the HTTP headers.
tokenSigningPublicKeysOptional{ [key: string]: string } | IResolvableThe public keys used to validate the token signature returned by your custom authentication service.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-iotAWS::IoT::Authorizer