V2modelsBot

class V2modelsBot : KotlinCustomResource

Resource for managing an AWS Lex V2 Models Bot.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.lex.V2modelsBot;
import com.pulumi.aws.lex.V2modelsBotArgs;
import com.pulumi.aws.lex.inputs.V2modelsBotDataPrivacyArgs;
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 example = new V2modelsBot("example", V2modelsBotArgs.builder()
.dataPrivacies(V2modelsBotDataPrivacyArgs.builder()
.childDirected("boolean")
.build())
.idleSessionTtlInSeconds(10)
.roleArn("bot_example_arn")
.build());
}
}

Import

Using pulumi import, import Lex V2 Models Bot using the example_id_arg. For example:

$ pulumi import aws:lex/v2modelsBot:V2modelsBot example bot-id-12345678

Properties

Link copied to clipboard
val arn: Output<String>
Link copied to clipboard

Provides information on additional privacy protections Amazon Lex should use with the bot's data. See data_privacy

Link copied to clipboard
val description: Output<String>?

Description of the bot. It appears in lists to help you identify a particular bot.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot. You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.

Link copied to clipboard

List of bot members in a network to be created. See bot_members.

Link copied to clipboard
val name: Output<String>

Name of the bot. The bot name must be unique in the account that creates the bot. Type String. Length Constraints: Minimum length of 1. Maximum length of 100.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val roleArn: Output<String>

ARN of an IAM role that has permission to access the bot. The following arguments are optional:

Link copied to clipboard
val tags: Output<Map<String, String>>?
Link copied to clipboard
val tagsAll: Output<Map<String, String>>
Link copied to clipboard

List of tags to add to the test alias for a bot. You can only add tags when you create a bot.

Link copied to clipboard
Link copied to clipboard
val type: Output<String>
Link copied to clipboard
val urn: Output<String>