Struct aws_sdk_ec2::types::StaleSecurityGroup
source · #[non_exhaustive]pub struct StaleSecurityGroup {
pub description: Option<String>,
pub group_id: Option<String>,
pub group_name: Option<String>,
pub stale_ip_permissions: Option<Vec<StaleIpPermission>>,
pub stale_ip_permissions_egress: Option<Vec<StaleIpPermission>>,
pub vpc_id: Option<String>,
}
Expand description
Describes a stale security group (a security group that contains stale rules).
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.description: Option<String>
The 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.
stale_ip_permissions: Option<Vec<StaleIpPermission>>
Information about the stale inbound rules in the security group.
stale_ip_permissions_egress: Option<Vec<StaleIpPermission>>
Information about the stale outbound rules in the security group.
vpc_id: Option<String>
The ID of the VPC for the security group.
Implementations§
source§impl StaleSecurityGroup
impl StaleSecurityGroup
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the security group.
sourcepub fn group_name(&self) -> Option<&str>
pub fn group_name(&self) -> Option<&str>
The name of the security group.
sourcepub fn stale_ip_permissions(&self) -> &[StaleIpPermission]
pub fn stale_ip_permissions(&self) -> &[StaleIpPermission]
Information about the stale inbound rules in the security group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .stale_ip_permissions.is_none()
.
sourcepub fn stale_ip_permissions_egress(&self) -> &[StaleIpPermission]
pub fn stale_ip_permissions_egress(&self) -> &[StaleIpPermission]
Information about the stale outbound rules in the security group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .stale_ip_permissions_egress.is_none()
.
source§impl StaleSecurityGroup
impl StaleSecurityGroup
sourcepub fn builder() -> StaleSecurityGroupBuilder
pub fn builder() -> StaleSecurityGroupBuilder
Creates a new builder-style object to manufacture StaleSecurityGroup
.
Trait Implementations§
source§impl Clone for StaleSecurityGroup
impl Clone for StaleSecurityGroup
source§fn clone(&self) -> StaleSecurityGroup
fn clone(&self) -> StaleSecurityGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StaleSecurityGroup
impl Debug for StaleSecurityGroup
source§impl PartialEq for StaleSecurityGroup
impl PartialEq for StaleSecurityGroup
source§fn eq(&self, other: &StaleSecurityGroup) -> bool
fn eq(&self, other: &StaleSecurityGroup) -> bool
self
and other
values to be equal, and is used
by ==
.