Module Values.SetSecurityGroupsOutputSource

Associates the specified security groups with the specified Application Load Balancer or Network Load Balancer. The specified security groups override the previously associated security groups. You can't perform this operation on a Network Load Balancer unless you specified a security group for the load balancer when you created it. You can't associate a security group with a Gateway Load Balancer.

Sourcetype setSecurityGroupsResult = {
  1. securityGroupIds : SecurityGroups.t option;
    (*

    The IDs of the security groups associated with the load balancer.

    *)
  2. enforceSecurityGroupInboundRulesOnPrivateLinkTraffic : EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum.t option;
    (*

    Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through Amazon Web Services PrivateLink.

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. setSecurityGroupsResult : setSecurityGroupsResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `InvalidConfigurationRequestException of InvalidConfigurationRequestException.t
  2. | `InvalidSecurityGroupException of InvalidSecurityGroupException.t
  3. | `LoadBalancerNotFoundException of LoadBalancerNotFoundException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?securityGroupIds:??? -> ?enforceSecurityGroupInboundRulesOnPrivateLinkTraffic:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidConfigurationRequestException of unit | `InvalidSecurityGroupException of unit | `LoadBalancerNotFoundException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidConfigurationRequestException of unit | `InvalidSecurityGroupException of unit | `LoadBalancerNotFoundException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `List of [> `String of SecurityGroupId.t ] list ]) list ]) 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