Class CfnApiGatewayManagedOverrides.AccessLogSettingsProperty
The AccessLogSettings
property overrides the access log settings for an API Gateway-managed stage.
Inheritance
System.Object
CfnApiGatewayManagedOverrides.AccessLogSettingsProperty
Namespace: Amazon.CDK.AWS.APIGatewayv2
Assembly: Amazon.CDK.AWS.APIGatewayv2.dll
Syntax (csharp)
public class AccessLogSettingsProperty : Object, CfnApiGatewayManagedOverrides.IAccessLogSettingsProperty
Syntax (vb)
Public Class AccessLogSettingsProperty
Inherits Object
Implements CfnApiGatewayManagedOverrides.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
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.