We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Resource definition for AWS::BedrockAgentCore::CodeInterpreterCustom
Create CodeInterpreterCustom Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CodeInterpreterCustom(name: string, args: CodeInterpreterCustomArgs, opts?: CustomResourceOptions);@overload
def CodeInterpreterCustom(resource_name: str,
args: CodeInterpreterCustomArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CodeInterpreterCustom(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_configuration: Optional[CodeInterpreterCustomCodeInterpreterNetworkConfigurationArgs] = None,
certificates: Optional[Sequence[CodeInterpreterCustomCertificateArgs]] = None,
description: Optional[str] = None,
execution_role_arn: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)func NewCodeInterpreterCustom(ctx *Context, name string, args CodeInterpreterCustomArgs, opts ...ResourceOption) (*CodeInterpreterCustom, error)public CodeInterpreterCustom(string name, CodeInterpreterCustomArgs args, CustomResourceOptions? opts = null)
public CodeInterpreterCustom(String name, CodeInterpreterCustomArgs args)
public CodeInterpreterCustom(String name, CodeInterpreterCustomArgs args, CustomResourceOptions options)
type: aws-native:bedrockagentcore:CodeInterpreterCustom
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_bedrockagentcore_code_interpreter_custom" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args CodeInterpreterCustomArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CodeInterpreterCustomArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CodeInterpreterCustomArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CodeInterpreterCustomArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CodeInterpreterCustomArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CodeInterpreterCustom Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CodeInterpreterCustom resource accepts the following input properties:
- Network
Configuration Pulumi.Aws Native. Bedrock Agent Core. Inputs. Code Interpreter Custom Code Interpreter Network Configuration - Network configuration for code interpreter.
- Certificates
List<Pulumi.
Aws Native. Bedrock Agent Core. Inputs. Code Interpreter Custom Certificate> - List of root CA certificates in PEM format.
- Description string
- The description of the code interpreter.
- Execution
Role stringArn - The ARN of the IAM role that the code interpreter uses to access resources.
- Name string
- The name of the code interpreter.
- Dictionary<string, string>
- The tags for the code interpreter.
- Network
Configuration CodeInterpreter Custom Code Interpreter Network Configuration Args - Network configuration for code interpreter.
- Certificates
[]Code
Interpreter Custom Certificate Args - List of root CA certificates in PEM format.
- Description string
- The description of the code interpreter.
- Execution
Role stringArn - The ARN of the IAM role that the code interpreter uses to access resources.
- Name string
- The name of the code interpreter.
- map[string]string
- The tags for the code interpreter.
- network_
configuration object - Network configuration for code interpreter.
- certificates list(object)
- List of root CA certificates in PEM format.
- description string
- The description of the code interpreter.
- execution_
role_ stringarn - The ARN of the IAM role that the code interpreter uses to access resources.
- name string
- The name of the code interpreter.
- map(string)
- The tags for the code interpreter.
- network
Configuration CodeInterpreter Custom Code Interpreter Network Configuration - Network configuration for code interpreter.
- certificates
List<Code
Interpreter Custom Certificate> - List of root CA certificates in PEM format.
- description String
- The description of the code interpreter.
- execution
Role StringArn - The ARN of the IAM role that the code interpreter uses to access resources.
- name String
- The name of the code interpreter.
- Map<String,String>
- The tags for the code interpreter.
- network
Configuration CodeInterpreter Custom Code Interpreter Network Configuration - Network configuration for code interpreter.
- certificates
Code
Interpreter Custom Certificate[] - List of root CA certificates in PEM format.
- description string
- The description of the code interpreter.
- execution
Role stringArn - The ARN of the IAM role that the code interpreter uses to access resources.
- name string
- The name of the code interpreter.
- {[key: string]: string}
- The tags for the code interpreter.
- network_
configuration CodeInterpreter Custom Code Interpreter Network Configuration Args - Network configuration for code interpreter.
- certificates
Sequence[Code
Interpreter Custom Certificate Args] - List of root CA certificates in PEM format.
- description str
- The description of the code interpreter.
- execution_
role_ strarn - The ARN of the IAM role that the code interpreter uses to access resources.
- name str
- The name of the code interpreter.
- Mapping[str, str]
- The tags for the code interpreter.
- network
Configuration Property Map - Network configuration for code interpreter.
- certificates List<Property Map>
- List of root CA certificates in PEM format.
- description String
- The description of the code interpreter.
- execution
Role StringArn - The ARN of the IAM role that the code interpreter uses to access resources.
- name String
- The name of the code interpreter.
- Map<String>
- The tags for the code interpreter.
Outputs
All input properties are implicitly available as output properties. Additionally, the CodeInterpreterCustom resource produces the following output properties:
- Code
Interpreter stringArn - The ARN of a CodeInterpreter resource.
- Code
Interpreter stringId - The id of the code interpreter.
- Created
At string - Timestamp when the code interpreter was created.
- Failure
Reason string - The reason for failure if the code interpreter creation or operation failed.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringAt - Timestamp when the code interpreter was last updated.
- Status
Pulumi.
Aws Native. Bedrock Agent Core. Code Interpreter Custom Code Interpreter Status - Status of code interpreter.
- Code
Interpreter stringArn - The ARN of a CodeInterpreter resource.
- Code
Interpreter stringId - The id of the code interpreter.
- Created
At string - Timestamp when the code interpreter was created.
- Failure
Reason string - The reason for failure if the code interpreter creation or operation failed.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringAt - Timestamp when the code interpreter was last updated.
- Status
Code
Interpreter Custom Code Interpreter Status - Status of code interpreter.
- code_
interpreter_ stringarn - The ARN of a CodeInterpreter resource.
- code_
interpreter_ stringid - The id of the code interpreter.
- created_
at string - Timestamp when the code interpreter was created.
- failure_
reason string - The reason for failure if the code interpreter creation or operation failed.
- id string
- The provider-assigned unique ID for this managed resource.
- last_
updated_ stringat - Timestamp when the code interpreter was last updated.
- status "CREATING" | "CREATE_FAILED" | "READY" | "DELETING" | "DELETE_FAILED" | "DELETED"
- Status of code interpreter.
- code
Interpreter StringArn - The ARN of a CodeInterpreter resource.
- code
Interpreter StringId - The id of the code interpreter.
- created
At String - Timestamp when the code interpreter was created.
- failure
Reason String - The reason for failure if the code interpreter creation or operation failed.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringAt - Timestamp when the code interpreter was last updated.
- status
Code
Interpreter Custom Code Interpreter Status - Status of code interpreter.
- code
Interpreter stringArn - The ARN of a CodeInterpreter resource.
- code
Interpreter stringId - The id of the code interpreter.
- created
At string - Timestamp when the code interpreter was created.
- failure
Reason string - The reason for failure if the code interpreter creation or operation failed.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated stringAt - Timestamp when the code interpreter was last updated.
- status
Code
Interpreter Custom Code Interpreter Status - Status of code interpreter.
- code_
interpreter_ strarn - The ARN of a CodeInterpreter resource.
- code_
interpreter_ strid - The id of the code interpreter.
- created_
at str - Timestamp when the code interpreter was created.
- failure_
reason str - The reason for failure if the code interpreter creation or operation failed.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated_ strat - Timestamp when the code interpreter was last updated.
- status
Code
Interpreter Custom Code Interpreter Status - Status of code interpreter.
- code
Interpreter StringArn - The ARN of a CodeInterpreter resource.
- code
Interpreter StringId - The id of the code interpreter.
- created
At String - Timestamp when the code interpreter was created.
- failure
Reason String - The reason for failure if the code interpreter creation or operation failed.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringAt - Timestamp when the code interpreter was last updated.
- status "CREATING" | "CREATE_FAILED" | "READY" | "DELETING" | "DELETE_FAILED" | "DELETED"
- Status of code interpreter.
Look up Existing CodeInterpreterCustom Resource
Get an existing CodeInterpreterCustom resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): CodeInterpreterCustom@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> CodeInterpreterCustomfunc GetCodeInterpreterCustom(ctx *Context, name string, id IDInput, state *CodeInterpreterCustomState, opts ...ResourceOption) (*CodeInterpreterCustom, error)public static CodeInterpreterCustom Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static CodeInterpreterCustom get(String name, Output<String> id, CustomResourceOptions options)resources: existingCodeInterpreterCustom: type: aws-native:bedrockagentcore:CodeInterpreterCustom get: id: ${id}import {
to = aws-native_bedrockagentcore_code_interpreter_custom.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state CodeInterpreterCustomState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
CodeInterpreterCustomCertificate, CodeInterpreterCustomCertificateArgs
A root CA certificate configuration.
- Certificate
Location Pulumi.Aws Native. Bedrock Agent Core. Inputs. Code Interpreter Custom Certificate Location - Certificate location in Secrets Manager.
- Certificate
Location CodeInterpreter Custom Certificate Location - Certificate location in Secrets Manager.
- certificate_
location object - Certificate location in Secrets Manager.
- certificate
Location CodeInterpreter Custom Certificate Location - Certificate location in Secrets Manager.
- certificate
Location CodeInterpreter Custom Certificate Location - Certificate location in Secrets Manager.
- certificate_
location CodeInterpreter Custom Certificate Location - Certificate location in Secrets Manager.
- certificate
Location Property Map - Certificate location in Secrets Manager.
CodeInterpreterCustomCertificateLocation, CodeInterpreterCustomCertificateLocationArgs
Certificate location in Secrets Manager.
- Secret
Arn string - Secrets Manager secret ARN.
- Secret
Arn string - Secrets Manager secret ARN.
- secret_
arn string - Secrets Manager secret ARN.
- secret
Arn String - Secrets Manager secret ARN.
- secret
Arn string - Secrets Manager secret ARN.
- secret_
arn str - Secrets Manager secret ARN.
- secret
Arn String - Secrets Manager secret ARN.
CodeInterpreterCustomCodeInterpreterNetworkConfiguration, CodeInterpreterCustomCodeInterpreterNetworkConfigurationArgs
Network configuration for code interpreter
- network_
mode "PUBLIC" | "SANDBOX" | "VPC" - The network mode.
- vpc_
config object
- network
Mode "PUBLIC" | "SANDBOX" | "VPC" - The network mode.
- vpc
Config Property Map
CodeInterpreterCustomCodeInterpreterNetworkMode
Network modes supported by code interpreter
| Name | Value |
|---|---|
| Public | PUBLIC |
| Sandbox | SANDBOX |
| Vpc | VPC |
| Name | Value |
|---|---|
| Code | PUBLIC |
| Code | SANDBOX |
| Code | VPC |
| Value |
|---|
PUBLIC |
SANDBOX |
VPC |
| Name | Value |
|---|---|
| Public | PUBLIC |
| Sandbox | SANDBOX |
| Vpc | VPC |
| Name | Value |
|---|---|
| Public | PUBLIC |
| Sandbox | SANDBOX |
| Vpc | VPC |
| Name | Value |
|---|---|
| PUBLIC | PUBLIC |
| SANDBOX | SANDBOX |
| VPC | VPC |
| Value |
|---|
PUBLIC |
SANDBOX |
VPC |
CodeInterpreterCustomCodeInterpreterStatus
Status of Code interpreter
| Name | Value |
|---|---|
| Creating | CREATING |
| Create | CREATE_FAILED |
| Ready | READY |
| Deleting | DELETING |
| Delete | DELETE_FAILED |
| Deleted | DELETED |
| Name | Value |
|---|---|
| Code | CREATING |
| Code | CREATE_FAILED |
| Code | READY |
| Code | DELETING |
| Code | DELETE_FAILED |
| Code | DELETED |
| Value |
|---|
CREATING |
CREATE_FAILED |
READY |
DELETING |
DELETE_FAILED |
DELETED |
| Name | Value |
|---|---|
| Creating | CREATING |
| Create | CREATE_FAILED |
| Ready | READY |
| Deleting | DELETING |
| Delete | DELETE_FAILED |
| Deleted | DELETED |
| Name | Value |
|---|---|
| Creating | CREATING |
| Create | CREATE_FAILED |
| Ready | READY |
| Deleting | DELETING |
| Delete | DELETE_FAILED |
| Deleted | DELETED |
| Name | Value |
|---|---|
| CREATING | CREATING |
| CREATE_FAILED | CREATE_FAILED |
| READY | READY |
| DELETING | DELETING |
| DELETE_FAILED | DELETE_FAILED |
| DELETED | DELETED |
| Value |
|---|
CREATING |
CREATE_FAILED |
READY |
DELETING |
DELETE_FAILED |
DELETED |
CodeInterpreterCustomVpcConfig, CodeInterpreterCustomVpcConfigArgs
Network mode configuration for VPC
- Security
Groups List<string> - Subnets List<string>
- Security
Groups []string - Subnets []string
- security_
groups list(string) - subnets list(string)
- security
Groups List<String> - subnets List<String>
- security
Groups string[] - subnets string[]
- security_
groups Sequence[str] - subnets Sequence[str]
- security
Groups List<String> - subnets List<String>
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi