Module Values.DestinationSource

Specifies information about the replication destination bucket and its settings for an S3 on Outposts replication configuration.

Sourcetype nonrec t = {
  1. account : AccountId.t option;
    (*

    The destination bucket owner's account ID.

    *)
  2. bucket : BucketIdentifierString.t;
    (*

    The Amazon Resource Name (ARN) of the access point for the destination bucket where you want S3 on Outposts to store the replication results.

    *)
  3. replicationTime : ReplicationTime.t option;
    (*

    A container that specifies S3 Replication Time Control (S3 RTC) settings, including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated. Must be specified together with a Metrics block. This is not supported by Amazon S3 on Outposts buckets.

    *)
  4. accessControlTranslation : AccessControlTranslation.t option;
    (*

    Specify this property only in a cross-account scenario (where the source and destination bucket owners are not the same), and you want to change replica ownership to the Amazon Web Services account that owns the destination bucket. If this property is not specified in the replication configuration, the replicas are owned by same Amazon Web Services account that owns the source object. This is not supported by Amazon S3 on Outposts buckets.

    *)
  5. encryptionConfiguration : EncryptionConfiguration.t option;
    (*

    A container that provides information about encryption. If SourceSelectionCriteria is specified, you must specify this element. This is not supported by Amazon S3 on Outposts buckets.

    *)
  6. metrics : Metrics.t option;
    (*

    A container that specifies replication metrics-related settings.

    *)
  7. storageClass : ReplicationStorageClass.t option;
    (*

    The storage class to use when replicating objects. All objects stored on S3 on Outposts are stored in the OUTPOSTS storage class. S3 on Outposts uses the OUTPOSTS storage class to create the object replicas. Values other than OUTPOSTS aren't supported by Amazon S3 on Outposts.

    *)
}
Sourceval context_ : string
Sourceval make : ?account:??? -> ?replicationTime:??? -> ?accessControlTranslation:??? -> ?encryptionConfiguration:??? -> ?metrics:??? -> ?storageClass:??? -> bucket:BucketIdentifierString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of AccountId.t | `Structure of (string * [> `Enum of string | `String of ReplicaKmsKeyID.t | `Structure of (string * [> `Integer of Minutes.t ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t