Values_2.SecurityGroupRuleSourceDescribes a security group rule.
type nonrec t = {securityGroupRuleId : Values_1.SecurityGroupRuleId.t option;The ID of the security group rule.
*)groupId : Values_0.SecurityGroupId.t option;The ID of the security group.
*)groupOwnerId : Values_0.String_.t option;The ID of the Amazon Web Services account that owns the security group.
*)isEgress : Values_0.Boolean.t option;Indicates whether the security group rule is an outbound rule.
*)ipProtocol : Values_0.String_.t option;The IP protocol name (tcp, udp, icmp, icmpv6) or number (see Protocol Numbers). Use -1 to specify all protocols.
*)fromPort : Values_0.Integer.t option;If the protocol is TCP or UDP, this is the start of the port range. If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types).
*)toPort : Values_0.Integer.t option;If the protocol is TCP or UDP, this is the end of the port range. If the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes). If the start port is -1 (all ICMP types), then the end port must be -1 (all ICMP codes).
*)cidrIpv4 : Values_0.String_.t option;The IPv4 CIDR range.
*)cidrIpv6 : Values_0.String_.t option;The IPv6 CIDR range.
*)prefixListId : Values_0.PrefixListResourceId.t option;The ID of the prefix list.
*)referencedGroupInfo : Values_1.ReferencedSecurityGroup.t option;Describes the security group that is referenced in the rule.
*)description : Values_0.String_.t option;The security group rule description.
*)securityGroupRuleArn : Values_0.String_.t option;The ARN of the security group rule.
*)}val make :
?securityGroupRuleId:??? ->
?groupId:??? ->
?groupOwnerId:??? ->
?isEgress:??? ->
?ipProtocol:??? ->
?fromPort:??? ->
?toPort:??? ->
?cidrIpv4:??? ->
?cidrIpv6:??? ->
?prefixListId:??? ->
?referencedGroupInfo:??? ->
?description:??? ->
?tags:??? ->
?securityGroupRuleArn:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Values_0.Boolean.t
| `Integer of Values_0.Integer.t
| `List of
[> `Structure of (string * [> `String of string ]) list ] list
| `String of Values_1.SecurityGroupRuleId.t
| `Structure of (string * [> `String of Values_0.String_.t ]) list ])
list ]