Struct rusoto_ec2::NetworkAclEntry [−][src]
pub struct NetworkAclEntry { pub cidr_block: Option<String>, pub egress: Option<bool>, pub icmp_type_code: Option<IcmpTypeCode>, pub ipv_6_cidr_block: Option<String>, pub port_range: Option<PortRange>, pub protocol: Option<String>, pub rule_action: Option<String>, pub rule_number: Option<i64>, }
Expand description
Describes an entry in a network ACL.
Fields
cidr_block: Option<String>
The IPv4 network range to allow or deny, in CIDR notation.
egress: Option<bool>
Indicates whether the rule is an egress rule (applied to traffic leaving the subnet).
icmp_type_code: Option<IcmpTypeCode>
ICMP protocol: The ICMP type and code.
ipv_6_cidr_block: Option<String>
The IPv6 network range to allow or deny, in CIDR notation.
port_range: Option<PortRange>
TCP or UDP protocols: The range of ports the rule applies to.
protocol: Option<String>
The protocol number. A value of "-1" means all protocols.
rule_action: Option<String>
Indicates whether to allow or deny the traffic that matches the rule.
rule_number: Option<i64>
The rule number for the entry. ACL entries are processed in ascending order by rule number.
Trait Implementations
Returns the “default value” for a type. Read more
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 NetworkAclEntry
impl Send for NetworkAclEntry
impl Sync for NetworkAclEntry
impl Unpin for NetworkAclEntry
impl UnwindSafe for NetworkAclEntry
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self