interface NetworkConfigProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnModelQualityJobDefinition.NetworkConfigProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnModelQualityJobDefinition.NetworkConfigProperty |
Python | aws_cdk.aws_sagemaker.CfnModelQualityJobDefinition.NetworkConfigProperty |
TypeScript | @aws-cdk/aws-sagemaker » CfnModelQualityJobDefinition » 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 * as sagemaker from '@aws-cdk/aws-sagemaker';
const networkConfigProperty: sagemaker.CfnModelQualityJobDefinition.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.