CfnBrowserCustomProps

class aws_cdk.aws_bedrockagentcore.CfnBrowserCustomProps(*, name, network_configuration, description=None, execution_role_arn=None, recording_config=None, tags=None)

Bases: object

Properties for defining a CfnBrowserCustom.

Parameters:
  • name (str) – The name of the custom browser.

  • network_configuration (Union[IResolvable, BrowserNetworkConfigurationProperty, Dict[str, Any]]) – The network configuration for a code interpreter. This structure defines how the code interpreter connects to the network.

  • description (Optional[str]) – The custom browser.

  • execution_role_arn (Optional[str]) – The Amazon Resource Name (ARN) of the execution role.

  • recording_config (Union[IResolvable, RecordingConfigProperty, Dict[str, Any], None]) – THe custom browser configuration.

  • tags (Optional[Mapping[str, str]]) – The tags for the custom browser.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.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 import aws_bedrockagentcore as bedrockagentcore

cfn_browser_custom_props = bedrockagentcore.CfnBrowserCustomProps(
    name="name",
    network_configuration=bedrockagentcore.CfnBrowserCustom.BrowserNetworkConfigurationProperty(
        network_mode="networkMode",

        # the properties below are optional
        vpc_config=bedrockagentcore.CfnBrowserCustom.VpcConfigProperty(
            security_groups=["securityGroups"],
            subnets=["subnets"]
        )
    ),

    # the properties below are optional
    description="description",
    execution_role_arn="executionRoleArn",
    recording_config=bedrockagentcore.CfnBrowserCustom.RecordingConfigProperty(
        enabled=False,
        s3_location=bedrockagentcore.CfnBrowserCustom.S3LocationProperty(
            bucket="bucket",
            prefix="prefix"
        )
    ),
    tags={
        "tags_key": "tags"
    }
)

Attributes

description

The custom browser.

See:

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

execution_role_arn

The Amazon Resource Name (ARN) of the execution role.

See:

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

name

The name of the custom browser.

See:

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

network_configuration

The network configuration for a code interpreter.

This structure defines how the code interpreter connects to the network.

See:

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

recording_config

THe custom browser configuration.

See:

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

tags

The tags for the custom browser.

See:

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