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.

RevisionLocation

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

type RevisionLocation struct { AppSpecContent *AppSpecContent `locationName:"appSpecContent" type:"structure"` GitHubLocation *GitHubLocation `locationName:"gitHubLocation" type:"structure"` RevisionType *string `locationName:"revisionType" type:"string" enum:"RevisionLocationType"` S3Location *S3Location `locationName:"s3Location" type:"structure"` String_ *RawString `locationName:"string" deprecated:"true" type:"structure"` }

Information about the location of an application revision.

AppSpecContent

A revision for an AWS Lambda or Amazon ECS deployment that is a YAML-formatted or JSON-formatted string. For AWS Lambda and Amazon ECS deployments, the revision is the same as the AppSpec file. This method replaces the deprecated RawString data type.

GitHubLocation

Information about the location of application artifacts stored in GitHub.

RevisionType

Type: *string

The type of application revision:

  • S3: An application revision stored in Amazon S3.

  • GitHub: An application revision stored in GitHub (EC2/On-premises deployments only).

  • String: A YAML-formatted or JSON-formatted string (AWS Lambda deployments only).

S3Location

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

String_

A revision for an AWS Lambda deployment that is a YAML-formatted or JSON-formatted string. For AWS Lambda deployments, the revision is the same as the AppSpec file.

Deprecated: RawString and String revision type are deprecated, use AppSpecContent type instead.

Method

GoString

func (s RevisionLocation) GoString() string

GoString returns the string representation

SetAppSpecContent

func (s *RevisionLocation) SetAppSpecContent(v *AppSpecContent) *RevisionLocation

SetAppSpecContent sets the AppSpecContent field's value.

SetGitHubLocation

func (s *RevisionLocation) SetGitHubLocation(v *GitHubLocation) *RevisionLocation

SetGitHubLocation sets the GitHubLocation field's value.

SetRevisionType

func (s *RevisionLocation) SetRevisionType(v string) *RevisionLocation

SetRevisionType sets the RevisionType field's value.

SetS3Location

func (s *RevisionLocation) SetS3Location(v *S3Location) *RevisionLocation

SetS3Location sets the S3Location field's value.

SetString_

func (s *RevisionLocation) SetString_(v *RawString) *RevisionLocation

SetString_ sets the String_ field's value.

String

func (s RevisionLocation) String() string

String returns the string representation

On this page: