Skip to content

Create Code Interpreter

bedrockagentcorecontrol_create_code_interpreter R Documentation

Creates a custom code interpreter

Description

Creates a custom code interpreter.

Usage

bedrockagentcorecontrol_create_code_interpreter(name, description,
  executionRoleArn, networkConfiguration, certificates, clientToken, tags)

Arguments

name

[required] The name of the code interpreter. The name must be unique within your account.

description

The description of the code interpreter.

executionRoleArn

The Amazon Resource Name (ARN) of the IAM role that provides permissions for the code interpreter to access Amazon Web Services services.

networkConfiguration

[required] The network configuration for the code interpreter. This configuration specifies the network mode for the code interpreter.

certificates

A list of certificates to install in the code interpreter.

clientToken

A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock AgentCore ignores the request but does not return an error.

tags

A map of tag keys and values to assign to the code interpreter. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.

Value

A list with the following syntax:

list(
  codeInterpreterId = "string",
  codeInterpreterArn = "string",
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  status = "CREATING"|"CREATE_FAILED"|"READY"|"DELETING"|"DELETE_FAILED"|"DELETED"
)

Request syntax

svc$create_code_interpreter(
  name = "string",
  description = "string",
  executionRoleArn = "string",
  networkConfiguration = list(
    networkMode = "PUBLIC"|"SANDBOX"|"VPC",
    vpcConfig = list(
      securityGroups = list(
        "string"
      ),
      subnets = list(
        "string"
      ),
      requireServiceS3Endpoint = TRUE|FALSE
    )
  ),
  certificates = list(
    list(
      location = list(
        secretsManager = list(
          secretArn = "string"
        )
      )
    )
  ),
  clientToken = "string",
  tags = list(
    "string"
  )
)