Module Values.PipelineDeclarationSource

Represents the structure of actions and stages to be performed in the pipeline.

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

    The name of the pipeline.

    *)
  2. roleArn : RoleArn.t;
    (*

    The Amazon Resource Name (ARN) for CodePipeline to use to either perform actions with no actionRoleArn, or to use to assume roles for actions with an actionRoleArn.

    *)
  3. artifactStore : ArtifactStore.t option;
    (*

    Represents information about the S3 bucket where artifacts are stored for the pipeline. You must include either artifactStore or artifactStores in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use artifactStores.

    *)
  4. artifactStores : ArtifactStoreMap.t option;
    (*

    A mapping of artifactStore objects and their corresponding Amazon Web Services Regions. There must be an artifact store for the pipeline Region and for each cross-region action in the pipeline. You must include either artifactStore or artifactStores in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use artifactStores.

    *)
  5. stages : PipelineStageDeclarationList.t;
    (*

    The stage in which to perform the action.

    *)
  6. version : PipelineVersion.t option;
    (*

    The version number of the pipeline. A new pipeline always has a version number of 1. This number is incremented when a pipeline is updated.

    *)
  7. executionMode : ExecutionMode.t option;
    (*

    The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.

    *)
  8. pipelineType : PipelineType.t option;
    (*

    CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications. V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters. V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration. Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs. For information about pricing for CodePipeline, see Pricing. For information about which type of pipeline to choose, see What type of pipeline is right for me?.

    *)
  9. variables : PipelineVariableDeclarationList.t option;
    (*

    A list that defines the pipeline variables for a pipeline resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9@\-_]+.

    *)
  10. triggers : PipelineTriggerDeclarationList.t option;
    (*

    The trigger configuration specifying a type of event, such as Git tags, that starts the pipeline. When a trigger configuration is specified, default change detection for repository and branch commits is disabled.

    *)
}
Sourceval context_ : string
Sourceval make : ?artifactStore:??? -> ?artifactStores:??? -> ?version:??? -> ?executionMode:??? -> ?pipelineType:??? -> ?variables:??? -> ?triggers:??? -> name:PipelineName.t -> roleArn:RoleArn.t -> stages:PipelineStageDeclarationList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of PipelineVersion.t | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `Integer of ActionRunOrder.t | `List of [> `String of Command.t | `Structure of (string * [> `Enum of string | `List of [> `String of FilePath.t ] list | `String of ArtifactName.t ]) list ] list | `Map of ([> `String of ActionConfigurationKey.t ] * [> `String of ActionConfigurationValue.t ]) list | `String of BlockerName.t | `Structure of (string * [> `Enum of string | `String of ActionProvider.t ]) list ]) list ] list | `String of StageName.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Enum of string | `Structure of (string * [> `Integer of RuleTimeout.t | `List of [> `String of Command.t | `Structure of (string * [> `String of ArtifactName.t ]) list ] list | `Map of ([> `String of RuleConfigurationKey.t ] * [> `String of RuleConfigurationValue.t ]) list | `String of RuleName.t | `Structure of (string * [> `Enum of string | `String of RuleProvider.t ]) list ]) list ] list | `Structure of (string * [> `List of [> `String of GitTagNamePattern.t ] list ]) list ]) list ] list | `String of ActionName.t | `Structure of (string * [> `Enum of string ]) list ]) list ]) list ] list | `Map of ([> `String of AWSRegionName.t ] * [> `Structure of (string * [> `Enum of string | `String of ArtifactStoreLocation.t | `Structure of (string * [> `Enum of string | `String of EncryptionKeyId.t ]) list ]) list ]) list | `String of PipelineName.t | `Structure of (string * [> `Enum of string | `String of ArtifactStoreLocation.t | `Structure of (string * [> `Enum of string | `String of EncryptionKeyId.t ]) 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