Struct aws_sdk_appstream::types::VpcConfig
source · #[non_exhaustive]pub struct VpcConfig {
pub subnet_ids: Option<Vec<String>>,
pub security_group_ids: Option<Vec<String>>,
}
Expand description
Describes VPC configuration information for fleets and image builders.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.subnet_ids: Option<Vec<String>>
The identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance. Fleet instances use one or more subnets. Image builder instances use one subnet.
security_group_ids: Option<Vec<String>>
The identifiers of the security groups for the fleet or image builder.
Implementations§
source§impl VpcConfig
impl VpcConfig
sourcepub fn subnet_ids(&self) -> Option<&[String]>
pub fn subnet_ids(&self) -> Option<&[String]>
The identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance. Fleet instances use one or more subnets. Image builder instances use one subnet.
sourcepub fn security_group_ids(&self) -> Option<&[String]>
pub fn security_group_ids(&self) -> Option<&[String]>
The identifiers of the security groups for the fleet or image builder.
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