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.
Creates a pipeline.
In the pipeline structure, you must include either
artifactStore
orartifactStores
in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must useartifactStores
.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);
CreatePipelineCommandInput for command's
input
shape.CreatePipelineCommandOutput for command's
response
shape.config for CodePipelineClient's
config
shape.