interface NetworkConfigProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnModelBiasJobDefinition.NetworkConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnModelBiasJobDefinition_NetworkConfigProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnModelBiasJobDefinition.NetworkConfigProperty |
Python | aws_cdk.aws_sagemaker.CfnModelBiasJobDefinition.NetworkConfigProperty |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnModelBiasJobDefinition » 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.
Example
// 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
Name | Type | Description |
---|---|---|
enable | boolean | IResolvable | Whether to encrypt all communications between distributed processing jobs. |
enable | boolean | IResolvable | Whether to allow inbound and outbound network calls to and from the containers used for the processing job. |
vpc | IResolvable | Vpc | Specifies a VPC that your training jobs and hosted models have access to. |
enableInterContainerTrafficEncryption?
Type:
boolean |
IResolvable
(optional)
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?
Type:
boolean |
IResolvable
(optional)
Whether to allow inbound and outbound network calls to and from the containers used for the processing job.
vpcConfig?
Type:
IResolvable
|
Vpc
(optional)
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.