import * as core from "@terrascript/core"; export interface EnumerationValueArgs extends core.SchemaArgs { synonyms?: core.Array | core.ArrayOut; value: string | core.StringOut; } export class EnumerationValue extends core.Schema { @core.attr(String, { kind: "array" }) public synonyms?: core.Array | core.ArrayOut; @core.attr(String) public value!: string | core.StringOut; } export interface SlotTypeArgs extends core.ResourceArgs { /** * (Optional) */ createVersion?: boolean | core.BooleanOut; /** * (Optional) A description of the slot type. Must be less than or equal to 200 characters in length. */ description?: string | core.StringOut; /** * (Required) A list of EnumerationValue objects that defines the values that */ enumerationValue: | core.Array | core.ArrayOut; /** * (Required) The name of the slot type. The name is not case sensitive. Must be less than or equal to * 100 characters in length. */ name: string | core.StringOut; /** * (Optional) Determines the slot resolution strategy that Amazon Lex */ valueSelectionStrategy?: string | core.StringOut; } export class SlotType extends core.Resource { /** * Checksum identifying the version of the slot type that was created. The checksum is */ @core.attr(String, { computed: true }) public checksum!: string | core.StringOut; /** * (Optional) */ @core.attr(Boolean) public createVersion?: boolean | core.BooleanOut; /** * The date when the slot type version was created. */ @core.attr(String, { computed: true }) public createdDate!: string | core.StringOut; /** * (Optional) A description of the slot type. Must be less than or equal to 200 characters in length. */ @core.attr(String) public description?: string | core.StringOut; /** * (Required) A list of EnumerationValue objects that defines the values that */ @core.attr(EnumerationValue, { kind: "array" }) public enumerationValue!: | core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The date when the `$LATEST` version of this slot type was updated. */ @core.attr(String, { computed: true }) public lastUpdatedDate!: string | core.StringOut; /** * (Required) The name of the slot type. The name is not case sensitive. Must be less than or equal to * 100 characters in length. */ @core.attr(String) public name!: string | core.StringOut; /** * (Optional) Determines the slot resolution strategy that Amazon Lex */ @core.attr(String) public valueSelectionStrategy?: string | core.StringOut; /** * The version of the slot type. */ @core.attr(String, { computed: true }) public version!: string | core.StringOut; constructor(name: string, args?: SlotTypeArgs) { super(name, "aws_lex_slot_type", args); } public override getNamespace(): string { return "aws_lex"; } }