V2modelsBotVersion

class V2modelsBotVersion : KotlinCustomResource

Resource for managing an AWS Lex V2 Models Bot Version.

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.V2modelsBotVersion;
import com.pulumi.aws.lex.V2modelsBotVersionArgs;
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 test = new V2modelsBotVersion("test", V2modelsBotVersionArgs.builder()
.botId(aws_lexv2models.test().id())
.localeDetails(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
}
}

Import

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

$ pulumi import aws:lex/v2modelsBotVersion:V2modelsBotVersion example bot_version-id-12345678

Properties

Link copied to clipboard
val botId: Output<String>

Idientifier of the bot to create the version for.

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

A description of the version. Use the description to help identify the version in lists.

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