Class CodeInterpreterCustom.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CodeInterpreterCustom.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CodeInterpreterCustom>
- Enclosing class:
CodeInterpreterCustom
@Stability(Stable)
public static final class CodeInterpreterCustom.Builder
extends Object
implements software.amazon.jsii.Builder<CodeInterpreterCustom>
A fluent builder for
CodeInterpreterCustom.-
Method Summary
Modifier and TypeMethodDescriptionbuild()codeInterpreterCustomName(String codeInterpreterCustomName) The name of the code interpreter Valid characters are a-z, A-Z, 0-9, _ (underscore) The name must start with a letter and can be up to 48 characters long Pattern: [a-zA-Z][a-zA-Z0-9_]{0,47}.description(String description) Optional description for the code interpreter Valid characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen) and spaces The description can have up to 200 characters.executionRole(IRole executionRole) The IAM role that provides permissions for the code interpreter to access AWS services.networkConfiguration(CodeInterpreterNetworkConfiguration networkConfiguration) Network configuration for code interpreter.Tags (optional) A list of key:value pairs of tags to apply to this Code Interpreter resource.
-
Method Details
-
create
@Stability(Stable) public static CodeInterpreterCustom.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- This parameter is required.id- This parameter is required.- Returns:
- a new instance of
CodeInterpreterCustom.Builder.
-
codeInterpreterCustomName
@Stability(Stable) public CodeInterpreterCustom.Builder codeInterpreterCustomName(String codeInterpreterCustomName) The name of the code interpreter Valid characters are a-z, A-Z, 0-9, _ (underscore) The name must start with a letter and can be up to 48 characters long Pattern: [a-zA-Z][a-zA-Z0-9_]{0,47}.Default: - auto generate
- Parameters:
codeInterpreterCustomName- The name of the code interpreter Valid characters are a-z, A-Z, 0-9, _ (underscore) The name must start with a letter and can be up to 48 characters long Pattern: [a-zA-Z][a-zA-Z0-9_]{0,47}. This parameter is required.- Returns:
this
-
description
Optional description for the code interpreter Valid characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen) and spaces The description can have up to 200 characters.Default: - No description
- Parameters:
description- Optional description for the code interpreter Valid characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen) and spaces The description can have up to 200 characters. This parameter is required.- Returns:
this
-
executionRole
The IAM role that provides permissions for the code interpreter to access AWS services.Default: - A new role will be created.
- Parameters:
executionRole- The IAM role that provides permissions for the code interpreter to access AWS services. This parameter is required.- Returns:
this
-
networkConfiguration
@Stability(Stable) public CodeInterpreterCustom.Builder networkConfiguration(CodeInterpreterNetworkConfiguration networkConfiguration) Network configuration for code interpreter.Default: - PUBLIC network mode
- Parameters:
networkConfiguration- Network configuration for code interpreter. This parameter is required.- Returns:
this
-
tags
Tags (optional) A list of key:value pairs of tags to apply to this Code Interpreter resource.Default: {} - no tags
- Parameters:
tags- Tags (optional) A list of key:value pairs of tags to apply to this Code Interpreter resource. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CodeInterpreterCustom>- Returns:
- a newly built instance of
CodeInterpreterCustom.
-