Resource: aws_lex_bot_alias

Provides an Amazon Lex Bot Alias resource. For more information see Amazon Lex: How It Works

Example Usage

resource "aws_lex_bot_alias" "order_flowers_prod" {
  bot_name    = "OrderFlowers"
  bot_version = "1"
  description = "Production Version of the OrderFlowers Bot."
  name        = "OrderFlowersProd"
}

Argument Reference

This resource supports the following arguments:

conversation_logs

Contains information about conversation log settings.

log_settings

The settings for conversation logs.

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Timeouts

Configuration options:

Import

In Terraform v1.5.0 and later, use an import block to import bot aliases using an ID with the format bot_name:bot_alias_name. For example:

import {
  to = aws_lex_bot_alias.order_flowers_prod
  id = "OrderFlowers:OrderFlowersProd"
}

Using terraform import, import bot aliases using an ID with the format bot_name:bot_alias_name. For example:

% terraform import aws_lex_bot_alias.order_flowers_prod OrderFlowers:OrderFlowersProd