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

Class: Aws::S3::Types::Destination

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

Overview

Note:

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

{
  bucket: "BucketName", # required
  storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA
}

Instance Attribute Summary collapse

Instance Attribute Details

#bucketString

Amazon resource name (ARN) of the bucket where you want Amazon S3 to store replicas of the object identified by the rule.

Returns:

  • (String)


1887
1888
1889
1890
1891
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 1887

class Destination < Struct.new(
  :bucket,
  :storage_class)
  include Aws::Structure
end

#storage_classString

The class of storage used to store the object.

Returns:

  • (String)


1887
1888
1889
1890
1891
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 1887

class Destination < Struct.new(
  :bucket,
  :storage_class)
  include Aws::Structure
end