class RuntimeNetworkConfiguration
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.RuntimeNetworkConfiguration |
Go | github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2#RuntimeNetworkConfiguration |
Java | software.amazon.awscdk.services.bedrock.agentcore.alpha.RuntimeNetworkConfiguration |
Python | aws_cdk.aws_bedrock_agentcore_alpha.RuntimeNetworkConfiguration |
TypeScript (source) | @aws-cdk/aws-bedrock-agentcore-alpha ยป RuntimeNetworkConfiguration |
Extends
Network
Network configuration for the Runtime.
Example
// 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 runtimeNetworkConfiguration = bedrock_agentcore_alpha.RuntimeNetworkConfiguration.usingPublicNetwork();
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(): RuntimeNetworkConfiguration
Returns
Creates a public network configuration.
PUBLIC is the default network mode.
static usingVpc(scope, vpcConfig)
public static usingVpc(scope: Construct, vpcConfig: VpcConfigProps): RuntimeNetworkConfiguration
Parameters
- scope
Constructโ - The construct scope for creating resources. - vpcConfig
Vpcโ - The VPC configuration.Config Props
Returns
Creates a network configuration from a VPC configuration.

.NET
Go
Java
Python
TypeScript (