Class CfnStage.AccessLogSettingsProperty
Settings for logging access in a stage.
Inheritance
System.Object
CfnStage.AccessLogSettingsProperty
Implements
Namespace: Amazon.CDK.AWS.APIGatewayv2
Assembly: Amazon.CDK.AWS.APIGatewayv2.dll
Syntax (csharp)
public class AccessLogSettingsProperty : Object, CfnStage.IAccessLogSettingsProperty
Syntax (vb)
Public Class AccessLogSettingsProperty
Inherits Object
Implements CfnStage.IAccessLogSettingsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APIGatewayv2;
var accessLogSettingsProperty = new AccessLogSettingsProperty {
DestinationArn = "destinationArn",
Format = "format"
};
Synopsis
Constructors
AccessLogSettingsProperty() |
Properties
DestinationArn | The ARN of the CloudWatch Logs log group to receive access logs. |
Format | A single line format of the access logs of data, as specified by selected $context variables. |
Constructors
AccessLogSettingsProperty()
public AccessLogSettingsProperty()
Properties
DestinationArn
The ARN of the CloudWatch Logs log group to receive access logs.
public string DestinationArn { get; set; }
Property Value
System.String
Remarks
This parameter is required to enable access logging.
Format
A single line format of the access logs of data, as specified by selected $context variables.
public string Format { get; set; }
Property Value
System.String
Remarks
The format must include at least $context.requestId. This parameter is required to enable access logging.