1. Packages
  2. AWS
  3. API Docs
  4. lex
  5. BotAlias
AWS v6.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

aws.lex.BotAlias

Explore with Pulumi AI

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

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const orderFlowersProd = new aws.lex.BotAlias("order_flowers_prod", {
    botName: "OrderFlowers",
    botVersion: "1",
    description: "Production Version of the OrderFlowers Bot.",
    name: "OrderFlowersProd",
});
Copy
import pulumi
import pulumi_aws as aws

order_flowers_prod = aws.lex.BotAlias("order_flowers_prod",
    bot_name="OrderFlowers",
    bot_version="1",
    description="Production Version of the OrderFlowers Bot.",
    name="OrderFlowersProd")
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lex"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lex.NewBotAlias(ctx, "order_flowers_prod", &lex.BotAliasArgs{
			BotName:     pulumi.String("OrderFlowers"),
			BotVersion:  pulumi.String("1"),
			Description: pulumi.String("Production Version of the OrderFlowers Bot."),
			Name:        pulumi.String("OrderFlowersProd"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var orderFlowersProd = new Aws.Lex.BotAlias("order_flowers_prod", new()
    {
        BotName = "OrderFlowers",
        BotVersion = "1",
        Description = "Production Version of the OrderFlowers Bot.",
        Name = "OrderFlowersProd",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.lex.BotAlias;
import com.pulumi.aws.lex.BotAliasArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var orderFlowersProd = new BotAlias("orderFlowersProd", BotAliasArgs.builder()
            .botName("OrderFlowers")
            .botVersion("1")
            .description("Production Version of the OrderFlowers Bot.")
            .name("OrderFlowersProd")
            .build());

    }
}
Copy
resources:
  orderFlowersProd:
    type: aws:lex:BotAlias
    name: order_flowers_prod
    properties:
      botName: OrderFlowers
      botVersion: '1'
      description: Production Version of the OrderFlowers Bot.
      name: OrderFlowersProd
Copy

Create BotAlias Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new BotAlias(name: string, args: BotAliasArgs, opts?: CustomResourceOptions);
@overload
def BotAlias(resource_name: str,
             args: BotAliasArgs,
             opts: Optional[ResourceOptions] = None)

@overload
def BotAlias(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             bot_name: Optional[str] = None,
             bot_version: Optional[str] = None,
             conversation_logs: Optional[BotAliasConversationLogsArgs] = None,
             description: Optional[str] = None,
             name: Optional[str] = None)
func NewBotAlias(ctx *Context, name string, args BotAliasArgs, opts ...ResourceOption) (*BotAlias, error)
public BotAlias(string name, BotAliasArgs args, CustomResourceOptions? opts = null)
public BotAlias(String name, BotAliasArgs args)
public BotAlias(String name, BotAliasArgs args, CustomResourceOptions options)
type: aws:lex:BotAlias
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. BotAliasArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. BotAliasArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. BotAliasArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. BotAliasArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. BotAliasArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var botAliasResource = new Aws.Lex.BotAlias("botAliasResource", new()
{
    BotName = "string",
    BotVersion = "string",
    ConversationLogs = new Aws.Lex.Inputs.BotAliasConversationLogsArgs
    {
        IamRoleArn = "string",
        LogSettings = new[]
        {
            new Aws.Lex.Inputs.BotAliasConversationLogsLogSettingArgs
            {
                Destination = "string",
                LogType = "string",
                ResourceArn = "string",
                KmsKeyArn = "string",
                ResourcePrefix = "string",
            },
        },
    },
    Description = "string",
    Name = "string",
});
Copy
example, err := lex.NewBotAlias(ctx, "botAliasResource", &lex.BotAliasArgs{
	BotName:    pulumi.String("string"),
	BotVersion: pulumi.String("string"),
	ConversationLogs: &lex.BotAliasConversationLogsArgs{
		IamRoleArn: pulumi.String("string"),
		LogSettings: lex.BotAliasConversationLogsLogSettingArray{
			&lex.BotAliasConversationLogsLogSettingArgs{
				Destination:    pulumi.String("string"),
				LogType:        pulumi.String("string"),
				ResourceArn:    pulumi.String("string"),
				KmsKeyArn:      pulumi.String("string"),
				ResourcePrefix: pulumi.String("string"),
			},
		},
	},
	Description: pulumi.String("string"),
	Name:        pulumi.String("string"),
})
Copy
var botAliasResource = new BotAlias("botAliasResource", BotAliasArgs.builder()
    .botName("string")
    .botVersion("string")
    .conversationLogs(BotAliasConversationLogsArgs.builder()
        .iamRoleArn("string")
        .logSettings(BotAliasConversationLogsLogSettingArgs.builder()
            .destination("string")
            .logType("string")
            .resourceArn("string")
            .kmsKeyArn("string")
            .resourcePrefix("string")
            .build())
        .build())
    .description("string")
    .name("string")
    .build());
Copy
bot_alias_resource = aws.lex.BotAlias("botAliasResource",
    bot_name="string",
    bot_version="string",
    conversation_logs={
        "iam_role_arn": "string",
        "log_settings": [{
            "destination": "string",
            "log_type": "string",
            "resource_arn": "string",
            "kms_key_arn": "string",
            "resource_prefix": "string",
        }],
    },
    description="string",
    name="string")
Copy
const botAliasResource = new aws.lex.BotAlias("botAliasResource", {
    botName: "string",
    botVersion: "string",
    conversationLogs: {
        iamRoleArn: "string",
        logSettings: [{
            destination: "string",
            logType: "string",
            resourceArn: "string",
            kmsKeyArn: "string",
            resourcePrefix: "string",
        }],
    },
    description: "string",
    name: "string",
});
Copy
type: aws:lex:BotAlias
properties:
    botName: string
    botVersion: string
    conversationLogs:
        iamRoleArn: string
        logSettings:
            - destination: string
              kmsKeyArn: string
              logType: string
              resourceArn: string
              resourcePrefix: string
    description: string
    name: string
Copy

BotAlias Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The BotAlias resource accepts the following input properties:

BotName
This property is required.
Changes to this property will trigger replacement.
string
The name of the bot.
BotVersion This property is required. string
The version of the bot.
ConversationLogs BotAliasConversationLogs
The settings that determine how Amazon Lex uses conversation logs for the alias. Attributes are documented under conversation_logs.
Description string
A description of the alias. Must be less than or equal to 200 characters in length.
Name Changes to this property will trigger replacement. string
The name of the alias. The name is not case sensitive. Must be less than or equal to 100 characters in length.
BotName
This property is required.
Changes to this property will trigger replacement.
string
The name of the bot.
BotVersion This property is required. string
The version of the bot.
ConversationLogs BotAliasConversationLogsArgs
The settings that determine how Amazon Lex uses conversation logs for the alias. Attributes are documented under conversation_logs.
Description string
A description of the alias. Must be less than or equal to 200 characters in length.
Name Changes to this property will trigger replacement. string
The name of the alias. The name is not case sensitive. Must be less than or equal to 100 characters in length.
botName
This property is required.
Changes to this property will trigger replacement.
String
The name of the bot.
botVersion This property is required. String
The version of the bot.
conversationLogs BotAliasConversationLogs
The settings that determine how Amazon Lex uses conversation logs for the alias. Attributes are documented under conversation_logs.
description String
A description of the alias. Must be less than or equal to 200 characters in length.
name Changes to this property will trigger replacement. String
The name of the alias. The name is not case sensitive. Must be less than or equal to 100 characters in length.
botName
This property is required.
Changes to this property will trigger replacement.
string
The name of the bot.
botVersion This property is required. string
The version of the bot.
conversationLogs BotAliasConversationLogs
The settings that determine how Amazon Lex uses conversation logs for the alias. Attributes are documented under conversation_logs.
description string
A description of the alias. Must be less than or equal to 200 characters in length.
name Changes to this property will trigger replacement. string
The name of the alias. The name is not case sensitive. Must be less than or equal to 100 characters in length.
bot_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the bot.
bot_version This property is required. str
The version of the bot.
conversation_logs BotAliasConversationLogsArgs
The settings that determine how Amazon Lex uses conversation logs for the alias. Attributes are documented under conversation_logs.
description str
A description of the alias. Must be less than or equal to 200 characters in length.
name Changes to this property will trigger replacement. str
The name of the alias. The name is not case sensitive. Must be less than or equal to 100 characters in length.
botName
This property is required.
Changes to this property will trigger replacement.
String
The name of the bot.
botVersion This property is required. String
The version of the bot.
conversationLogs Property Map
The settings that determine how Amazon Lex uses conversation logs for the alias. Attributes are documented under conversation_logs.
description String
A description of the alias. Must be less than or equal to 200 characters in length.
name Changes to this property will trigger replacement. String
The name of the alias. The name is not case sensitive. Must be less than or equal to 100 characters in length.

Outputs

All input properties are implicitly available as output properties. Additionally, the BotAlias resource produces the following output properties:

Arn string
The ARN of the bot alias.
Checksum string
Checksum of the bot alias.
CreatedDate string
The date that the bot alias was created.
Id string
The provider-assigned unique ID for this managed resource.
LastUpdatedDate string
The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.
Arn string
The ARN of the bot alias.
Checksum string
Checksum of the bot alias.
CreatedDate string
The date that the bot alias was created.
Id string
The provider-assigned unique ID for this managed resource.
LastUpdatedDate string
The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.
arn String
The ARN of the bot alias.
checksum String
Checksum of the bot alias.
createdDate String
The date that the bot alias was created.
id String
The provider-assigned unique ID for this managed resource.
lastUpdatedDate String
The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.
arn string
The ARN of the bot alias.
checksum string
Checksum of the bot alias.
createdDate string
The date that the bot alias was created.
id string
The provider-assigned unique ID for this managed resource.
lastUpdatedDate string
The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.
arn str
The ARN of the bot alias.
checksum str
Checksum of the bot alias.
created_date str
The date that the bot alias was created.
id str
The provider-assigned unique ID for this managed resource.
last_updated_date str
The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.
arn String
The ARN of the bot alias.
checksum String
Checksum of the bot alias.
createdDate String
The date that the bot alias was created.
id String
The provider-assigned unique ID for this managed resource.
lastUpdatedDate String
The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.

Look up Existing BotAlias Resource

Get an existing BotAlias resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: BotAliasState, opts?: CustomResourceOptions): BotAlias
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        bot_name: Optional[str] = None,
        bot_version: Optional[str] = None,
        checksum: Optional[str] = None,
        conversation_logs: Optional[BotAliasConversationLogsArgs] = None,
        created_date: Optional[str] = None,
        description: Optional[str] = None,
        last_updated_date: Optional[str] = None,
        name: Optional[str] = None) -> BotAlias
func GetBotAlias(ctx *Context, name string, id IDInput, state *BotAliasState, opts ...ResourceOption) (*BotAlias, error)
public static BotAlias Get(string name, Input<string> id, BotAliasState? state, CustomResourceOptions? opts = null)
public static BotAlias get(String name, Output<String> id, BotAliasState state, CustomResourceOptions options)
resources:  _:    type: aws:lex:BotAlias    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Arn string
The ARN of the bot alias.
BotName Changes to this property will trigger replacement. string
The name of the bot.
BotVersion string
The version of the bot.
Checksum string
Checksum of the bot alias.
ConversationLogs BotAliasConversationLogs
The settings that determine how Amazon Lex uses conversation logs for the alias. Attributes are documented under conversation_logs.
CreatedDate string
The date that the bot alias was created.
Description string
A description of the alias. Must be less than or equal to 200 characters in length.
LastUpdatedDate string
The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.
Name Changes to this property will trigger replacement. string
The name of the alias. The name is not case sensitive. Must be less than or equal to 100 characters in length.
Arn string
The ARN of the bot alias.
BotName Changes to this property will trigger replacement. string
The name of the bot.
BotVersion string
The version of the bot.
Checksum string
Checksum of the bot alias.
ConversationLogs BotAliasConversationLogsArgs
The settings that determine how Amazon Lex uses conversation logs for the alias. Attributes are documented under conversation_logs.
CreatedDate string
The date that the bot alias was created.
Description string
A description of the alias. Must be less than or equal to 200 characters in length.
LastUpdatedDate string
The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.
Name Changes to this property will trigger replacement. string
The name of the alias. The name is not case sensitive. Must be less than or equal to 100 characters in length.
arn String
The ARN of the bot alias.
botName Changes to this property will trigger replacement. String
The name of the bot.
botVersion String
The version of the bot.
checksum String
Checksum of the bot alias.
conversationLogs BotAliasConversationLogs
The settings that determine how Amazon Lex uses conversation logs for the alias. Attributes are documented under conversation_logs.
createdDate String
The date that the bot alias was created.
description String
A description of the alias. Must be less than or equal to 200 characters in length.
lastUpdatedDate String
The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.
name Changes to this property will trigger replacement. String
The name of the alias. The name is not case sensitive. Must be less than or equal to 100 characters in length.
arn string
The ARN of the bot alias.
botName Changes to this property will trigger replacement. string
The name of the bot.
botVersion string
The version of the bot.
checksum string
Checksum of the bot alias.
conversationLogs BotAliasConversationLogs
The settings that determine how Amazon Lex uses conversation logs for the alias. Attributes are documented under conversation_logs.
createdDate string
The date that the bot alias was created.
description string
A description of the alias. Must be less than or equal to 200 characters in length.
lastUpdatedDate string
The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.
name Changes to this property will trigger replacement. string
The name of the alias. The name is not case sensitive. Must be less than or equal to 100 characters in length.
arn str
The ARN of the bot alias.
bot_name Changes to this property will trigger replacement. str
The name of the bot.
bot_version str
The version of the bot.
checksum str
Checksum of the bot alias.
conversation_logs BotAliasConversationLogsArgs
The settings that determine how Amazon Lex uses conversation logs for the alias. Attributes are documented under conversation_logs.
created_date str
The date that the bot alias was created.
description str
A description of the alias. Must be less than or equal to 200 characters in length.
last_updated_date str
The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.
name Changes to this property will trigger replacement. str
The name of the alias. The name is not case sensitive. Must be less than or equal to 100 characters in length.
arn String
The ARN of the bot alias.
botName Changes to this property will trigger replacement. String
The name of the bot.
botVersion String
The version of the bot.
checksum String
Checksum of the bot alias.
conversationLogs Property Map
The settings that determine how Amazon Lex uses conversation logs for the alias. Attributes are documented under conversation_logs.
createdDate String
The date that the bot alias was created.
description String
A description of the alias. Must be less than or equal to 200 characters in length.
lastUpdatedDate String
The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.
name Changes to this property will trigger replacement. String
The name of the alias. The name is not case sensitive. Must be less than or equal to 100 characters in length.

Supporting Types

BotAliasConversationLogs
, BotAliasConversationLogsArgs

IamRoleArn This property is required. string
The Amazon Resource Name (ARN) of the IAM role used to write your logs to CloudWatch Logs or an S3 bucket. Must be between 20 and 2048 characters in length.
LogSettings List<BotAliasConversationLogsLogSetting>
The settings for your conversation logs. You can log text, audio, or both. Attributes are documented under log_settings.
IamRoleArn This property is required. string
The Amazon Resource Name (ARN) of the IAM role used to write your logs to CloudWatch Logs or an S3 bucket. Must be between 20 and 2048 characters in length.
LogSettings []BotAliasConversationLogsLogSetting
The settings for your conversation logs. You can log text, audio, or both. Attributes are documented under log_settings.
iamRoleArn This property is required. String
The Amazon Resource Name (ARN) of the IAM role used to write your logs to CloudWatch Logs or an S3 bucket. Must be between 20 and 2048 characters in length.
logSettings List<BotAliasConversationLogsLogSetting>
The settings for your conversation logs. You can log text, audio, or both. Attributes are documented under log_settings.
iamRoleArn This property is required. string
The Amazon Resource Name (ARN) of the IAM role used to write your logs to CloudWatch Logs or an S3 bucket. Must be between 20 and 2048 characters in length.
logSettings BotAliasConversationLogsLogSetting[]
The settings for your conversation logs. You can log text, audio, or both. Attributes are documented under log_settings.
iam_role_arn This property is required. str
The Amazon Resource Name (ARN) of the IAM role used to write your logs to CloudWatch Logs or an S3 bucket. Must be between 20 and 2048 characters in length.
log_settings Sequence[BotAliasConversationLogsLogSetting]
The settings for your conversation logs. You can log text, audio, or both. Attributes are documented under log_settings.
iamRoleArn This property is required. String
The Amazon Resource Name (ARN) of the IAM role used to write your logs to CloudWatch Logs or an S3 bucket. Must be between 20 and 2048 characters in length.
logSettings List<Property Map>
The settings for your conversation logs. You can log text, audio, or both. Attributes are documented under log_settings.

BotAliasConversationLogsLogSetting
, BotAliasConversationLogsLogSettingArgs

Destination This property is required. string
The destination where logs are delivered. Options are CLOUDWATCH_LOGS or S3.
LogType This property is required. string
The type of logging that is enabled. Options are AUDIO or TEXT.
ResourceArn This property is required. string
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered. Must be less than or equal to 2048 characters in length.
KmsKeyArn string
The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket. This can only be specified when destination is set to S3. Must be between 20 and 2048 characters in length.
ResourcePrefix string
The prefix of the S3 object key for AUDIO logs or the log stream name for TEXT logs.
Destination This property is required. string
The destination where logs are delivered. Options are CLOUDWATCH_LOGS or S3.
LogType This property is required. string
The type of logging that is enabled. Options are AUDIO or TEXT.
ResourceArn This property is required. string
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered. Must be less than or equal to 2048 characters in length.
KmsKeyArn string
The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket. This can only be specified when destination is set to S3. Must be between 20 and 2048 characters in length.
ResourcePrefix string
The prefix of the S3 object key for AUDIO logs or the log stream name for TEXT logs.
destination This property is required. String
The destination where logs are delivered. Options are CLOUDWATCH_LOGS or S3.
logType This property is required. String
The type of logging that is enabled. Options are AUDIO or TEXT.
resourceArn This property is required. String
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered. Must be less than or equal to 2048 characters in length.
kmsKeyArn String
The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket. This can only be specified when destination is set to S3. Must be between 20 and 2048 characters in length.
resourcePrefix String
The prefix of the S3 object key for AUDIO logs or the log stream name for TEXT logs.
destination This property is required. string
The destination where logs are delivered. Options are CLOUDWATCH_LOGS or S3.
logType This property is required. string
The type of logging that is enabled. Options are AUDIO or TEXT.
resourceArn This property is required. string
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered. Must be less than or equal to 2048 characters in length.
kmsKeyArn string
The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket. This can only be specified when destination is set to S3. Must be between 20 and 2048 characters in length.
resourcePrefix string
The prefix of the S3 object key for AUDIO logs or the log stream name for TEXT logs.
destination This property is required. str
The destination where logs are delivered. Options are CLOUDWATCH_LOGS or S3.
log_type This property is required. str
The type of logging that is enabled. Options are AUDIO or TEXT.
resource_arn This property is required. str
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered. Must be less than or equal to 2048 characters in length.
kms_key_arn str
The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket. This can only be specified when destination is set to S3. Must be between 20 and 2048 characters in length.
resource_prefix str
The prefix of the S3 object key for AUDIO logs or the log stream name for TEXT logs.
destination This property is required. String
The destination where logs are delivered. Options are CLOUDWATCH_LOGS or S3.
logType This property is required. String
The type of logging that is enabled. Options are AUDIO or TEXT.
resourceArn This property is required. String
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3 bucket where the logs are delivered. Must be less than or equal to 2048 characters in length.
kmsKeyArn String
The Amazon Resource Name (ARN) of the key used to encrypt audio logs in an S3 bucket. This can only be specified when destination is set to S3. Must be between 20 and 2048 characters in length.
resourcePrefix String
The prefix of the S3 object key for AUDIO logs or the log stream name for TEXT logs.

Import

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

$ pulumi import aws:lex/botAlias:BotAlias order_flowers_prod OrderFlowers:OrderFlowersProd
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.