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.

CreateProjectInput

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

type CreateProjectInput struct { ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string"` Description *string `locationName:"description" type:"string" sensitive:"true"` Id *string `locationName:"id" min:"2" type:"string" required:"true"` Name *string `locationName:"name" min:"1" type:"string" required:"true" sensitive:"true"` SourceCode []*Code `locationName:"sourceCode" type:"list"` Tags map[string]*string `locationName:"tags" type:"map"` Toolchain *Toolchain `locationName:"toolchain" type:"structure"` }

ClientRequestToken

Type: *string

A user- or system-generated token that identifies the entity that requested project creation. This token can be used to repeat the request.

Description

Type: *string

The description of the project, if any.

Id

Type: *string

The ID of the project to be created in AWS CodeStar.

Id is a required field

Name

Type: *string

The display name for the project to be created in AWS CodeStar.

Name is a required field

SourceCode

Location and destination information about the source code files provided with the project request. The source code is uploaded to the new project source repository after project creation.

Tags

Type: map[string]*string

The tags created for the project.

Toolchain

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

Method

GoString

func (s CreateProjectInput) GoString() string

GoString returns the string representation

SetClientRequestToken

func (s *CreateProjectInput) SetClientRequestToken(v string) *CreateProjectInput

SetClientRequestToken sets the ClientRequestToken field's value.

SetDescription

func (s *CreateProjectInput) SetDescription(v string) *CreateProjectInput

SetDescription sets the Description field's value.

SetId

func (s *CreateProjectInput) SetId(v string) *CreateProjectInput

SetId sets the Id field's value.

SetName

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

SetName sets the Name field's value.

SetSourceCode

func (s *CreateProjectInput) SetSourceCode(v []*Code) *CreateProjectInput

SetSourceCode sets the SourceCode field's value.

SetTags

func (s *CreateProjectInput) SetTags(v map[string]*string) *CreateProjectInput

SetTags sets the Tags field's value.

SetToolchain

func (s *CreateProjectInput) SetToolchain(v *Toolchain) *CreateProjectInput

SetToolchain sets the Toolchain field's value.

String

func (s CreateProjectInput) String() string

String returns the string representation

Validate

func (s *CreateProjectInput) Validate() error

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

On this page: