V2modelsBotArgs

data class V2modelsBotArgs(val dataPrivacies: Output<List<V2modelsBotDataPrivacyArgs>>? = null, val description: Output<String>? = null, val idleSessionTtlInSeconds: Output<Int>? = null, val members: Output<List<V2modelsBotMemberArgs>>? = null, val name: Output<String>? = null, val roleArn: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val testBotAliasTags: Output<Map<String, String>>? = null, val timeouts: Output<V2modelsBotTimeoutsArgs>? = null, val type: Output<String>? = null) : ConvertibleToJava<V2modelsBotArgs>

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

Constructors

Link copied to clipboard
fun V2modelsBotArgs(dataPrivacies: Output<List<V2modelsBotDataPrivacyArgs>>? = null, description: Output<String>? = null, idleSessionTtlInSeconds: Output<Int>? = null, members: Output<List<V2modelsBotMemberArgs>>? = null, name: Output<String>? = null, roleArn: Output<String>? = null, tags: Output<Map<String, String>>? = null, testBotAliasTags: Output<Map<String, String>>? = null, timeouts: Output<V2modelsBotTimeoutsArgs>? = null, type: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): V2modelsBotArgs

Properties

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>? = null

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

Link copied to clipboard
val idleSessionTtlInSeconds: Output<Int>? = null

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
val members: Output<List<V2modelsBotMemberArgs>>? = null

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

Link copied to clipboard
val name: Output<String>? = null

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 roleArn: Output<String>? = null

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>>? = null
Link copied to clipboard
val testBotAliasTags: Output<Map<String, String>>? = null

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
val timeouts: Output<V2modelsBotTimeoutsArgs>? = null
Link copied to clipboard
val type: Output<String>? = null