Module Values.AwsEcsServiceServiceRegistriesDetailsSource

Information about a service discovery registry to assign to the service.

Sourcetype nonrec t = {
  1. containerName : NonEmptyString.t option;
    (*

    The container name value to use for the service discovery service. If the task definition uses the bridge or host network mode, you must specify ContainerName and ContainerPort. If the task definition uses the awsvpc network mode and a type SRV DNS record, you must specify either ContainerName and ContainerPort, or Port , but not both.

    *)
  2. containerPort : Integer.t option;
    (*

    The port value to use for the service discovery service. If the task definition uses the bridge or host network mode, you must specify ContainerName and ContainerPort. If the task definition uses the awsvpc network mode and a type SRV DNS record, you must specify either ContainerName and ContainerPort, or Port , but not both.

    *)
  3. port : Integer.t option;
    (*

    The port value to use for a service discovery service that specifies an SRV record. This field can be used if both the awsvpcawsvpc network mode and SRV records are used.

    *)
  4. registryArn : NonEmptyString.t option;
    (*

    The ARN of the service registry.

    *)
}
Sourceval make : ?containerName:??? -> ?containerPort:??? -> ?port:??? -> ?registryArn:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `String of NonEmptyString.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