Class Compression
Possible compression options Kinesis Data Firehose can use to compress data on delivery.
Inheritance
Namespace: Amazon.CDK.AWS.KinesisFirehose
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class Compression : DeputyBase
Syntax (vb)
Public Class Compression
Inherits DeputyBase
Remarks
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 {
Destination = s3Destination
});
Synopsis
Constructors
Compression(By |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Compression(Deputy |
Used by jsii to construct an instance of this class from DeputyProps |
Properties
GZIP | gzip. |
HADOOP_SNAPPY | Hadoop-compatible Snappy. |
SNAPPY | Snappy. |
UNCOMPRESSED | Uncompressed. |
Value | the string value of the Compression. |
ZIP | ZIP. |
Methods
Of(String) | 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. By Ref Value 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. Deputy Base. Deputy Props The deputy props
Properties
GZIP
HADOOP_SNAPPY
Hadoop-compatible Snappy.
public static Compression HADOOP_SNAPPY { get; }
Property Value
SNAPPY
UNCOMPRESSED
Value
the string value of the Compression.
public virtual string Value { get; }
Property Value
System.
ZIP
Methods
Of(String)
Creates a new Compression instance with a custom value.
public static Compression Of(string value)
Parameters
- value System.
String
Returns