Builder

class Builder

Properties

Link copied to clipboard

The unique identifier of the browser to use for this session. This identifier specifies which browser environment to initialize for the session.

Link copied to clipboard

A list of certificates to install in the browser session.

Link copied to clipboard

A unique, case-sensitive identifier to ensure that the API request 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. This parameter helps prevent the creation of duplicate sessions if there are temporary network issues.

Link copied to clipboard

A list of files containing enterprise policies for the browser.

Link copied to clipboard

A list of browser extensions to load into the browser session.

Link copied to clipboard
var name: String?

The name of the browser session. This name helps you identify and manage the session. The name does not need to be unique.

Link copied to clipboard

The browser profile configuration to use for this session. A browser profile contains persistent data such as cookies and local storage that can be reused across multiple browser sessions. If specified, the session initializes with the profile's stored data, enabling continuity for tasks that require authentication or personalized settings.

Link copied to clipboard

Optional proxy configuration for routing browser traffic through customer-specified proxy servers. When provided, enables HTTP Basic authentication via Amazon Web Services Secrets Manager and domain-based routing rules. Requires secretsmanager:GetSecretValue IAM permission for the specified secret ARNs.

Link copied to clipboard

The duration in seconds (time-to-live) after which the session automatically terminates, regardless of ongoing activity. Defaults to 3600 seconds (1 hour). Recommended minimum: 60 seconds. Maximum allowed: 28,800 seconds (8 hours).

Link copied to clipboard

The trace identifier for request tracking.

Link copied to clipboard

The parent trace information for distributed tracing.

Link copied to clipboard

The dimensions of the browser viewport for this session. This determines the visible area of the web content and affects how web pages are rendered. If not specified, Amazon Bedrock AgentCore uses a default viewport size.