SemanticTypeProperty Struct
A structure that represents a semantic type.
| 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_quicksight as quicksight } from 'aws-cdk-lib';
const semanticTypeProperty: quicksight.CfnTopic.SemanticTypeProperty = {
falseyCellValue: 'falseyCellValue',
falseyCellValueSynonyms: ['falseyCellValueSynonyms'],
subTypeName: 'subTypeName',
truthyCellValue: 'truthyCellValue',
truthyCellValueSynonyms: ['truthyCellValueSynonyms'],
typeName: 'typeName',
typeParameters: {
typeParametersKey: 'typeParameters',
},
};
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
semantic_type_property = quicksight.CfnTopic.SemanticTypeProperty(
falsey_cell_value="falseyCellValue",
falsey_cell_value_synonyms=["falseyCellValueSynonyms"],
sub_type_name="subTypeName",
truthy_cell_value="truthyCellValue",
truthy_cell_value_synonyms=["truthyCellValueSynonyms"],
type_name="typeName",
type_parameters={
"type_parameters_key": "typeParameters"
}
)
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.*;
SemanticTypeProperty semanticTypeProperty = SemanticTypeProperty.builder()
.falseyCellValue("falseyCellValue")
.falseyCellValueSynonyms(List.of("falseyCellValueSynonyms"))
.subTypeName("subTypeName")
.truthyCellValue("truthyCellValue")
.truthyCellValueSynonyms(List.of("truthyCellValueSynonyms"))
.typeName("typeName")
.typeParameters(Map.of(
"typeParametersKey", "typeParameters"))
.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 semanticTypeProperty = new SemanticTypeProperty {
FalseyCellValue = "falseyCellValue",
FalseyCellValueSynonyms = new [] { "falseyCellValueSynonyms" },
SubTypeName = "subTypeName",
TruthyCellValue = "truthyCellValue",
TruthyCellValueSynonyms = new [] { "truthyCellValueSynonyms" },
TypeName = "typeName",
TypeParameters = new Dictionary<string, string> {
{ "typeParametersKey", "typeParameters" }
}
};
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"
semanticTypeProperty := &SemanticTypeProperty{
FalseyCellValue: jsii.String("falseyCellValue"),
FalseyCellValueSynonyms: []*string{
jsii.String("falseyCellValueSynonyms"),
},
SubTypeName: jsii.String("subTypeName"),
TruthyCellValue: jsii.String("truthyCellValue"),
TruthyCellValueSynonyms: []*string{
jsii.String("truthyCellValueSynonyms"),
},
TypeName: jsii.String("typeName"),
TypeParameters: map[string]*string{
"typeParametersKey": jsii.String("typeParameters"),
},
}
Properties
falseyCellValueoptionalstringfalsey_cell_valueoptionalstrfalseyCellValueoptionalStringFalseyCellValueoptionalstringFalseyCellValueoptional*string #The semantic type falsey cell value.
falseyCellValueSynonymsoptionalstring[]falsey_cell_value_synonymsoptionaltyping.List[str]falseyCellValueSynonymsoptionalList<String>FalseyCellValueSynonymsoptionalstring[]FalseyCellValueSynonymsoptional*[]*string #The other names or aliases for the false cell value.
subTypeNameoptionalstringsub_type_nameoptionalstrsubTypeNameoptionalStringSubTypeNameoptionalstringSubTypeNameoptional*string #The semantic type sub type name.
truthyCellValueoptionalstringtruthy_cell_valueoptionalstrtruthyCellValueoptionalStringTruthyCellValueoptionalstringTruthyCellValueoptional*string #The semantic type truthy cell value.
truthyCellValueSynonymsoptionalstring[]truthy_cell_value_synonymsoptionaltyping.List[str]truthyCellValueSynonymsoptionalList<String>TruthyCellValueSynonymsoptionalstring[]TruthyCellValueSynonymsoptional*[]*string #The other names or aliases for the true cell value.
typeNameoptionalstringtype_nameoptionalstrtypeNameoptionalStringTypeNameoptionalstringTypeNameoptional*string #The semantic type name.
typeParametersoptionalIResolvable | { [key: string]: string }type_parametersoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]typeParametersoptionalIResolvableTypeParametersoptionalIResolvableTypeParametersoptionalinterface{} #The semantic type parameters.