HttpAuthorizerAttributes

class aws_cdk.aws_apigatewayv2.HttpAuthorizerAttributes(*, authorizer_id, authorizer_type)

Bases: object

(experimental) Reference to an http authorizer.

Parameters:
  • authorizer_id (str) – (experimental) Id of the Authorizer.

  • authorizer_type (str) – (experimental) Type of authorizer. Possible values are: - JWT - JSON Web Token Authorizer - CUSTOM - Lambda Authorizer - NONE - No Authorization

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_apigatewayv2 as apigatewayv2

http_authorizer_attributes = apigatewayv2.HttpAuthorizerAttributes(
    authorizer_id="authorizerId",
    authorizer_type="authorizerType"
)

Attributes

authorizer_id

(experimental) Id of the Authorizer.

Stability:

experimental

authorizer_type

(experimental) Type of authorizer.

Possible values are:

  • JWT - JSON Web Token Authorizer

  • CUSTOM - Lambda Authorizer

  • NONE - No Authorization

Stability:

experimental