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.

Toolchain

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

type Toolchain struct { RoleArn *string `locationName:"roleArn" min:"1" type:"string"` Source *ToolchainSource `locationName:"source" type:"structure" required:"true"` StackParameters map[string]*string `locationName:"stackParameters" type:"map"` }

The toolchain template file provided with the project request. AWS CodeStar uses the template to provision the toolchain stack in AWS CloudFormation.

RoleArn

Type: *string

The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning.

Source

The Amazon S3 location where the toolchain template file provided with the project request is stored. AWS CodeStar retrieves the file during project creation.

StackParameters

Type: map[string]*string

The list of parameter overrides to be passed into the toolchain template during stack provisioning, if any.

Method

GoString

func (s Toolchain) GoString() string

GoString returns the string representation

SetRoleArn

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

SetRoleArn sets the RoleArn field's value.

SetSource

func (s *Toolchain) SetSource(v *ToolchainSource) *Toolchain

SetSource sets the Source field's value.

SetStackParameters

func (s *Toolchain) SetStackParameters(v map[string]*string) *Toolchain

SetStackParameters sets the StackParameters field's value.

String

func (s Toolchain) String() string

String returns the string representation

Validate

func (s *Toolchain) Validate() error

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

On this page: