CfnBrowserCustomPropsMixin

class aws_cdk.mixins_preview.aws_bedrockagentcore.mixins.CfnBrowserCustomPropsMixin(props, *, strategy=None)

Bases: Mixin

AgentCore Browser tool provides a fast, secure, cloud-based browser runtime to enable AI agents to interact with websites at scale.

For more information about using the custom browser, see Interact with web applications using Amazon Bedrock AgentCore Browser .

See the Properties section below for descriptions of both the required and optional properties.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html

CloudformationResource:

AWS::BedrockAgentCore::BrowserCustom

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_bedrockagentcore import mixins as bedrockagentcore_mixins

cfn_browser_custom_props_mixin = bedrockagentcore_mixins.CfnBrowserCustomPropsMixin(bedrockagentcore_mixins.CfnBrowserCustomMixinProps(
    browser_signing=bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.BrowserSigningProperty(
        enabled=False
    ),
    description="description",
    execution_role_arn="executionRoleArn",
    name="name",
    network_configuration=bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.BrowserNetworkConfigurationProperty(
        network_mode="networkMode",
        vpc_config=bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.VpcConfigProperty(
            security_groups=["securityGroups"],
            subnets=["subnets"]
        )
    ),
    recording_config=bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.RecordingConfigProperty(
        enabled=False,
        s3_location=bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.S3LocationProperty(
            bucket="bucket",
            prefix="prefix"
        )
    ),
    tags={
        "tags_key": "tags"
    }
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::BedrockAgentCore::BrowserCustom.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['browserSigning', 'description', 'executionRoleArn', 'name', 'networkConfiguration', 'recordingConfig', 'tags']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

BrowserNetworkConfigurationProperty

class CfnBrowserCustomPropsMixin.BrowserNetworkConfigurationProperty(*, network_mode=None, vpc_config=None)

Bases: object

The network configuration.

Parameters:
  • network_mode (Optional[str]) – The network mode.

  • vpc_config (Union[IResolvable, VpcConfigProperty, Dict[str, Any], None]) – Network mode configuration for VPC.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-browsernetworkconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_bedrockagentcore import mixins as bedrockagentcore_mixins

browser_network_configuration_property = bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.BrowserNetworkConfigurationProperty(
    network_mode="networkMode",
    vpc_config=bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.VpcConfigProperty(
        security_groups=["securityGroups"],
        subnets=["subnets"]
    )
)

Attributes

network_mode

The network mode.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-browsernetworkconfiguration.html#cfn-bedrockagentcore-browsercustom-browsernetworkconfiguration-networkmode

vpc_config

Network mode configuration for VPC.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-browsernetworkconfiguration.html#cfn-bedrockagentcore-browsercustom-browsernetworkconfiguration-vpcconfig

BrowserSigningProperty

class CfnBrowserCustomPropsMixin.BrowserSigningProperty(*, enabled=None)

Bases: object

Browser signing configuration.

Parameters:

enabled (Union[bool, IResolvable, None]) – Default: - false

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-browsersigning.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_bedrockagentcore import mixins as bedrockagentcore_mixins

browser_signing_property = bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.BrowserSigningProperty(
    enabled=False
)

Attributes

enabled
  • false

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-browsersigning.html#cfn-bedrockagentcore-browsercustom-browsersigning-enabled

Type:

default

RecordingConfigProperty

class CfnBrowserCustomPropsMixin.RecordingConfigProperty(*, enabled=None, s3_location=None)

Bases: object

The recording configuration.

Parameters:
  • enabled (Union[bool, IResolvable, None]) – The recording configuration for a browser. This structure defines how browser sessions are recorded. Default: - false

  • s3_location (Union[IResolvable, S3LocationProperty, Dict[str, Any], None]) – The S3 location.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-recordingconfig.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_bedrockagentcore import mixins as bedrockagentcore_mixins

recording_config_property = bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.RecordingConfigProperty(
    enabled=False,
    s3_location=bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.S3LocationProperty(
        bucket="bucket",
        prefix="prefix"
    )
)

Attributes

enabled

The recording configuration for a browser.

This structure defines how browser sessions are recorded.

Default:
  • false

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-recordingconfig.html#cfn-bedrockagentcore-browsercustom-recordingconfig-enabled

s3_location

The S3 location.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-recordingconfig.html#cfn-bedrockagentcore-browsercustom-recordingconfig-s3location

S3LocationProperty

class CfnBrowserCustomPropsMixin.S3LocationProperty(*, bucket=None, prefix=None)

Bases: object

The S3 location.

Parameters:
  • bucket (Optional[str]) – The S3 location bucket name.

  • prefix (Optional[str]) – The S3 location object prefix.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-s3location.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_bedrockagentcore import mixins as bedrockagentcore_mixins

s3_location_property = bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.S3LocationProperty(
    bucket="bucket",
    prefix="prefix"
)

Attributes

bucket

The S3 location bucket name.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-s3location.html#cfn-bedrockagentcore-browsercustom-s3location-bucket

prefix

The S3 location object prefix.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-s3location.html#cfn-bedrockagentcore-browsercustom-s3location-prefix

VpcConfigProperty

class CfnBrowserCustomPropsMixin.VpcConfigProperty(*, security_groups=None, subnets=None)

Bases: object

Network mode configuration for VPC.

Parameters:
  • security_groups (Optional[Sequence[str]]) – Security groups for VPC.

  • subnets (Optional[Sequence[str]]) – Subnets for VPC.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-vpcconfig.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_bedrockagentcore import mixins as bedrockagentcore_mixins

vpc_config_property = bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.VpcConfigProperty(
    security_groups=["securityGroups"],
    subnets=["subnets"]
)

Attributes

security_groups

Security groups for VPC.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-vpcconfig.html#cfn-bedrockagentcore-browsercustom-vpcconfig-securitygroups

subnets

Subnets for VPC.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-vpcconfig.html#cfn-bedrockagentcore-browsercustom-vpcconfig-subnets