Skip to content
v2.278.0

ColumnProperty Struct ​

Contains information about a column that stores your data.

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 columnProperty: iotanalytics.CfnDatastore.ColumnProperty = {
  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

column_property = 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.*;

ColumnProperty columnProperty = ColumnProperty.builder()
        .name("name")
        .type("type")
        .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 columnProperty = 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"

columnProperty := &ColumnProperty{
	Name: jsii.String("name"),
	Type: jsii.String("type"),
}

Properties ​

namestringnamestrnameStringNamestringName*string required #
The name of the column.
typestringtypestrtypeStringTypestringType*string required #
The type of data.

For more information about the supported data types, see Common data types in the AWS Glue Developer Guide .