ReportDeliveryChannelProperty Struct
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 | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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
// 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
formatsoptionalstring[]formatsoptionaltyping.List[str]formatsoptionalList<String>Formatsoptionalstring[]Formatsoptional*[]*string #The format of your reports: `CSV` , `JSON` , or both.
If not specified, the default format is CSV .
s3BucketNamestrings3_bucket_namestrs3BucketNameStringS3BucketNamestringS3BucketName*string required #The unique name of the S3 bucket that receives your reports.
s3KeyPrefixoptionalstrings3_key_prefixoptionalstrs3KeyPrefixoptionalStringS3KeyPrefixoptionalstringS3KeyPrefixoptional*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.