Skip to content

Creates a custom browser

Description

Creates a custom browser.

Usage

bedrockagentcorecontrol_create_browser(name, description,
  executionRoleArn, networkConfiguration, recording, browserSigning,
  enterprisePolicies, certificates, filesystemConfigurations, clientToken,
  tags)

Arguments

  • name

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

  • description

    The description of the browser.

  • executionRoleArn

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

  • networkConfiguration

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

  • recording

    The recording configuration for the browser. When enabled, browser sessions are recorded and stored in the specified Amazon S3 location.

  • browserSigning

    The browser signing configuration that enables cryptographic agent identification using HTTP message signatures for web bot authentication.

  • enterprisePolicies

    A list of enterprise policy files for the browser.

  • certificates

    A list of certificates to install in the browser.

  • filesystemConfigurations

    The file system configurations to mount into the browser. Use these configurations to mount your own Amazon Simple Storage Service (Amazon S3) Files or Amazon Elastic File System (Amazon EFS) access points. Your sessions can then access your data. If you don't specify this field, no file systems are mounted.

  • 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 browser. 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(
  browserId = "string",
  browserArn = "string",
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  status = "CREATING"|"CREATE_FAILED"|"READY"|"DELETING"|"DELETE_FAILED"|"DELETED"
)

Request syntax

svc$create_browser(
  name = "string",
  description = "string",
  executionRoleArn = "string",
  networkConfiguration = list(
    networkMode = "PUBLIC"|"VPC",
    vpcConfig = list(
      securityGroups = list(
        "string"
      ),
      subnets = list(
        "string"
      ),
      requireServiceS3Endpoint = TRUE|FALSE
    )
  ),
  recording = list(
    enabled = TRUE|FALSE,
    s3Location = list(
      bucket = "string",
      prefix = "string",
      versionId = "string"
    )
  ),
  browserSigning = list(
    enabled = TRUE|FALSE
  ),
  enterprisePolicies = list(
    list(
      location = list(
        s3 = list(
          bucket = "string",
          prefix = "string",
          versionId = "string"
        )
      ),
      type = "MANAGED"|"RECOMMENDED"
    )
  ),
  certificates = list(
    list(
      location = list(
        secretsManager = list(
          secretArn = "string"
        )
      )
    )
  ),
  filesystemConfigurations = list(
    list(
      s3FilesConfiguration = list(
        accessPointArn = "string",
        mountPath = "string",
        fileSystemArn = "string"
      ),
      efsConfiguration = list(
        accessPointArn = "string",
        mountPath = "string",
        fileSystemArn = "string"
      )
    )
  ),
  clientToken = "string",
  tags = list(
    "string"
  )
)