Module Values.CreateTargetGroupRequestSource

Creates a target group. A target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service. For more information, see Target groups in the Amazon VPC Lattice User Guide.

Sourcetype nonrec t = {
  1. name : TargetGroupName.t;
    (*

    The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

    *)
  2. type_ : TargetGroupType.t;
    (*

    The type of target group.

    *)
  3. config : TargetGroupConfig.t option;
    (*

    The target group configuration.

    *)
  4. clientToken : ClientToken.t option;
    (*

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.

    *)
  5. tags : TagMap.t option;
    (*

    The tags for the target group.

    *)
}
Sourceval context_ : string
Sourceval make : ?config:??? -> ?clientToken:??? -> ?tags:??? -> name:TargetGroupName.t -> type_:TargetGroupType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of TargetGroupName.t | `Structure of (string * [> `Enum of string | `Integer of Port.t | `String of VpcId.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of HealthCheckPort.t | `String of HealthCheckPath.t | `Structure of (string * [> `String of HttpCodeMatcher.t ]) list ]) 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