SchemaDefinitionProperty Struct
Information needed to define a schema.
| Source | |
|---|---|
| Type last changed |
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 schemaDefinitionProperty: iotanalytics.CfnDatastore.SchemaDefinitionProperty = {
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
schema_definition_property = 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.*;
SchemaDefinitionProperty schemaDefinitionProperty = SchemaDefinitionProperty.builder()
.columns(List.of(ColumnProperty.builder()
.name("name")
.type("type")
.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 schemaDefinitionProperty = 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"
schemaDefinitionProperty := &SchemaDefinitionProperty{
Columns: []interface{}{
&ColumnProperty{
Name: jsii.String("name"),
Type: jsii.String("type"),
},
},
}
Properties
columnsoptionalIResolvable | IResolvable | CfnDatastore.ColumnProperty[]columnsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ColumnProperty]]]columnsoptionalIResolvableColumnsoptionalIResolvableColumnsoptionalinterface{} #Specifies one or more columns that store your data.
Each schema can have up to 100 columns. Each column can have up to 100 nested types.