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.

AWSSessionCredentials

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

type AWSSessionCredentials struct { AccessKeyId *string `locationName:"accessKeyId" type:"string" required:"true"` SecretAccessKey *string `locationName:"secretAccessKey" type:"string" required:"true"` SessionToken *string `locationName:"sessionToken" type:"string" required:"true"` }

Represents an AWS session credentials object. These credentials are temporary credentials that are issued by AWS Secure Token Service (STS). They can be used to access input and output artifacts in the Amazon S3 bucket used to store artifact for the pipeline in AWS CodePipeline.

AccessKeyId

Type: *string

The access key for the session.

AccessKeyId is a required field

SecretAccessKey

Type: *string

The secret access key for the session.

SecretAccessKey is a required field

SessionToken

Type: *string

The token for the session.

SessionToken is a required field

Method

GoString

func (s AWSSessionCredentials) GoString() string

GoString returns the string representation

SetAccessKeyId

func (s *AWSSessionCredentials) SetAccessKeyId(v string) *AWSSessionCredentials

SetAccessKeyId sets the AccessKeyId field's value.

SetSecretAccessKey

func (s *AWSSessionCredentials) SetSecretAccessKey(v string) *AWSSessionCredentials

SetSecretAccessKey sets the SecretAccessKey field's value.

SetSessionToken

func (s *AWSSessionCredentials) SetSessionToken(v string) *AWSSessionCredentials

SetSessionToken sets the SessionToken field's value.

String

func (s AWSSessionCredentials) String() string

String returns the string representation

On this page: