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.

CodeDestination

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

type CodeDestination struct { CodeCommit *CodeCommitCodeDestination `locationName:"codeCommit" type:"structure"` GitHub *GitHubCodeDestination `locationName:"gitHub" type:"structure"` }

The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.

CodeCommit

Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.

GitHub

Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.

Method

GoString

func (s CodeDestination) GoString() string

GoString returns the string representation

SetCodeCommit

func (s *CodeDestination) SetCodeCommit(v *CodeCommitCodeDestination) *CodeDestination

SetCodeCommit sets the CodeCommit field's value.

SetGitHub

func (s *CodeDestination) SetGitHub(v *GitHubCodeDestination) *CodeDestination

SetGitHub sets the GitHub field's value.

String

func (s CodeDestination) String() string

String returns the string representation

Validate

func (s *CodeDestination) Validate() error

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

On this page: