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.

AssociateTeamMemberInput

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

type AssociateTeamMemberInput struct { ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string"` ProjectId *string `locationName:"projectId" min:"2" type:"string" required:"true"` ProjectRole *string `locationName:"projectRole" type:"string" required:"true"` RemoteAccessAllowed *bool `locationName:"remoteAccessAllowed" type:"boolean"` UserArn *string `locationName:"userArn" min:"32" type:"string" required:"true"` }

ClientRequestToken

Type: *string

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

ProjectId

Type: *string

The ID of the project to which you will add the IAM user.

ProjectId is a required field

ProjectRole

Type: *string

The AWS CodeStar project role that will apply to this user. This role determines what actions a user can take in an AWS CodeStar project.

ProjectRole is a required field

RemoteAccessAllowed

Type: *bool

Whether the team member is allowed to use an SSH public/private key pair to remotely access project resources, for example Amazon EC2 instances.

UserArn

Type: *string

The Amazon Resource Name (ARN) for the IAM user you want to add to the AWS CodeStar project.

UserArn is a required field

Method

GoString

func (s AssociateTeamMemberInput) GoString() string

GoString returns the string representation

SetClientRequestToken

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

SetClientRequestToken sets the ClientRequestToken field's value.

SetProjectId

func (s *AssociateTeamMemberInput) SetProjectId(v string) *AssociateTeamMemberInput

SetProjectId sets the ProjectId field's value.

SetProjectRole

func (s *AssociateTeamMemberInput) SetProjectRole(v string) *AssociateTeamMemberInput

SetProjectRole sets the ProjectRole field's value.

SetRemoteAccessAllowed

func (s *AssociateTeamMemberInput) SetRemoteAccessAllowed(v bool) *AssociateTeamMemberInput

SetRemoteAccessAllowed sets the RemoteAccessAllowed field's value.

SetUserArn

func (s *AssociateTeamMemberInput) SetUserArn(v string) *AssociateTeamMemberInput

SetUserArn sets the UserArn field's value.

String

func (s AssociateTeamMemberInput) String() string

String returns the string representation

Validate

func (s *AssociateTeamMemberInput) Validate() error

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

On this page: