interface S3StorageConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Kinesis.CfnChannel.S3StorageConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awskinesis#CfnChannel_S3StorageConfigurationProperty |
Java | software.amazon.awscdk.services.kinesis.CfnChannel.S3StorageConfigurationProperty |
Python | aws_cdk.aws_kinesis.CfnChannel.S3StorageConfigurationProperty |
TypeScript | aws-cdk-lib » aws_kinesis » CfnChannel » S3StorageConfigurationProperty |
S3 storage configuration that describes the destination bucket and how delivered objects are stored.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kinesis as kinesis } from 'aws-cdk-lib';
const s3StorageConfigurationProperty: kinesis.CfnChannel.S3StorageConfigurationProperty = {
bucketArn: 'bucketArn',
compressionType: 'compressionType',
expectedBucketOwner: 'expectedBucketOwner',
// the properties below are optional
outputKeyTemplate: 'outputKeyTemplate',
storageClass: 'storageClass',
};
Properties
| Name | Type | Description |
|---|---|---|
| bucket | string | The ARN of the S3 bucket for record delivery. |
| compression | string | The compression algorithm applied to delivered objects. |
| expected | string | The AWS account ID of the expected owner of the destination S3 bucket. |
| output | string | Optional template for the S3 object key path. |
| storage | string | The S3 storage class for delivered objects. |
bucketArn
Type:
string
The ARN of the S3 bucket for record delivery.
Different channels can deliver to the same bucket. Buckets can be cross-account but must be in the same region as the channel.
compressionType
Type:
string
The compression algorithm applied to delivered objects.
expectedBucketOwner
Type:
string
The AWS account ID of the expected owner of the destination S3 bucket.
Used to verify bucket ownership before delivery.
outputKeyTemplate?
Type:
string
(optional)
Optional template for the S3 object key path.
Supports placeholders in the form !{name}: !{channel-name}, !{channel-id}, !{stream-name}, !{yyyy}, !{yy}, !{MM}, !{dd}, !{HH}, !{mm}, and !{extension} (a literal file extension can be supplied as !{extension:.json.gz}). When omitted, the service uses the default 'kinesis-channel/!{channel-name}/!{channel-id}/!{yyyy}/!{MM}/!{dd}/!{HH}/!{channel-name}-!{channel-id}-!{yyyy}-!{MM}-!{dd}-!{HH}-!{mm}!{extension}'.
storageClass?
Type:
string
(optional, default: "STANDARD")
The S3 storage class for delivered objects.

.NET
Go
Java
Python
TypeScript