Interface CfnMonitoringSchedule.NetworkConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMonitoringSchedule.NetworkConfigProperty.Jsii$Proxy
- Enclosing class:
CfnMonitoringSchedule
@Stability(Stable)
public static interface CfnMonitoringSchedule.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 classA builder forCfnMonitoringSchedule.NetworkConfigPropertystatic final classAn implementation forCfnMonitoringSchedule.NetworkConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectWhether to encrypt all communications between distributed processing jobs.default ObjectWhether to allow inbound and outbound network calls to and from the containers used for the processing job.default ObjectSpecifies a VPC that your training jobs and hosted models 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
Trueto encrypt communications. Encryption provides greater security for distributed processing jobs, but the processing might take longer.Returns union: either
BooleanorIResolvable- See Also:
-
getEnableNetworkIsolation
Whether to allow inbound and outbound network calls to and from the containers used for the processing job.Returns union: either
BooleanorIResolvable- See Also:
-
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. For more information, see Protect Endpoints by Using an Amazon Virtual Private Cloud and Protect Training Jobs by Using an Amazon Virtual Private Cloud .
Returns union: either
IResolvableorCfnMonitoringSchedule.VpcConfigProperty- See Also:
-
builder
-