Module backup

@pulumi/aws > backup

class Vault

extends CustomResource

Provides an AWS Backup vault resource.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.backup.Vault("example", {
    kmsKeyArn: aws_kms_key_example.arn,
});

constructor

new Vault(name: string, args?: VaultArgs, opts?: pulumi.CustomResourceOptions)

Create a Vault resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VaultState, opts?: pulumi.CustomResourceOptions): Vault

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property arn

public arn: pulumi.Output<string>;

The ARN of the vault.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property kmsKeyArn

public kmsKeyArn: pulumi.Output<string>;

The server-side encryption key that is used to protect your backups.

property name

public name: pulumi.Output<string>;

Name of the backup vault to create.

property recoveryPoints

public recoveryPoints: pulumi.Output<number>;

The number of recovery points that are stored in a backup vault.

property tags

public tags: pulumi.Output<{[key: string]: string} | undefined>;

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

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

interface VaultArgs

The set of arguments for constructing a Vault resource.

property kmsKeyArn

kmsKeyArn?: pulumi.Input<string>;

The server-side encryption key that is used to protect your backups.

property name

name?: pulumi.Input<string>;

Name of the backup vault to create.

property tags

tags?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;

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

interface VaultState

Input properties used for looking up and filtering Vault resources.

property arn

arn?: pulumi.Input<string>;

The ARN of the vault.

property kmsKeyArn

kmsKeyArn?: pulumi.Input<string>;

The server-side encryption key that is used to protect your backups.

property name

name?: pulumi.Input<string>;

Name of the backup vault to create.

property recoveryPoints

recoveryPoints?: pulumi.Input<number>;

The number of recovery points that are stored in a backup vault.

property tags

tags?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;

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