Class: Aws::APIGateway::Types::AccessLogSettings

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-apigateway/types.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#destination_arnString

The ARN of the CloudWatch Logs log group to receive access logs.

Returns:

  • (String)


28
29
30
31
32
# File 'lib/aws-sdk-apigateway/types.rb', line 28

class AccessLogSettings < Struct.new(
  :format,
  :destination_arn)
  include Aws::Structure
end

#formatString

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

[1]: docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#context-variable-reference

Returns:

  • (String)


28
29
30
31
32
# File 'lib/aws-sdk-apigateway/types.rb', line 28

class AccessLogSettings < Struct.new(
  :format,
  :destination_arn)
  include Aws::Structure
end