Module Values.CopySnapshotMessageSource

Represents the input of a CopySnapshotMessage operation.

Sourcetype nonrec t = {
  1. sourceSnapshotName : String_.t;
    (*

    The name of an existing snapshot from which to make a copy.

    *)
  2. targetSnapshotName : String_.t;
    (*

    A name for the snapshot copy. ElastiCache does not permit overwriting a snapshot, therefore this name must be unique within its context - ElastiCache or an Amazon S3 bucket if exporting. This value is stored as a lowercase string.

    *)
  3. targetBucket : String_.t option;
    (*

    The Amazon S3 bucket to which the snapshot is exported. This parameter is used only when exporting a snapshot for external access. When using this parameter to export a snapshot, be sure Amazon ElastiCache has the needed permissions to this S3 bucket. For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the Amazon ElastiCache User Guide. For more information, see Exporting a Snapshot in the Amazon ElastiCache User Guide.

    *)
  4. kmsKeyId : String_.t option;
    (*

    The ID of the KMS key used to encrypt the target snapshot.

    *)
  5. tags : TagList.t option;
    (*

    A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

    *)
}
Sourceval context_ : string
Sourceval make : ?targetBucket:??? -> ?kmsKeyId:??? -> ?tags:??? -> sourceSnapshotName:String_.t -> targetSnapshotName:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `String of String_.t ]) 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