Skip to content
v2.278.0

PipelineReference Struct ​

A reference to a Pipeline resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codepipeline as interfaces_codepipeline } from 'aws-cdk-lib/interfaces';
const pipelineReference: interfaces_codepipeline.PipelineReference = {
  pipelineArn: 'pipelineArn',
  pipelineName: 'pipelineName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_codepipeline as interfaces_codepipeline

pipeline_reference = interfaces_codepipeline.PipelineReference(
    pipeline_arn="pipelineArn",
    pipeline_name="pipelineName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.codepipeline.*;

PipelineReference pipelineReference = PipelineReference.builder()
        .pipelineArn("pipelineArn")
        .pipelineName("pipelineName")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.CodePipeline;

var pipelineReference = new PipelineReference {
    PipelineArn = "pipelineArn",
    PipelineName = "pipelineName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

pipelineReference := &PipelineReference{
	PipelineArn: jsii.String("pipelineArn"),
	PipelineName: jsii.String("pipelineName"),
}

Properties ​

pipelineArnstringpipeline_arnstrpipelineArnStringPipelineArnstringPipelineArn*string required #
The ARN of the Pipeline resource.
pipelineNamestringpipeline_namestrpipelineNameStringPipelineNamestringPipelineName*string required #
The Name of the Pipeline resource.