backup

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

nolint: lll Package backup exports types, functions, subpackages for provisioning backup resources.

> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-aws) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-aws` repo](https://github.com/pulumi/pulumi-aws/issues); however, if that doesn't turn up anything, > please consult the source [`terraform-providers/terraform-provider-aws` repo](https://github.com/terraform-providers/terraform-provider-aws/issues).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plan added in v0.18.1

type Plan struct {
	// contains filtered or unexported fields
}

Provides an AWS Backup plan resource.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/backup_plan.html.markdown.

func GetPlan added in v0.18.1

func GetPlan(ctx *pulumi.Context,
	name string, id pulumi.ID, state *PlanState, opts ...pulumi.ResourceOpt) (*Plan, error)

GetPlan gets an existing Plan resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPlan added in v0.18.1

func NewPlan(ctx *pulumi.Context,
	name string, args *PlanArgs, opts ...pulumi.ResourceOpt) (*Plan, error)

NewPlan registers a new resource with the given unique name, arguments, and options.

func (*Plan) Arn added in v0.18.1

func (r *Plan) Arn() *pulumi.StringOutput

The ARN of the backup plan.

func (*Plan) ID added in v0.18.1

func (r *Plan) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Plan) Name added in v0.18.1

func (r *Plan) Name() *pulumi.StringOutput

The display name of a backup plan.

func (*Plan) Rules added in v0.18.1

func (r *Plan) Rules() *pulumi.ArrayOutput

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

func (*Plan) Tags added in v0.18.1

func (r *Plan) Tags() *pulumi.MapOutput

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

func (*Plan) URN added in v0.18.1

func (r *Plan) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*Plan) Version added in v0.18.1

func (r *Plan) Version() *pulumi.StringOutput

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

type PlanArgs added in v0.18.1

type PlanArgs struct {
	// The display name of a backup plan.
	Name interface{}
	// A rule object that specifies a scheduled task that is used to back up a selection of resources.
	Rules interface{}
	// Metadata that you can assign to help organize the plans you create.
	Tags interface{}
}

The set of arguments for constructing a Plan resource.

type PlanState added in v0.18.1

type PlanState struct {
	// The ARN of the backup plan.
	Arn interface{}
	// The display name of a backup plan.
	Name interface{}
	// A rule object that specifies a scheduled task that is used to back up a selection of resources.
	Rules interface{}
	// Metadata that you can assign to help organize the plans you create.
	Tags interface{}
	// Unique, randomly generated, Unicode, UTF-8 encoded string that serves as the version ID of the backup plan.
	Version interface{}
}

Input properties used for looking up and filtering Plan resources.

type Selection added in v0.18.2

type Selection struct {
	// contains filtered or unexported fields
}

Manages selection conditions for AWS Backup plan resources.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/backup_selection.html.markdown.

func GetSelection added in v0.18.2

func GetSelection(ctx *pulumi.Context,
	name string, id pulumi.ID, state *SelectionState, opts ...pulumi.ResourceOpt) (*Selection, error)

GetSelection gets an existing Selection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSelection added in v0.18.2

func NewSelection(ctx *pulumi.Context,
	name string, args *SelectionArgs, opts ...pulumi.ResourceOpt) (*Selection, error)

NewSelection registers a new resource with the given unique name, arguments, and options.

func (*Selection) ID added in v0.18.2

func (r *Selection) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Selection) IamRoleArn added in v0.18.2

func (r *Selection) IamRoleArn() *pulumi.StringOutput

The ARN of the IAM role that AWS Backup uses to authenticate when restoring and backing up the target resource. See the [AWS Backup Developer Guide](https://docs.aws.amazon.com/aws-backup/latest/devguide/access-control.html#managed-policies) for additional information about using AWS managed policies or creating custom policies attached to the IAM role.

func (*Selection) Name added in v0.18.2

func (r *Selection) Name() *pulumi.StringOutput

The display name of a resource selection document.

func (*Selection) PlanId added in v0.18.2

func (r *Selection) PlanId() *pulumi.StringOutput

The backup plan ID to be associated with the selection of resources.

func (*Selection) Resources added in v0.18.2

func (r *Selection) Resources() *pulumi.ArrayOutput

An array of strings that either contain Amazon Resource Names (ARNs) or match patterns of resources to assign to a backup plan..

func (*Selection) SelectionTags added in v0.18.2

func (r *Selection) SelectionTags() *pulumi.ArrayOutput

Tag-based conditions used to specify a set of resources to assign to a backup plan.

func (*Selection) URN added in v0.18.2

func (r *Selection) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type SelectionArgs added in v0.18.2

type SelectionArgs struct {
	// The ARN of the IAM role that AWS Backup uses to authenticate when restoring and backing up the target resource. See the [AWS Backup Developer Guide](https://docs.aws.amazon.com/aws-backup/latest/devguide/access-control.html#managed-policies) for additional information about using AWS managed policies or creating custom policies attached to the IAM role.
	IamRoleArn interface{}
	// The display name of a resource selection document.
	Name interface{}
	// The backup plan ID to be associated with the selection of resources.
	PlanId interface{}
	// An array of strings that either contain Amazon Resource Names (ARNs) or match patterns of resources to assign to a backup plan..
	Resources interface{}
	// Tag-based conditions used to specify a set of resources to assign to a backup plan.
	SelectionTags interface{}
}

The set of arguments for constructing a Selection resource.

type SelectionState added in v0.18.2

type SelectionState struct {
	// The ARN of the IAM role that AWS Backup uses to authenticate when restoring and backing up the target resource. See the [AWS Backup Developer Guide](https://docs.aws.amazon.com/aws-backup/latest/devguide/access-control.html#managed-policies) for additional information about using AWS managed policies or creating custom policies attached to the IAM role.
	IamRoleArn interface{}
	// The display name of a resource selection document.
	Name interface{}
	// The backup plan ID to be associated with the selection of resources.
	PlanId interface{}
	// An array of strings that either contain Amazon Resource Names (ARNs) or match patterns of resources to assign to a backup plan..
	Resources interface{}
	// Tag-based conditions used to specify a set of resources to assign to a backup plan.
	SelectionTags interface{}
}

Input properties used for looking up and filtering Selection resources.

type Vault

type Vault struct {
	// contains filtered or unexported fields
}

Provides an AWS Backup vault resource.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/backup_vault.html.markdown.

func GetVault

func GetVault(ctx *pulumi.Context,
	name string, id pulumi.ID, state *VaultState, opts ...pulumi.ResourceOpt) (*Vault, error)

GetVault gets an existing Vault resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVault

func NewVault(ctx *pulumi.Context,
	name string, args *VaultArgs, opts ...pulumi.ResourceOpt) (*Vault, error)

NewVault registers a new resource with the given unique name, arguments, and options.

func (*Vault) Arn

func (r *Vault) Arn() *pulumi.StringOutput

The ARN of the vault.

func (*Vault) ID

func (r *Vault) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Vault) KmsKeyArn

func (r *Vault) KmsKeyArn() *pulumi.StringOutput

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

func (*Vault) Name

func (r *Vault) Name() *pulumi.StringOutput

Name of the backup vault to create.

func (*Vault) RecoveryPoints

func (r *Vault) RecoveryPoints() *pulumi.IntOutput

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

func (*Vault) Tags

func (r *Vault) Tags() *pulumi.MapOutput

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

func (*Vault) URN

func (r *Vault) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type VaultArgs

type VaultArgs struct {
	// The server-side encryption key that is used to protect your backups.
	KmsKeyArn interface{}
	// Name of the backup vault to create.
	Name interface{}
	// Metadata that you can assign to help organize the resources that you create.
	Tags interface{}
}

The set of arguments for constructing a Vault resource.

type VaultState

type VaultState struct {
	// The ARN of the vault.
	Arn interface{}
	// The server-side encryption key that is used to protect your backups.
	KmsKeyArn interface{}
	// Name of the backup vault to create.
	Name interface{}
	// The number of recovery points that are stored in a backup vault.
	RecoveryPoints interface{}
	// Metadata that you can assign to help organize the resources that you create.
	Tags interface{}
}

Input properties used for looking up and filtering Vault resources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL