Skip to content
v2.278.0

DatasetMetadataProperty Struct ​

A structure that represents a dataset.

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 datasetMetadataProperty: quicksight.CfnTopic.DatasetMetadataProperty = {
  datasetArn: 'datasetArn',

  // the properties below are optional
  calculatedFields: [{
    calculatedFieldName: 'calculatedFieldName',
    expression: 'expression',

    // the properties below are optional
    aggregation: 'aggregation',
    allowedAggregations: ['allowedAggregations'],
    calculatedFieldDescription: 'calculatedFieldDescription',
    calculatedFieldSynonyms: ['calculatedFieldSynonyms'],
    cellValueSynonyms: [{
      cellValue: 'cellValue',
      synonyms: ['synonyms'],
    }],
    columnDataRole: 'columnDataRole',
    comparativeOrder: {
      specifedOrder: ['specifedOrder'],
      treatUndefinedSpecifiedValues: 'treatUndefinedSpecifiedValues',
      useOrdering: 'useOrdering',
    },
    defaultFormatting: {
      displayFormat: 'displayFormat',
      displayFormatOptions: {
        blankCellFormat: 'blankCellFormat',
        currencySymbol: 'currencySymbol',
        dateFormat: 'dateFormat',
        decimalSeparator: 'decimalSeparator',
        fractionDigits: 123,
        groupingSeparator: 'groupingSeparator',
        negativeFormat: {
          prefix: 'prefix',
          suffix: 'suffix',
        },
        prefix: 'prefix',
        suffix: 'suffix',
        unitScaler: 'unitScaler',
        useBlankCellFormat: false,
        useGrouping: false,
      },
    },
    disableIndexing: false,
    isIncludedInTopic: false,
    neverAggregateInFilter: false,
    nonAdditive: false,
    notAllowedAggregations: ['notAllowedAggregations'],
    semanticType: {
      falseyCellValue: 'falseyCellValue',
      falseyCellValueSynonyms: ['falseyCellValueSynonyms'],
      subTypeName: 'subTypeName',
      truthyCellValue: 'truthyCellValue',
      truthyCellValueSynonyms: ['truthyCellValueSynonyms'],
      typeName: 'typeName',
      typeParameters: {
        typeParametersKey: 'typeParameters',
      },
    },
    timeGranularity: 'timeGranularity',
  }],
  columns: [{
    columnName: 'columnName',

    // the properties below are optional
    aggregation: 'aggregation',
    allowedAggregations: ['allowedAggregations'],
    cellValueSynonyms: [{
      cellValue: 'cellValue',
      synonyms: ['synonyms'],
    }],
    columnDataRole: 'columnDataRole',
    columnDescription: 'columnDescription',
    columnFriendlyName: 'columnFriendlyName',
    columnSynonyms: ['columnSynonyms'],
    comparativeOrder: {
      specifedOrder: ['specifedOrder'],
      treatUndefinedSpecifiedValues: 'treatUndefinedSpecifiedValues',
      useOrdering: 'useOrdering',
    },
    defaultFormatting: {
      displayFormat: 'displayFormat',
      displayFormatOptions: {
        blankCellFormat: 'blankCellFormat',
        currencySymbol: 'currencySymbol',
        dateFormat: 'dateFormat',
        decimalSeparator: 'decimalSeparator',
        fractionDigits: 123,
        groupingSeparator: 'groupingSeparator',
        negativeFormat: {
          prefix: 'prefix',
          suffix: 'suffix',
        },
        prefix: 'prefix',
        suffix: 'suffix',
        unitScaler: 'unitScaler',
        useBlankCellFormat: false,
        useGrouping: false,
      },
    },
    disableIndexing: false,
    isIncludedInTopic: false,
    neverAggregateInFilter: false,
    nonAdditive: false,
    notAllowedAggregations: ['notAllowedAggregations'],
    semanticType: {
      falseyCellValue: 'falseyCellValue',
      falseyCellValueSynonyms: ['falseyCellValueSynonyms'],
      subTypeName: 'subTypeName',
      truthyCellValue: 'truthyCellValue',
      truthyCellValueSynonyms: ['truthyCellValueSynonyms'],
      typeName: 'typeName',
      typeParameters: {
        typeParametersKey: 'typeParameters',
      },
    },
    timeGranularity: 'timeGranularity',
  }],
  dataAggregation: {
    datasetRowDateGranularity: 'datasetRowDateGranularity',
    defaultDateColumnName: 'defaultDateColumnName',
  },
  datasetDescription: 'datasetDescription',
  datasetName: 'datasetName',
  filters: [{
    filterName: 'filterName',
    operandFieldName: 'operandFieldName',

    // the properties below are optional
    categoryFilter: {
      categoryFilterFunction: 'categoryFilterFunction',
      categoryFilterType: 'categoryFilterType',
      constant: {
        collectiveConstant: {
          valueList: ['valueList'],
        },
        constantType: 'constantType',
        singularConstant: 'singularConstant',
      },
      inverse: false,
    },
    dateRangeFilter: {
      constant: {
        constantType: 'constantType',
        rangeConstant: {
          maximum: 'maximum',
          minimum: 'minimum',
        },
      },
      inclusive: false,
    },
    filterClass: 'filterClass',
    filterDescription: 'filterDescription',
    filterSynonyms: ['filterSynonyms'],
    filterType: 'filterType',
    numericEqualityFilter: {
      aggregation: 'aggregation',
      constant: {
        constantType: 'constantType',
        singularConstant: 'singularConstant',
      },
    },
    numericRangeFilter: {
      aggregation: 'aggregation',
      constant: {
        constantType: 'constantType',
        rangeConstant: {
          maximum: 'maximum',
          minimum: 'minimum',
        },
      },
      inclusive: false,
    },
    relativeDateFilter: {
      constant: {
        constantType: 'constantType',
        singularConstant: 'singularConstant',
      },
      relativeDateFilterFunction: 'relativeDateFilterFunction',
      timeGranularity: 'timeGranularity',
    },
  }],
  namedEntities: [{
    entityName: 'entityName',

    // the properties below are optional
    definition: [{
      fieldName: 'fieldName',
      metric: {
        aggregation: 'aggregation',
        aggregationFunctionParameters: {
          aggregationFunctionParametersKey: 'aggregationFunctionParameters',
        },
      },
      propertyName: 'propertyName',
      propertyRole: 'propertyRole',
      propertyUsage: 'propertyUsage',
    }],
    entityDescription: 'entityDescription',
    entitySynonyms: ['entitySynonyms'],
    semanticEntityType: {
      subTypeName: 'subTypeName',
      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

dataset_metadata_property = quicksight.CfnTopic.DatasetMetadataProperty(
    dataset_arn="datasetArn",

    # the properties below are optional
    calculated_fields=[quicksight.CfnTopic.TopicCalculatedFieldProperty(
        calculated_field_name="calculatedFieldName",
        expression="expression",

        # the properties below are optional
        aggregation="aggregation",
        allowed_aggregations=["allowedAggregations"],
        calculated_field_description="calculatedFieldDescription",
        calculated_field_synonyms=["calculatedFieldSynonyms"],
        cell_value_synonyms=[quicksight.CfnTopic.CellValueSynonymProperty(
            cell_value="cellValue",
            synonyms=["synonyms"]
        )],
        column_data_role="columnDataRole",
        comparative_order=quicksight.CfnTopic.ComparativeOrderProperty(
            specifed_order=["specifedOrder"],
            treat_undefined_specified_values="treatUndefinedSpecifiedValues",
            use_ordering="useOrdering"
        ),
        default_formatting=quicksight.CfnTopic.DefaultFormattingProperty(
            display_format="displayFormat",
            display_format_options=quicksight.CfnTopic.DisplayFormatOptionsProperty(
                blank_cell_format="blankCellFormat",
                currency_symbol="currencySymbol",
                date_format="dateFormat",
                decimal_separator="decimalSeparator",
                fraction_digits=123,
                grouping_separator="groupingSeparator",
                negative_format=quicksight.CfnTopic.NegativeFormatProperty(
                    prefix="prefix",
                    suffix="suffix"
                ),
                prefix="prefix",
                suffix="suffix",
                unit_scaler="unitScaler",
                use_blank_cell_format=False,
                use_grouping=False
            )
        ),
        disable_indexing=False,
        is_included_in_topic=False,
        never_aggregate_in_filter=False,
        non_additive=False,
        not_allowed_aggregations=["notAllowedAggregations"],
        semantic_type=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"
            }
        ),
        time_granularity="timeGranularity"
    )],
    columns=[quicksight.CfnTopic.TopicColumnProperty(
        column_name="columnName",

        # the properties below are optional
        aggregation="aggregation",
        allowed_aggregations=["allowedAggregations"],
        cell_value_synonyms=[quicksight.CfnTopic.CellValueSynonymProperty(
            cell_value="cellValue",
            synonyms=["synonyms"]
        )],
        column_data_role="columnDataRole",
        column_description="columnDescription",
        column_friendly_name="columnFriendlyName",
        column_synonyms=["columnSynonyms"],
        comparative_order=quicksight.CfnTopic.ComparativeOrderProperty(
            specifed_order=["specifedOrder"],
            treat_undefined_specified_values="treatUndefinedSpecifiedValues",
            use_ordering="useOrdering"
        ),
        default_formatting=quicksight.CfnTopic.DefaultFormattingProperty(
            display_format="displayFormat",
            display_format_options=quicksight.CfnTopic.DisplayFormatOptionsProperty(
                blank_cell_format="blankCellFormat",
                currency_symbol="currencySymbol",
                date_format="dateFormat",
                decimal_separator="decimalSeparator",
                fraction_digits=123,
                grouping_separator="groupingSeparator",
                negative_format=quicksight.CfnTopic.NegativeFormatProperty(
                    prefix="prefix",
                    suffix="suffix"
                ),
                prefix="prefix",
                suffix="suffix",
                unit_scaler="unitScaler",
                use_blank_cell_format=False,
                use_grouping=False
            )
        ),
        disable_indexing=False,
        is_included_in_topic=False,
        never_aggregate_in_filter=False,
        non_additive=False,
        not_allowed_aggregations=["notAllowedAggregations"],
        semantic_type=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"
            }
        ),
        time_granularity="timeGranularity"
    )],
    data_aggregation=quicksight.CfnTopic.DataAggregationProperty(
        dataset_row_date_granularity="datasetRowDateGranularity",
        default_date_column_name="defaultDateColumnName"
    ),
    dataset_description="datasetDescription",
    dataset_name="datasetName",
    filters=[quicksight.CfnTopic.TopicFilterProperty(
        filter_name="filterName",
        operand_field_name="operandFieldName",

        # the properties below are optional
        category_filter=quicksight.CfnTopic.TopicCategoryFilterProperty(
            category_filter_function="categoryFilterFunction",
            category_filter_type="categoryFilterType",
            constant=quicksight.CfnTopic.TopicCategoryFilterConstantProperty(
                collective_constant=quicksight.CfnTopic.CollectiveConstantProperty(
                    value_list=["valueList"]
                ),
                constant_type="constantType",
                singular_constant="singularConstant"
            ),
            inverse=False
        ),
        date_range_filter=quicksight.CfnTopic.TopicDateRangeFilterProperty(
            constant=quicksight.CfnTopic.TopicRangeFilterConstantProperty(
                constant_type="constantType",
                range_constant=quicksight.CfnTopic.RangeConstantProperty(
                    maximum="maximum",
                    minimum="minimum"
                )
            ),
            inclusive=False
        ),
        filter_class="filterClass",
        filter_description="filterDescription",
        filter_synonyms=["filterSynonyms"],
        filter_type="filterType",
        numeric_equality_filter=quicksight.CfnTopic.TopicNumericEqualityFilterProperty(
            aggregation="aggregation",
            constant=quicksight.CfnTopic.TopicSingularFilterConstantProperty(
                constant_type="constantType",
                singular_constant="singularConstant"
            )
        ),
        numeric_range_filter=quicksight.CfnTopic.TopicNumericRangeFilterProperty(
            aggregation="aggregation",
            constant=quicksight.CfnTopic.TopicRangeFilterConstantProperty(
                constant_type="constantType",
                range_constant=quicksight.CfnTopic.RangeConstantProperty(
                    maximum="maximum",
                    minimum="minimum"
                )
            ),
            inclusive=False
        ),
        relative_date_filter=quicksight.CfnTopic.TopicRelativeDateFilterProperty(
            constant=quicksight.CfnTopic.TopicSingularFilterConstantProperty(
                constant_type="constantType",
                singular_constant="singularConstant"
            ),
            relative_date_filter_function="relativeDateFilterFunction",
            time_granularity="timeGranularity"
        )
    )],
    named_entities=[quicksight.CfnTopic.TopicNamedEntityProperty(
        entity_name="entityName",

        # the properties below are optional
        definition=[quicksight.CfnTopic.NamedEntityDefinitionProperty(
            field_name="fieldName",
            metric=quicksight.CfnTopic.NamedEntityDefinitionMetricProperty(
                aggregation="aggregation",
                aggregation_function_parameters={
                    "aggregation_function_parameters_key": "aggregationFunctionParameters"
                }
            ),
            property_name="propertyName",
            property_role="propertyRole",
            property_usage="propertyUsage"
        )],
        entity_description="entityDescription",
        entity_synonyms=["entitySynonyms"],
        semantic_entity_type=quicksight.CfnTopic.SemanticEntityTypeProperty(
            sub_type_name="subTypeName",
            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.*;

DatasetMetadataProperty datasetMetadataProperty = DatasetMetadataProperty.builder()
        .datasetArn("datasetArn")

        // the properties below are optional
        .calculatedFields(List.of(TopicCalculatedFieldProperty.builder()
                .calculatedFieldName("calculatedFieldName")
                .expression("expression")

                // the properties below are optional
                .aggregation("aggregation")
                .allowedAggregations(List.of("allowedAggregations"))
                .calculatedFieldDescription("calculatedFieldDescription")
                .calculatedFieldSynonyms(List.of("calculatedFieldSynonyms"))
                .cellValueSynonyms(List.of(CellValueSynonymProperty.builder()
                        .cellValue("cellValue")
                        .synonyms(List.of("synonyms"))
                        .build()))
                .columnDataRole("columnDataRole")
                .comparativeOrder(ComparativeOrderProperty.builder()
                        .specifedOrder(List.of("specifedOrder"))
                        .treatUndefinedSpecifiedValues("treatUndefinedSpecifiedValues")
                        .useOrdering("useOrdering")
                        .build())
                .defaultFormatting(DefaultFormattingProperty.builder()
                        .displayFormat("displayFormat")
                        .displayFormatOptions(DisplayFormatOptionsProperty.builder()
                                .blankCellFormat("blankCellFormat")
                                .currencySymbol("currencySymbol")
                                .dateFormat("dateFormat")
                                .decimalSeparator("decimalSeparator")
                                .fractionDigits(123)
                                .groupingSeparator("groupingSeparator")
                                .negativeFormat(NegativeFormatProperty.builder()
                                        .prefix("prefix")
                                        .suffix("suffix")
                                        .build())
                                .prefix("prefix")
                                .suffix("suffix")
                                .unitScaler("unitScaler")
                                .useBlankCellFormat(false)
                                .useGrouping(false)
                                .build())
                        .build())
                .disableIndexing(false)
                .isIncludedInTopic(false)
                .neverAggregateInFilter(false)
                .nonAdditive(false)
                .notAllowedAggregations(List.of("notAllowedAggregations"))
                .semanticType(SemanticTypeProperty.builder()
                        .falseyCellValue("falseyCellValue")
                        .falseyCellValueSynonyms(List.of("falseyCellValueSynonyms"))
                        .subTypeName("subTypeName")
                        .truthyCellValue("truthyCellValue")
                        .truthyCellValueSynonyms(List.of("truthyCellValueSynonyms"))
                        .typeName("typeName")
                        .typeParameters(Map.of(
                                "typeParametersKey", "typeParameters"))
                        .build())
                .timeGranularity("timeGranularity")
                .build()))
        .columns(List.of(TopicColumnProperty.builder()
                .columnName("columnName")

                // the properties below are optional
                .aggregation("aggregation")
                .allowedAggregations(List.of("allowedAggregations"))
                .cellValueSynonyms(List.of(CellValueSynonymProperty.builder()
                        .cellValue("cellValue")
                        .synonyms(List.of("synonyms"))
                        .build()))
                .columnDataRole("columnDataRole")
                .columnDescription("columnDescription")
                .columnFriendlyName("columnFriendlyName")
                .columnSynonyms(List.of("columnSynonyms"))
                .comparativeOrder(ComparativeOrderProperty.builder()
                        .specifedOrder(List.of("specifedOrder"))
                        .treatUndefinedSpecifiedValues("treatUndefinedSpecifiedValues")
                        .useOrdering("useOrdering")
                        .build())
                .defaultFormatting(DefaultFormattingProperty.builder()
                        .displayFormat("displayFormat")
                        .displayFormatOptions(DisplayFormatOptionsProperty.builder()
                                .blankCellFormat("blankCellFormat")
                                .currencySymbol("currencySymbol")
                                .dateFormat("dateFormat")
                                .decimalSeparator("decimalSeparator")
                                .fractionDigits(123)
                                .groupingSeparator("groupingSeparator")
                                .negativeFormat(NegativeFormatProperty.builder()
                                        .prefix("prefix")
                                        .suffix("suffix")
                                        .build())
                                .prefix("prefix")
                                .suffix("suffix")
                                .unitScaler("unitScaler")
                                .useBlankCellFormat(false)
                                .useGrouping(false)
                                .build())
                        .build())
                .disableIndexing(false)
                .isIncludedInTopic(false)
                .neverAggregateInFilter(false)
                .nonAdditive(false)
                .notAllowedAggregations(List.of("notAllowedAggregations"))
                .semanticType(SemanticTypeProperty.builder()
                        .falseyCellValue("falseyCellValue")
                        .falseyCellValueSynonyms(List.of("falseyCellValueSynonyms"))
                        .subTypeName("subTypeName")
                        .truthyCellValue("truthyCellValue")
                        .truthyCellValueSynonyms(List.of("truthyCellValueSynonyms"))
                        .typeName("typeName")
                        .typeParameters(Map.of(
                                "typeParametersKey", "typeParameters"))
                        .build())
                .timeGranularity("timeGranularity")
                .build()))
        .dataAggregation(DataAggregationProperty.builder()
                .datasetRowDateGranularity("datasetRowDateGranularity")
                .defaultDateColumnName("defaultDateColumnName")
                .build())
        .datasetDescription("datasetDescription")
        .datasetName("datasetName")
        .filters(List.of(TopicFilterProperty.builder()
                .filterName("filterName")
                .operandFieldName("operandFieldName")

                // the properties below are optional
                .categoryFilter(TopicCategoryFilterProperty.builder()
                        .categoryFilterFunction("categoryFilterFunction")
                        .categoryFilterType("categoryFilterType")
                        .constant(TopicCategoryFilterConstantProperty.builder()
                                .collectiveConstant(CollectiveConstantProperty.builder()
                                        .valueList(List.of("valueList"))
                                        .build())
                                .constantType("constantType")
                                .singularConstant("singularConstant")
                                .build())
                        .inverse(false)
                        .build())
                .dateRangeFilter(TopicDateRangeFilterProperty.builder()
                        .constant(TopicRangeFilterConstantProperty.builder()
                                .constantType("constantType")
                                .rangeConstant(RangeConstantProperty.builder()
                                        .maximum("maximum")
                                        .minimum("minimum")
                                        .build())
                                .build())
                        .inclusive(false)
                        .build())
                .filterClass("filterClass")
                .filterDescription("filterDescription")
                .filterSynonyms(List.of("filterSynonyms"))
                .filterType("filterType")
                .numericEqualityFilter(TopicNumericEqualityFilterProperty.builder()
                        .aggregation("aggregation")
                        .constant(TopicSingularFilterConstantProperty.builder()
                                .constantType("constantType")
                                .singularConstant("singularConstant")
                                .build())
                        .build())
                .numericRangeFilter(TopicNumericRangeFilterProperty.builder()
                        .aggregation("aggregation")
                        .constant(TopicRangeFilterConstantProperty.builder()
                                .constantType("constantType")
                                .rangeConstant(RangeConstantProperty.builder()
                                        .maximum("maximum")
                                        .minimum("minimum")
                                        .build())
                                .build())
                        .inclusive(false)
                        .build())
                .relativeDateFilter(TopicRelativeDateFilterProperty.builder()
                        .constant(TopicSingularFilterConstantProperty.builder()
                                .constantType("constantType")
                                .singularConstant("singularConstant")
                                .build())
                        .relativeDateFilterFunction("relativeDateFilterFunction")
                        .timeGranularity("timeGranularity")
                        .build())
                .build()))
        .namedEntities(List.of(TopicNamedEntityProperty.builder()
                .entityName("entityName")

                // the properties below are optional
                .definition(List.of(NamedEntityDefinitionProperty.builder()
                        .fieldName("fieldName")
                        .metric(NamedEntityDefinitionMetricProperty.builder()
                                .aggregation("aggregation")
                                .aggregationFunctionParameters(Map.of(
                                        "aggregationFunctionParametersKey", "aggregationFunctionParameters"))
                                .build())
                        .propertyName("propertyName")
                        .propertyRole("propertyRole")
                        .propertyUsage("propertyUsage")
                        .build()))
                .entityDescription("entityDescription")
                .entitySynonyms(List.of("entitySynonyms"))
                .semanticEntityType(SemanticEntityTypeProperty.builder()
                        .subTypeName("subTypeName")
                        .typeName("typeName")
                        .typeParameters(Map.of(
                                "typeParametersKey", "typeParameters"))
                        .build())
                .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 datasetMetadataProperty = new DatasetMetadataProperty {
    DatasetArn = "datasetArn",

    // the properties below are optional
    CalculatedFields = new [] { new TopicCalculatedFieldProperty {
        CalculatedFieldName = "calculatedFieldName",
        Expression = "expression",

        // the properties below are optional
        Aggregation = "aggregation",
        AllowedAggregations = new [] { "allowedAggregations" },
        CalculatedFieldDescription = "calculatedFieldDescription",
        CalculatedFieldSynonyms = new [] { "calculatedFieldSynonyms" },
        CellValueSynonyms = new [] { new CellValueSynonymProperty {
            CellValue = "cellValue",
            Synonyms = new [] { "synonyms" }
        } },
        ColumnDataRole = "columnDataRole",
        ComparativeOrder = new ComparativeOrderProperty {
            SpecifedOrder = new [] { "specifedOrder" },
            TreatUndefinedSpecifiedValues = "treatUndefinedSpecifiedValues",
            UseOrdering = "useOrdering"
        },
        DefaultFormatting = new DefaultFormattingProperty {
            DisplayFormat = "displayFormat",
            DisplayFormatOptions = new DisplayFormatOptionsProperty {
                BlankCellFormat = "blankCellFormat",
                CurrencySymbol = "currencySymbol",
                DateFormat = "dateFormat",
                DecimalSeparator = "decimalSeparator",
                FractionDigits = 123,
                GroupingSeparator = "groupingSeparator",
                NegativeFormat = new NegativeFormatProperty {
                    Prefix = "prefix",
                    Suffix = "suffix"
                },
                Prefix = "prefix",
                Suffix = "suffix",
                UnitScaler = "unitScaler",
                UseBlankCellFormat = false,
                UseGrouping = false
            }
        },
        DisableIndexing = false,
        IsIncludedInTopic = false,
        NeverAggregateInFilter = false,
        NonAdditive = false,
        NotAllowedAggregations = new [] { "notAllowedAggregations" },
        SemanticType = new SemanticTypeProperty {
            FalseyCellValue = "falseyCellValue",
            FalseyCellValueSynonyms = new [] { "falseyCellValueSynonyms" },
            SubTypeName = "subTypeName",
            TruthyCellValue = "truthyCellValue",
            TruthyCellValueSynonyms = new [] { "truthyCellValueSynonyms" },
            TypeName = "typeName",
            TypeParameters = new Dictionary<string, string> {
                { "typeParametersKey", "typeParameters" }
            }
        },
        TimeGranularity = "timeGranularity"
    } },
    Columns = new [] { new TopicColumnProperty {
        ColumnName = "columnName",

        // the properties below are optional
        Aggregation = "aggregation",
        AllowedAggregations = new [] { "allowedAggregations" },
        CellValueSynonyms = new [] { new CellValueSynonymProperty {
            CellValue = "cellValue",
            Synonyms = new [] { "synonyms" }
        } },
        ColumnDataRole = "columnDataRole",
        ColumnDescription = "columnDescription",
        ColumnFriendlyName = "columnFriendlyName",
        ColumnSynonyms = new [] { "columnSynonyms" },
        ComparativeOrder = new ComparativeOrderProperty {
            SpecifedOrder = new [] { "specifedOrder" },
            TreatUndefinedSpecifiedValues = "treatUndefinedSpecifiedValues",
            UseOrdering = "useOrdering"
        },
        DefaultFormatting = new DefaultFormattingProperty {
            DisplayFormat = "displayFormat",
            DisplayFormatOptions = new DisplayFormatOptionsProperty {
                BlankCellFormat = "blankCellFormat",
                CurrencySymbol = "currencySymbol",
                DateFormat = "dateFormat",
                DecimalSeparator = "decimalSeparator",
                FractionDigits = 123,
                GroupingSeparator = "groupingSeparator",
                NegativeFormat = new NegativeFormatProperty {
                    Prefix = "prefix",
                    Suffix = "suffix"
                },
                Prefix = "prefix",
                Suffix = "suffix",
                UnitScaler = "unitScaler",
                UseBlankCellFormat = false,
                UseGrouping = false
            }
        },
        DisableIndexing = false,
        IsIncludedInTopic = false,
        NeverAggregateInFilter = false,
        NonAdditive = false,
        NotAllowedAggregations = new [] { "notAllowedAggregations" },
        SemanticType = new SemanticTypeProperty {
            FalseyCellValue = "falseyCellValue",
            FalseyCellValueSynonyms = new [] { "falseyCellValueSynonyms" },
            SubTypeName = "subTypeName",
            TruthyCellValue = "truthyCellValue",
            TruthyCellValueSynonyms = new [] { "truthyCellValueSynonyms" },
            TypeName = "typeName",
            TypeParameters = new Dictionary<string, string> {
                { "typeParametersKey", "typeParameters" }
            }
        },
        TimeGranularity = "timeGranularity"
    } },
    DataAggregation = new DataAggregationProperty {
        DatasetRowDateGranularity = "datasetRowDateGranularity",
        DefaultDateColumnName = "defaultDateColumnName"
    },
    DatasetDescription = "datasetDescription",
    DatasetName = "datasetName",
    Filters = new [] { new TopicFilterProperty {
        FilterName = "filterName",
        OperandFieldName = "operandFieldName",

        // the properties below are optional
        CategoryFilter = new TopicCategoryFilterProperty {
            CategoryFilterFunction = "categoryFilterFunction",
            CategoryFilterType = "categoryFilterType",
            Constant = new TopicCategoryFilterConstantProperty {
                CollectiveConstant = new CollectiveConstantProperty {
                    ValueList = new [] { "valueList" }
                },
                ConstantType = "constantType",
                SingularConstant = "singularConstant"
            },
            Inverse = false
        },
        DateRangeFilter = new TopicDateRangeFilterProperty {
            Constant = new TopicRangeFilterConstantProperty {
                ConstantType = "constantType",
                RangeConstant = new RangeConstantProperty {
                    Maximum = "maximum",
                    Minimum = "minimum"
                }
            },
            Inclusive = false
        },
        FilterClass = "filterClass",
        FilterDescription = "filterDescription",
        FilterSynonyms = new [] { "filterSynonyms" },
        FilterType = "filterType",
        NumericEqualityFilter = new TopicNumericEqualityFilterProperty {
            Aggregation = "aggregation",
            Constant = new TopicSingularFilterConstantProperty {
                ConstantType = "constantType",
                SingularConstant = "singularConstant"
            }
        },
        NumericRangeFilter = new TopicNumericRangeFilterProperty {
            Aggregation = "aggregation",
            Constant = new TopicRangeFilterConstantProperty {
                ConstantType = "constantType",
                RangeConstant = new RangeConstantProperty {
                    Maximum = "maximum",
                    Minimum = "minimum"
                }
            },
            Inclusive = false
        },
        RelativeDateFilter = new TopicRelativeDateFilterProperty {
            Constant = new TopicSingularFilterConstantProperty {
                ConstantType = "constantType",
                SingularConstant = "singularConstant"
            },
            RelativeDateFilterFunction = "relativeDateFilterFunction",
            TimeGranularity = "timeGranularity"
        }
    } },
    NamedEntities = new [] { new TopicNamedEntityProperty {
        EntityName = "entityName",

        // the properties below are optional
        Definition = new [] { new NamedEntityDefinitionProperty {
            FieldName = "fieldName",
            Metric = new NamedEntityDefinitionMetricProperty {
                Aggregation = "aggregation",
                AggregationFunctionParameters = new Dictionary<string, string> {
                    { "aggregationFunctionParametersKey", "aggregationFunctionParameters" }
                }
            },
            PropertyName = "propertyName",
            PropertyRole = "propertyRole",
            PropertyUsage = "propertyUsage"
        } },
        EntityDescription = "entityDescription",
        EntitySynonyms = new [] { "entitySynonyms" },
        SemanticEntityType = new SemanticEntityTypeProperty {
            SubTypeName = "subTypeName",
            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"

datasetMetadataProperty := &DatasetMetadataProperty{
	DatasetArn: jsii.String("datasetArn"),

	// the properties below are optional
	CalculatedFields: []interface{}{
		&TopicCalculatedFieldProperty{
			CalculatedFieldName: jsii.String("calculatedFieldName"),
			Expression: jsii.String("expression"),

			// the properties below are optional
			Aggregation: jsii.String("aggregation"),
			AllowedAggregations: []*string{
				jsii.String("allowedAggregations"),
			},
			CalculatedFieldDescription: jsii.String("calculatedFieldDescription"),
			CalculatedFieldSynonyms: []*string{
				jsii.String("calculatedFieldSynonyms"),
			},
			CellValueSynonyms: []interface{}{
				&CellValueSynonymProperty{
					CellValue: jsii.String("cellValue"),
					Synonyms: []*string{
						jsii.String("synonyms"),
					},
				},
			},
			ColumnDataRole: jsii.String("columnDataRole"),
			ComparativeOrder: &ComparativeOrderProperty{
				SpecifedOrder: []*string{
					jsii.String("specifedOrder"),
				},
				TreatUndefinedSpecifiedValues: jsii.String("treatUndefinedSpecifiedValues"),
				UseOrdering: jsii.String("useOrdering"),
			},
			DefaultFormatting: &DefaultFormattingProperty{
				DisplayFormat: jsii.String("displayFormat"),
				DisplayFormatOptions: &DisplayFormatOptionsProperty{
					BlankCellFormat: jsii.String("blankCellFormat"),
					CurrencySymbol: jsii.String("currencySymbol"),
					DateFormat: jsii.String("dateFormat"),
					DecimalSeparator: jsii.String("decimalSeparator"),
					FractionDigits: jsii.Number(123),
					GroupingSeparator: jsii.String("groupingSeparator"),
					NegativeFormat: &NegativeFormatProperty{
						Prefix: jsii.String("prefix"),
						Suffix: jsii.String("suffix"),
					},
					Prefix: jsii.String("prefix"),
					Suffix: jsii.String("suffix"),
					UnitScaler: jsii.String("unitScaler"),
					UseBlankCellFormat: jsii.Boolean(false),
					UseGrouping: jsii.Boolean(false),
				},
			},
			DisableIndexing: jsii.Boolean(false),
			IsIncludedInTopic: jsii.Boolean(false),
			NeverAggregateInFilter: jsii.Boolean(false),
			NonAdditive: jsii.Boolean(false),
			NotAllowedAggregations: []*string{
				jsii.String("notAllowedAggregations"),
			},
			SemanticType: &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"),
				},
			},
			TimeGranularity: jsii.String("timeGranularity"),
		},
	},
	Columns: []interface{}{
		&TopicColumnProperty{
			ColumnName: jsii.String("columnName"),

			// the properties below are optional
			Aggregation: jsii.String("aggregation"),
			AllowedAggregations: []*string{
				jsii.String("allowedAggregations"),
			},
			CellValueSynonyms: []interface{}{
				&CellValueSynonymProperty{
					CellValue: jsii.String("cellValue"),
					Synonyms: []*string{
						jsii.String("synonyms"),
					},
				},
			},
			ColumnDataRole: jsii.String("columnDataRole"),
			ColumnDescription: jsii.String("columnDescription"),
			ColumnFriendlyName: jsii.String("columnFriendlyName"),
			ColumnSynonyms: []*string{
				jsii.String("columnSynonyms"),
			},
			ComparativeOrder: &ComparativeOrderProperty{
				SpecifedOrder: []*string{
					jsii.String("specifedOrder"),
				},
				TreatUndefinedSpecifiedValues: jsii.String("treatUndefinedSpecifiedValues"),
				UseOrdering: jsii.String("useOrdering"),
			},
			DefaultFormatting: &DefaultFormattingProperty{
				DisplayFormat: jsii.String("displayFormat"),
				DisplayFormatOptions: &DisplayFormatOptionsProperty{
					BlankCellFormat: jsii.String("blankCellFormat"),
					CurrencySymbol: jsii.String("currencySymbol"),
					DateFormat: jsii.String("dateFormat"),
					DecimalSeparator: jsii.String("decimalSeparator"),
					FractionDigits: jsii.Number(123),
					GroupingSeparator: jsii.String("groupingSeparator"),
					NegativeFormat: &NegativeFormatProperty{
						Prefix: jsii.String("prefix"),
						Suffix: jsii.String("suffix"),
					},
					Prefix: jsii.String("prefix"),
					Suffix: jsii.String("suffix"),
					UnitScaler: jsii.String("unitScaler"),
					UseBlankCellFormat: jsii.Boolean(false),
					UseGrouping: jsii.Boolean(false),
				},
			},
			DisableIndexing: jsii.Boolean(false),
			IsIncludedInTopic: jsii.Boolean(false),
			NeverAggregateInFilter: jsii.Boolean(false),
			NonAdditive: jsii.Boolean(false),
			NotAllowedAggregations: []*string{
				jsii.String("notAllowedAggregations"),
			},
			SemanticType: &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"),
				},
			},
			TimeGranularity: jsii.String("timeGranularity"),
		},
	},
	DataAggregation: &DataAggregationProperty{
		DatasetRowDateGranularity: jsii.String("datasetRowDateGranularity"),
		DefaultDateColumnName: jsii.String("defaultDateColumnName"),
	},
	DatasetDescription: jsii.String("datasetDescription"),
	DatasetName: jsii.String("datasetName"),
	Filters: []interface{}{
		&TopicFilterProperty{
			FilterName: jsii.String("filterName"),
			OperandFieldName: jsii.String("operandFieldName"),

			// the properties below are optional
			CategoryFilter: &TopicCategoryFilterProperty{
				CategoryFilterFunction: jsii.String("categoryFilterFunction"),
				CategoryFilterType: jsii.String("categoryFilterType"),
				Constant: &TopicCategoryFilterConstantProperty{
					CollectiveConstant: &CollectiveConstantProperty{
						ValueList: []*string{
							jsii.String("valueList"),
						},
					},
					ConstantType: jsii.String("constantType"),
					SingularConstant: jsii.String("singularConstant"),
				},
				Inverse: jsii.Boolean(false),
			},
			DateRangeFilter: &TopicDateRangeFilterProperty{
				Constant: &TopicRangeFilterConstantProperty{
					ConstantType: jsii.String("constantType"),
					RangeConstant: &RangeConstantProperty{
						Maximum: jsii.String("maximum"),
						Minimum: jsii.String("minimum"),
					},
				},
				Inclusive: jsii.Boolean(false),
			},
			FilterClass: jsii.String("filterClass"),
			FilterDescription: jsii.String("filterDescription"),
			FilterSynonyms: []*string{
				jsii.String("filterSynonyms"),
			},
			FilterType: jsii.String("filterType"),
			NumericEqualityFilter: &TopicNumericEqualityFilterProperty{
				Aggregation: jsii.String("aggregation"),
				Constant: &TopicSingularFilterConstantProperty{
					ConstantType: jsii.String("constantType"),
					SingularConstant: jsii.String("singularConstant"),
				},
			},
			NumericRangeFilter: &TopicNumericRangeFilterProperty{
				Aggregation: jsii.String("aggregation"),
				Constant: &TopicRangeFilterConstantProperty{
					ConstantType: jsii.String("constantType"),
					RangeConstant: &RangeConstantProperty{
						Maximum: jsii.String("maximum"),
						Minimum: jsii.String("minimum"),
					},
				},
				Inclusive: jsii.Boolean(false),
			},
			RelativeDateFilter: &TopicRelativeDateFilterProperty{
				Constant: &TopicSingularFilterConstantProperty{
					ConstantType: jsii.String("constantType"),
					SingularConstant: jsii.String("singularConstant"),
				},
				RelativeDateFilterFunction: jsii.String("relativeDateFilterFunction"),
				TimeGranularity: jsii.String("timeGranularity"),
			},
		},
	},
	NamedEntities: []interface{}{
		&TopicNamedEntityProperty{
			EntityName: jsii.String("entityName"),

			// the properties below are optional
			Definition: []interface{}{
				&NamedEntityDefinitionProperty{
					FieldName: jsii.String("fieldName"),
					Metric: &NamedEntityDefinitionMetricProperty{
						Aggregation: jsii.String("aggregation"),
						AggregationFunctionParameters: map[string]*string{
							"aggregationFunctionParametersKey": jsii.String("aggregationFunctionParameters"),
						},
					},
					PropertyName: jsii.String("propertyName"),
					PropertyRole: jsii.String("propertyRole"),
					PropertyUsage: jsii.String("propertyUsage"),
				},
			},
			EntityDescription: jsii.String("entityDescription"),
			EntitySynonyms: []*string{
				jsii.String("entitySynonyms"),
			},
			SemanticEntityType: &SemanticEntityTypeProperty{
				SubTypeName: jsii.String("subTypeName"),
				TypeName: jsii.String("typeName"),
				TypeParameters: map[string]*string{
					"typeParametersKey": jsii.String("typeParameters"),
				},
			},
		},
	},
}

Properties ​

calculatedFieldsoptionalIResolvable | IResolvable | CfnTopic.TopicCalculatedFieldProperty[]calculated_fieldsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, TopicCalculatedFieldProperty]]]calculatedFieldsoptionalIResolvableCalculatedFieldsoptionalIResolvableCalculatedFieldsoptionalinterface{} #
The list of calculated field definitions.
columnsoptionalIResolvable | IResolvable | CfnTopic.TopicColumnProperty[]columnsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, TopicColumnProperty]]]columnsoptionalIResolvableColumnsoptionalIResolvableColumnsoptionalinterface{} #
The list of column definitions.
dataAggregationoptionalIResolvable | CfnTopic.DataAggregationPropertydata_aggregationoptionaltyping.Union[IResolvable, DataAggregationProperty]dataAggregationoptionalIResolvableDataAggregationoptionalIResolvableDataAggregationoptionalinterface{} #
The definition of a data aggregation.
datasetArnstringdataset_arnstrdatasetArnStringDatasetArnstringDatasetArn*string required #
The Amazon Resource Name (ARN) of the dataset.
datasetDescriptionoptionalstringdataset_descriptionoptionalstrdatasetDescriptionoptionalStringDatasetDescriptionoptionalstringDatasetDescriptionoptional*string #
The description of the dataset.
datasetNameoptionalstringdataset_nameoptionalstrdatasetNameoptionalStringDatasetNameoptionalstringDatasetNameoptional*string #
The name of the dataset.
filtersoptionalIResolvable | IResolvable | CfnTopic.TopicFilterProperty[]filtersoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, TopicFilterProperty]]]filtersoptionalIResolvableFiltersoptionalIResolvableFiltersoptionalinterface{} #
The list of filter definitions.
namedEntitiesoptionalIResolvable | IResolvable | CfnTopic.TopicNamedEntityProperty[]named_entitiesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, TopicNamedEntityProperty]]]namedEntitiesoptionalIResolvableNamedEntitiesoptionalIResolvableNamedEntitiesoptionalinterface{} #
The list of named entities definitions.