Module Values.EnvironmentSource

Detailed data of an Proton environment resource. An Proton environment is a set of resources shared across Proton services.

Sourcetype nonrec t = {
  1. arn : EnvironmentArn.t option;
    (*

    The Amazon Resource Name (ARN) of the environment.

    *)
  2. codebuildRoleArn : RoleArn.t option;
    (*

    The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using CodeBuild-based provisioning on your behalf.

    *)
  3. componentRoleArn : RoleArn.t option;
    (*

    The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It determines the scope of infrastructure that a component can provision. The environment must have a componentRoleArn to allow directly defined components to be associated with the environment. For more information about components, see Proton components in the Proton User Guide.

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

    The time when the environment was created.

    *)
  5. deploymentStatus : DeploymentStatus.t option;
    (*

    The environment deployment status.

    *)
  6. deploymentStatusMessage : StatusMessage.t option;
    (*

    An environment deployment status message.

    *)
  7. description : Description.t option;
    (*

    The description of the environment.

    *)
  8. environmentAccountConnectionId : EnvironmentAccountConnectionId.t option;
    (*

    The ID of the environment account connection that's used to provision infrastructure resources in an environment account.

    *)
  9. environmentAccountId : AwsAccountId.t option;
    (*

    The ID of the environment account that the environment infrastructure resources are provisioned in.

    *)
  10. lastAttemptedDeploymentId : DeploymentId.t option;
    (*

    The ID of the last attempted deployment of this environment.

    *)
  11. lastDeploymentAttemptedAt : Timestamp.t option;
    (*

    The time when a deployment of the environment was last attempted.

    *)
  12. lastDeploymentSucceededAt : Timestamp.t option;
    (*

    The time when the environment was last deployed successfully.

    *)
  13. lastSucceededDeploymentId : DeploymentId.t option;
    (*

    The ID of the last successful deployment of this environment.

    *)
  14. name : ResourceName.t option;
    (*

    The name of the environment.

    *)
  15. protonServiceRoleArn : Arn.t option;
    (*

    The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.

    *)
  16. provisioning : Provisioning.t option;
    (*

    When included, indicates that the environment template is for customer provisioned and managed infrastructure.

    *)
  17. provisioningRepository : RepositoryBranch.t option;
    (*

    The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.

    *)
  18. spec : SpecContents.t option;
    (*

    The environment spec.

    *)
  19. templateMajorVersion : TemplateVersionPart.t option;
    (*

    The major version of the environment template.

    *)
  20. templateMinorVersion : TemplateVersionPart.t option;
    (*

    The minor version of the environment template.

    *)
  21. templateName : ResourceName.t option;
    (*

    The Amazon Resource Name (ARN) of the environment template.

    *)
}
Sourceval make : ?arn:??? -> ?codebuildRoleArn:??? -> ?componentRoleArn:??? -> ?createdAt:??? -> ?deploymentStatus:??? -> ?deploymentStatusMessage:??? -> ?description:??? -> ?environmentAccountConnectionId:??? -> ?environmentAccountId:??? -> ?lastAttemptedDeploymentId:??? -> ?lastDeploymentAttemptedAt:??? -> ?lastDeploymentSucceededAt:??? -> ?lastSucceededDeploymentId:??? -> ?name:??? -> ?protonServiceRoleArn:??? -> ?provisioning:??? -> ?provisioningRepository:??? -> ?spec:??? -> ?templateMajorVersion:??? -> ?templateMinorVersion:??? -> ?templateName:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of EnvironmentArn.t | `Structure of (string * [> `Enum of string | `String of RepositoryArn.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