aws-cdk-lib.aws_apigatewayv2.CfnApiGatewayManagedOverrides.AccessLogSettingsProperty

interface AccessLogSettingsProperty

LanguageType name
.NETAmazon.CDK.AWS.Apigatewayv2.CfnApiGatewayManagedOverrides.AccessLogSettingsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsapigatewayv2#CfnApiGatewayManagedOverrides_AccessLogSettingsProperty
Javasoftware.amazon.awscdk.services.apigatewayv2.CfnApiGatewayManagedOverrides.AccessLogSettingsProperty
Pythonaws_cdk.aws_apigatewayv2.CfnApiGatewayManagedOverrides.AccessLogSettingsProperty
TypeScript aws-cdk-lib » aws_apigatewayv2 » CfnApiGatewayManagedOverrides » 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-lib';
const accessLogSettingsProperty: apigatewayv2.CfnApiGatewayManagedOverrides.AccessLogSettingsProperty = {
  destinationArn: 'destinationArn',
  format: 'format',
};

Properties

NameTypeDescription
destinationArn?stringThe ARN of the CloudWatch Logs log group to receive access logs.
format?stringA 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.