Skip to content
v2.277.0

SharedColumnSemanticMetadataProperty 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 sharedColumnSemanticMetadataProperty: quicksight.CfnDataSet.SharedColumnSemanticMetadataProperty = {
  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

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

SharedColumnSemanticMetadataProperty sharedColumnSemanticMetadataProperty = 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();
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 sharedColumnSemanticMetadataProperty = 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"

sharedColumnSemanticMetadataProperty := &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 ​

columnNamesoptionalstring[]column_namesoptionaltyping.List[str]columnNamesoptionalList<String>ColumnNamesoptionalstring[]ColumnNamesoptional*[]*string#
columnPropertiesIResolvable | IResolvable | CfnDataSet.ColumnSemanticPropertyProperty[]column_propertiestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ColumnSemanticPropertyProperty]]]columnPropertiesIResolvableColumnPropertiesIResolvableColumnPropertiesinterface{}required#