Module Values.ContainerServiceSource

Describes an Amazon Lightsail container service.

Sourcetype nonrec t = {
  1. containerServiceName : ContainerServiceName.t option;
    (*

    The name of the container service.

    *)
  2. arn : NonEmptyString.t option;
    (*

    The Amazon Resource Name (ARN) of the container service.

    *)
  3. createdAt : IsoDate.t option;
    (*

    The timestamp when the container service was created.

    *)
  4. location : ResourceLocation.t option;
    (*

    An object that describes the location of the container service, such as the Amazon Web Services Region and Availability Zone.

    *)
  5. resourceType : ResourceType.t option;
    (*

    The Lightsail resource type of the container service.

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

    The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

    *)
  7. power : ContainerServicePowerName.t option;
    (*

    The power specification of the container service. The power specifies the amount of RAM, the number of vCPUs, and the base price of the container service.

    *)
  8. powerId : String_.t option;
    (*

    The ID of the power of the container service.

    *)
  9. state : ContainerServiceState.t option;
    (*

    The current state of the container service. The following container service states are possible: PENDING - The container service is being created. READY - The container service is running but it does not have an active container deployment. DEPLOYING - The container service is launching a container deployment. RUNNING - The container service is running and it has an active container deployment. UPDATING - The container service capacity or its custom domains are being updated. DELETING - The container service is being deleted. DISABLED - The container service is disabled, and its active deployment and containers, if any, are shut down.

    *)
  10. stateDetail : ContainerServiceStateDetail.t option;
    (*

    An object that describes the current state of the container service. The state detail is populated only when a container service is in a PENDING, DEPLOYING, or UPDATING state.

    *)
  11. scale : ContainerServiceScale.t option;
    (*

    The scale specification of the container service. The scale specifies the allocated compute nodes of the container service.

    *)
  12. currentDeployment : ContainerServiceDeployment.t option;
    (*

    An object that describes the current container deployment of the container service.

    *)
  13. nextDeployment : ContainerServiceDeployment.t option;
    (*

    An object that describes the next deployment of the container service. This value is null when there is no deployment in a pending state.

    *)
  14. isDisabled : Boolean.t option;
    (*

    A Boolean value indicating whether the container service is disabled.

    *)
  15. principalArn : String_.t option;
    (*

    The principal ARN of the container service. The principal ARN can be used to create a trust relationship between your standard Amazon Web Services account and your Lightsail container service. This allows you to give your service permission to access resources in your standard Amazon Web Services account.

    *)
  16. privateDomainName : String_.t option;
    (*

    The private domain name of the container service. The private domain name is accessible only by other resources within the default virtual private cloud (VPC) of your Lightsail account.

    *)
  17. publicDomainNames : ContainerServicePublicDomains.t option;
    (*

    The public domain name of the container service, such as example.com and www.example.com. You can specify up to four public domain names for a container service. The domain names that you specify are used when you create a deployment with a container configured as the public endpoint of your container service. If you don't specify public domain names, then you can use the default domain of the container service. You must create and validate an SSL/TLS certificate before you can use public domain names with your container service. Use the CreateCertificate action to create a certificate for the public domain names you want to use with your container service. See CreateContainerService or UpdateContainerService for information about how to specify public domain names for your Lightsail container service.

    *)
  18. url : String_.t option;
    (*

    The publicly accessible URL of the container service. If no public endpoint is specified in the currentDeployment, this URL returns a 404 response.

    *)
  19. privateRegistryAccess : PrivateRegistryAccess.t option;
    (*

    An object that describes the configuration for the container service to access private container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private repositories. For more information, see Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service in the Amazon Lightsail Developer Guide.

    *)
}
Sourceval make : ?containerServiceName:??? -> ?arn:??? -> ?createdAt:??? -> ?location:??? -> ?resourceType:??? -> ?tags:??? -> ?power:??? -> ?powerId:??? -> ?state:??? -> ?stateDetail:??? -> ?scale:??? -> ?currentDeployment:??? -> ?nextDeployment:??? -> ?isDisabled:??? -> ?principalArn:??? -> ?privateDomainName:??? -> ?publicDomainNames:??? -> ?url:??? -> ?privateRegistryAccess:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of ContainerServiceScale.t | `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `Map of ([> `String of String_.t ] * [> `List of [> `String of String_.t ] list ]) list | `String of ContainerServiceName.t | `Structure of (string * [> `Enum of string | `Integer of Integer.t | `Map of ([> `String of ContainerName.t ] * [> `Structure of (string * [> `List of [> `String of String_.t ] list | `Map of ([> `String of String_.t ] * [> `Enum of string | `String of String_.t ]) list | `String of String_.t ]) list ]) list | `String of String_.t | `Structure of (string * [> `Boolean of Boolean.t | `Integer of Integer.t | `String of String_.t | `Structure of (string * [> `Integer of Integer.t | `String of String_.t ]) list ]) list | `Timestamp of IsoDate.t ]) list | `Timestamp of IsoDate.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