Class SchemaConfiguration

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.kinesisfirehose.SchemaConfiguration
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)", date="2025-10-24T13:34:40.993Z") @Stability(Stable) public class SchemaConfiguration extends software.amazon.jsii.JsiiObject
Represents a schema configuration for Firehose S3 data record format conversion.

Example:

 Bucket bucket;
 CfnTable schemaGlueTable;
 S3Bucket s3Destination = S3Bucket.Builder.create(bucket)
         .dataFormatConversion(DataFormatConversionProps.builder()
                 .schemaConfiguration(SchemaConfiguration.fromCfnTable(schemaGlueTable))
                 .inputFormat(InputFormat.OPENX_JSON)
                 .outputFormat(OutputFormat.PARQUET)
                 .build())
         .build();
 

See Also:
  • Constructor Details

    • SchemaConfiguration

      protected SchemaConfiguration(software.amazon.jsii.JsiiObjectRef objRef)
    • SchemaConfiguration

      protected SchemaConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • fromCfnTable

      @Stability(Stable) @NotNull public static SchemaConfiguration fromCfnTable(@NotNull CfnTable table, @Nullable SchemaConfigurationFromCfnTableProps props)
      Obtain schema configuration for data record format conversion from an aws_glue.CfnTable.

      Parameters:
      table - This parameter is required.
      props -
    • fromCfnTable

      @Stability(Stable) @NotNull public static SchemaConfiguration fromCfnTable(@NotNull CfnTable table)
      Obtain schema configuration for data record format conversion from an aws_glue.CfnTable.

      Parameters:
      table - This parameter is required.
    • bind

      @Stability(Stable) @NotNull public CfnDeliveryStream.SchemaConfigurationProperty bind(@NotNull software.constructs.Construct scope, @NotNull SchemaConfigurationBindOptions options)
      Binds this Schema to the Destination, adding the necessary permissions to the Destination role.

      Parameters:
      scope - This parameter is required.
      options - This parameter is required.