Struct aws_sdk_ec2::model::StaleIpPermission [−][src]
#[non_exhaustive]pub struct StaleIpPermission {
pub from_port: Option<i32>,
pub ip_protocol: Option<String>,
pub ip_ranges: Option<Vec<String>>,
pub prefix_list_ids: Option<Vec<String>>,
pub to_port: Option<i32>,
pub user_id_group_pairs: Option<Vec<UserIdGroupPair>>,
}
Expand description
Describes a stale rule in a security group.
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.from_port: 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.
ip_protocol: Option<String>
The IP protocol name (for tcp
, udp
, and icmp
) or number (see Protocol Numbers).
ip_ranges: Option<Vec<String>>
The IP ranges. Not applicable for stale security group rules.
prefix_list_ids: Option<Vec<String>>
The prefix list IDs. Not applicable for stale security group rules.
to_port: 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.
user_id_group_pairs: Option<Vec<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.
Implementations
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.
The IP protocol name (for tcp
, udp
, and icmp
) or number (see Protocol Numbers).
The IP ranges. Not applicable for stale security group rules.
The prefix list IDs. Not applicable for stale security group rules.
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.
The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.
Creates a new builder-style object to manufacture StaleIpPermission
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more