Module Values.SecurityGroupRuleDescriptionSource

Describes a set of permissions for a security group rule.

Sourcetype nonrec t = {
  1. iPV4Range : CIDR.t option;
    (*

    The IPv4 ranges for the security group rule.

    *)
  2. iPV6Range : CIDR.t option;
    (*

    The IPv6 ranges for the security group rule.

    *)
  3. prefixListId : ResourceId.t option;
    (*

    The ID of the prefix list for the security group rule.

    *)
  4. protocol : LengthBoundedString.t option;
    (*

    The IP protocol name (tcp, udp, icmp, icmpv6) or number.

    *)
  5. fromPort : IPPortNumber.t option;
    (*

    The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of -1 indicates all ICMP/ICMPv6 types.

    *)
  6. toPort : IPPortNumber.t option;
    (*

    The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1 indicates all ICMP/ICMPv6 codes.

    *)
}
Sourceval make : ?iPV4Range:??? -> ?iPV6Range:??? -> ?prefixListId:??? -> ?protocol:??? -> ?fromPort:??? -> ?toPort:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of IPPortNumber.t | `String of CIDR.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t