NAME

Paws::CloudHSMv2::CopyBackupToRegion - Arguments for method CopyBackupToRegion on Paws::CloudHSMv2

DESCRIPTION

This class represents the parameters used for calling the method CopyBackupToRegion on the AWS CloudHSM V2 service. Use the attributes of this class as arguments to method CopyBackupToRegion.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CopyBackupToRegion.

SYNOPSIS

my $cloudhsmv2 = Paws->service('CloudHSMv2');
my $CopyBackupToRegionResponse = $cloudhsmv2->CopyBackupToRegion(
  BackupId          => 'MyBackupId',
  DestinationRegion => 'MyRegion',
  TagList           => [
    {
      Key   => 'MyTagKey',      # min: 1, max: 128
      Value => 'MyTagValue',    # max: 256

    },
    ...
  ],    # OPTIONAL
);

# Results:
my $DestinationBackup = $CopyBackupToRegionResponse->DestinationBackup;

# Returns a L<Paws::CloudHSMv2::CopyBackupToRegionResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2/CopyBackupToRegion

ATTRIBUTES

REQUIRED BackupId => Str

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

REQUIRED DestinationRegion => Str

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

TagList => ArrayRef[Paws::CloudHSMv2::Tag]

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.

SEE ALSO

This class forms part of Paws, documenting arguments for method CopyBackupToRegion in Paws::CloudHSMv2

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues