interface AccessLogSettingsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ApiGatewayV2.CfnApiGatewayManagedOverridesPropsMixin.AccessLogSettingsProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsapigatewayv2#CfnApiGatewayManagedOverridesPropsMixin_AccessLogSettingsProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.apigatewayv2.CfnApiGatewayManagedOverridesPropsMixin.AccessLogSettingsProperty |
Python | aws_cdk.cfn_property_mixins.aws_apigatewayv2.CfnApiGatewayManagedOverridesPropsMixin.AccessLogSettingsProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_apigatewayv2 » CfnApiGatewayManagedOverridesPropsMixin » AccessLogSettingsProperty |
The AccessLogSettings property overrides the access log settings for an API Gateway-managed stage.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigatewayv2 as apigatewayv2 } from '@aws-cdk/cfn-property-mixins';
const accessLogSettingsProperty: apigatewayv2.CfnApiGatewayManagedOverridesPropsMixin.AccessLogSettingsProperty = {
destinationArn: 'destinationArn',
format: 'format',
};
Properties
| Name | Type | Description |
|---|---|---|
| destination | string | The ARN of the CloudWatch Logs log group to receive access logs. |
| format? | string | A single line format of the access logs of data, as specified by selected $context variables. |
destinationArn?
Type:
string
(optional)
The ARN of the CloudWatch Logs log group to receive access logs.
format?
Type:
string
(optional)
A single line format of the access logs of data, as specified by selected $context variables.
The format must include at least $context.requestId.

.NET
Go
Java
Python
TypeScript