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
  account: "AccountId",
  storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA
  access_control_translation: {
    owner: "Destination", # required, accepts Destination
  },
  encryption_configuration: {
    replica_kms_key_id: "ReplicaKmsKeyID",
  },
}

Container for replication destination information.

Instance Attribute Summary collapse

Instance Attribute Details

#access_control_translationTypes::AccessControlTranslation

Container for information regarding the access control for replicas.



2048
2049
2050
2051
2052
2053
2054
2055
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 2048

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

#accountString

Account ID of the destination bucket. Currently this is only being verified if Access Control Translation is enabled

Returns:

  • (String)


2048
2049
2050
2051
2052
2053
2054
2055
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 2048

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

#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)


2048
2049
2050
2051
2052
2053
2054
2055
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 2048

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

#encryption_configurationTypes::EncryptionConfiguration

Container for information regarding encryption based configuration for replicas.



2048
2049
2050
2051
2052
2053
2054
2055
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 2048

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

#storage_classString

The class of storage used to store the object.

Returns:

  • (String)


2048
2049
2050
2051
2052
2053
2054
2055
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 2048

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