AWS Chatbot Slot Type
This page shows how to write Terraform for Chatbot Slot Type and write them securely.
aws_lex_slot_type (Terraform)
The Slot Type in Chatbot can be configured in Terraform with the resource name aws_lex_slot_type
. The following sections describe 5 examples of how to use the resource and its parameters.
Example Usage from GitHub
lex-slot-types.tf#L1
resource "aws_lex_slot_type" "doctor_specialties" {
description = "Doctor Specialties"
enumeration_value {
synonyms = ["Brain Doctor"]
slot-types.tf#L1
resource "aws_lex_slot_type" "pizza_toppings" {
create_version = true
description = "Toppings for pizza"
name = "PizzaToppings"
enumeration_value {
synonyms = [
slot_types.tf#L1
resource "aws_lex_slot_type" "car_types" {
description = "Enumeration representing possible types of cars available for rental"
enumeration_value {
value = "standard"
}
slot_types.tf#L1
resource "aws_lex_slot_type" "car_types" {
description = "Enumeration representing possible types of cars available for rental"
enumeration_value {
value = "standard"
}
lex_slot_type.tf#L1
resource "aws_lex_slot_type" "artist" {
create_version = true
description = "Types of flowers to order"
enumeration_value {
synonyms = [
Parameters
-
checksum
optional computed - string -
create_version
optional - bool -
created_date
optional computed - string -
description
optional - string -
id
optional computed - string -
last_updated_date
optional computed - string -
name
required - string -
value_selection_strategy
optional - string -
version
optional computed - string -
enumeration_value
set block -
timeouts
single block
Explanation in Terraform Registry
Provides an Amazon Lex Slot Type resource. For more information see Amazon Lex: How It Works
CloudFormation Example
CloudFormation code does not have the related resource.
Frequently asked questions
What is AWS Chatbot Slot Type?
AWS Chatbot Slot Type is a resource for Chatbot of Amazon Web Service. Settings can be wrote in Terraform.
Where can I find the example code for the AWS Chatbot Slot Type?
For Terraform, the mauricepruna/chatbot, tpwidman-vf/restaurant-connect and ramit21/Lex-Chatbot source code examples are useful. See the Terraform Example section for further details.