Class CfnBucket.DestinationProperty
Specifies information about where to publish analysis or configuration results for an Amazon S3 bucket.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DestinationProperty : Object, CfnBucket.IDestinationProperty
Syntax (vb)
Public Class DestinationProperty
Inherits Object
Implements CfnBucket.IDestinationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3;
var destinationProperty = new DestinationProperty {
BucketArn = "bucketArn",
Format = "format",
// the properties below are optional
BucketAccountId = "bucketAccountId",
Prefix = "prefix"
};
Synopsis
Constructors
DestinationProperty() |
Properties
BucketAccountId | The account ID that owns the destination S3 bucket. |
BucketArn | The Amazon Resource Name (ARN) of the bucket to which data is exported. |
Format | Specifies the file format used when exporting data to Amazon S3. |
Prefix | The prefix to use when exporting data. |
Constructors
DestinationProperty()
public DestinationProperty()
Properties
BucketAccountId
The account ID that owns the destination S3 bucket.
public string BucketAccountId { get; set; }
Property Value
System.String
Remarks
If no account ID is provided, the owner is not validated before exporting data.
Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.
BucketArn
The Amazon Resource Name (ARN) of the bucket to which data is exported.
public string BucketArn { get; set; }
Property Value
System.String
Remarks
Format
Specifies the file format used when exporting data to Amazon S3.
public string Format { get; set; }
Property Value
System.String
Remarks
Allowed values : CSV
| ORC
| Parquet
Prefix
The prefix to use when exporting data.
public string Prefix { get; set; }
Property Value
System.String
Remarks
The prefix is prepended to all results.