You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IoT::Types::CreateAuthorizerRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateAuthorizerRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  authorizer_name: "AuthorizerName", # required
  authorizer_function_arn: "AuthorizerFunctionArn", # required
  token_key_name: "TokenKeyName",
  token_signing_public_keys: {
    "KeyName" => "KeyValue",
  },
  status: "ACTIVE", # accepts ACTIVE, INACTIVE
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue",
    },
  ],
  signing_disabled: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#authorizer_function_arnString

The ARN of the authorizer\'s Lambda function.

Returns:

  • (String)

    The ARN of the authorizer\'s Lambda function.

#authorizer_nameString

The authorizer name.

Returns:

  • (String)

    The authorizer name.

#signing_disabledBoolean

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

Returns:

  • (Boolean)

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

#statusString

The status of the create authorizer request.

Possible values:

  • ACTIVE
  • INACTIVE

Returns:

  • (String)

    The status of the create authorizer request.

#tagsArray<Types::Tag>

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...\"

Returns:

  • (Array<Types::Tag>)

    Metadata which can be used to manage the custom authorizer.

#token_key_nameString

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

Returns:

  • (String)

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

#token_signing_public_keysHash<String,String>

The public keys used to verify the digital signature returned by your custom authentication service.

Returns:

  • (Hash<String,String>)

    The public keys used to verify the digital signature returned by your custom authentication service.