Struct aws_sdk_ec2::types::StaleIpPermission
source · #[non_exhaustive]pub struct StaleIpPermission { /* private fields */ }
Expand description
Describes a stale rule in a security group.
Implementations§
source§impl StaleIpPermission
impl StaleIpPermission
sourcepub fn from_port(&self) -> Option<i32>
pub fn from_port(&self) -> Option<i32>
The start of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1 indicates all ICMP types.
sourcepub fn ip_protocol(&self) -> Option<&str>
pub fn ip_protocol(&self) -> Option<&str>
The IP protocol name (for tcp
, udp
, and icmp
) or number (see Protocol Numbers).
sourcepub fn ip_ranges(&self) -> Option<&[String]>
pub fn ip_ranges(&self) -> Option<&[String]>
The IP ranges. Not applicable for stale security group rules.
sourcepub fn prefix_list_ids(&self) -> Option<&[String]>
pub fn prefix_list_ids(&self) -> Option<&[String]>
The prefix list IDs. Not applicable for stale security group rules.
sourcepub fn to_port(&self) -> Option<i32>
pub fn to_port(&self) -> Option<i32>
The end of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1
indicates all ICMP types.
sourcepub fn user_id_group_pairs(&self) -> Option<&[UserIdGroupPair]>
pub fn user_id_group_pairs(&self) -> Option<&[UserIdGroupPair]>
The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.
source§impl StaleIpPermission
impl StaleIpPermission
sourcepub fn builder() -> StaleIpPermissionBuilder
pub fn builder() -> StaleIpPermissionBuilder
Creates a new builder-style object to manufacture StaleIpPermission
.
Trait Implementations§
source§impl Clone for StaleIpPermission
impl Clone for StaleIpPermission
source§fn clone(&self) -> StaleIpPermission
fn clone(&self) -> StaleIpPermission
Returns a copy 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 StaleIpPermission
impl Debug for StaleIpPermission
source§impl PartialEq<StaleIpPermission> for StaleIpPermission
impl PartialEq<StaleIpPermission> for StaleIpPermission
source§fn eq(&self, other: &StaleIpPermission) -> bool
fn eq(&self, other: &StaleIpPermission) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StaleIpPermission
Auto Trait Implementations§
impl RefUnwindSafe for StaleIpPermission
impl Send for StaleIpPermission
impl Sync for StaleIpPermission
impl Unpin for StaleIpPermission
impl UnwindSafe for StaleIpPermission
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