NAME
Paws::Backup::CreateBackupPlan - Arguments for method CreateBackupPlan on Paws::Backup
DESCRIPTION
This class represents the parameters used for calling the method CreateBackupPlan on the AWS Backup service. Use the attributes of this class as arguments to method CreateBackupPlan.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateBackupPlan.
SYNOPSIS
my $backup = Paws->service('Backup');
my $CreateBackupPlanOutput = $backup->CreateBackupPlan(
BackupPlan => {
BackupPlanName => 'MyBackupPlanName',
Rules => [
{
RuleName => 'MyBackupRuleName',
TargetBackupVaultName => 'MyBackupVaultName',
CompletionWindowMinutes => 1, # OPTIONAL
CopyActions => [
{
DestinationBackupVaultArn => 'MyARN',
Lifecycle => {
DeleteAfterDays => 1, # OPTIONAL
MoveToColdStorageAfterDays => 1, # OPTIONAL
}, # OPTIONAL
},
...
], # OPTIONAL
EnableContinuousBackup => 1, # OPTIONAL
Lifecycle => {
DeleteAfterDays => 1, # OPTIONAL
MoveToColdStorageAfterDays => 1, # OPTIONAL
}, # OPTIONAL
RecoveryPointTags => { 'MyTagKey' => 'MyTagValue', }, # OPTIONAL
ScheduleExpression => 'MyCronExpression', # OPTIONAL
StartWindowMinutes => 1, # OPTIONAL
},
...
],
AdvancedBackupSettings => [
{
BackupOptions => { 'MyBackupOptionKey' => 'MyBackupOptionValue', }
, # OPTIONAL
ResourceType => 'MyResourceType', # OPTIONAL
},
...
], # OPTIONAL
},
BackupPlanTags => { 'MyTagKey' => 'MyTagValue', }, # OPTIONAL
CreatorRequestId => 'Mystring', # OPTIONAL
);
# Results:
my $AdvancedBackupSettings =
$CreateBackupPlanOutput->AdvancedBackupSettings;
my $BackupPlanArn = $CreateBackupPlanOutput->BackupPlanArn;
my $BackupPlanId = $CreateBackupPlanOutput->BackupPlanId;
my $CreationDate = $CreateBackupPlanOutput->CreationDate;
my $VersionId = $CreateBackupPlanOutput->VersionId;
# Returns a L<Paws::Backup::CreateBackupPlanOutput> 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/backup/CreateBackupPlan
ATTRIBUTES
REQUIRED BackupPlan => Paws::Backup::BackupPlanInput
Specifies the body of a backup plan. Includes a BackupPlanName
and one or more sets of Rules
.
BackupPlanTags => Paws::Backup::Tags
To help organize your resources, you can assign your own metadata to the resources that you create. Each tag is a key-value pair. The specified tags are assigned to all backups created with this plan.
CreatorRequestId => Str
Identifies the request and allows failed requests to be retried without the risk of running the operation twice. If the request includes a CreatorRequestId
that matches an existing backup plan, that plan is returned. This parameter is optional.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateBackupPlan in Paws::Backup
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