pub struct Ec2Config {
pub security_group_arns: Vec<String>,
pub subnet_arn: String,
}
Expand description
The subnet and the security group that DataSync uses to access target EFS file system. The subnet must have at least one mount target for that file system. The security group that you provide needs to be able to communicate with the security group on the mount target in the subnet specified.
Fields§
§security_group_arns: Vec<String>
The Amazon Resource Names (ARNs) of the security groups that are configured for the Amazon EC2 resource.
subnet_arn: String
The ARN of the subnet and the security group that DataSync uses to access the target EFS file system.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ec2Config
impl<'de> Deserialize<'de> for Ec2Config
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 Ec2Config
Auto Trait Implementations§
impl Freeze for Ec2Config
impl RefUnwindSafe for Ec2Config
impl Send for Ec2Config
impl Sync for Ec2Config
impl Unpin for Ec2Config
impl UnwindSafe for Ec2Config
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