CrossRegionSupport

class aws_cdk.aws_codepipeline.CrossRegionSupport(*, replication_bucket, stack)

Bases: object

An interface representing resources generated in order to support the cross-region capabilities of CodePipeline.

You get instances of this interface from the {@link Pipeline#crossRegionSupport} property.

Parameters
  • replication_bucket (IBucket) – The replication Bucket used by CodePipeline to operate in this region. Belongs to {@link stack}.

  • stack (Stack) – The Stack that has been created to house the replication Bucket required for this region.

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_codepipeline as codepipeline
import aws_cdk.aws_s3 as s3
import aws_cdk.core as cdk

# bucket is of type Bucket
# stack is of type Stack

cross_region_support = codepipeline.CrossRegionSupport(
    replication_bucket=bucket,
    stack=stack
)

Attributes

replication_bucket

The replication Bucket used by CodePipeline to operate in this region.

Belongs to {@link stack}.

Return type

IBucket

stack

The Stack that has been created to house the replication Bucket required for this region.

Return type

Stack