1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. bedrockagentcore
  6. CodeInterpreterCustom

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
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:

    NetworkConfiguration Pulumi.AwsNative.BedrockAgentCore.Inputs.CodeInterpreterCustomCodeInterpreterNetworkConfiguration
    Network configuration for code interpreter.
    Certificates List<Pulumi.AwsNative.BedrockAgentCore.Inputs.CodeInterpreterCustomCertificate>
    List of root CA certificates in PEM format.
    Description string
    The description of the code interpreter.
    ExecutionRoleArn string
    The ARN of the IAM role that the code interpreter uses to access resources.
    Name string
    The name of the code interpreter.
    Tags Dictionary<string, string>
    The tags for the code interpreter.
    NetworkConfiguration CodeInterpreterCustomCodeInterpreterNetworkConfigurationArgs
    Network configuration for code interpreter.
    Certificates []CodeInterpreterCustomCertificateArgs
    List of root CA certificates in PEM format.
    Description string
    The description of the code interpreter.
    ExecutionRoleArn string
    The ARN of the IAM role that the code interpreter uses to access resources.
    Name string
    The name of the code interpreter.
    Tags 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_arn string
    The ARN of the IAM role that the code interpreter uses to access resources.
    name string
    The name of the code interpreter.
    tags map(string)
    The tags for the code interpreter.
    networkConfiguration CodeInterpreterCustomCodeInterpreterNetworkConfiguration
    Network configuration for code interpreter.
    certificates List<CodeInterpreterCustomCertificate>
    List of root CA certificates in PEM format.
    description String
    The description of the code interpreter.
    executionRoleArn String
    The ARN of the IAM role that the code interpreter uses to access resources.
    name String
    The name of the code interpreter.
    tags Map<String,String>
    The tags for the code interpreter.
    networkConfiguration CodeInterpreterCustomCodeInterpreterNetworkConfiguration
    Network configuration for code interpreter.
    certificates CodeInterpreterCustomCertificate[]
    List of root CA certificates in PEM format.
    description string
    The description of the code interpreter.
    executionRoleArn string
    The ARN of the IAM role that the code interpreter uses to access resources.
    name string
    The name of the code interpreter.
    tags {[key: string]: string}
    The tags for the code interpreter.
    network_configuration CodeInterpreterCustomCodeInterpreterNetworkConfigurationArgs
    Network configuration for code interpreter.
    certificates Sequence[CodeInterpreterCustomCertificateArgs]
    List of root CA certificates in PEM format.
    description str
    The description of the code interpreter.
    execution_role_arn str
    The ARN of the IAM role that the code interpreter uses to access resources.
    name str
    The name of the code interpreter.
    tags Mapping[str, str]
    The tags for the code interpreter.
    networkConfiguration 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.
    executionRoleArn String
    The ARN of the IAM role that the code interpreter uses to access resources.
    name String
    The name of the code interpreter.
    tags 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:

    CodeInterpreterArn string
    The ARN of a CodeInterpreter resource.
    CodeInterpreterId string
    The id of the code interpreter.
    CreatedAt string
    Timestamp when the code interpreter was created.
    FailureReason string
    The reason for failure if the code interpreter creation or operation failed.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedAt string
    Timestamp when the code interpreter was last updated.
    Status Pulumi.AwsNative.BedrockAgentCore.CodeInterpreterCustomCodeInterpreterStatus
    Status of code interpreter.
    CodeInterpreterArn string
    The ARN of a CodeInterpreter resource.
    CodeInterpreterId string
    The id of the code interpreter.
    CreatedAt string
    Timestamp when the code interpreter was created.
    FailureReason string
    The reason for failure if the code interpreter creation or operation failed.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedAt string
    Timestamp when the code interpreter was last updated.
    Status CodeInterpreterCustomCodeInterpreterStatus
    Status of code interpreter.
    code_interpreter_arn string
    The ARN of a CodeInterpreter resource.
    code_interpreter_id string
    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_at string
    Timestamp when the code interpreter was last updated.
    status "CREATING" | "CREATE_FAILED" | "READY" | "DELETING" | "DELETE_FAILED" | "DELETED"
    Status of code interpreter.
    codeInterpreterArn String
    The ARN of a CodeInterpreter resource.
    codeInterpreterId String
    The id of the code interpreter.
    createdAt String
    Timestamp when the code interpreter was created.
    failureReason String
    The reason for failure if the code interpreter creation or operation failed.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedAt String
    Timestamp when the code interpreter was last updated.
    status CodeInterpreterCustomCodeInterpreterStatus
    Status of code interpreter.
    codeInterpreterArn string
    The ARN of a CodeInterpreter resource.
    codeInterpreterId string
    The id of the code interpreter.
    createdAt string
    Timestamp when the code interpreter was created.
    failureReason string
    The reason for failure if the code interpreter creation or operation failed.
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdatedAt string
    Timestamp when the code interpreter was last updated.
    status CodeInterpreterCustomCodeInterpreterStatus
    Status of code interpreter.
    code_interpreter_arn str
    The ARN of a CodeInterpreter resource.
    code_interpreter_id str
    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_at str
    Timestamp when the code interpreter was last updated.
    status CodeInterpreterCustomCodeInterpreterStatus
    Status of code interpreter.
    codeInterpreterArn String
    The ARN of a CodeInterpreter resource.
    codeInterpreterId String
    The id of the code interpreter.
    createdAt String
    Timestamp when the code interpreter was created.
    failureReason String
    The reason for failure if the code interpreter creation or operation failed.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedAt String
    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) -> CodeInterpreterCustom
    func 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.

    CertificateLocation CodeInterpreterCustomCertificateLocation
    Certificate location in Secrets Manager.
    certificate_location object
    Certificate location in Secrets Manager.
    certificateLocation CodeInterpreterCustomCertificateLocation
    Certificate location in Secrets Manager.
    certificateLocation CodeInterpreterCustomCertificateLocation
    Certificate location in Secrets Manager.
    certificate_location CodeInterpreterCustomCertificateLocation
    Certificate location in Secrets Manager.
    certificateLocation Property Map
    Certificate location in Secrets Manager.

    CodeInterpreterCustomCertificateLocation, CodeInterpreterCustomCertificateLocationArgs

    Certificate location in Secrets Manager.

    SecretArn string
    Secrets Manager secret ARN.
    SecretArn string
    Secrets Manager secret ARN.
    secret_arn string
    Secrets Manager secret ARN.
    secretArn String
    Secrets Manager secret ARN.
    secretArn string
    Secrets Manager secret ARN.
    secret_arn str
    Secrets Manager secret ARN.
    secretArn String
    Secrets Manager secret ARN.

    CodeInterpreterCustomCodeInterpreterNetworkConfiguration, CodeInterpreterCustomCodeInterpreterNetworkConfigurationArgs

    Network configuration for code interpreter

    CodeInterpreterCustomCodeInterpreterNetworkMode

    Network modes supported by code interpreter

    NameValue
    PublicPUBLIC
    SandboxSANDBOX
    VpcVPC
    NameValue
    CodeInterpreterCustomCodeInterpreterNetworkModePublicPUBLIC
    CodeInterpreterCustomCodeInterpreterNetworkModeSandboxSANDBOX
    CodeInterpreterCustomCodeInterpreterNetworkModeVpcVPC
    Value
    PUBLIC
    SANDBOX
    VPC
    NameValue
    PublicPUBLIC
    SandboxSANDBOX
    VpcVPC
    NameValue
    PublicPUBLIC
    SandboxSANDBOX
    VpcVPC
    NameValue
    PUBLICPUBLIC
    SANDBOXSANDBOX
    VPCVPC
    Value
    PUBLIC
    SANDBOX
    VPC

    CodeInterpreterCustomCodeInterpreterStatus

    Status of Code interpreter

    NameValue
    CreatingCREATING
    CreateFailedCREATE_FAILED
    ReadyREADY
    DeletingDELETING
    DeleteFailedDELETE_FAILED
    DeletedDELETED
    NameValue
    CodeInterpreterCustomCodeInterpreterStatusCreatingCREATING
    CodeInterpreterCustomCodeInterpreterStatusCreateFailedCREATE_FAILED
    CodeInterpreterCustomCodeInterpreterStatusReadyREADY
    CodeInterpreterCustomCodeInterpreterStatusDeletingDELETING
    CodeInterpreterCustomCodeInterpreterStatusDeleteFailedDELETE_FAILED
    CodeInterpreterCustomCodeInterpreterStatusDeletedDELETED
    Value
    CREATING
    CREATE_FAILED
    READY
    DELETING
    DELETE_FAILED
    DELETED
    NameValue
    CreatingCREATING
    CreateFailedCREATE_FAILED
    ReadyREADY
    DeletingDELETING
    DeleteFailedDELETE_FAILED
    DeletedDELETED
    NameValue
    CreatingCREATING
    CreateFailedCREATE_FAILED
    ReadyREADY
    DeletingDELETING
    DeleteFailedDELETE_FAILED
    DeletedDELETED
    NameValue
    CREATINGCREATING
    CREATE_FAILEDCREATE_FAILED
    READYREADY
    DELETINGDELETING
    DELETE_FAILEDDELETE_FAILED
    DELETEDDELETED
    Value
    CREATING
    CREATE_FAILED
    READY
    DELETING
    DELETE_FAILED
    DELETED

    CodeInterpreterCustomVpcConfig, CodeInterpreterCustomVpcConfigArgs

    Network mode configuration for VPC

    SecurityGroups List<string>
    Subnets List<string>
    SecurityGroups []string
    Subnets []string
    security_groups list(string)
    subnets list(string)
    securityGroups List<String>
    subnets List<String>
    securityGroups string[]
    subnets string[]
    security_groups Sequence[str]
    subnets Sequence[str]
    securityGroups List<String>
    subnets List<String>

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial