aws-cdk-lib.aws_codepipeline.CfnPipelineProps

interface CfnPipelineProps

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

Properties for defining a CfnPipeline.

Example

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

declare const configuration: any;
const cfnPipelineProps: codepipeline.CfnPipelineProps = {
  roleArn: 'roleArn',
  stages: [{
    actions: [{
      actionTypeId: {
        category: 'category',
        owner: 'owner',
        provider: 'provider',
        version: 'version',
      },
      name: 'name',

      // the properties below are optional
      configuration: configuration,
      inputArtifacts: [{
        name: 'name',
      }],
      namespace: 'namespace',
      outputArtifacts: [{
        name: 'name',
      }],
      region: 'region',
      roleArn: 'roleArn',
      runOrder: 123,
    }],
    name: 'name',

    // the properties below are optional
    blockers: [{
      name: 'name',
      type: 'type',
    }],
  }],

  // the properties below are optional
  artifactStore: {
    location: 'location',
    type: 'type',

    // the properties below are optional
    encryptionKey: {
      id: 'id',
      type: 'type',
    },
  },
  artifactStores: [{
    artifactStore: {
      location: 'location',
      type: 'type',

      // the properties below are optional
      encryptionKey: {
        id: 'id',
        type: 'type',
      },
    },
    region: 'region',
  }],
  disableInboundStageTransitions: [{
    reason: 'reason',
    stageName: 'stageName',
  }],
  name: 'name',
  restartExecutionOnUpdate: false,
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
roleArnstringThe Amazon Resource Name (ARN) for CodePipeline to use to either perform actions with no actionRoleArn , or to use to assume roles for actions with an actionRoleArn .
stagesIResolvable | IResolvable | StageDeclarationProperty[]Represents information about a stage and its definition.
artifactStore?IResolvable | ArtifactStorePropertyThe S3 bucket where artifacts for the pipeline are stored.
artifactStores?IResolvable | IResolvable | ArtifactStoreMapProperty[]A mapping of artifactStore objects and their corresponding AWS Regions.
disableInboundStageTransitions?IResolvable | IResolvable | StageTransitionProperty[]Represents the input of a DisableStageTransition action.
name?stringThe name of the pipeline.
restartExecutionOnUpdate?boolean | IResolvableIndicates whether to rerun the CodePipeline pipeline after you update it.
tags?CfnTag[]Specifies the tags applied to the pipeline.

roleArn

Type: string

The Amazon Resource Name (ARN) for CodePipeline to use to either perform actions with no actionRoleArn , or to use to assume roles for actions with an actionRoleArn .


stages

Type: IResolvable | IResolvable | StageDeclarationProperty[]

Represents information about a stage and its definition.


artifactStore?

Type: IResolvable | ArtifactStoreProperty (optional)

The S3 bucket where artifacts for the pipeline are stored.

You must include either artifactStore or artifactStores in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use artifactStores .


artifactStores?

Type: IResolvable | IResolvable | ArtifactStoreMapProperty[] (optional)

A mapping of artifactStore objects and their corresponding AWS Regions.

There must be an artifact store for the pipeline Region and for each cross-region action in the pipeline.

You must include either artifactStore or artifactStores in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use artifactStores .


disableInboundStageTransitions?

Type: IResolvable | IResolvable | StageTransitionProperty[] (optional)

Represents the input of a DisableStageTransition action.


name?

Type: string (optional)

The name of the pipeline.


restartExecutionOnUpdate?

Type: boolean | IResolvable (optional)

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


tags?

Type: CfnTag[] (optional)

Specifies the tags applied to the pipeline.