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.

S3Source

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

type S3Source struct { BucketName *string `locationName:"bucketName" type:"string" required:"true"` Key *string `locationName:"key" type:"string" required:"true"` Version *string `locationName:"version" type:"string" required:"true"` }

Information about the S3 bucket where you saved your unsigned code.

BucketName

Type: *string

Name of the S3 bucket.

BucketName is a required field

Key

Type: *string

Key name of the bucket object that contains your unsigned code.

Key is a required field

Version

Type: *string

Version of your source image in your version enabled S3 bucket.

Version is a required field

Method

GoString

func (s S3Source) GoString() string

GoString returns the string representation

SetBucketName

func (s *S3Source) SetBucketName(v string) *S3Source

SetBucketName sets the BucketName field's value.

SetKey

func (s *S3Source) SetKey(v string) *S3Source

SetKey sets the Key field's value.

SetVersion

func (s *S3Source) SetVersion(v string) *S3Source

SetVersion sets the Version field's value.

String

func (s S3Source) String() string

String returns the string representation

Validate

func (s *S3Source) Validate() error

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

On this page: