Fork me on GitHub

Module codepipeline

@pulumi/aws > codepipeline

Index

codepipeline/pipeline.ts

class Pipeline

Provides a CodePipeline.

~> NOTE on aws_codepipeline: - the GITHUB_TOKEN environment variable must be set if the GitHub provider is specified.

constructor

new Pipeline(name: string, args: PipelineArgs, opts?: pulumi.CustomResourceOptions)

Create a Pipeline resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PipelineState): Pipeline

Get an existing Pipeline resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property arn

public arn: pulumi.Output<string>;

The codepipeline ARN.

property artifactStore

public artifactStore: pulumi.Output<{ ... }>;

An artifact_store block. Artifact stores are documented below.

  • stage (Minimum of at least two stage blocks is required) A stage block. Stages are documented below.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The action declaration’s name.

property roleArn

public roleArn: pulumi.Output<string>;

The ARN of the IAM service role that will perform the declared action. This is assumed through the roleArn for the pipeline.

property stages

public stages: pulumi.Output<{ ... }[]>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

interface PipelineArgs

The set of arguments for constructing a Pipeline resource.

property artifactStore

artifactStore: pulumi.Input<{ ... }>;

An artifact_store block. Artifact stores are documented below.

  • stage (Minimum of at least two stage blocks is required) A stage block. Stages are documented below.

property name

name?: pulumi.Input<string>;

The action declaration’s name.

property roleArn

roleArn: pulumi.Input<string>;

The ARN of the IAM service role that will perform the declared action. This is assumed through the roleArn for the pipeline.

property stages

stages: pulumi.Input<pulumi.Input<{ ... }>[]>;

interface PipelineState

Input properties used for looking up and filtering Pipeline resources.

property arn

arn?: pulumi.Input<string>;

The codepipeline ARN.

property artifactStore

artifactStore?: pulumi.Input<{ ... }>;

An artifact_store block. Artifact stores are documented below.

  • stage (Minimum of at least two stage blocks is required) A stage block. Stages are documented below.

property name

name?: pulumi.Input<string>;

The action declaration’s name.

property roleArn

roleArn?: pulumi.Input<string>;

The ARN of the IAM service role that will perform the declared action. This is assumed through the roleArn for the pipeline.

property stages

stages?: pulumi.Input<pulumi.Input<{ ... }>[]>;