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

Class: Aws::CodeDeploy::Types::S3Location

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 S3Location data as a hash:

{
  bucket: "S3Bucket",
  key: "S3Key",
  bundle_type: "tar", # accepts tar, tgz, zip
  version: "VersionId",
  e_tag: "ETag",
}

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

Instance Attribute Summary collapse

Instance Attribute Details

#bucketString

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

Returns:

  • (String)


3236
3237
3238
3239
3240
3241
3242
3243
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3236

class S3Location < Struct.new(
  :bucket,
  :key,
  :bundle_type,
  :version,
  :e_tag)
  include Aws::Structure
end

#bundle_typeString

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.

Returns:

  • (String)


3236
3237
3238
3239
3240
3241
3242
3243
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3236

class S3Location < Struct.new(
  :bucket,
  :key,
  :bundle_type,
  :version,
  :e_tag)
  include Aws::Structure
end

#e_tagString

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 will be skipped.

Returns:

  • (String)


3236
3237
3238
3239
3240
3241
3242
3243
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3236

class S3Location < Struct.new(
  :bucket,
  :key,
  :bundle_type,
  :version,
  :e_tag)
  include Aws::Structure
end

#keyString

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

Returns:

  • (String)


3236
3237
3238
3239
3240
3241
3242
3243
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3236

class S3Location < Struct.new(
  :bucket,
  :key,
  :bundle_type,
  :version,
  :e_tag)
  include Aws::Structure
end

#versionString

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 will use the most recent version by default.

Returns:

  • (String)


3236
3237
3238
3239
3240
3241
3242
3243
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3236

class S3Location < Struct.new(
  :bucket,
  :key,
  :bundle_type,
  :version,
  :e_tag)
  include Aws::Structure
end