class BrowserNetworkConfiguration
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.BrowserNetworkConfiguration | 
  Go | github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2#BrowserNetworkConfiguration | 
  Java | software.amazon.awscdk.services.bedrock.agentcore.alpha.BrowserNetworkConfiguration | 
  Python | aws_cdk.aws_bedrock_agentcore_alpha.BrowserNetworkConfiguration | 
  TypeScript (source) | @aws-cdk/aws-bedrock-agentcore-alpha ยป BrowserNetworkConfiguration | 
Extends
Network
Network configuration for the Browser tool.
Example
const vpc = new ec2.Vpc(this, 'testVPC');
const codeInterpreter = new agentcore.CodeInterpreterCustom(this, "MyCodeInterpreter", {
  codeInterpreterCustomName: "my_sandbox_interpreter",
  description: "Code interpreter with isolated network access",
  networkConfiguration: agentcore.BrowserNetworkConfiguration.usingVpc(this, {
    vpc: vpc,
  }),
});
codeInterpreter.connections.addSecurityGroup(new ec2.SecurityGroup(this, 'AdditionalGroup', { vpc }));
Initializer (protected)
super(mode: string, scope?: Construct, vpcConfig?: VpcConfigProps)
Parameters
- mode 
stringโ - the network mode to use for the tool. - scope 
Construct - vpcConfig 
VpcConfig Props  
Creates a new network configuration.
Properties
| Name | Type | Description | 
|---|---|---|
| network | string | The network mode to use. | 
| connections? | Connections | The connections object to the network. | 
| scope? | Construct | The scope to create the resource in. | 
| vpc | Subnet | The VPC subnets to use. | 
networkMode
Type:
string
The network mode to use.
Configure the security level for agent execution to control access, isolate resources, and protect sensitive data.
connections?
Type:
Connections
(optional)
The connections object to the network.
scope?
Type:
Construct
(optional)
The scope to create the resource in.
vpcSubnets?
Type:
Subnet
(optional)
The VPC subnets to use.
Methods
| Name | Description | 
|---|---|
| static using | Creates a public network configuration. | 
| static using | Creates a network configuration from a VPC configuration. | 
static usingPublicNetwork()  
public static usingPublicNetwork(): BrowserNetworkConfiguration
Returns
Creates a public network configuration.
PUBLIC is the default network mode.
static usingVpc(scope, vpcConfig) 
public static usingVpc(scope: Construct, vpcConfig: VpcConfigProps): BrowserNetworkConfiguration
Parameters
- scope 
Construct - vpcConfig 
Vpcโ - The VPC configuration.Config Props  
Returns
Creates a network configuration from a VPC configuration.

 .NET
 Go
 Java
 Python
 TypeScript (