Skip to content
v2.275.0

Experimental

@aws-cdk/aws-bedrock-agentcore-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

BrowserNetworkConfiguration Class ​

Network configuration for the Browser tool.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
const browserNetworkConfiguration = bedrock_agentcore_alpha.BrowserNetworkConfiguration.usingPublicNetwork();

Properties ​

connectionsmay be undefinedConnectionsconnectionsmay be undefinedConnectionsconnectionsmay be undefinedConnectionsConnectionsmay be undefinedConnectionsConnectionsmay be undefinedConnections#
The connections object to the network.
networkModestringnetwork_modestrnetworkModeStringNetworkModestringNetworkMode*string#
The network mode to use.

Configure the security level for agent execution to control access, isolate resources, and protect sensitive data.

scopemay be undefinedConstructscopemay be undefinedConstructscopemay be undefinedConstructScopemay be undefinedConstructScopemay be undefinedConstruct#
The scope to create the resource in.
vpcSubnetsmay be undefinedSubnetSelectionvpc_subnetsmay be undefinedSubnetSelectionvpcSubnetsmay be undefinedSubnetSelectionVpcSubnetsmay be undefinedSubnetSelectionVpcSubnetsmay be undefinedSubnetSelection#
The VPC subnets to use.

Methods ​

usingPublicNetwork(): BrowserNetworkConfiguration // chainable@staticmethod def using_public_network() -> BrowserNetworkConfigurationpublic static BrowserNetworkConfiguration usingPublicNetwork()public static BrowserNetworkConfiguration UsingPublicNetwork()func UsingPublicNetwork() BrowserNetworkConfigurationstatic#
Creates a public network configuration.

PUBLIC is the default network mode.

returns

Returns: A BrowserNetworkConfiguration. Run this tool to operate in a public environment with internet access, suitable for less sensitive or open-use scenarios.

usingVpc(scope: Construct, vpcConfig: VpcConfigProps): BrowserNetworkConfiguration // chainable@staticmethod def using_vpc(scope: Construct, vpc_config: VpcConfigProps) -> BrowserNetworkConfigurationpublic static BrowserNetworkConfiguration usingVpc(Construct scope, VpcConfigProps vpcConfig)public static BrowserNetworkConfiguration UsingVpc(Construct scope, VpcConfigProps vpcConfig)func UsingVpc(Scope Construct, VpcConfig VpcConfigProps) BrowserNetworkConfigurationstatic#
Creates a network configuration from a VPC configuration.
1 parameter · returns

Parameters

  • vpcConfigvpc_configvpcConfigvpcConfigVpcConfig — - The VPC configuration.

Returns: A BrowserNetworkConfiguration.