# NetworkConfigProperty

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.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## 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.CfnModelExplainabilityJobDefinition.NetworkConfigProperty = {
  enableInterContainerTrafficEncryption: false,
  enableNetworkIsolation: false,
  vpcConfig: {
    securityGroupIds: ['securityGroupIds'],
    subnets: ['subnets'],
  },
};
```

## Properties

- `enableInterContainerTrafficEncryption`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — 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.

- `enableNetworkIsolation`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Whether to allow inbound and outbound network calls to and from the containers used for the processing job.

- `vpcConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnModelExplainabilityJobDefinition.VpcConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnModelExplainabilityJobDefinition.VpcConfigProperty.html) — 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.
