Skip to content
v2.278.0

ParquetConfigurationProperty Struct ​

Contains the configuration information of the Parquet format.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotanalytics as iotanalytics } from 'aws-cdk-lib';
const parquetConfigurationProperty: iotanalytics.CfnDatastore.ParquetConfigurationProperty = {
  schemaDefinition: {
    columns: [{
      name: 'name',
      type: 'type',
    }],
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotanalytics as iotanalytics

parquet_configuration_property = iotanalytics.CfnDatastore.ParquetConfigurationProperty(
    schema_definition=iotanalytics.CfnDatastore.SchemaDefinitionProperty(
        columns=[iotanalytics.CfnDatastore.ColumnProperty(
            name="name",
            type="type"
        )]
    )
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotanalytics.*;

ParquetConfigurationProperty parquetConfigurationProperty = ParquetConfigurationProperty.builder()
        .schemaDefinition(SchemaDefinitionProperty.builder()
                .columns(List.of(ColumnProperty.builder()
                        .name("name")
                        .type("type")
                        .build()))
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTAnalytics;

var parquetConfigurationProperty = new ParquetConfigurationProperty {
    SchemaDefinition = new SchemaDefinitionProperty {
        Columns = new [] { new ColumnProperty {
            Name = "name",
            Type = "type"
        } }
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

parquetConfigurationProperty := &ParquetConfigurationProperty{
	SchemaDefinition: &SchemaDefinitionProperty{
		Columns: []interface{}{
			&ColumnProperty{
				Name: jsii.String("name"),
				Type: jsii.String("type"),
			},
		},
	},
}

Properties ​

schemaDefinitionoptionalIResolvable | CfnDatastore.SchemaDefinitionPropertyschema_definitionoptionaltyping.Union[IResolvable, SchemaDefinitionProperty]schemaDefinitionoptionalIResolvableSchemaDefinitionoptionalIResolvableSchemaDefinitionoptionalinterface{} #
Information needed to define a schema.