Interface CfnModelQualityJobDefinition.NetworkConfigProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnModelQualityJobDefinition.NetworkConfigProperty.Jsii$Proxy
Enclosing class:
CfnModelQualityJobDefinition

@Stability(Stable) public static interface CfnModelQualityJobDefinition.NetworkConfigProperty extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.sagemaker.*;
 NetworkConfigProperty networkConfigProperty = NetworkConfigProperty.builder()
         .enableInterContainerTrafficEncryption(false)
         .enableNetworkIsolation(false)
         .vpcConfig(VpcConfigProperty.builder()
                 .securityGroupIds(List.of("securityGroupIds"))
                 .subnets(List.of("subnets"))
                 .build())
         .build();
 
  • Method Details

    • getEnableInterContainerTrafficEncryption

      @Stability(Stable) @Nullable default Object getEnableInterContainerTrafficEncryption()
      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.

    • getEnableNetworkIsolation

      @Stability(Stable) @Nullable default Object getEnableNetworkIsolation()
      Whether to allow inbound and outbound network calls to and from the containers used for the processing job.
    • getVpcConfig

      @Stability(Stable) @Nullable default Object getVpcConfig()
      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.

    • builder

      Returns:
      a CfnModelQualityJobDefinition.NetworkConfigProperty.Builder of CfnModelQualityJobDefinition.NetworkConfigProperty