@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
70 lines (69 loc) • 3.05 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* The AWS::CodePipeline::Pipeline resource creates a CodePipeline pipeline that describes how software changes go through a release process.
*/
export declare function getPipeline(args: GetPipelineArgs, opts?: pulumi.InvokeOptions): Promise<GetPipelineResult>;
export interface GetPipelineArgs {
/**
* The name of the pipeline.
*/
name: string;
}
export interface GetPipelineResult {
/**
* The S3 bucket where artifacts for the pipeline are stored.
*/
readonly artifactStore?: outputs.codepipeline.PipelineArtifactStore;
/**
* 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.
*/
readonly artifactStores?: outputs.codepipeline.PipelineArtifactStoreMap[];
/**
* Represents the input of a DisableStageTransition action.
*/
readonly disableInboundStageTransitions?: outputs.codepipeline.PipelineStageTransition[];
/**
* The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
*/
readonly executionMode?: enums.codepipeline.PipelineExecutionMode;
/**
* CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications.
*/
readonly pipelineType?: enums.codepipeline.PipelineType;
/**
* 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
*/
readonly roleArn?: string;
/**
* Represents information about a stage and its definition.
*/
readonly stages?: outputs.codepipeline.PipelineStageDeclaration[];
/**
* Specifies the tags applied to the pipeline.
*/
readonly tags?: outputs.Tag[];
/**
* The trigger configuration specifying a type of event, such as Git tags, that starts the pipeline.
*/
readonly triggers?: outputs.codepipeline.PipelineTriggerDeclaration[];
/**
* A list that defines the pipeline variables for a pipeline resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9@\-_]+.
*/
readonly variables?: outputs.codepipeline.PipelineVariableDeclaration[];
/**
* The version of the pipeline.
*/
readonly version?: string;
}
/**
* The AWS::CodePipeline::Pipeline resource creates a CodePipeline pipeline that describes how software changes go through a release process.
*/
export declare function getPipelineOutput(args: GetPipelineOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPipelineResult>;
export interface GetPipelineOutputArgs {
/**
* The name of the pipeline.
*/
name: pulumi.Input<string>;
}