BrowserCustomProps

class aws_cdk.aws_bedrock_agentcore_alpha.BrowserCustomProps(*, browser_custom_name=None, 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 (Optional[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}. Default: - auto generate

  • 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=_generated

Example:

from aws_cdk.aws_s3 import Location
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_bedrock_agentcore_alpha as bedrock_agentcore_alpha
from aws_cdk import aws_iam as iam

# browser_network_configuration: bedrock_agentcore_alpha.BrowserNetworkConfiguration
# role: iam.Role

browser_custom_props = bedrock_agentcore_alpha.BrowserCustomProps(
    browser_custom_name="browserCustomName",
    browser_signing=bedrock_agentcore_alpha.BrowserSigning.ENABLED,
    description="description",
    execution_role=role,
    network_configuration=browser_network_configuration,
    recording_config=bedrock_agentcore_alpha.RecordingConfig(
        enabled=False,
        s3_location=Location(
            bucket_name="bucketName",
            object_key="objectKey",

            # the properties below are optional
            object_version="objectVersion"
        )
    ),
    tags={
        "tags_key": "tags"
    }
)

Attributes

browser_custom_name

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

Default:
  • auto generate

Stability:

experimental

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