Skip to content

Api Gateway  >  Structures  >  AccessLogSettings

AccessLogSettings

Structure Class

AccessLogSettings dataclass

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

Attributes

destination_arn class-attribute instance-attribute
destination_arn: str | None = None

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-.

format class-attribute instance-attribute
format: str | None = None

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