AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

PipelineDeclaration

import "github.com/aws/aws-sdk-go/service/codepipeline"

type PipelineDeclaration struct { ArtifactStore *ArtifactStore `locationName:"artifactStore" type:"structure"` ArtifactStores map[string]*ArtifactStore `locationName:"artifactStores" type:"map"` Name *string `locationName:"name" min:"1" type:"string" required:"true"` RoleArn *string `locationName:"roleArn" type:"string" required:"true"` Stages []*StageDeclaration `locationName:"stages" type:"list" required:"true"` Version *int64 `locationName:"version" min:"1" type:"integer"` }

Represents the structure of actions and stages to be performed in the pipeline.

ArtifactStore

The Amazon S3 bucket where artifacts are stored for the pipeline.

ArtifactStores

Type: map[string]*ArtifactStore

A mapping of artifactStore objects and their corresponding regions. There must be an artifact store for the pipeline region and for each cross-region action within the pipeline. You can only use either artifactStore or artifactStores, not both.

If you create a cross-region action in your pipeline, you must use artifactStores.

Name

Type: *string

The name of the action to be performed.

Name is a required field

RoleArn

Type: *string

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

RoleArn is a required field

Stages

Represents information about a stage and its definition.

Version

Type: *int64

The version number of the pipeline. A new pipeline always has a version number of 1. This number is automatically incremented when a pipeline is updated.

Method

GoString

func (s PipelineDeclaration) GoString() string

GoString returns the string representation

SetArtifactStore

func (s *PipelineDeclaration) SetArtifactStore(v *ArtifactStore) *PipelineDeclaration

SetArtifactStore sets the ArtifactStore field's value.

SetArtifactStores

func (s *PipelineDeclaration) SetArtifactStores(v map[string]*ArtifactStore) *PipelineDeclaration

SetArtifactStores sets the ArtifactStores field's value.

SetName

func (s *PipelineDeclaration) SetName(v string) *PipelineDeclaration

SetName sets the Name field's value.

SetRoleArn

func (s *PipelineDeclaration) SetRoleArn(v string) *PipelineDeclaration

SetRoleArn sets the RoleArn field's value.

SetStages

func (s *PipelineDeclaration) SetStages(v []*StageDeclaration) *PipelineDeclaration

SetStages sets the Stages field's value.

SetVersion

func (s *PipelineDeclaration) SetVersion(v int64) *PipelineDeclaration

SetVersion sets the Version field's value.

String

func (s PipelineDeclaration) String() string

String returns the string representation

Validate

func (s *PipelineDeclaration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: