aws-cdk-lib.aws_kinesisfirehose.CfnDeliveryStream.SchemaConfigurationProperty

interface SchemaConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.KinesisFirehose.CfnDeliveryStream.SchemaConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awskinesisfirehose#CfnDeliveryStream_SchemaConfigurationProperty
Javasoftware.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream.SchemaConfigurationProperty
Pythonaws_cdk.aws_kinesisfirehose.CfnDeliveryStream.SchemaConfigurationProperty
TypeScript aws-cdk-lib » aws_kinesisfirehose » CfnDeliveryStream » SchemaConfigurationProperty

Specifies the schema to which you want Kinesis Data Firehose to configure your data before it writes it to Amazon S3.

This parameter is required if Enabled is set to true.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kinesisfirehose as kinesisfirehose } from 'aws-cdk-lib';
const schemaConfigurationProperty: kinesisfirehose.CfnDeliveryStream.SchemaConfigurationProperty = {
  catalogId: 'catalogId',
  databaseName: 'databaseName',
  region: 'region',
  roleArn: 'roleArn',
  tableName: 'tableName',
  versionId: 'versionId',
};

Properties

NameTypeDescription
catalogId?stringThe ID of the AWS Glue Data Catalog.
databaseName?stringSpecifies the name of the AWS Glue database that contains the schema for the output data.
region?stringIf you don't specify an AWS Region, the default is the current Region.
roleArn?stringThe role that Kinesis Data Firehose can use to access AWS Glue.
tableName?stringSpecifies the AWS Glue table that contains the column information that constitutes your data schema.
versionId?stringSpecifies the table version for the output data schema.

catalogId?

Type: string (optional)

The ID of the AWS Glue Data Catalog.

If you don't supply this, the AWS account ID is used by default.


databaseName?

Type: string (optional)

Specifies the name of the AWS Glue database that contains the schema for the output data.

If the SchemaConfiguration request parameter is used as part of invoking the CreateDeliveryStream API, then the DatabaseName property is required and its value must be specified.


region?

Type: string (optional)

If you don't specify an AWS Region, the default is the current Region.


roleArn?

Type: string (optional)

The role that Kinesis Data Firehose can use to access AWS Glue.

This role must be in the same account you use for Kinesis Data Firehose. Cross-account roles aren't allowed.

If the SchemaConfiguration request parameter is used as part of invoking the CreateDeliveryStream API, then the RoleARN property is required and its value must be specified.


tableName?

Type: string (optional)

Specifies the AWS Glue table that contains the column information that constitutes your data schema.

If the SchemaConfiguration request parameter is used as part of invoking the CreateDeliveryStream API, then the TableName property is required and its value must be specified.


versionId?

Type: string (optional)

Specifies the table version for the output data schema.

If you don't specify this version ID, or if you set it to LATEST , Kinesis Data Firehose uses the most recent version. This means that any updates to the table are automatically picked up.