Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreatePipelineCommand

Creates a pipeline.

In the pipeline structure, 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.

example

Use a bare-bones client and the command you need to make an API call.

import { CodePipelineClient, CreatePipelineCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
// const { CodePipelineClient, CreatePipelineCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
const client = new CodePipelineClient(config);
const command = new CreatePipelineCommand(input);
const response = await client.send(command);
see

CreatePipelineCommandInput for command's input shape.

see

CreatePipelineCommandOutput for command's response shape.

see

config for CodePipelineClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreatePipelineCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<CreatePipelineCommandInput, CreatePipelineCommandOutput>

Methods

Static getEndpointParameterInstructions