# DestinationProperty

Specifies information about where to publish inventory reports for an Amazon S3 Express bucket.

- Source: Generated at build time
- Type last changed: v2.251.0 · 24 Apr 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3express as s3express } from 'aws-cdk-lib';
const destinationProperty: s3express.CfnDirectoryBucket.DestinationProperty = {
  bucketArn: 'bucketArn',
  format: 'format',

  // the properties below are optional
  bucketAccountId: 'bucketAccountId',
  prefix: 'prefix',
};
```

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_s3express as s3express

destination_property = s3express.CfnDirectoryBucket.DestinationProperty(
    bucket_arn="bucketArn",
    format="format",

    # the properties below are optional
    bucket_account_id="bucketAccountId",
    prefix="prefix"
)
```

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.s3express.*;

DestinationProperty destinationProperty = DestinationProperty.builder()
        .bucketArn("bucketArn")
        .format("format")

        // the properties below are optional
        .bucketAccountId("bucketAccountId")
        .prefix("prefix")
        .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.S3Express;

var destinationProperty = new DestinationProperty {
    BucketArn = "bucketArn",
    Format = "format",

    // the properties below are optional
    BucketAccountId = "bucketAccountId",
    Prefix = "prefix"
};
```

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"

destinationProperty := &DestinationProperty{
	BucketArn: jsii.String("bucketArn"),
	Format: jsii.String("format"),

	// the properties below are optional
	BucketAccountId: jsii.String("bucketAccountId"),
	Prefix: jsii.String("prefix"),
}
```

## Properties

- `bucketAccountId`: string — The account ID that owns the destination S3 bucket.

- `bucketArn`: string (required) — The Amazon Resource Name (ARN) of the destination Amazon S3 bucket to which data is exported.

- `format`: string (required) — Specifies the file format used when exporting data to Amazon S3.

- `prefix`: string — The prefix to use when exporting data.

  The prefix is prepended to all results.
