struct

AWSLambdaEvents::APIGateway::Authorizer::Response

Inherits JSON::Serializable < Struct < Value < Object

IAM-policy response (V1 + V2 IAM-mode)

Constructors

new(principal_id : String, policy_document : Policy, context : Hash(String, JSON::Any) | Nil = nil, usage_identifier_key : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

context
Source
context=(context : Hash(String, JSON::Any) | Nil)
Source
policy_document
Source
policy_document=(policy_document : Policy)
Source
principal_id
Source
principal_id=(principal_id : String)
Source
usage_identifier_key
Source
usage_identifier_key=(usage_identifier_key : String | Nil)
Source