Interface IAccessLogSettings
Settings for access logging.
Namespace: Amazon.CDK.AWS.Apigatewayv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAccessLogSettings
Syntax (vb)
Public Interface IAccessLogSettings
Synopsis
Properties
Destination | The destination where to write access logs. |
Format | A single line format of access logs of data, as specified by selected $context variables. |
Properties
Destination
The destination where to write access logs.
IAccessLogDestination Destination { get; }
Property Value
Remarks
Default: - No destination
Format
A single line format of access logs of data, as specified by selected $context variables.
AccessLogFormat? Format { get; }
Property Value
Remarks
The format must include either AccessLogFormat.contextRequestId()
or AccessLogFormat.contextExtendedRequestId()
.
Default: - Common Log Format
See: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-logging-variables.html