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.

TeamMember

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

type TeamMember struct { ProjectRole *string `locationName:"projectRole" type:"string" required:"true"` RemoteAccessAllowed *bool `locationName:"remoteAccessAllowed" type:"boolean"` UserArn *string `locationName:"userArn" min:"32" type:"string" required:"true"` }

Information about a team member in a project.

ProjectRole

Type: *string

The role assigned to the user in the project. Project roles have different levels of access. For more information, see Working with Teams (https://docs.aws.amazon.com/codestar/latest/userguide/working-with-teams.html) in the AWS CodeStar User Guide.

ProjectRole is a required field

RemoteAccessAllowed

Type: *bool

Whether the user is allowed to remotely access project resources using an SSH public/private key pair.

UserArn

Type: *string

The Amazon Resource Name (ARN) of the user in IAM.

UserArn is a required field

Method

GoString

func (s TeamMember) GoString() string

GoString returns the string representation

SetProjectRole

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

SetProjectRole sets the ProjectRole field's value.

SetRemoteAccessAllowed

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

SetRemoteAccessAllowed sets the RemoteAccessAllowed field's value.

SetUserArn

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

SetUserArn sets the UserArn field's value.

String

func (s TeamMember) String() string

String returns the string representation

On this page: