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
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) -> &[String]
pub fn subnet_ids(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .subnet_ids.is_none()
.
sourcepub fn security_group_ids(&self) -> &[String]
pub fn security_group_ids(&self) -> &[String]
The identifiers of the security groups for the fleet or image builder.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .security_group_ids.is_none()
.