direction |
String |
False |
The direction in which the security group rule is applied.
For a compute instance, an ingress security group rule matches traffic that is
incoming (ingress) for that instance. An egress rule is applied to traffic leaving
the instance. Valid values are ingress and
egress. |
ethertype |
String |
False |
Ethertype of the traffic. Valid values are
IPv4 and IPv6. |
port_range_max |
Integer |
False |
The maximum port number in the range that is matched by
the security group rule. The port_range_min attribute
constrains the port_range_max attribute. If the protocol is
ICMP, this value must be an ICMP type. |
port_range_min |
Integer |
False |
The minimum port number in the range that is matched by
the security group rule. If the protocol is TCP or UDP, this value must be less
than or equal to the value of the port_range_max attribute.
If the protocol is ICMP, this value must be an ICMP type. |
protocol |
String |
False |
The protocol that is matched by the security group rule.
Valid values include tcp, udp, and
icmp. |
remote_group_id |
String |
False |
The remote group ID to be associated with this security
group rule. If no value is specified then this rule will use this security group
for the remote_group_id. |
remote_ip_prefix |
String |
False |
The remote IP prefix (CIDR) to be associated with this
security group rule. |
remote_mode |
String |
False |
Whether to specify a remote group or a remote IP prefix.
Valid values are remote_ip_prefix and
remote_group_id. |