Interface CfnEndpointConfig.VpcConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEndpointConfig.VpcConfigProperty.Jsii$Proxy
- Enclosing class:
CfnEndpointConfig
@Stability(Stable)
public static interface CfnEndpointConfig.VpcConfigProperty
extends software.amazon.jsii.JsiiSerializable
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.
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEndpointConfig.VpcConfigPropertystatic final classAn implementation forCfnEndpointConfig.VpcConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The VPC security group IDs, in the form sg-xxxxxxxx.The ID of the subnets in the VPC to which you want to connect your training job or model.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSecurityGroupIds
The VPC security group IDs, in the form sg-xxxxxxxx.Specify the security groups for the VPC that is specified in the Subnets field.
- See Also:
-
getSubnets
The ID of the subnets in the VPC to which you want to connect your training job or model.- See Also:
-
builder
-