pub struct SecurityGroup {
pub description: Option<String>,
pub group_id: Option<String>,
pub group_name: Option<String>,
pub ip_permissions: Option<Vec<IpPermission>>,
pub ip_permissions_egress: Option<Vec<IpPermission>>,
pub owner_id: Option<String>,
pub tags: Option<Vec<Tag>>,
pub vpc_id: Option<String>,
}Expand description
Describes a security group
Fields§
§description: Option<String>A description of the security group.
group_id: Option<String>The ID of the security group.
group_name: Option<String>The name of the security group.
ip_permissions: Option<Vec<IpPermission>>The inbound rules associated with the security group.
ip_permissions_egress: Option<Vec<IpPermission>>[VPC only] The outbound rules associated with the security group.
owner_id: Option<String>The AWS account ID of the owner of the security group.
Any tags assigned to the security group.
vpc_id: Option<String>[VPC only] The ID of the VPC for the security group.
Trait Implementations§
Source§impl Clone for SecurityGroup
impl Clone for SecurityGroup
Source§fn clone(&self) -> SecurityGroup
fn clone(&self) -> SecurityGroup
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SecurityGroup
impl Debug for SecurityGroup
Source§impl Default for SecurityGroup
impl Default for SecurityGroup
Source§fn default() -> SecurityGroup
fn default() -> SecurityGroup
Returns the “default value” for a type. Read more
Source§impl PartialEq for SecurityGroup
impl PartialEq for SecurityGroup
impl StructuralPartialEq for SecurityGroup
Auto Trait Implementations§
impl Freeze for SecurityGroup
impl RefUnwindSafe for SecurityGroup
impl Send for SecurityGroup
impl Sync for SecurityGroup
impl Unpin for SecurityGroup
impl UnwindSafe for SecurityGroup
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