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>, }
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. 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
impl Default for NetworkAclEntry
[src]
fn default() -> NetworkAclEntry
[src]
Returns the "default value" for a type. Read more
impl Debug for NetworkAclEntry
[src]
impl Clone for NetworkAclEntry
[src]
fn clone(&self) -> NetworkAclEntry
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more