Module Values_0.StaleIpPermissionSource

Describes a stale rule in a security group.

Sourcetype nonrec t = {
  1. fromPort : 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).

    *)
  2. ipProtocol : String_.t option;
    (*

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

    *)
  3. ipRanges : IpRanges.t option;
    (*

    The IP ranges. Not applicable for stale security group rules.

    *)
  4. prefixListIds : PrefixListIdSet.t option;
    (*

    The prefix list IDs. Not applicable for stale security group rules.

    *)
  5. toPort : 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).

    *)
  6. userIdGroupPairs : UserIdGroupPairSet.t option;
    (*

    The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.

    *)
}
Sourceval make : ?fromPort:??? -> ?ipProtocol:??? -> ?ipRanges:??? -> ?prefixListIds:??? -> ?toPort:??? -> ?userIdGroupPairs:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `List of [> `String of String_.t | `Structure of (string * [> `String of String_.t ]) list ] list | `String of String_.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