AuthorizerReference

class aws_cdk.aws_apigateway.AuthorizerReference(*, authorizer_id, rest_api_id)

Bases: object

A reference to a Authorizer resource.

Parameters:
  • authorizer_id (str) – The AuthorizerId of the Authorizer resource.

  • rest_api_id (str) – The RestApiId of the Authorizer resource.

ExampleMetadata:

fixture=_generated

Example:

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

authorizer_reference = apigateway.AuthorizerReference(
    authorizer_id="authorizerId",
    rest_api_id="restApiId"
)

Attributes

authorizer_id

The AuthorizerId of the Authorizer resource.

rest_api_id

The RestApiId of the Authorizer resource.