Struct aws_sdk_codepipeline::model::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 AWS 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 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
.
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
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
.
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
.
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
.
Creates a new builder-style object to manufacture PipelineDeclaration
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PipelineDeclaration
impl Send for PipelineDeclaration
impl Sync for PipelineDeclaration
impl Unpin for PipelineDeclaration
impl UnwindSafe for PipelineDeclaration
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more