Module EC2.SecurityGroup

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group.html

type tag = {
  1. key : string;
  2. value : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html

and ingress = {
  1. cidr_ip : string option;
  2. cidr_ipv6 : string option;
  3. description : string option;
  4. from_port : int option;
  5. ip_protocol : string;
  6. source_prefix_list_id : string option;
  7. source_security_group_id : string option;
  8. source_security_group_name : string option;
  9. source_security_group_owner_id : string option;
  10. to_port : int option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html

and egress = {
  1. cidr_ip : string option;
  2. cidr_ipv6 : string option;
  3. description : string option;
  4. destination_prefix_list_id : string option;
  5. destination_security_group_id : string option;
  6. from_port : int option;
  7. ip_protocol : string;
  8. to_port : int option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html

type properties = {
  1. group_description : string;
  2. group_name : string option;
  3. security_group_egress : egress list option;
  4. security_group_ingress : ingress list option;
  5. tags : tag list option;
  6. vpc_id : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group.html;

val make_properties : group_description:string -> ?group_name:string -> ?security_group_egress:egress list -> ?security_group_ingress:ingress list -> ?tags:tag list -> ?vpc_id:string -> unit -> properties
val make_tag : key:string -> value:string -> unit -> tag
val make_ingress : ?cidr_ip:string -> ?cidr_ipv6:string -> ?description:string -> ?from_port:int -> ip_protocol:string -> ?source_prefix_list_id:string -> ?source_security_group_id:string -> ?source_security_group_name:string -> ?source_security_group_owner_id:string -> ?to_port:int -> unit -> ingress
val make_egress : ?cidr_ip:string -> ?cidr_ipv6:string -> ?description:string -> ?destination_prefix_list_id:string -> ?destination_security_group_id:string -> ?from_port:int -> ip_protocol:string -> ?to_port:int -> unit -> egress
val yojson_of_tag : tag -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_ingress : ingress -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_egress : egress -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties : properties -> [> `Assoc of (string * Yojson.Safe.t) list ]
type attributes = {
  1. ref_ : string;
  2. group_id : string;
  3. vpc_id : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string