Interface CfnProcessingJob.NetworkConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnProcessingJob.NetworkConfigProperty.Jsii$Proxy
- Enclosing class:
CfnProcessingJob
@Stability(Stable)
public static interface CfnProcessingJob.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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnProcessingJob.NetworkConfigProperty
static final class
An implementation forCfnProcessingJob.NetworkConfigProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Whether to encrypt all communications between distributed processing jobs.default Object
Whether to allow inbound and outbound network calls to and from the containers used for the processing job.default Object
Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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.- See Also:
-
getEnableNetworkIsolation
Whether to allow inbound and outbound network calls to and from the containers used for the processing job.- See Also:
-
getVpcConfig
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 .
- See Also:
-
builder
-