class Amazonite::ApiGateway::AccessLogSettings

Overview

Access log settings, including the access log format and access log destination ARN.

Included Modules

Defined in:

api_gateway/access_log_settings.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(format : String | Nil = nil, destination_arn : String | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def destination_arn : String | Nil #

The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin with amazon-apigateway-.


[View source]
def destination_arn=(destination_arn : String | Nil) #

The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin with amazon-apigateway-.


[View source]
def format : String | Nil #

A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId.


[View source]
def format=(format : String | Nil) #

A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def validate! : Nil #

[View source]