AWS v6.77.1 published on Friday, Apr 18, 2025 by Pulumi
aws.lex.getBotAlias
Explore with Pulumi AI
Provides details about a specific Amazon Lex Bot Alias.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const orderFlowersProd = aws.lex.getBotAlias({
    botName: "OrderFlowers",
    name: "OrderFlowersProd",
});
import pulumi
import pulumi_aws as aws
order_flowers_prod = aws.lex.get_bot_alias(bot_name="OrderFlowers",
    name="OrderFlowersProd")
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.LookupBotAlias(ctx, &lex.LookupBotAliasArgs{
			BotName: "OrderFlowers",
			Name:    "OrderFlowersProd",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var orderFlowersProd = Aws.Lex.GetBotAlias.Invoke(new()
    {
        BotName = "OrderFlowers",
        Name = "OrderFlowersProd",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.lex.LexFunctions;
import com.pulumi.aws.lex.inputs.GetBotAliasArgs;
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) {
        final var orderFlowersProd = LexFunctions.getBotAlias(GetBotAliasArgs.builder()
            .botName("OrderFlowers")
            .name("OrderFlowersProd")
            .build());
    }
}
variables:
  orderFlowersProd:
    fn::invoke:
      function: aws:lex:getBotAlias
      arguments:
        botName: OrderFlowers
        name: OrderFlowersProd
Using getBotAlias
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBotAlias(args: GetBotAliasArgs, opts?: InvokeOptions): Promise<GetBotAliasResult>
function getBotAliasOutput(args: GetBotAliasOutputArgs, opts?: InvokeOptions): Output<GetBotAliasResult>def get_bot_alias(bot_name: Optional[str] = None,
                  name: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetBotAliasResult
def get_bot_alias_output(bot_name: Optional[pulumi.Input[str]] = None,
                  name: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetBotAliasResult]func LookupBotAlias(ctx *Context, args *LookupBotAliasArgs, opts ...InvokeOption) (*LookupBotAliasResult, error)
func LookupBotAliasOutput(ctx *Context, args *LookupBotAliasOutputArgs, opts ...InvokeOption) LookupBotAliasResultOutput> Note: This function is named LookupBotAlias in the Go SDK.
public static class GetBotAlias 
{
    public static Task<GetBotAliasResult> InvokeAsync(GetBotAliasArgs args, InvokeOptions? opts = null)
    public static Output<GetBotAliasResult> Invoke(GetBotAliasInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBotAliasResult> getBotAlias(GetBotAliasArgs args, InvokeOptions options)
public static Output<GetBotAliasResult> getBotAlias(GetBotAliasArgs args, InvokeOptions options)
fn::invoke:
  function: aws:lex/getBotAlias:getBotAlias
  arguments:
    # arguments dictionaryThe following arguments are supported:
getBotAlias Result
The following output properties are available:
- Arn string
 - ARN of the bot alias.
 - Bot
Name string - Name of the bot.
 - Bot
Version string - Version of the bot that the alias points to.
 - Checksum string
 - Checksum of the bot alias.
 - Created
Date string - Date that the bot alias was created.
 - Description string
 - Description of the alias.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Last
Updated stringDate  - Date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.
 - Name string
 - Name of the alias. The name is not case sensitive.
 
- Arn string
 - ARN of the bot alias.
 - Bot
Name string - Name of the bot.
 - Bot
Version string - Version of the bot that the alias points to.
 - Checksum string
 - Checksum of the bot alias.
 - Created
Date string - Date that the bot alias was created.
 - Description string
 - Description of the alias.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Last
Updated stringDate  - Date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.
 - Name string
 - Name of the alias. The name is not case sensitive.
 
- arn String
 - ARN of the bot alias.
 - bot
Name String - Name of the bot.
 - bot
Version String - Version of the bot that the alias points to.
 - checksum String
 - Checksum of the bot alias.
 - created
Date String - Date that the bot alias was created.
 - description String
 - Description of the alias.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - last
Updated StringDate  - Date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.
 - name String
 - Name of the alias. The name is not case sensitive.
 
- arn string
 - ARN of the bot alias.
 - bot
Name string - Name of the bot.
 - bot
Version string - Version of the bot that the alias points to.
 - checksum string
 - Checksum of the bot alias.
 - created
Date string - Date that the bot alias was created.
 - description string
 - Description of the alias.
 - id string
 - The provider-assigned unique ID for this managed resource.
 - last
Updated stringDate  - Date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.
 - name string
 - Name of the alias. The name is not case sensitive.
 
- arn str
 - ARN of the bot alias.
 - bot_
name str - Name of the bot.
 - bot_
version str - Version of the bot that the alias points to.
 - checksum str
 - Checksum of the bot alias.
 - created_
date str - Date that the bot alias was created.
 - description str
 - Description of the alias.
 - id str
 - The provider-assigned unique ID for this managed resource.
 - last_
updated_ strdate  - Date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.
 - name str
 - Name of the alias. The name is not case sensitive.
 
- arn String
 - ARN of the bot alias.
 - bot
Name String - Name of the bot.
 - bot
Version String - Version of the bot that the alias points to.
 - checksum String
 - Checksum of the bot alias.
 - created
Date String - Date that the bot alias was created.
 - description String
 - Description of the alias.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - last
Updated StringDate  - Date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.
 - name String
 - Name of the alias. The name is not case sensitive.
 
Package Details
- Repository
 - AWS Classic pulumi/pulumi-aws
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
awsTerraform Provider.