PipelineProps

class aws_cdk.aws_codepipeline.PipelineProps(*, artifact_bucket=None, cross_region_replication_buckets=None, pipeline_name=None, restart_execution_on_update=None, role=None, stages=None)

Bases: object

__init__(*, artifact_bucket=None, cross_region_replication_buckets=None, pipeline_name=None, restart_execution_on_update=None, role=None, stages=None)
Parameters
  • artifact_bucket (Optional[IBucket]) – The S3 bucket used by this Pipeline to store artifacts. Default: - A new S3 bucket will be created.

  • cross_region_replication_buckets (Optional[Mapping[str, IBucket]]) – A map of region to S3 bucket name used for cross-region CodePipeline. For every Action that you specify targeting a different region than the Pipeline itself, if you don’t provide an explicit Bucket for that region using this property, the construct will automatically create a Stack containing an S3 Bucket in that region. Default: - None.

  • pipeline_name (Optional[str]) – Name of the pipeline. Default: - AWS CloudFormation generates an ID and uses that for the pipeline name.

  • restart_execution_on_update (Optional[bool]) – Indicates whether to rerun the AWS CodePipeline pipeline after you update it. Default: false

  • role (Optional[IRole]) – The IAM role to be assumed by this Pipeline. Default: a new IAM role will be created.

  • stages (Optional[List[StageProps]]) – The list of Stages, in order, to create this Pipeline with. You can always add more Stages later by calling {@link Pipeline#addStage}. Default: - None.

Return type

None

Attributes

artifact_bucket

The S3 bucket used by this Pipeline to store artifacts.

default :default: - A new S3 bucket will be created.

Return type

Optional[IBucket]

cross_region_replication_buckets

A map of region to S3 bucket name used for cross-region CodePipeline.

For every Action that you specify targeting a different region than the Pipeline itself, if you don’t provide an explicit Bucket for that region using this property, the construct will automatically create a Stack containing an S3 Bucket in that region.

default :default: - None.

stability :stability: experimental

Return type

Optional[Mapping[str, IBucket]]

pipeline_name

Name of the pipeline.

default :default: - AWS CloudFormation generates an ID and uses that for the pipeline name.

Return type

Optional[str]

restart_execution_on_update

Indicates whether to rerun the AWS CodePipeline pipeline after you update it.

default :default: false

Return type

Optional[bool]

role

The IAM role to be assumed by this Pipeline.

default :default: a new IAM role will be created.

Return type

Optional[IRole]

stages

The list of Stages, in order, to create this Pipeline with.

You can always add more Stages later by calling {@link Pipeline#addStage}.

default :default: - None.

Return type

Optional[List[StageProps]]