TableSemanticMetadataProperty Struct
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 tableSemanticMetadataProperty: quicksight.CfnDataSet.TableSemanticMetadataProperty = {
columnMetadata: [{
columnProperties: [{
additionalNotes: {
text: 'text',
},
description: {
text: 'text',
},
semanticType: {
geographicalRole: 'geographicalRole',
},
}],
// the properties below are optional
columnNames: ['columnNames'],
}],
};
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
table_semantic_metadata_property = quicksight.CfnDataSet.TableSemanticMetadataProperty(
column_metadata=[quicksight.CfnDataSet.SharedColumnSemanticMetadataProperty(
column_properties=[quicksight.CfnDataSet.ColumnSemanticPropertyProperty(
additional_notes=quicksight.CfnDataSet.AdditionalNotesProperty(
text="text"
),
description=quicksight.CfnDataSet.ColumnDescriptionProperty(
text="text"
),
semantic_type=quicksight.CfnDataSet.ColumnSemanticTypeProperty(
geographical_role="geographicalRole"
)
)],
# the properties below are optional
column_names=["columnNames"]
)]
)
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.*;
TableSemanticMetadataProperty tableSemanticMetadataProperty = TableSemanticMetadataProperty.builder()
.columnMetadata(List.of(SharedColumnSemanticMetadataProperty.builder()
.columnProperties(List.of(ColumnSemanticPropertyProperty.builder()
.additionalNotes(AdditionalNotesProperty.builder()
.text("text")
.build())
.description(ColumnDescriptionProperty.builder()
.text("text")
.build())
.semanticType(ColumnSemanticTypeProperty.builder()
.geographicalRole("geographicalRole")
.build())
.build()))
// the properties below are optional
.columnNames(List.of("columnNames"))
.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 tableSemanticMetadataProperty = new TableSemanticMetadataProperty {
ColumnMetadata = new [] { new SharedColumnSemanticMetadataProperty {
ColumnProperties = new [] { new ColumnSemanticPropertyProperty {
AdditionalNotes = new AdditionalNotesProperty {
Text = "text"
},
Description = new ColumnDescriptionProperty {
Text = "text"
},
SemanticType = new ColumnSemanticTypeProperty {
GeographicalRole = "geographicalRole"
}
} },
// the properties below are optional
ColumnNames = new [] { "columnNames" }
} }
};
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"
tableSemanticMetadataProperty := &TableSemanticMetadataProperty{
ColumnMetadata: []interface{}{
&SharedColumnSemanticMetadataProperty{
ColumnProperties: []interface{}{
&ColumnSemanticPropertyProperty{
AdditionalNotes: &AdditionalNotesProperty{
Text: jsii.String("text"),
},
Description: &ColumnDescriptionProperty{
Text: jsii.String("text"),
},
SemanticType: &ColumnSemanticTypeProperty{
GeographicalRole: jsii.String("geographicalRole"),
},
},
},
// the properties below are optional
ColumnNames: []*string{
jsii.String("columnNames"),
},
},
},
}
Properties
columnMetadataoptionalIResolvable | IResolvable | CfnDataSet.SharedColumnSemanticMetadataProperty[]column_metadataoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SharedColumnSemanticMetadataProperty]]]columnMetadataoptionalIResolvableColumnMetadataoptionalIResolvableColumnMetadataoptionalinterface{}#