AWS Classic

v5.16.0 published on Saturday, Sep 24, 2022 by Pulumi

Plan

Provides an AWS Backup plan resource.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.Backup.Plan("example", new()
    {
        Rules = new[]
        {
            new Aws.Backup.Inputs.PlanRuleArgs
            {
                RuleName = "tf_example_backup_rule",
                TargetVaultName = aws_backup_vault.Test.Name,
                Schedule = "cron(0 12 * * ? *)",
                Lifecycle = new Aws.Backup.Inputs.PlanRuleLifecycleArgs
                {
                    DeleteAfter = 14,
                },
            },
        },
        AdvancedBackupSettings = new[]
        {
            new Aws.Backup.Inputs.PlanAdvancedBackupSettingArgs
            {
                BackupOptions = 
                {
                    { "WindowsVSS", "enabled" },
                },
                ResourceType = "EC2",
            },
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/backup"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := backup.NewPlan(ctx, "example", &backup.PlanArgs{
			Rules: backup.PlanRuleArray{
				&backup.PlanRuleArgs{
					RuleName:        pulumi.String("tf_example_backup_rule"),
					TargetVaultName: pulumi.Any(aws_backup_vault.Test.Name),
					Schedule:        pulumi.String("cron(0 12 * * ? *)"),
					Lifecycle: &backup.PlanRuleLifecycleArgs{
						DeleteAfter: pulumi.Int(14),
					},
				},
			},
			AdvancedBackupSettings: backup.PlanAdvancedBackupSettingArray{
				&backup.PlanAdvancedBackupSettingArgs{
					BackupOptions: pulumi.StringMap{
						"WindowsVSS": pulumi.String("enabled"),
					},
					ResourceType: pulumi.String("EC2"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.backup.Plan;
import com.pulumi.aws.backup.PlanArgs;
import com.pulumi.aws.backup.inputs.PlanRuleArgs;
import com.pulumi.aws.backup.inputs.PlanRuleLifecycleArgs;
import com.pulumi.aws.backup.inputs.PlanAdvancedBackupSettingArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new Plan("example", PlanArgs.builder()        
            .rules(PlanRuleArgs.builder()
                .ruleName("tf_example_backup_rule")
                .targetVaultName(aws_backup_vault.test().name())
                .schedule("cron(0 12 * * ? *)")
                .lifecycle(PlanRuleLifecycleArgs.builder()
                    .deleteAfter(14)
                    .build())
                .build())
            .advancedBackupSettings(PlanAdvancedBackupSettingArgs.builder()
                .backupOptions(Map.of("WindowsVSS", "enabled"))
                .resourceType("EC2")
                .build())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.backup.Plan("example",
    rules=[aws.backup.PlanRuleArgs(
        rule_name="tf_example_backup_rule",
        target_vault_name=aws_backup_vault["test"]["name"],
        schedule="cron(0 12 * * ? *)",
        lifecycle=aws.backup.PlanRuleLifecycleArgs(
            delete_after=14,
        ),
    )],
    advanced_backup_settings=[aws.backup.PlanAdvancedBackupSettingArgs(
        backup_options={
            "WindowsVSS": "enabled",
        },
        resource_type="EC2",
    )])
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.backup.Plan("example", {
    rules: [{
        ruleName: "tf_example_backup_rule",
        targetVaultName: aws_backup_vault.test.name,
        schedule: "cron(0 12 * * ? *)",
        lifecycle: {
            deleteAfter: 14,
        },
    }],
    advancedBackupSettings: [{
        backupOptions: {
            WindowsVSS: "enabled",
        },
        resourceType: "EC2",
    }],
});
resources:
  example:
    type: aws:backup:Plan
    properties:
      rules:
        - ruleName: tf_example_backup_rule
          targetVaultName: ${aws_backup_vault.test.name}
          schedule: cron(0 12 * * ? *)
          lifecycle:
            deleteAfter: 14
      advancedBackupSettings:
        - backupOptions:
            WindowsVSS: enabled
          resourceType: EC2

Create a Plan Resource

new Plan(name: string, args: PlanArgs, opts?: CustomResourceOptions);
@overload
def Plan(resource_name: str,
         opts: Optional[ResourceOptions] = None,
         advanced_backup_settings: Optional[Sequence[PlanAdvancedBackupSettingArgs]] = None,
         name: Optional[str] = None,
         rules: Optional[Sequence[PlanRuleArgs]] = None,
         tags: Optional[Mapping[str, str]] = None)
@overload
def Plan(resource_name: str,
         args: PlanArgs,
         opts: Optional[ResourceOptions] = None)
func NewPlan(ctx *Context, name string, args PlanArgs, opts ...ResourceOption) (*Plan, error)
public Plan(string name, PlanArgs args, CustomResourceOptions? opts = null)
public Plan(String name, PlanArgs args)
public Plan(String name, PlanArgs args, CustomResourceOptions options)
type: aws:backup:Plan
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args PlanArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args PlanArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args PlanArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PlanArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args PlanArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Plan Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Plan resource accepts the following input properties:

Rules List<PlanRuleArgs>

A rule object that specifies a scheduled task that is used to back up a selection of resources.

AdvancedBackupSettings List<PlanAdvancedBackupSettingArgs>

An object that specifies backup options for each resource type.

Name string

The display name of a backup plan.

Tags Dictionary<string, string>

Metadata that you can assign to help organize the plans you create. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Rules []PlanRuleArgs

A rule object that specifies a scheduled task that is used to back up a selection of resources.

AdvancedBackupSettings []PlanAdvancedBackupSettingArgs

An object that specifies backup options for each resource type.

Name string

The display name of a backup plan.

Tags map[string]string

Metadata that you can assign to help organize the plans you create. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

rules List<PlanRuleArgs>

A rule object that specifies a scheduled task that is used to back up a selection of resources.

advancedBackupSettings List<PlanAdvancedBackupSettingArgs>

An object that specifies backup options for each resource type.

name String

The display name of a backup plan.

tags Map<String,String>

Metadata that you can assign to help organize the plans you create. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

rules PlanRuleArgs[]

A rule object that specifies a scheduled task that is used to back up a selection of resources.

advancedBackupSettings PlanAdvancedBackupSettingArgs[]

An object that specifies backup options for each resource type.

name string

The display name of a backup plan.

tags {[key: string]: string}

Metadata that you can assign to help organize the plans you create. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

rules Sequence[PlanRuleArgs]

A rule object that specifies a scheduled task that is used to back up a selection of resources.

advanced_backup_settings Sequence[PlanAdvancedBackupSettingArgs]

An object that specifies backup options for each resource type.

name str

The display name of a backup plan.

tags Mapping[str, str]

Metadata that you can assign to help organize the plans you create. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

rules List<Property Map>

A rule object that specifies a scheduled task that is used to back up a selection of resources.

advancedBackupSettings List<Property Map>

An object that specifies backup options for each resource type.

name String

The display name of a backup plan.

tags Map<String>

Metadata that you can assign to help organize the plans you create. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Outputs

All input properties are implicitly available as output properties. Additionally, the Plan resource produces the following output properties:

Arn string

The ARN of the backup plan.

Id string

The provider-assigned unique ID for this managed resource.

TagsAll Dictionary<string, string>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Version string

Unique, randomly generated, Unicode, UTF-8 encoded string that serves as the version ID of the backup plan.

Arn string

The ARN of the backup plan.

Id string

The provider-assigned unique ID for this managed resource.

TagsAll map[string]string

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Version string

Unique, randomly generated, Unicode, UTF-8 encoded string that serves as the version ID of the backup plan.

arn String

The ARN of the backup plan.

id String

The provider-assigned unique ID for this managed resource.

tagsAll Map<String,String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

version String

Unique, randomly generated, Unicode, UTF-8 encoded string that serves as the version ID of the backup plan.

arn string

The ARN of the backup plan.

id string

The provider-assigned unique ID for this managed resource.

tagsAll {[key: string]: string}

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

version string

Unique, randomly generated, Unicode, UTF-8 encoded string that serves as the version ID of the backup plan.

arn str

The ARN of the backup plan.

id str

The provider-assigned unique ID for this managed resource.

tags_all Mapping[str, str]

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

version str

Unique, randomly generated, Unicode, UTF-8 encoded string that serves as the version ID of the backup plan.

arn String

The ARN of the backup plan.

id String

The provider-assigned unique ID for this managed resource.

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

version String

Unique, randomly generated, Unicode, UTF-8 encoded string that serves as the version ID of the backup plan.

Look up an Existing Plan Resource

Get an existing Plan resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: PlanState, opts?: CustomResourceOptions): Plan
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        advanced_backup_settings: Optional[Sequence[PlanAdvancedBackupSettingArgs]] = None,
        arn: Optional[str] = None,
        name: Optional[str] = None,
        rules: Optional[Sequence[PlanRuleArgs]] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        version: Optional[str] = None) -> Plan
func GetPlan(ctx *Context, name string, id IDInput, state *PlanState, opts ...ResourceOption) (*Plan, error)
public static Plan Get(string name, Input<string> id, PlanState? state, CustomResourceOptions? opts = null)
public static Plan get(String name, Output<String> id, PlanState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AdvancedBackupSettings List<PlanAdvancedBackupSettingArgs>

An object that specifies backup options for each resource type.

Arn string

The ARN of the backup plan.

Name string

The display name of a backup plan.

Rules List<PlanRuleArgs>

A rule object that specifies a scheduled task that is used to back up a selection of resources.

Tags Dictionary<string, string>

Metadata that you can assign to help organize the plans you create. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

TagsAll Dictionary<string, string>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Version string

Unique, randomly generated, Unicode, UTF-8 encoded string that serves as the version ID of the backup plan.

AdvancedBackupSettings []PlanAdvancedBackupSettingArgs

An object that specifies backup options for each resource type.

Arn string

The ARN of the backup plan.

Name string

The display name of a backup plan.

Rules []PlanRuleArgs

A rule object that specifies a scheduled task that is used to back up a selection of resources.

Tags map[string]string

Metadata that you can assign to help organize the plans you create. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

TagsAll map[string]string

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Version string

Unique, randomly generated, Unicode, UTF-8 encoded string that serves as the version ID of the backup plan.

advancedBackupSettings List<PlanAdvancedBackupSettingArgs>

An object that specifies backup options for each resource type.

arn String

The ARN of the backup plan.

name String

The display name of a backup plan.

rules List<PlanRuleArgs>

A rule object that specifies a scheduled task that is used to back up a selection of resources.

tags Map<String,String>

Metadata that you can assign to help organize the plans you create. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll Map<String,String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

version String

Unique, randomly generated, Unicode, UTF-8 encoded string that serves as the version ID of the backup plan.

advancedBackupSettings PlanAdvancedBackupSettingArgs[]

An object that specifies backup options for each resource type.

arn string

The ARN of the backup plan.

name string

The display name of a backup plan.

rules PlanRuleArgs[]

A rule object that specifies a scheduled task that is used to back up a selection of resources.

tags {[key: string]: string}

Metadata that you can assign to help organize the plans you create. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll {[key: string]: string}

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

version string

Unique, randomly generated, Unicode, UTF-8 encoded string that serves as the version ID of the backup plan.

advanced_backup_settings Sequence[PlanAdvancedBackupSettingArgs]

An object that specifies backup options for each resource type.

arn str

The ARN of the backup plan.

name str

The display name of a backup plan.

rules Sequence[PlanRuleArgs]

A rule object that specifies a scheduled task that is used to back up a selection of resources.

tags Mapping[str, str]

Metadata that you can assign to help organize the plans you create. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tags_all Mapping[str, str]

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

version str

Unique, randomly generated, Unicode, UTF-8 encoded string that serves as the version ID of the backup plan.

advancedBackupSettings List<Property Map>

An object that specifies backup options for each resource type.

arn String

The ARN of the backup plan.

name String

The display name of a backup plan.

rules List<Property Map>

A rule object that specifies a scheduled task that is used to back up a selection of resources.

tags Map<String>

Metadata that you can assign to help organize the plans you create. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

version String

Unique, randomly generated, Unicode, UTF-8 encoded string that serves as the version ID of the backup plan.

Supporting Types

PlanAdvancedBackupSetting

BackupOptions Dictionary<string, string>

Specifies the backup option for a selected resource. This option is only available for Windows VSS backup jobs. Set to { WindowsVSS = "enabled" } to enable Windows VSS backup option and create a VSS Windows backup.

ResourceType string

The type of AWS resource to be backed up. For VSS Windows backups, the only supported resource type is Amazon EC2. Valid values: EC2.

BackupOptions map[string]string

Specifies the backup option for a selected resource. This option is only available for Windows VSS backup jobs. Set to { WindowsVSS = "enabled" } to enable Windows VSS backup option and create a VSS Windows backup.

ResourceType string

The type of AWS resource to be backed up. For VSS Windows backups, the only supported resource type is Amazon EC2. Valid values: EC2.

backupOptions Map<String,String>

Specifies the backup option for a selected resource. This option is only available for Windows VSS backup jobs. Set to { WindowsVSS = "enabled" } to enable Windows VSS backup option and create a VSS Windows backup.

resourceType String

The type of AWS resource to be backed up. For VSS Windows backups, the only supported resource type is Amazon EC2. Valid values: EC2.

backupOptions {[key: string]: string}

Specifies the backup option for a selected resource. This option is only available for Windows VSS backup jobs. Set to { WindowsVSS = "enabled" } to enable Windows VSS backup option and create a VSS Windows backup.

resourceType string

The type of AWS resource to be backed up. For VSS Windows backups, the only supported resource type is Amazon EC2. Valid values: EC2.

backup_options Mapping[str, str]

Specifies the backup option for a selected resource. This option is only available for Windows VSS backup jobs. Set to { WindowsVSS = "enabled" } to enable Windows VSS backup option and create a VSS Windows backup.

resource_type str

The type of AWS resource to be backed up. For VSS Windows backups, the only supported resource type is Amazon EC2. Valid values: EC2.

backupOptions Map<String>

Specifies the backup option for a selected resource. This option is only available for Windows VSS backup jobs. Set to { WindowsVSS = "enabled" } to enable Windows VSS backup option and create a VSS Windows backup.

resourceType String

The type of AWS resource to be backed up. For VSS Windows backups, the only supported resource type is Amazon EC2. Valid values: EC2.

PlanRule

RuleName string

An display name for a backup rule.

TargetVaultName string

The name of a logical container where backups are stored.

CompletionWindow int

The amount of time in minutes AWS Backup attempts a backup before canceling the job and returning an error.

CopyActions List<PlanRuleCopyAction>

Configuration block(s) with copy operation settings. Detailed below.

EnableContinuousBackup bool

Enable continuous backups for supported resources.

Lifecycle PlanRuleLifecycle

The lifecycle defines when a protected resource is copied over to a backup vault and when it expires. Fields documented above.

RecoveryPointTags Dictionary<string, string>

Metadata that you can assign to help organize the resources that you create.

Schedule string

A CRON expression specifying when AWS Backup initiates a backup job.

StartWindow int

The amount of time in minutes before beginning a backup.

RuleName string

An display name for a backup rule.

TargetVaultName string

The name of a logical container where backups are stored.

CompletionWindow int

The amount of time in minutes AWS Backup attempts a backup before canceling the job and returning an error.

CopyActions []PlanRuleCopyAction

Configuration block(s) with copy operation settings. Detailed below.

EnableContinuousBackup bool

Enable continuous backups for supported resources.

Lifecycle PlanRuleLifecycle

The lifecycle defines when a protected resource is copied over to a backup vault and when it expires. Fields documented above.

RecoveryPointTags map[string]string

Metadata that you can assign to help organize the resources that you create.

Schedule string

A CRON expression specifying when AWS Backup initiates a backup job.

StartWindow int

The amount of time in minutes before beginning a backup.

ruleName String

An display name for a backup rule.

targetVaultName String

The name of a logical container where backups are stored.

completionWindow Integer

The amount of time in minutes AWS Backup attempts a backup before canceling the job and returning an error.

copyActions List<PlanRuleCopyAction>

Configuration block(s) with copy operation settings. Detailed below.

enableContinuousBackup Boolean

Enable continuous backups for supported resources.

lifecycle PlanRuleLifecycle

The lifecycle defines when a protected resource is copied over to a backup vault and when it expires. Fields documented above.

recoveryPointTags Map<String,String>

Metadata that you can assign to help organize the resources that you create.

schedule String

A CRON expression specifying when AWS Backup initiates a backup job.

startWindow Integer

The amount of time in minutes before beginning a backup.

ruleName string

An display name for a backup rule.

targetVaultName string

The name of a logical container where backups are stored.

completionWindow number

The amount of time in minutes AWS Backup attempts a backup before canceling the job and returning an error.

copyActions PlanRuleCopyAction[]

Configuration block(s) with copy operation settings. Detailed below.

enableContinuousBackup boolean

Enable continuous backups for supported resources.

lifecycle PlanRuleLifecycle

The lifecycle defines when a protected resource is copied over to a backup vault and when it expires. Fields documented above.

recoveryPointTags {[key: string]: string}

Metadata that you can assign to help organize the resources that you create.

schedule string

A CRON expression specifying when AWS Backup initiates a backup job.

startWindow number

The amount of time in minutes before beginning a backup.

rule_name str

An display name for a backup rule.

target_vault_name str

The name of a logical container where backups are stored.

completion_window int

The amount of time in minutes AWS Backup attempts a backup before canceling the job and returning an error.

copy_actions Sequence[PlanRuleCopyAction]

Configuration block(s) with copy operation settings. Detailed below.

enable_continuous_backup bool

Enable continuous backups for supported resources.

lifecycle PlanRuleLifecycle

The lifecycle defines when a protected resource is copied over to a backup vault and when it expires. Fields documented above.

recovery_point_tags Mapping[str, str]

Metadata that you can assign to help organize the resources that you create.

schedule str

A CRON expression specifying when AWS Backup initiates a backup job.

start_window int

The amount of time in minutes before beginning a backup.

ruleName String

An display name for a backup rule.

targetVaultName String

The name of a logical container where backups are stored.

completionWindow Number

The amount of time in minutes AWS Backup attempts a backup before canceling the job and returning an error.

copyActions List<Property Map>

Configuration block(s) with copy operation settings. Detailed below.

enableContinuousBackup Boolean

Enable continuous backups for supported resources.

lifecycle Property Map

The lifecycle defines when a protected resource is copied over to a backup vault and when it expires. Fields documented above.

recoveryPointTags Map<String>

Metadata that you can assign to help organize the resources that you create.

schedule String

A CRON expression specifying when AWS Backup initiates a backup job.

startWindow Number

The amount of time in minutes before beginning a backup.

PlanRuleCopyAction

DestinationVaultArn string

An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.

Lifecycle PlanRuleCopyActionLifecycle

The lifecycle defines when a protected resource is copied over to a backup vault and when it expires. Fields documented above.

DestinationVaultArn string

An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.

Lifecycle PlanRuleCopyActionLifecycle

The lifecycle defines when a protected resource is copied over to a backup vault and when it expires. Fields documented above.

destinationVaultArn String

An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.

lifecycle PlanRuleCopyActionLifecycle

The lifecycle defines when a protected resource is copied over to a backup vault and when it expires. Fields documented above.

destinationVaultArn string

An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.

lifecycle PlanRuleCopyActionLifecycle

The lifecycle defines when a protected resource is copied over to a backup vault and when it expires. Fields documented above.

destination_vault_arn str

An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.

lifecycle PlanRuleCopyActionLifecycle

The lifecycle defines when a protected resource is copied over to a backup vault and when it expires. Fields documented above.

destinationVaultArn String

An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.

lifecycle Property Map

The lifecycle defines when a protected resource is copied over to a backup vault and when it expires. Fields documented above.

PlanRuleCopyActionLifecycle

ColdStorageAfter int

Specifies the number of days after creation that a recovery point is moved to cold storage.

DeleteAfter int

Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than cold_storage_after.

ColdStorageAfter int

Specifies the number of days after creation that a recovery point is moved to cold storage.

DeleteAfter int

Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than cold_storage_after.

coldStorageAfter Integer

Specifies the number of days after creation that a recovery point is moved to cold storage.

deleteAfter Integer

Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than cold_storage_after.

coldStorageAfter number

Specifies the number of days after creation that a recovery point is moved to cold storage.

deleteAfter number

Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than cold_storage_after.

cold_storage_after int

Specifies the number of days after creation that a recovery point is moved to cold storage.

delete_after int

Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than cold_storage_after.

coldStorageAfter Number

Specifies the number of days after creation that a recovery point is moved to cold storage.

deleteAfter Number

Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than cold_storage_after.

PlanRuleLifecycle

ColdStorageAfter int

Specifies the number of days after creation that a recovery point is moved to cold storage.

DeleteAfter int

Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than cold_storage_after.

ColdStorageAfter int

Specifies the number of days after creation that a recovery point is moved to cold storage.

DeleteAfter int

Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than cold_storage_after.

coldStorageAfter Integer

Specifies the number of days after creation that a recovery point is moved to cold storage.

deleteAfter Integer

Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than cold_storage_after.

coldStorageAfter number

Specifies the number of days after creation that a recovery point is moved to cold storage.

deleteAfter number

Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than cold_storage_after.

cold_storage_after int

Specifies the number of days after creation that a recovery point is moved to cold storage.

delete_after int

Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than cold_storage_after.

coldStorageAfter Number

Specifies the number of days after creation that a recovery point is moved to cold storage.

deleteAfter Number

Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than cold_storage_after.

Import

Backup Plan can be imported using the id, e.g.,

 $ pulumi import aws:backup/plan:Plan test <id>

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.