Class CfnApiGatewayManagedOverridesPropsMixin.AccessLogSettingsProperty
The AccessLogSettings property overrides the access log settings for an API Gateway-managed stage.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.ApiGatewayV2.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnApiGatewayManagedOverridesPropsMixin.AccessLogSettingsProperty : CfnApiGatewayManagedOverridesPropsMixin.IAccessLogSettingsProperty
Syntax (vb)
Public Class CfnApiGatewayManagedOverridesPropsMixin.AccessLogSettingsProperty Implements CfnApiGatewayManagedOverridesPropsMixin.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.Mixins.Preview.AWS.ApiGatewayV2.Mixins;
var accessLogSettingsProperty = new AccessLogSettingsProperty {
DestinationArn = "destinationArn",
Format = "format"
};
Synopsis
Constructors
| AccessLogSettingsProperty() | The |
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()
The AccessLogSettings property overrides the access log settings for an API Gateway-managed stage.
public AccessLogSettingsProperty()
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.Mixins.Preview.AWS.ApiGatewayV2.Mixins;
var accessLogSettingsProperty = new AccessLogSettingsProperty {
DestinationArn = "destinationArn",
Format = "format"
};
Properties
DestinationArn
The ARN of the CloudWatch Logs log group to receive access logs.
public string? DestinationArn { get; set; }
Property Value
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
Remarks
The format must include at least $context.requestId.