You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CodeDeploy::Types::RevisionLocation

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb

Overview

Note:

When making an API call, you may pass RevisionLocation data as a hash:

{
  revision_type: "S3", # accepts S3, GitHub
  s3_location: {
    bucket: "S3Bucket",
    key: "S3Key",
    bundle_type: "tar", # accepts tar, tgz, zip
    version: "VersionId",
    e_tag: "ETag",
  },
  git_hub_location: {
    repository: "Repository",
    commit_id: "CommitId",
  },
}

Information about the location of an application revision.

Instance Attribute Summary collapse

Instance Attribute Details

#git_hub_locationTypes::GitHubLocation

Information about the location of application artifacts stored in GitHub.



3150
3151
3152
3153
3154
3155
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3150

class RevisionLocation < Struct.new(
  :revision_type,
  :s3_location,
  :git_hub_location)
  include Aws::Structure
end

#revision_typeString

The type of application revision:

  • S3: An application revision stored in Amazon S3.

  • GitHub: An application revision stored in GitHub.

Returns:

  • (String)


3150
3151
3152
3153
3154
3155
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3150

class RevisionLocation < Struct.new(
  :revision_type,
  :s3_location,
  :git_hub_location)
  include Aws::Structure
end

#s3_locationTypes::S3Location

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

Returns:



3150
3151
3152
3153
3154
3155
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3150

class RevisionLocation < Struct.new(
  :revision_type,
  :s3_location,
  :git_hub_location)
  include Aws::Structure
end