Skip to content
v2.278.0

DataSetSchemaProperty Struct ​

Dataset schema.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const dataSetSchemaProperty: quicksight.CfnTemplate.DataSetSchemaProperty = {
  columnSchemaList: [{
    dataType: 'dataType',
    geographicRole: 'geographicRole',
    name: 'name',
  }],
};
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_quicksight as quicksight

data_set_schema_property = quicksight.CfnTemplate.DataSetSchemaProperty(
    column_schema_list=[quicksight.CfnTemplate.ColumnSchemaProperty(
        data_type="dataType",
        geographic_role="geographicRole",
        name="name"
    )]
)
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.quicksight.*;

DataSetSchemaProperty dataSetSchemaProperty = DataSetSchemaProperty.builder()
        .columnSchemaList(List.of(ColumnSchemaProperty.builder()
                .dataType("dataType")
                .geographicRole("geographicRole")
                .name("name")
                .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.QuickSight;

var dataSetSchemaProperty = new DataSetSchemaProperty {
    ColumnSchemaList = new [] { new ColumnSchemaProperty {
        DataType = "dataType",
        GeographicRole = "geographicRole",
        Name = "name"
    } }
};
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"

dataSetSchemaProperty := &DataSetSchemaProperty{
	ColumnSchemaList: []interface{}{
		&ColumnSchemaProperty{
			DataType: jsii.String("dataType"),
			GeographicRole: jsii.String("geographicRole"),
			Name: jsii.String("name"),
		},
	},
}

Properties ​

columnSchemaListoptionalIResolvable | IResolvable | CfnTemplate.ColumnSchemaProperty[]column_schema_listoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ColumnSchemaProperty]]]columnSchemaListoptionalIResolvableColumnSchemaListoptionalIResolvableColumnSchemaListoptionalinterface{} #
A structure containing the list of column schemas.