Skip to content

Create Browser

bedrockagentcorecontrol_create_browser R Documentation

Creates a custom browser

Description

Creates a custom browser.

Usage

bedrockagentcorecontrol_create_browser(name, description,
  executionRoleArn, networkConfiguration, recording, browserSigning,
  enterprisePolicies, certificates, 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.

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"
        )
      )
    )
  ),
  clientToken = "string",
  tags = list(
    "string"
  )
)