# ReportDeliveryChannelProperty

Struct · External

Contains information from your report plan about where to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_backup as backup } from 'aws-cdk-lib';
const reportDeliveryChannelProperty: backup.CfnReportPlan.ReportDeliveryChannelProperty = {
  s3BucketName: 's3BucketName',

  // the properties below are optional
  formats: ['formats'],
  s3KeyPrefix: 's3KeyPrefix',
};
```

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_backup as backup

report_delivery_channel_property = backup.CfnReportPlan.ReportDeliveryChannelProperty(
    s3_bucket_name="s3BucketName",

    # the properties below are optional
    formats=["formats"],
    s3_key_prefix="s3KeyPrefix"
)
```

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

ReportDeliveryChannelProperty reportDeliveryChannelProperty = ReportDeliveryChannelProperty.builder()
        .s3BucketName("s3BucketName")

        // the properties below are optional
        .formats(List.of("formats"))
        .s3KeyPrefix("s3KeyPrefix")
        .build();
```

C#:

```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.Backup;

var reportDeliveryChannelProperty = new ReportDeliveryChannelProperty {
    S3BucketName = "s3BucketName",

    // the properties below are optional
    Formats = new [] { "formats" },
    S3KeyPrefix = "s3KeyPrefix"
};
```

Go:

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

reportDeliveryChannelProperty := &ReportDeliveryChannelProperty{
	S3BucketName: jsii.String("s3BucketName"),

	// the properties below are optional
	Formats: []*string{
		jsii.String("formats"),
	},
	S3KeyPrefix: jsii.String("s3KeyPrefix"),
}
```

## Properties

- `formats`: string[] — The format of your reports: `CSV` , `JSON` , or both.

  If not specified, the default format is `CSV` .

- `s3BucketName`: string (required) — The unique name of the S3 bucket that receives your reports.

- `s3KeyPrefix`: string — The prefix for where AWS Backup Audit Manager delivers your reports to Amazon S3.

  The prefix is this part of the following path: s3://your-bucket-name/ `prefix` /Backup/us-west-2/year/month/day/report-name. If not specified, there is no prefix.
