DataSetSemanticMetadataProperty 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 dataSetSemanticMetadataProperty: quicksight.CfnDataSet.DataSetSemanticMetadataProperty = {
customInstructions: [{
inlineCustomInstruction: {
instructionText: 'instructionText',
// the properties below are optional
uploadedDocumentMetadata: {
name: 'name',
},
},
}],
description: {
text: 'text',
},
};
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_semantic_metadata_property = quicksight.CfnDataSet.DataSetSemanticMetadataProperty(
custom_instructions=[quicksight.CfnDataSet.CustomInstructionProperty(
inline_custom_instruction=quicksight.CfnDataSet.InlineCustomInstructionProperty(
instruction_text="instructionText",
# the properties below are optional
uploaded_document_metadata=quicksight.CfnDataSet.UploadedDocumentMetadataProperty(
name="name"
)
)
)],
description=quicksight.CfnDataSet.DataSetSemanticDescriptionProperty(
text="text"
)
)
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.*;
DataSetSemanticMetadataProperty dataSetSemanticMetadataProperty = DataSetSemanticMetadataProperty.builder()
.customInstructions(List.of(CustomInstructionProperty.builder()
.inlineCustomInstruction(InlineCustomInstructionProperty.builder()
.instructionText("instructionText")
// the properties below are optional
.uploadedDocumentMetadata(UploadedDocumentMetadataProperty.builder()
.name("name")
.build())
.build())
.build()))
.description(DataSetSemanticDescriptionProperty.builder()
.text("text")
.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 dataSetSemanticMetadataProperty = new DataSetSemanticMetadataProperty {
CustomInstructions = new [] { new CustomInstructionProperty {
InlineCustomInstruction = new InlineCustomInstructionProperty {
InstructionText = "instructionText",
// the properties below are optional
UploadedDocumentMetadata = new UploadedDocumentMetadataProperty {
Name = "name"
}
}
} },
Description = new DataSetSemanticDescriptionProperty {
Text = "text"
}
};
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"
dataSetSemanticMetadataProperty := &DataSetSemanticMetadataProperty{
CustomInstructions: []interface{}{
&CustomInstructionProperty{
InlineCustomInstruction: &InlineCustomInstructionProperty{
InstructionText: jsii.String("instructionText"),
// the properties below are optional
UploadedDocumentMetadata: &UploadedDocumentMetadataProperty{
Name: jsii.String("name"),
},
},
},
},
Description: &DataSetSemanticDescriptionProperty{
Text: jsii.String("text"),
},
}
Properties
customInstructionsoptionalIResolvable | IResolvable | CfnDataSet.CustomInstructionProperty[]custom_instructionsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, CustomInstructionProperty]]]customInstructionsoptionalIResolvableCustomInstructionsoptionalIResolvableCustomInstructionsoptionalinterface{}#descriptionoptionalIResolvable | CfnDataSet.DataSetSemanticDescriptionPropertydescriptionoptionaltyping.Union[IResolvable, DataSetSemanticDescriptionProperty]descriptionoptionalIResolvableDescriptionoptionalIResolvableDescriptionoptionalinterface{}#