Class Compression
(experimental) Possible compression options Kinesis Data Firehose can use to compress data on delivery.
Inheritance
Namespace: Amazon.CDK.AWS.KinesisFirehose.Destinations.Alpha
Assembly: Amazon.CDK.AWS.KinesisFirehose.Destinations.Alpha.dll
Syntax (csharp)
public class Compression : DeputyBase
Syntax (vb)
Public Class Compression
Inherits DeputyBase
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
// Compress data delivered to S3 using Snappy
Bucket bucket;
var s3Destination = new S3Bucket(bucket, new S3BucketProps {
Compression = Compression.SNAPPY
});
new DeliveryStream(this, "Delivery Stream", new DeliveryStreamProps {
Destinations = new [] { s3Destination }
});
Synopsis
Constructors
Compression(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Compression(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
GZIP | (experimental) gzip. |
HADOOP_SNAPPY | (experimental) Hadoop-compatible Snappy. |
SNAPPY | (experimental) Snappy. |
Value | (experimental) the string value of the Compression. |
ZIP | (experimental) ZIP. |
Methods
Of(String) | (experimental) Creates a new Compression instance with a custom value. |
Constructors
Compression(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected Compression(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
Compression(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected Compression(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
GZIP
(experimental) gzip.
public static Compression GZIP { get; }
Property Value
Remarks
Stability: Experimental
HADOOP_SNAPPY
(experimental) Hadoop-compatible Snappy.
public static Compression HADOOP_SNAPPY { get; }
Property Value
Remarks
Stability: Experimental
SNAPPY
(experimental) Snappy.
public static Compression SNAPPY { get; }
Property Value
Remarks
Stability: Experimental
Value
(experimental) the string value of the Compression.
public virtual string Value { get; }
Property Value
System.String
Remarks
Stability: Experimental
ZIP
(experimental) ZIP.
public static Compression ZIP { get; }
Property Value
Remarks
Stability: Experimental
Methods
Of(String)
(experimental) Creates a new Compression instance with a custom value.
public static Compression Of(string value)
Parameters
- value System.String
Returns
Remarks
Stability: Experimental