AuthorizerArgs

data class AuthorizerArgs(val authorizerFunctionArn: Output<String>? = null, val authorizerName: Output<String>? = null, val enableCachingForHttp: Output<Boolean>? = null, val signingDisabled: Output<Boolean>? = null, val status: Output<AuthorizerStatus>? = null, val tags: Output<List<TagArgs>>? = null, val tokenKeyName: Output<String>? = null, val tokenSigningPublicKeys: Output<Map<String, String>>? = null) : ConvertibleToJava<AuthorizerArgs>

Creates an authorizer.

Constructors

Link copied to clipboard
constructor(authorizerFunctionArn: Output<String>? = null, authorizerName: Output<String>? = null, enableCachingForHttp: Output<Boolean>? = null, signingDisabled: Output<Boolean>? = null, status: Output<AuthorizerStatus>? = null, tags: Output<List<TagArgs>>? = null, tokenKeyName: Output<String>? = null, tokenSigningPublicKeys: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val authorizerFunctionArn: Output<String>? = null

The authorizer's Lambda function ARN.

Link copied to clipboard
val authorizerName: Output<String>? = null

The authorizer name.

Link copied to clipboard
val enableCachingForHttp: Output<Boolean>? = null

When 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.

Link copied to clipboard
val signingDisabled: Output<Boolean>? = null

Specifies whether AWS IoT validates the token signature in an authorization request.

Link copied to clipboard
val status: Output<AuthorizerStatus>? = null

The status of the authorizer. Valid values: ACTIVE | INACTIVE

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

Metadata which can be used to manage the custom authorizer.

Link copied to clipboard
val tokenKeyName: Output<String>? = null

The key used to extract the token from the HTTP headers.

Link copied to clipboard
val tokenSigningPublicKeys: Output<Map<String, String>>? = null

The public keys used to validate the token signature returned by your custom authentication service.

Functions

Link copied to clipboard
open override fun toJava(): AuthorizerArgs