Skip to content
v2.275.0

CrossRegionSupport Struct ​

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

You get instances of this interface from the Pipeline#crossRegionSupport property.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
import { aws_codepipeline as codepipeline } from 'aws-cdk-lib';
import { aws_s3 as s3 } from 'aws-cdk-lib';

declare const bucket: s3.Bucket;
declare const stack: cdk.Stack;
const crossRegionSupport: codepipeline.CrossRegionSupport = {
  replicationBucket: bucket,
  stack: stack,
};

Properties ​

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

Belongs to stack.

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