Skip to content
v2.278.0

AccessLogDestinationConfig Struct ​

Options when binding a log destination to a RestApi Stage.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigateway as apigateway } from 'aws-cdk-lib';
const accessLogDestinationConfig: apigateway.AccessLogDestinationConfig = {
  destinationArn: 'destinationArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_apigateway as apigateway

access_log_destination_config = apigateway.AccessLogDestinationConfig(
    destination_arn="destinationArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigateway.*;

AccessLogDestinationConfig accessLogDestinationConfig = AccessLogDestinationConfig.builder()
        .destinationArn("destinationArn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APIGateway;

var accessLogDestinationConfig = new AccessLogDestinationConfig {
    DestinationArn = "destinationArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

accessLogDestinationConfig := &AccessLogDestinationConfig{
	DestinationArn: jsii.String("destinationArn"),
}

Properties ​

destinationArnstringdestination_arnstrdestinationArnStringDestinationArnstringDestinationArn*string required #
The Amazon Resource Name (ARN) of the destination resource.