Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data PipelineDeclaration = PipelineDeclaration' {}
- newPipelineDeclaration :: Text -> Text -> PipelineDeclaration
- pipelineDeclaration_artifactStores :: Lens' PipelineDeclaration (Maybe (HashMap Text ArtifactStore))
- pipelineDeclaration_artifactStore :: Lens' PipelineDeclaration (Maybe ArtifactStore)
- pipelineDeclaration_version :: Lens' PipelineDeclaration (Maybe Natural)
- pipelineDeclaration_name :: Lens' PipelineDeclaration Text
- pipelineDeclaration_roleArn :: Lens' PipelineDeclaration Text
- pipelineDeclaration_stages :: Lens' PipelineDeclaration [StageDeclaration]
Documentation
data PipelineDeclaration Source #
Represents the structure of actions and stages to be performed in the pipeline.
See: newPipelineDeclaration
smart constructor.
PipelineDeclaration' | |
|
Instances
newPipelineDeclaration Source #
Create a value of PipelineDeclaration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:artifactStores:PipelineDeclaration'
, pipelineDeclaration_artifactStores
- A mapping of artifactStore
objects and their corresponding AWS
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
.
$sel:artifactStore:PipelineDeclaration'
, pipelineDeclaration_artifactStore
- 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
.
$sel:version:PipelineDeclaration'
, pipelineDeclaration_version
- 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.
$sel:name:PipelineDeclaration'
, pipelineDeclaration_name
- The name of the pipeline.
$sel:roleArn:PipelineDeclaration'
, pipelineDeclaration_roleArn
- The Amazon Resource Name (ARN) for AWS CodePipeline to use to either
perform actions with no actionRoleArn
, or to use to assume roles for
actions with an actionRoleArn
.
$sel:stages:PipelineDeclaration'
, pipelineDeclaration_stages
- The stage in which to perform the action.
pipelineDeclaration_artifactStores :: Lens' PipelineDeclaration (Maybe (HashMap Text ArtifactStore)) Source #
A mapping of artifactStore
objects and their corresponding AWS
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
.
pipelineDeclaration_artifactStore :: Lens' PipelineDeclaration (Maybe ArtifactStore) Source #
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
.
pipelineDeclaration_version :: Lens' PipelineDeclaration (Maybe Natural) Source #
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.
pipelineDeclaration_name :: Lens' PipelineDeclaration Text Source #
The name of the pipeline.
pipelineDeclaration_roleArn :: Lens' PipelineDeclaration Text Source #
The Amazon Resource Name (ARN) for AWS CodePipeline to use to either
perform actions with no actionRoleArn
, or to use to assume roles for
actions with an actionRoleArn
.
pipelineDeclaration_stages :: Lens' PipelineDeclaration [StageDeclaration] Source #
The stage in which to perform the action.