StageAccessLogSettingArgs

data class StageAccessLogSettingArgs(val destinationArn: Output<String>? = null, val format: Output<String>? = null) : ConvertibleToJava<StageAccessLogSettingArgs>

The `AccessLogSetting` property type specifies settings for logging access in this stage. `AccessLogSetting` is a property of the AWS::ApiGateway::Stage resource.

Constructors

Link copied to clipboard
constructor(destinationArn: Output<String>? = null, format: Output<String>? = null)

Properties

Link copied to clipboard
val destinationArn: Output<String>? = null

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-`. This parameter is required to enable access logging.

Link copied to clipboard
val format: Output<String>? = null

A single line format of the access logs of data, as specified by selected $context variables. The format must include at least `$context.requestId`. This parameter is required to enable access logging.

Functions

Link copied to clipboard
open override fun toJava(): StageAccessLogSettingArgs