Compression

class aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression(*args: Any, **kwargs)

Bases: object

(experimental) Possible compression options Kinesis Data Firehose can use to compress data on delivery.

Stability:

experimental

ExampleMetadata:

infused

Example:

# Compress data delivered to S3 using Snappy
# bucket: s3.Bucket

s3_destination = destinations.S3Bucket(bucket,
    compression=destinations.Compression.SNAPPY
)
firehose.DeliveryStream(self, "Delivery Stream",
    destination=s3_destination
)

Attributes

GZIP = <aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression object>
HADOOP_SNAPPY = <aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression object>
SNAPPY = <aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression object>
ZIP = <aws_cdk.aws_kinesisfirehose_destinations_alpha.Compression object>
value

(experimental) the string value of the Compression.

Stability:

experimental

Static Methods

classmethod of(value)

(experimental) Creates a new Compression instance with a custom value.

Parameters:

value (str) –

Stability:

experimental

Return type:

Compression