aws-cdk-lib.aws_codepipeline.CrossRegionSupport

interface CrossRegionSupport

LanguageType name
.NETAmazon.CDK.AWS.CodePipeline.CrossRegionSupport
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodepipeline#CrossRegionSupport
Javasoftware.amazon.awscdk.services.codepipeline.CrossRegionSupport
Pythonaws_cdk.aws_codepipeline.CrossRegionSupport
TypeScript (source)aws-cdk-lib » aws_codepipeline » CrossRegionSupport

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

// 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

NameTypeDescription
replicationBucketIBucketThe replication Bucket used by CodePipeline to operate in this region.
stackStackThe Stack that has been created to house the replication Bucket required for this region.

replicationBucket

Type: IBucket

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

Belongs to stack.


stack

Type: Stack

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