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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
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, ONEZONE_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.



2051
2052
2053
2054
2055
2056
2057
2058
# File 'lib/aws-sdk-s3/types.rb', line 2051

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)


2051
2052
2053
2054
2055
2056
2057
2058
# File 'lib/aws-sdk-s3/types.rb', line 2051

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)


2051
2052
2053
2054
2055
2056
2057
2058
# File 'lib/aws-sdk-s3/types.rb', line 2051

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.



2051
2052
2053
2054
2055
2056
2057
2058
# File 'lib/aws-sdk-s3/types.rb', line 2051

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)


2051
2052
2053
2054
2055
2056
2057
2058
# File 'lib/aws-sdk-s3/types.rb', line 2051

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