Skip to content

Copy Backup To Region

cloudhsmv2_copy_backup_to_region R Documentation

Copy an CloudHSM cluster backup to a different region

Description

Copy an CloudHSM cluster backup to a different region.

Cross-account use: No. You cannot perform this operation on an CloudHSM backup in a different Amazon Web Services account.

Usage

cloudhsmv2_copy_backup_to_region(DestinationRegion, BackupId, TagList)

Arguments

DestinationRegion

[required] The AWS region that will contain your copied CloudHSM cluster backup.

BackupId

[required] The ID of the backup that will be copied to the destination region.

TagList

Tags to apply to the destination backup during creation. If you specify tags, only these tags will be applied to the destination backup. If you do not specify tags, the service copies tags from the source backup to the destination backup.

Value

A list with the following syntax:

list(
  DestinationBackup = list(
    CreateTimestamp = as.POSIXct(
      "2015-01-01"
    ),
    SourceRegion = "string",
    SourceBackup = "string",
    SourceCluster = "string"
  )
)

Request syntax

svc$copy_backup_to_region(
  DestinationRegion = "string",
  BackupId = "string",
  TagList = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)