BrowserCustomProps

class aws_cdk.aws_bedrock_agentcore_alpha.BrowserCustomProps(*, browser_custom_name, browser_signing=None, description=None, execution_role=None, network_configuration=None, recording_config=None, tags=None)

Bases: object

(experimental) Properties for creating a Browser resource.

Parameters:
  • browser_custom_name (str) – (experimental) The name of the browser Valid characters are a-z, A-Z, 0-9, _ (underscore) The name must start with a letter and can be up to 48 characters long Pattern: [a-zA-Z][a-zA-Z0-9_]{0,47}.

  • browser_signing (Optional[BrowserSigning]) – (experimental) Specifies whether browser signing is enabled. When enabled, the browser will cryptographically sign HTTP requests to identify itself as an AI agent to bot control vendors. Default: - BrowserSigning.DISABLED

  • description (Optional[str]) – (experimental) Optional description for the browser Valid characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen) and spaces The description can have up to 200 characters. Default: - No description

  • execution_role (Optional[IRole]) – (experimental) The IAM role that provides permissions for the browser to access AWS services. Default: - A new role will be created

  • network_configuration (Optional[BrowserNetworkConfiguration]) – (experimental) Network configuration for browser. Default: - PUBLIC network mode

  • recording_config (Union[RecordingConfig, Dict[str, Any], None]) – (experimental) Recording configuration for browser. Default: - No recording configuration

  • tags (Optional[Mapping[str, str]]) – (experimental) Tags (optional) A list of key:value pairs of tags to apply to this Browser resource. Default: {} - no tags

Stability:

experimental

ExampleMetadata:

fixture=default infused

Example:

browser = agentcore.BrowserCustom(self, "BrowserVpcWithRecording",
    browser_custom_name="browser_recording",
    network_configuration=agentcore.BrowserNetworkConfiguration.using_vpc(self,
        vpc=ec2.Vpc(self, "VPC", restrict_default_security_group=False)
    )
)

Attributes

browser_custom_name

[a-zA-Z][a-zA-Z0-9_]{0,47}.

Stability:

experimental

Required:
  • Yes

Type:

(experimental) The name of the browser Valid characters are a-z, A-Z, 0-9, _ (underscore) The name must start with a letter and can be up to 48 characters long Pattern

browser_signing

(experimental) Specifies whether browser signing is enabled.

When enabled, the browser will cryptographically sign HTTP requests to identify itself as an AI agent to bot control vendors.

Default:
  • BrowserSigning.DISABLED

Stability:

experimental

description

(experimental) Optional description for the browser Valid characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen) and spaces The description can have up to 200 characters.

Default:
  • No description

Stability:

experimental

Required:
  • No

execution_role

(experimental) The IAM role that provides permissions for the browser to access AWS services.

Default:
  • A new role will be created

Stability:

experimental

Required:
  • No

network_configuration

(experimental) Network configuration for browser.

Default:
  • PUBLIC network mode

Stability:

experimental

Required:
  • No

recording_config

(experimental) Recording configuration for browser.

Default:
  • No recording configuration

Stability:

experimental

Required:
  • No

tags

value pairs of tags to apply to this Browser resource.

Default:

{} - no tags

Stability:

experimental

Required:
  • No

Type:

(experimental) Tags (optional) A list of key