Skip to content
v2.274.0

NetworkConfigProperty Struct ​

Networking options for a job, such as network traffic encryption between containers, whether to allow inbound and outbound network calls to and from containers, and the VPC subnets and security groups to use for VPC-enabled jobs.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const networkConfigProperty: sagemaker.CfnModelBiasJobDefinition.NetworkConfigProperty = {
  enableInterContainerTrafficEncryption: false,
  enableNetworkIsolation: false,
  vpcConfig: {
    securityGroupIds: ['securityGroupIds'],
    subnets: ['subnets'],
  },
};

Properties ​

enableInterContainerTrafficEncryptionoptionalboolean | IResolvableenable_inter_container_traffic_encryptionoptionaltyping.Union[bool, IResolvable]enableInterContainerTrafficEncryptionoptionalBooleanEnableInterContainerTrafficEncryptionoptionalboolEnableInterContainerTrafficEncryptionoptionalinterface{}#
Whether to encrypt all communications between distributed processing jobs.

Choose True to encrypt communications. Encryption provides greater security for distributed processing jobs, but the processing might take longer.

enableNetworkIsolationoptionalboolean | IResolvableenable_network_isolationoptionaltyping.Union[bool, IResolvable]enableNetworkIsolationoptionalBooleanEnableNetworkIsolationoptionalboolEnableNetworkIsolationoptionalinterface{}#
Whether to allow inbound and outbound network calls to and from the containers used for the processing job.
vpcConfigoptionalIResolvable | CfnModelBiasJobDefinition.VpcConfigPropertyvpc_configoptionaltyping.Union[IResolvable, VpcConfigProperty]vpcConfigoptionalIResolvableVpcConfigoptionalIResolvableVpcConfigoptionalinterface{}#
Specifies a VPC that your training jobs and hosted models have access to.

Control access to and from your training and model containers by configuring the VPC.