Module Values.ServiceSource

Describes an App Runner service. It can describe a service in any state, including deleted services. This type contains the full information about a service, including configuration details. It's returned by the CreateService, DescribeService, and DeleteService actions. A subset of this information is returned by the ListServices action using the ServiceSummary type.

Sourcetype nonrec t = {
  1. serviceName : ServiceName.t option;
    (*

    The customer-provided service name.

    *)
  2. serviceId : ServiceId.t option;
    (*

    An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region.

    *)
  3. serviceArn : AppRunnerResourceArn.t option;
    (*

    The Amazon Resource Name (ARN) of this service.

    *)
  4. serviceUrl : String_.t option;
    (*

    A subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.

    *)
  5. createdAt : Timestamp.t option;
    (*

    The time when the App Runner service was created. It's in the Unix time stamp format.

    *)
  6. updatedAt : Timestamp.t option;
    (*

    The time when the App Runner service was last updated at. It's in the Unix time stamp format.

    *)
  7. deletedAt : Timestamp.t option;
    (*

    The time when the App Runner service was deleted. It's in the Unix time stamp format.

    *)
  8. status : ServiceStatus.t option;
    (*

    The current state of the App Runner service. These particular values mean the following. CREATE_FAILED – The service failed to create. The failed service isn't usable, and still counts towards your service quota. To troubleshoot this failure, read the failure events and logs, change any parameters that need to be fixed, and rebuild your service using UpdateService. DELETE_FAILED – The service failed to delete and can't be successfully recovered. Retry the service deletion call to ensure that all related resources are removed.

    *)
  9. sourceConfiguration : SourceConfiguration.t option;
    (*

    The source deployed to the App Runner service. It can be a code or an image repository.

    *)
  10. instanceConfiguration : InstanceConfiguration.t option;
    (*

    The runtime configuration of instances (scaling units) of this service.

    *)
  11. encryptionConfiguration : EncryptionConfiguration.t option;
    (*

    The encryption key that App Runner uses to encrypt the service logs and the copy of the source repository that App Runner maintains for the service. It can be either a customer-provided encryption key or an Amazon Web Services managed key.

    *)
  12. healthCheckConfiguration : HealthCheckConfiguration.t option;
    (*

    The settings for the health check that App Runner performs to monitor the health of this service.

    *)
  13. autoScalingConfigurationSummary : AutoScalingConfigurationSummary.t option;
    (*

    Summary information for the App Runner automatic scaling configuration resource that's associated with this service.

    *)
  14. networkConfiguration : NetworkConfiguration.t option;
    (*

    Configuration settings related to network traffic of the web application that this service runs.

    *)
  15. observabilityConfiguration : ServiceObservabilityConfiguration.t option;
    (*

    The observability configuration of this service.

    *)
}
Sourceval make : ?serviceName:??? -> ?serviceId:??? -> ?serviceArn:??? -> ?serviceUrl:??? -> ?createdAt:??? -> ?updatedAt:??? -> ?deletedAt:??? -> ?status:??? -> ?sourceConfiguration:??? -> ?instanceConfiguration:??? -> ?encryptionConfiguration:??? -> ?healthCheckConfiguration:??? -> ?autoScalingConfigurationSummary:??? -> ?networkConfiguration:??? -> ?observabilityConfiguration:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of ServiceName.t | `Structure of (string * [> `Boolean of NullableBoolean.t | `Enum of string | `Integer of HealthCheckInterval.t | `String of Cpu.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of String_.t | `Structure of (string * [> `Enum of string | `Map of ([> `String of RuntimeEnvironmentVariablesKey.t ] * [> `String of RuntimeEnvironmentVariablesValue.t ]) list | `String of String_.t | `Structure of (string * [> `Enum of string | `Map of ([> `String of RuntimeEnvironmentVariablesKey.t ] * [> `String of RuntimeEnvironmentVariablesValue.t ]) list | `String of BuildCommand.t ]) list ]) list ]) list | `Timestamp of Timestamp.t ]) list | `Timestamp of Timestamp.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