Struct aws_sdk_sagemaker::types::VpcConfig
source · #[non_exhaustive]pub struct VpcConfig { /* private fields */ }
Expand description
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.
Implementations§
source§impl VpcConfig
impl VpcConfig
sourcepub fn security_group_ids(&self) -> Option<&[String]>
pub fn security_group_ids(&self) -> Option<&[String]>
The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets
field.
sourcepub fn subnets(&self) -> Option<&[String]>
pub fn subnets(&self) -> Option<&[String]>
The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones.
Trait Implementations§
source§impl PartialEq<VpcConfig> for VpcConfig
impl PartialEq<VpcConfig> for VpcConfig
impl StructuralPartialEq for VpcConfig
Auto Trait Implementations§
impl RefUnwindSafe for VpcConfig
impl Send for VpcConfig
impl Sync for VpcConfig
impl Unpin for VpcConfig
impl UnwindSafe for VpcConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more