class Aws::ApiGatewayV2::Types::UpdateAuthorizerRequest

@note When making an API call, you may pass UpdateAuthorizerRequest

data as a hash:

    {
      api_id: "__string", # required
      authorizer_credentials_arn: "Arn",
      authorizer_id: "__string", # required
      authorizer_result_ttl_in_seconds: 1,
      authorizer_type: "REQUEST", # accepts REQUEST, JWT
      authorizer_uri: "UriWithLengthBetween1And2048",
      identity_source: ["__string"],
      identity_validation_expression: "StringWithLengthBetween0And1024",
      jwt_configuration: {
        audience: ["__string"],
        issuer: "UriWithLengthBetween1And2048",
      },
      name: "StringWithLengthBetween1And128",
      authorizer_payload_format_version: "StringWithLengthBetween1And64",
      enable_simple_responses: false,
    }

@!attribute [rw] api_id

@return [String]

@!attribute [rw] authorizer_credentials_arn

Represents an Amazon Resource Name (ARN).
@return [String]

@!attribute [rw] authorizer_id

@return [String]

@!attribute [rw] authorizer_result_ttl_in_seconds

An integer with a value between \[0-3600\].
@return [Integer]

@!attribute [rw] authorizer_type

The authorizer type. Specify REQUEST for a Lambda function using
incoming request parameters. Specify JWT to use JSON Web Tokens
(supported only for HTTP APIs).
@return [String]

@!attribute [rw] authorizer_uri

A string representation of a URI with a length between \[1-2048\].
@return [String]

@!attribute [rw] identity_source

The identity source for which authorization is requested. For the
REQUEST authorizer, this is required when authorization caching is
enabled. The value is a comma-separated string of one or more
mapping expressions of the specified request parameters. For
example, if an Auth header, a Name query string parameter are
defined as identity sources, this value is
$method.request.header.Auth, $method.request.querystring.Name. These
parameters will be used to derive the authorization caching key and
to perform runtime validation of the REQUEST authorizer by verifying
all of the identity-related request parameters are present, not null
and non-empty. Only when this is true does the authorizer invoke the
authorizer Lambda function, otherwise, it returns a 401 Unauthorized
response without calling the Lambda function. The valid value is a
string of comma-separated mapping expressions of the specified
request parameters. When the authorization caching is not enabled,
this property is optional.
@return [Array<String>]

@!attribute [rw] identity_validation_expression

A string with a length between \[0-1024\].
@return [String]

@!attribute [rw] jwt_configuration

Represents the configuration of a JWT authorizer. Required for the
JWT authorizer type. Supported only for HTTP APIs.
@return [Types::JWTConfiguration]

@!attribute [rw] name

A string with a length between \[1-128\].
@return [String]

@!attribute [rw] authorizer_payload_format_version

A string with a length between \[1-64\].
@return [String]

@!attribute [rw] enable_simple_responses

@return [Boolean]

Constants

SENSITIVE