Skip to content

Get Authorizer

apigateway_get_authorizer R Documentation

Describe an existing Authorizer resource

Description

Describe an existing Authorizer resource.

Usage

apigateway_get_authorizer(restApiId, authorizerId)

Arguments

restApiId

[required] The string identifier of the associated RestApi.

authorizerId

[required] The identifier of the Authorizer resource.

Value

A list with the following syntax:

list(
  id = "string",
  name = "string",
  type = "TOKEN"|"REQUEST"|"COGNITO_USER_POOLS",
  providerARNs = list(
    "string"
  ),
  authType = "string",
  authorizerUri = "string",
  authorizerCredentials = "string",
  identitySource = "string",
  identityValidationExpression = "string",
  authorizerResultTtlInSeconds = 123
)

Request syntax

svc$get_authorizer(
  restApiId = "string",
  authorizerId = "string"
)