Paws::Backup::CreateBackupPlan - Arguments for method CreateBackupPlan on Paws::Backup


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.


    my $backup = Paws->service('Backup');
    my $CreateBackupPlanOutput = $backup->CreateBackupPlan(
      BackupPlan => {
        BackupPlanName => 'MyBackupPlanName',
        Rules          => [
            RuleName                => 'MyBackupRuleName',
            TargetBackupVaultName   => 'MyBackupVaultName',
            CompletionWindowMinutes => 1,                     # OPTIONAL
            Lifecycle               => {
              DeleteAfterDays            => 1,                # OPTIONAL
              MoveToColdStorageAfterDays => 1,                # OPTIONAL
            },    # OPTIONAL
            RecoveryPointTags  => { 'MyTagKey' => 'MyTagValue', },    # OPTIONAL
            ScheduleExpression => 'MyCronExpression',                 # OPTIONAL
            StartWindowMinutes => 1,                                  # OPTIONAL

      BackupPlanTags   => { 'MyTagKey' => 'MyTagValue', },            # OPTIONAL
      CreatorRequestId => 'Mystring',                                 # OPTIONAL

    # Results:
    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


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 executing the operation twice. If the request includes a CreatorRequestId that matches an existing backup plan, that plan is returned. This parameter is optional.


This class forms part of Paws, documenting arguments for method CreateBackupPlan in Paws::Backup


The source code is located here:

Please report bugs to: