Package com.pulumi.aws.lex
Class BotAlias
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.lex.BotAlias
-
public class BotAlias extends com.pulumi.resources.CustomResource
Provides an Amazon Lex Bot Alias resource. For more information see [Amazon Lex: How It Works](https://docs.aws.amazon.com/lex/latest/dg/how-it-works.html) ## Example Usage <!--Start PulumiCodeChooser -->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()); } }
-
-
Constructor Summary
Constructors Constructor Description BotAlias(java.lang.String name)
BotAlias(java.lang.String name, BotAliasArgs args)
BotAlias(java.lang.String name, BotAliasArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>
arn()
com.pulumi.core.Output<java.lang.String>
botName()
com.pulumi.core.Output<java.lang.String>
botVersion()
com.pulumi.core.Output<java.lang.String>
checksum()
com.pulumi.core.Output<java.util.Optional<BotAliasConversationLogs>>
conversationLogs()
com.pulumi.core.Output<java.lang.String>
createdDate()
com.pulumi.core.Output<java.util.Optional<java.lang.String>>
description()
static BotAlias
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, BotAliasState state, com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>
lastUpdatedDate()
com.pulumi.core.Output<java.lang.String>
name()
-
-
-
Constructor Detail
-
BotAlias
public BotAlias(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
BotAlias
public BotAlias(java.lang.String name, BotAliasArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
BotAlias
public BotAlias(java.lang.String name, BotAliasArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.options
- A bag of options that control this resource's behavior.
-
-
Method Detail
-
arn
public com.pulumi.core.Output<java.lang.String> arn()
- Returns:
- The ARN of the bot alias.
-
botName
public com.pulumi.core.Output<java.lang.String> botName()
- Returns:
- The name of the bot.
-
botVersion
public com.pulumi.core.Output<java.lang.String> botVersion()
- Returns:
- The version of the bot.
-
checksum
public com.pulumi.core.Output<java.lang.String> checksum()
- Returns:
- Checksum of the bot alias.
-
conversationLogs
public com.pulumi.core.Output<java.util.Optional<BotAliasConversationLogs>> conversationLogs()
- Returns:
- The settings that determine how Amazon Lex uses conversation logs for the alias. Attributes are documented under conversation_logs.
-
createdDate
public com.pulumi.core.Output<java.lang.String> createdDate()
- Returns:
- The date that the bot alias was created.
-
description
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> description()
- Returns:
- A description of the alias. Must be less than or equal to 200 characters in length.
-
lastUpdatedDate
public com.pulumi.core.Output<java.lang.String> lastUpdatedDate()
- Returns:
- 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
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- The name of the alias. The name is not case sensitive. Must be less than or equal to 100 characters in length.
-
get
public static BotAlias get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable BotAliasState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name
- The _unique_ name of the resulting resource.id
- The _unique_ provider ID of the resource to lookup.state
-options
- Optional settings to control the behavior of the CustomResource.
-
-