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.

S3Location

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

type S3Location struct { Bucket *string `locationName:"bucket" type:"string"` BundleType *string `locationName:"bundleType" type:"string" enum:"BundleType"` ETag *string `locationName:"eTag" type:"string"` Key *string `locationName:"key" type:"string"` Version *string `locationName:"version" type:"string"` }

Information about the location of application artifacts stored in Amazon S3.

Bucket

Type: *string

The name of the Amazon S3 bucket where the application revision is stored.

BundleType

Type: *string

The file type of the application revision. Must be one of the following:

  • tar: A tar archive file.

  • tgz: A compressed tar archive file.

  • zip: A zip archive file.

ETag

Type: *string

The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision.

If the ETag is not specified as an input parameter, ETag validation of the object is skipped.

Key

Type: *string

The name of the Amazon S3 object that represents the bundled artifacts for the application revision.

Version

Type: *string

A specific version of the Amazon S3 object that represents the bundled artifacts for the application revision.

If the version is not specified, the system uses the most recent version by default.

Method

GoString

func (s S3Location) GoString() string

GoString returns the string representation

SetBucket

func (s *S3Location) SetBucket(v string) *S3Location

SetBucket sets the Bucket field's value.

SetBundleType

func (s *S3Location) SetBundleType(v string) *S3Location

SetBundleType sets the BundleType field's value.

SetETag

func (s *S3Location) SetETag(v string) *S3Location

SetETag sets the ETag field's value.

SetKey

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

SetKey sets the Key field's value.

SetVersion

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

SetVersion sets the Version field's value.

String

func (s S3Location) String() string

String returns the string representation

On this page: