class SchemaConfiguration
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.KinesisFirehose.SchemaConfiguration |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awskinesisfirehose#SchemaConfiguration |
Java | software.amazon.awscdk.services.kinesisfirehose.SchemaConfiguration |
Python | aws_cdk.aws_kinesisfirehose.SchemaConfiguration |
TypeScript (source) | aws-cdk-lib » aws_kinesisfirehose » SchemaConfiguration |
Represents a schema configuration for Firehose S3 data record format conversion.
Example
declare const bucket: s3.Bucket;
declare const schemaGlueTable: glue.CfnTable;
const s3Destination = new firehose.S3Bucket(bucket, {
dataFormatConversion: {
schemaConfiguration: firehose.SchemaConfiguration.fromCfnTable(schemaGlueTable),
inputFormat: firehose.InputFormat.OPENX_JSON,
outputFormat: firehose.OutputFormat.PARQUET,
}
});
Methods
| Name | Description |
|---|---|
| bind(scope, options) | Binds this Schema to the Destination, adding the necessary permissions to the Destination role. |
| static from | Obtain schema configuration for data record format conversion from an aws_glue.CfnTable. |
bind(scope, options)
public bind(scope: Construct, options: SchemaConfigurationBindOptions): SchemaConfigurationProperty
Parameters
- scope
Construct - options
SchemaConfiguration Bind Options
Returns
Binds this Schema to the Destination, adding the necessary permissions to the Destination role.
static fromCfnTable(table, props?)
public static fromCfnTable(table: CfnTable, props?: SchemaConfigurationFromCfnTableProps): SchemaConfiguration
Parameters
- table
CfnTable - props
SchemaConfiguration From Cfn Table Props
Returns
Obtain schema configuration for data record format conversion from an aws_glue.CfnTable.

.NET
Go
Java
Python
TypeScript (