pub struct VpcConfig {
pub security_group_ids: Vec<String>,
pub subnets: Vec<String>,
}
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.
Fields§
§security_group_ids: Vec<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.
subnets: Vec<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<'de> Deserialize<'de> for VpcConfig
impl<'de> Deserialize<'de> for VpcConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for VpcConfig
Auto Trait Implementations§
impl Freeze for VpcConfig
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