Module Values.CreatePrivateDnsNamespaceRequestSource

Creates a private namespace based on DNS, which is visible only inside a specified Amazon VPC. The namespace defines your service naming scheme. For example, if you name your namespace example.com and name your service backend, the resulting DNS name for the service is backend.example.com. Service instances that are registered using a private DNS namespace can be discovered using either a DiscoverInstances request or using DNS. For the current quota on the number of namespaces that you can create using the same Amazon Web Services account, see Cloud Map quotas in the Cloud Map Developer Guide.

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

    The name that you want to assign to this namespace. When you create a private DNS namespace, Cloud Map automatically creates an Amazon Route 53 private hosted zone that has the same name as the namespace.

    *)
  2. creatorRequestId : ResourceId.t option;
    (*

    A unique string that identifies the request and that allows failed CreatePrivateDnsNamespace requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string (for example, a date/timestamp).

    *)
  3. description : ResourceDescription.t option;
    (*

    A description for the namespace.

    *)
  4. vpc : ResourceId.t;
    (*

    The ID of the Amazon VPC that you want to associate the namespace with.

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

    The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.

    *)
  6. properties : PrivateDnsNamespaceProperties.t option;
    (*

    Properties for the private DNS namespace.

    *)
}
Sourceval context_ : string
Sourceval make : ?creatorRequestId:??? -> ?description:??? -> ?tags:??? -> ?properties:??? -> name:NamespaceNamePrivate.t -> vpc:ResourceId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of NamespaceNamePrivate.t | `Structure of (string * [> `Structure of (string * [> `Structure of (string * [> `Long of RecordTTL.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