Class BackupMode
(deprecated) Options for S3 record backup of a delivery stream.
Inheritance
Namespace: Amazon.CDK.AWS.KinesisFirehose.Destinations.Alpha
Assembly: Amazon.CDK.AWS.KinesisFirehose.Destinations.Alpha.dll
Syntax (csharp)
public sealed class BackupMode : Enum
Syntax (vb)
Public NotInheritable Class BackupMode
Inherits
Enum
Remarks
Stability: Deprecated
ExampleMetadata: infused
Examples
// Enable backup of all source records (to an S3 bucket created by CDK).
Bucket bucket;
// Explicitly provide an S3 bucket to which all source records will be backed up.
Bucket backupBucket;
new DeliveryStream(this, "Delivery Stream Backup All", new DeliveryStreamProps {
Destination =
new S3Bucket(bucket, new S3BucketProps {
S3Backup = new DestinationS3BackupProps {
Mode = BackupMode.ALL
}
})
});
new DeliveryStream(this, "Delivery Stream Backup All Explicit Bucket", new DeliveryStreamProps {
Destination =
new S3Bucket(bucket, new S3BucketProps {
S3Backup = new DestinationS3BackupProps {
Bucket = backupBucket
}
})
});
// Explicitly provide an S3 prefix under which all source records will be backed up.
// Explicitly provide an S3 prefix under which all source records will be backed up.
new DeliveryStream(this, "Delivery Stream Backup All Explicit Prefix", new DeliveryStreamProps {
Destination =
new S3Bucket(bucket, new S3BucketProps {
S3Backup = new DestinationS3BackupProps {
Mode = BackupMode.ALL,
DataOutputPrefix = "mybackup"
}
})
});
Synopsis
Fields
ALL | (deprecated) All records are backed up. |
FAILED | (deprecated) Only records that failed to deliver or transform are backed up. |
value__ |
Fields
ALL
(deprecated) All records are backed up.
public const BackupMode ALL
Field Value
Type | Description |
---|---|
Backup |
Remarks
Stability: Deprecated
FAILED
(deprecated) Only records that failed to deliver or transform are backed up.
public const BackupMode FAILED
Field Value
Type | Description |
---|---|
Backup |
Remarks
Stability: Deprecated
value__
public int value__
Field Value
Type | Description |
---|---|
System. |