Module Values_7.CreateSecurityGroupResultSource

Creates a security group. A security group acts as a virtual firewall for your instance to control inbound and outbound traffic. For more information, see Amazon EC2 security groups in the Amazon EC2 User Guide and Security groups for your VPC in the Amazon VPC User Guide. When you create a security group, you specify a friendly name of your choice. You can't have two security groups for the same VPC with the same name. You have a default security group for use in your VPC. If you don't specify a security group when you launch an instance, the instance is launched into the appropriate default security group. A default security group includes a default rule that grants instances unrestricted network access to each other. You can add or remove rules from your security groups using AuthorizeSecurityGroupIngress, AuthorizeSecurityGroupEgress, RevokeSecurityGroupIngress, and RevokeSecurityGroupEgress. For more information about VPC security group limits, see Amazon VPC Limits.

Sourcetype nonrec t = {
  1. groupId : Values_0.String_.t option;
    (*

    The ID of the security group.

    *)
  2. tags : Values_0.TagList.t option;
    (*

    The tags assigned to the security group.

    *)
  3. securityGroupArn : Values_0.String_.t option;
    (*

    The security group ARN.

    *)
}
Sourcetype nonrec error = [
  1. | `Unknown_operation_error of string * string option
]
Sourceval make : ?groupId:??? -> ?tags:??? -> ?securityGroupArn:??? -> unit -> t
Sourceval error_of_json : 'a -> Yojson.Safe.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_of_xml : 'a -> Awso.Xml.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of string ]) list ] list | `String of Values_0.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