Struct aws_sdk_codepipeline::types::PipelineDeclaration
source · #[non_exhaustive]pub struct PipelineDeclaration {
pub name: Option<String>,
pub role_arn: Option<String>,
pub artifact_store: Option<ArtifactStore>,
pub artifact_stores: Option<HashMap<String, ArtifactStore>>,
pub stages: Option<Vec<StageDeclaration>>,
pub version: Option<i32>,
}
Expand description
Represents the structure of actions and stages to be performed in the pipeline.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the pipeline.
role_arn: Option<String>
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
.
artifact_store: Option<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
.
artifact_stores: Option<HashMap<String, ArtifactStore>>
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
.
stages: Option<Vec<StageDeclaration>>
The stage in which to perform the action.
version: Option<i32>
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.
Implementations§
source§impl PipelineDeclaration
impl PipelineDeclaration
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
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
.
sourcepub fn artifact_store(&self) -> Option<&ArtifactStore>
pub fn artifact_store(&self) -> Option<&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
.
sourcepub fn artifact_stores(&self) -> Option<&HashMap<String, ArtifactStore>>
pub fn artifact_stores(&self) -> Option<&HashMap<String, ArtifactStore>>
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
.
sourcepub fn stages(&self) -> Option<&[StageDeclaration]>
pub fn stages(&self) -> Option<&[StageDeclaration]>
The stage in which to perform the action.
source§impl PipelineDeclaration
impl PipelineDeclaration
sourcepub fn builder() -> PipelineDeclarationBuilder
pub fn builder() -> PipelineDeclarationBuilder
Creates a new builder-style object to manufacture PipelineDeclaration
.
Trait Implementations§
source§impl Clone for PipelineDeclaration
impl Clone for PipelineDeclaration
source§fn clone(&self) -> PipelineDeclaration
fn clone(&self) -> PipelineDeclaration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PipelineDeclaration
impl Debug for PipelineDeclaration
source§impl PartialEq<PipelineDeclaration> for PipelineDeclaration
impl PartialEq<PipelineDeclaration> for PipelineDeclaration
source§fn eq(&self, other: &PipelineDeclaration) -> bool
fn eq(&self, other: &PipelineDeclaration) -> bool
self
and other
values to be equal, and is used
by ==
.