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.

ActionDeclaration

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

type ActionDeclaration struct { ActionTypeId *ActionTypeId `locationName:"actionTypeId" type:"structure" required:"true"` Configuration map[string]*string `locationName:"configuration" type:"map"` InputArtifacts []*InputArtifact `locationName:"inputArtifacts" type:"list"` Name *string `locationName:"name" min:"1" type:"string" required:"true"` OutputArtifacts []*OutputArtifact `locationName:"outputArtifacts" type:"list"` Region *string `locationName:"region" min:"4" type:"string"` RoleArn *string `locationName:"roleArn" type:"string"` RunOrder *int64 `locationName:"runOrder" min:"1" type:"integer"` }

Represents information about an action declaration.

ActionTypeId

Represents information about an action type.

Configuration

Type: map[string]*string

The action declaration's configuration.

InputArtifacts

Represents information about an artifact to be worked on, such as a test or build artifact.

Name

Type: *string

The action declaration's name.

Name is a required field

OutputArtifacts

Represents information about the output of an action.

Region

Type: *string

The action declaration's AWS Region, such as us-east-1.

RoleArn

Type: *string

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

RunOrder

Type: *int64

The order in which actions are run.

Method

GoString

func (s ActionDeclaration) GoString() string

GoString returns the string representation

SetActionTypeId

func (s *ActionDeclaration) SetActionTypeId(v *ActionTypeId) *ActionDeclaration

SetActionTypeId sets the ActionTypeId field's value.

SetConfiguration

func (s *ActionDeclaration) SetConfiguration(v map[string]*string) *ActionDeclaration

SetConfiguration sets the Configuration field's value.

SetInputArtifacts

func (s *ActionDeclaration) SetInputArtifacts(v []*InputArtifact) *ActionDeclaration

SetInputArtifacts sets the InputArtifacts field's value.

SetName

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

SetName sets the Name field's value.

SetOutputArtifacts

func (s *ActionDeclaration) SetOutputArtifacts(v []*OutputArtifact) *ActionDeclaration

SetOutputArtifacts sets the OutputArtifacts field's value.

SetRegion

func (s *ActionDeclaration) SetRegion(v string) *ActionDeclaration

SetRegion sets the Region field's value.

SetRoleArn

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

SetRoleArn sets the RoleArn field's value.

SetRunOrder

func (s *ActionDeclaration) SetRunOrder(v int64) *ActionDeclaration

SetRunOrder sets the RunOrder field's value.

String

func (s ActionDeclaration) String() string

String returns the string representation

Validate

func (s *ActionDeclaration) Validate() error

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

On this page: