Skip to content
v2.273.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.CfnProcessingJob.NetworkConfigProperty = {
  enableInterContainerTrafficEncryption: false,
  enableNetworkIsolation: false,
  vpcConfig: {
    securityGroupIds: ['securityGroupIds'],
    subnets: ['subnets'],
  },
};

Properties ​

enableInterContainerTrafficEncryptionboolean | IResolvableenable_inter_container_traffic_encryptiontyping.Union[bool, IResolvable]enableInterContainerTrafficEncryptionBooleanEnableInterContainerTrafficEncryptionboolEnableInterContainerTrafficEncryptioninterface{}#
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.

enableNetworkIsolationboolean | IResolvableenable_network_isolationtyping.Union[bool, IResolvable]enableNetworkIsolationBooleanEnableNetworkIsolationboolEnableNetworkIsolationinterface{}#
Whether to allow inbound and outbound network calls to and from the containers used for the processing job.
vpcConfigIResolvable | CfnProcessingJob.VpcConfigPropertyvpc_configtyping.Union[IResolvable, VpcConfigProperty]vpcConfigIResolvableVpcConfigIResolvableVpcConfiginterface{}#
Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to.

You can control access to and from your resources by configuring a VPC. For more information, see Give SageMaker Access to Resources in your Amazon VPC .