NetworkAclRuleState constructor
- Input<
String?> ? cidrBlock, - Input<
bool?> ? egress, - Input<
int?> ? fromPort, - Input<
int?> ? icmpCode, - Input<
int?> ? icmpType, - Input<
String?> ? ipv6CidrBlock, - Input<
String?> ? networkAclId, - Input<
String?> ? protocol, - Input<
String?> ? region, - Input<
String?> ? ruleAction, - Input<
int?> ? ruleNumber, - Input<
int?> ? toPort,
Creates a new NetworkAclRuleState.
cidrBlock The network range to allow or deny, in CIDR notation (for example 172.16.0.0/24 ).
egress Indicates whether this is an egress rule (rule is applied to traffic leaving the subnet). Default false.
fromPort The from port to match.
icmpCode ICMP protocol: The ICMP code. Required if specifying ICMP for the protocolE.g., -1
icmpType ICMP protocol: The ICMP type. Required if specifying ICMP for the protocolE.g., -1
ipv6CidrBlock The IPv6 CIDR block to allow or deny.
networkAclId The ID of the network ACL.
protocol The protocol. A value of -1 means all protocols.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
ruleAction Indicates whether to allow or deny the traffic that matches the rule. Accepted values: allow | deny
ruleNumber The rule number for the entry (for example, 100). ACL entries are processed in ascending order by rule number.
toPort The to port to match.
Implementation
const NetworkAclRuleState({
this.cidrBlock,
this.egress,
this.fromPort,
this.icmpCode,
this.icmpType,
this.ipv6CidrBlock,
this.networkAclId,
this.protocol,
this.region,
this.ruleAction,
this.ruleNumber,
this.toPort,
});