# AccessLogDestinationConfig

Options when binding a log destination to a RestApi Stage.

Returned by: [IAccessLogDestination.bind](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apigateway.IAccessLogDestination.html#bind)

- Source: [`aws-apigateway/lib/access-log.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-apigateway/lib/access-log.ts#L22)

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `destinationArn`: string (required) — The Amazon Resource Name (ARN) of the destination resource.
