public static interface CfnModelExplainabilityJobDefinition.VpcConfigProperty
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 .
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.*; VpcConfigProperty vpcConfigProperty = VpcConfigProperty.builder() .securityGroupIds(List.of("securityGroupIds")) .subnets(List.of("subnets")) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnModelExplainabilityJobDefinition.VpcConfigProperty.Builder
A builder for
CfnModelExplainabilityJobDefinition.VpcConfigProperty |
static class |
CfnModelExplainabilityJobDefinition.VpcConfigProperty.Jsii$Proxy
An implementation for
CfnModelExplainabilityJobDefinition.VpcConfigProperty |
Modifier and Type | Method and Description |
---|---|
static CfnModelExplainabilityJobDefinition.VpcConfigProperty.Builder |
builder() |
java.util.List<java.lang.String> |
getSecurityGroupIds()
The VPC security group IDs, in the form sg-xxxxxxxx.
|
java.util.List<java.lang.String> |
getSubnets()
The ID of the subnets in the VPC to which you want to connect your training job or model.
|
java.util.List<java.lang.String> getSecurityGroupIds()
Specify the security groups for the VPC that is specified in the Subnets
field.
java.util.List<java.lang.String> getSubnets()
For information about the availability of specific instance types, see Supported Instance Types and Availability Zones .