Skip to content

Data Source: awsLexSlotType

Provides details about a specific Amazon Lex Slot Type.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsLexSlotType.DataAwsLexSlotType(this, "flower_types", {
  name: "FlowerTypes",
  version: "1",
});

Argument Reference

The following arguments are supported:

  • name - (Required) Name of the slot type. The name is case sensitive.
  • version - (Optional) Version of the slot type.

Attributes Reference

The following attributes are exported.

  • checksum - Checksum identifying the version of the slot type that was created. The checksum is not included as an argument because the resource will add it automatically when updating the slot type.
  • createdDate - Date when the slot type version was created.
  • description - Description of the slot type.
  • enumerationValue - Set of EnumerationValue objects that defines the values that the slot type can take. Each value can have a set of synonyms, which are additional values that help train the machine learning model about the values that it resolves for a slot.
  • lastUpdatedDate - Date when the $LATEST version of this slot type was updated.
  • name - Name of the slot type. The name is not case sensitive.
  • valueSelectionStrategy - Determines the slot resolution strategy that Amazon Lex uses to return slot type values. ORIGINAL_VALUE returns the value entered by the user if the user value is similar to the slot value. TOP_RESOLUTION returns the first value in the resolution list if there is a resolution list for the slot, otherwise null is returned.
  • version - Version of the slot type.