Skip to content
v2.275.0

CodeInterpreterNetworkConfigurationProperty Struct ​

The network configuration.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const codeInterpreterNetworkConfigurationProperty: bedrockagentcore.CfnCodeInterpreterCustom.CodeInterpreterNetworkConfigurationProperty = {
  networkMode: 'networkMode',

  // the properties below are optional
  vpcConfig: {
    securityGroups: ['securityGroups'],
    subnets: ['subnets'],
  },
};

Properties ​

networkModestringnetwork_modestrnetworkModeStringNetworkModestringNetworkMode*stringrequired#
The network mode.
vpcConfigoptionalIResolvable | CfnCodeInterpreterCustom.VpcConfigPropertyvpc_configoptionaltyping.Union[IResolvable, VpcConfigProperty]vpcConfigoptionalIResolvableVpcConfigoptionalIResolvableVpcConfigoptionalinterface{}#
Network mode configuration for VPC.