Class NetworkAclRuleState
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Ec2
Assembly: Pulumi.Aws.dll
Syntax
public sealed class NetworkAclRuleState : ResourceArgs
Constructors
View SourceNetworkAclRuleState()
Declaration
public NetworkAclRuleState()
Properties
View SourceCidrBlock
The network range to allow or deny, in CIDR notation (for example 172.16.0.0/24 ).
Declaration
public Input<string> CidrBlock { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Egress
Indicates whether this is an egress rule (rule is applied to traffic leaving the subnet). Default false.
Declaration
public Input<bool> Egress { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
FromPort
The from port to match.
Declaration
public Input<int> FromPort { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
IcmpCode
ICMP protocol: The ICMP code. Required if specifying ICMP for the protocol. e.g. -1
Declaration
public Input<string> IcmpCode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
IcmpType
ICMP protocol: The ICMP type. Required if specifying ICMP for the protocol. e.g. -1
Declaration
public Input<string> IcmpType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Ipv6CidrBlock
The IPv6 CIDR block to allow or deny.
Declaration
public Input<string> Ipv6CidrBlock { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NetworkAclId
The ID of the network ACL.
Declaration
public Input<string> NetworkAclId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Protocol
The protocol. A value of -1 means all protocols.
Declaration
public Input<string> Protocol { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RuleAction
Indicates whether to allow or deny the traffic that matches the rule. Accepted values: allow | deny
Declaration
public Input<string> RuleAction { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RuleNumber
The rule number for the entry (for example, 100). ACL entries are processed in ascending order by rule number.
Declaration
public Input<int> RuleNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
ToPort
The to port to match.
Declaration
public Input<int> ToPort { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |