Skip to content
v2.275.0

TopicNamedEntityProperty Struct ​

A structure that represents a named entity.

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 topicNamedEntityProperty: quicksight.CfnTopic.TopicNamedEntityProperty = {
  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',
    },
  },
};

Properties ​

definitionoptionalIResolvable | IResolvable | CfnTopic.NamedEntityDefinitionProperty[]definitionoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, NamedEntityDefinitionProperty]]]definitionoptionalIResolvableDefinitionoptionalIResolvableDefinitionoptionalinterface{}#
The definition of a named entity.
entityDescriptionoptionalstringentity_descriptionoptionalstrentityDescriptionoptionalStringEntityDescriptionoptionalstringEntityDescriptionoptional*string#
The description of the named entity.
entityNamestringentity_namestrentityNameStringEntityNamestringEntityName*stringrequired#
The name of the named entity.
entitySynonymsoptionalstring[]entity_synonymsoptionaltyping.List[str]entitySynonymsoptionalList<String>EntitySynonymsoptionalstring[]EntitySynonymsoptional*[]*string#
The other names or aliases for the named entity.
semanticEntityTypeoptionalIResolvable | CfnTopic.SemanticEntityTypePropertysemantic_entity_typeoptionaltyping.Union[IResolvable, SemanticEntityTypeProperty]semanticEntityTypeoptionalIResolvableSemanticEntityTypeoptionalIResolvableSemanticEntityTypeoptionalinterface{}#
The type of named entity that a topic represents.