Documentation
¶
Overview ¶
nolint: lll
nolint: lll
nolint: lll
nolint: lll
Index ¶
- type Plan
- type PlanArgs
- type PlanRule
- type PlanRuleArgs
- type PlanRuleArray
- type PlanRuleArrayInput
- type PlanRuleArrayOutput
- type PlanRuleInput
- type PlanRuleLifecycle
- type PlanRuleLifecycleArgs
- func (PlanRuleLifecycleArgs) ElementType() reflect.Type
- func (i PlanRuleLifecycleArgs) ToPlanRuleLifecycleOutput() PlanRuleLifecycleOutput
- func (i PlanRuleLifecycleArgs) ToPlanRuleLifecycleOutputWithContext(ctx context.Context) PlanRuleLifecycleOutput
- func (i PlanRuleLifecycleArgs) ToPlanRuleLifecyclePtrOutput() PlanRuleLifecyclePtrOutput
- func (i PlanRuleLifecycleArgs) ToPlanRuleLifecyclePtrOutputWithContext(ctx context.Context) PlanRuleLifecyclePtrOutput
- type PlanRuleLifecycleInput
- type PlanRuleLifecycleOutput
- func (o PlanRuleLifecycleOutput) ColdStorageAfter() pulumi.IntPtrOutput
- func (o PlanRuleLifecycleOutput) DeleteAfter() pulumi.IntPtrOutput
- func (PlanRuleLifecycleOutput) ElementType() reflect.Type
- func (o PlanRuleLifecycleOutput) ToPlanRuleLifecycleOutput() PlanRuleLifecycleOutput
- func (o PlanRuleLifecycleOutput) ToPlanRuleLifecycleOutputWithContext(ctx context.Context) PlanRuleLifecycleOutput
- func (o PlanRuleLifecycleOutput) ToPlanRuleLifecyclePtrOutput() PlanRuleLifecyclePtrOutput
- func (o PlanRuleLifecycleOutput) ToPlanRuleLifecyclePtrOutputWithContext(ctx context.Context) PlanRuleLifecyclePtrOutput
- type PlanRuleLifecyclePtrInput
- type PlanRuleLifecyclePtrOutput
- func (o PlanRuleLifecyclePtrOutput) ColdStorageAfter() pulumi.IntPtrOutput
- func (o PlanRuleLifecyclePtrOutput) DeleteAfter() pulumi.IntPtrOutput
- func (o PlanRuleLifecyclePtrOutput) Elem() PlanRuleLifecycleOutput
- func (PlanRuleLifecyclePtrOutput) ElementType() reflect.Type
- func (o PlanRuleLifecyclePtrOutput) ToPlanRuleLifecyclePtrOutput() PlanRuleLifecyclePtrOutput
- func (o PlanRuleLifecyclePtrOutput) ToPlanRuleLifecyclePtrOutputWithContext(ctx context.Context) PlanRuleLifecyclePtrOutput
- type PlanRuleOutput
- func (o PlanRuleOutput) CompletionWindow() pulumi.IntPtrOutput
- func (PlanRuleOutput) ElementType() reflect.Type
- func (o PlanRuleOutput) Lifecycle() PlanRuleLifecyclePtrOutput
- func (o PlanRuleOutput) RecoveryPointTags() pulumi.MapOutput
- func (o PlanRuleOutput) RuleName() pulumi.StringOutput
- func (o PlanRuleOutput) Schedule() pulumi.StringPtrOutput
- func (o PlanRuleOutput) StartWindow() pulumi.IntPtrOutput
- func (o PlanRuleOutput) TargetVaultName() pulumi.StringOutput
- func (o PlanRuleOutput) ToPlanRuleOutput() PlanRuleOutput
- func (o PlanRuleOutput) ToPlanRuleOutputWithContext(ctx context.Context) PlanRuleOutput
- type PlanState
- type Selection
- type SelectionArgs
- type SelectionSelectionTag
- type SelectionSelectionTagArgs
- type SelectionSelectionTagArray
- func (SelectionSelectionTagArray) ElementType() reflect.Type
- func (i SelectionSelectionTagArray) ToSelectionSelectionTagArrayOutput() SelectionSelectionTagArrayOutput
- func (i SelectionSelectionTagArray) ToSelectionSelectionTagArrayOutputWithContext(ctx context.Context) SelectionSelectionTagArrayOutput
- type SelectionSelectionTagArrayInput
- type SelectionSelectionTagArrayOutput
- func (SelectionSelectionTagArrayOutput) ElementType() reflect.Type
- func (o SelectionSelectionTagArrayOutput) Index(i pulumi.IntInput) SelectionSelectionTagOutput
- func (o SelectionSelectionTagArrayOutput) ToSelectionSelectionTagArrayOutput() SelectionSelectionTagArrayOutput
- func (o SelectionSelectionTagArrayOutput) ToSelectionSelectionTagArrayOutputWithContext(ctx context.Context) SelectionSelectionTagArrayOutput
- type SelectionSelectionTagInput
- type SelectionSelectionTagOutput
- func (SelectionSelectionTagOutput) ElementType() reflect.Type
- func (o SelectionSelectionTagOutput) Key() pulumi.StringOutput
- func (o SelectionSelectionTagOutput) ToSelectionSelectionTagOutput() SelectionSelectionTagOutput
- func (o SelectionSelectionTagOutput) ToSelectionSelectionTagOutputWithContext(ctx context.Context) SelectionSelectionTagOutput
- func (o SelectionSelectionTagOutput) Type() pulumi.StringOutput
- func (o SelectionSelectionTagOutput) Value() pulumi.StringOutput
- type SelectionState
- type Vault
- type VaultArgs
- type VaultState
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 { pulumi.CustomResourceState // The ARN of the backup plan. Arn pulumi.StringOutput `pulumi:"arn"` // The display name of a backup plan. Name pulumi.StringOutput `pulumi:"name"` // A rule object that specifies a scheduled task that is used to back up a selection of resources. Rules PlanRuleArrayOutput `pulumi:"rules"` // Metadata that you can assign to help organize the plans you create. Tags pulumi.MapOutput `pulumi:"tags"` // Unique, randomly generated, Unicode, UTF-8 encoded string that serves as the version ID of the backup plan. Version pulumi.StringOutput `pulumi:"version"` }
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.IDInput, state *PlanState, opts ...pulumi.ResourceOption) (*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).
type PlanArgs ¶ added in v0.18.1
type PlanArgs struct { // The display name of a backup plan. Name pulumi.StringPtrInput // A rule object that specifies a scheduled task that is used to back up a selection of resources. Rules PlanRuleArrayInput // Metadata that you can assign to help organize the plans you create. Tags pulumi.MapInput }
The set of arguments for constructing a Plan resource.
func (PlanArgs) ElementType ¶ added in v1.19.0
type PlanRule ¶ added in v1.19.0
type PlanRule struct { // The amount of time AWS Backup attempts a backup before canceling the job and returning an error. CompletionWindow *int `pulumi:"completionWindow"` // The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Fields documented below. Lifecycle *PlanRuleLifecycle `pulumi:"lifecycle"` // Metadata that you can assign to help organize the resources that you create. RecoveryPointTags map[string]interface{} `pulumi:"recoveryPointTags"` // An display name for a backup rule. RuleName string `pulumi:"ruleName"` // A CRON expression specifying when AWS Backup initiates a backup job. Schedule *string `pulumi:"schedule"` // The amount of time in minutes before beginning a backup. StartWindow *int `pulumi:"startWindow"` // The name of a logical container where backups are stored. TargetVaultName string `pulumi:"targetVaultName"` }
type PlanRuleArgs ¶ added in v1.19.0
type PlanRuleArgs struct { // The amount of time AWS Backup attempts a backup before canceling the job and returning an error. CompletionWindow pulumi.IntPtrInput `pulumi:"completionWindow"` // The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Fields documented below. Lifecycle PlanRuleLifecyclePtrInput `pulumi:"lifecycle"` // Metadata that you can assign to help organize the resources that you create. RecoveryPointTags pulumi.MapInput `pulumi:"recoveryPointTags"` // An display name for a backup rule. RuleName pulumi.StringInput `pulumi:"ruleName"` // A CRON expression specifying when AWS Backup initiates a backup job. Schedule pulumi.StringPtrInput `pulumi:"schedule"` // The amount of time in minutes before beginning a backup. StartWindow pulumi.IntPtrInput `pulumi:"startWindow"` // The name of a logical container where backups are stored. TargetVaultName pulumi.StringInput `pulumi:"targetVaultName"` }
func (PlanRuleArgs) ElementType ¶ added in v1.19.0
func (PlanRuleArgs) ElementType() reflect.Type
func (PlanRuleArgs) ToPlanRuleOutput ¶ added in v1.19.0
func (i PlanRuleArgs) ToPlanRuleOutput() PlanRuleOutput
func (PlanRuleArgs) ToPlanRuleOutputWithContext ¶ added in v1.19.0
func (i PlanRuleArgs) ToPlanRuleOutputWithContext(ctx context.Context) PlanRuleOutput
type PlanRuleArray ¶ added in v1.19.0
type PlanRuleArray []PlanRuleInput
func (PlanRuleArray) ElementType ¶ added in v1.19.0
func (PlanRuleArray) ElementType() reflect.Type
func (PlanRuleArray) ToPlanRuleArrayOutput ¶ added in v1.19.0
func (i PlanRuleArray) ToPlanRuleArrayOutput() PlanRuleArrayOutput
func (PlanRuleArray) ToPlanRuleArrayOutputWithContext ¶ added in v1.19.0
func (i PlanRuleArray) ToPlanRuleArrayOutputWithContext(ctx context.Context) PlanRuleArrayOutput
type PlanRuleArrayInput ¶ added in v1.19.0
type PlanRuleArrayInput interface { pulumi.Input ToPlanRuleArrayOutput() PlanRuleArrayOutput ToPlanRuleArrayOutputWithContext(context.Context) PlanRuleArrayOutput }
type PlanRuleArrayOutput ¶ added in v1.19.0
type PlanRuleArrayOutput struct{ *pulumi.OutputState }
func (PlanRuleArrayOutput) ElementType ¶ added in v1.19.0
func (PlanRuleArrayOutput) ElementType() reflect.Type
func (PlanRuleArrayOutput) Index ¶ added in v1.19.0
func (o PlanRuleArrayOutput) Index(i pulumi.IntInput) PlanRuleOutput
func (PlanRuleArrayOutput) ToPlanRuleArrayOutput ¶ added in v1.19.0
func (o PlanRuleArrayOutput) ToPlanRuleArrayOutput() PlanRuleArrayOutput
func (PlanRuleArrayOutput) ToPlanRuleArrayOutputWithContext ¶ added in v1.19.0
func (o PlanRuleArrayOutput) ToPlanRuleArrayOutputWithContext(ctx context.Context) PlanRuleArrayOutput
type PlanRuleInput ¶ added in v1.19.0
type PlanRuleInput interface { pulumi.Input ToPlanRuleOutput() PlanRuleOutput ToPlanRuleOutputWithContext(context.Context) PlanRuleOutput }
type PlanRuleLifecycle ¶ added in v1.19.0
type PlanRuleLifecycle struct { // Specifies the number of days after creation that a recovery point is moved to cold storage. ColdStorageAfter *int `pulumi:"coldStorageAfter"` // Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than `coldStorageAfter`. DeleteAfter *int `pulumi:"deleteAfter"` }
type PlanRuleLifecycleArgs ¶ added in v1.19.0
type PlanRuleLifecycleArgs struct { // Specifies the number of days after creation that a recovery point is moved to cold storage. ColdStorageAfter pulumi.IntPtrInput `pulumi:"coldStorageAfter"` // Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than `coldStorageAfter`. DeleteAfter pulumi.IntPtrInput `pulumi:"deleteAfter"` }
func (PlanRuleLifecycleArgs) ElementType ¶ added in v1.19.0
func (PlanRuleLifecycleArgs) ElementType() reflect.Type
func (PlanRuleLifecycleArgs) ToPlanRuleLifecycleOutput ¶ added in v1.19.0
func (i PlanRuleLifecycleArgs) ToPlanRuleLifecycleOutput() PlanRuleLifecycleOutput
func (PlanRuleLifecycleArgs) ToPlanRuleLifecycleOutputWithContext ¶ added in v1.19.0
func (i PlanRuleLifecycleArgs) ToPlanRuleLifecycleOutputWithContext(ctx context.Context) PlanRuleLifecycleOutput
func (PlanRuleLifecycleArgs) ToPlanRuleLifecyclePtrOutput ¶ added in v1.19.0
func (i PlanRuleLifecycleArgs) ToPlanRuleLifecyclePtrOutput() PlanRuleLifecyclePtrOutput
func (PlanRuleLifecycleArgs) ToPlanRuleLifecyclePtrOutputWithContext ¶ added in v1.19.0
func (i PlanRuleLifecycleArgs) ToPlanRuleLifecyclePtrOutputWithContext(ctx context.Context) PlanRuleLifecyclePtrOutput
type PlanRuleLifecycleInput ¶ added in v1.19.0
type PlanRuleLifecycleInput interface { pulumi.Input ToPlanRuleLifecycleOutput() PlanRuleLifecycleOutput ToPlanRuleLifecycleOutputWithContext(context.Context) PlanRuleLifecycleOutput }
type PlanRuleLifecycleOutput ¶ added in v1.19.0
type PlanRuleLifecycleOutput struct{ *pulumi.OutputState }
func (PlanRuleLifecycleOutput) ColdStorageAfter ¶ added in v1.19.0
func (o PlanRuleLifecycleOutput) ColdStorageAfter() pulumi.IntPtrOutput
Specifies the number of days after creation that a recovery point is moved to cold storage.
func (PlanRuleLifecycleOutput) DeleteAfter ¶ added in v1.19.0
func (o PlanRuleLifecycleOutput) DeleteAfter() pulumi.IntPtrOutput
Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than `coldStorageAfter`.
func (PlanRuleLifecycleOutput) ElementType ¶ added in v1.19.0
func (PlanRuleLifecycleOutput) ElementType() reflect.Type
func (PlanRuleLifecycleOutput) ToPlanRuleLifecycleOutput ¶ added in v1.19.0
func (o PlanRuleLifecycleOutput) ToPlanRuleLifecycleOutput() PlanRuleLifecycleOutput
func (PlanRuleLifecycleOutput) ToPlanRuleLifecycleOutputWithContext ¶ added in v1.19.0
func (o PlanRuleLifecycleOutput) ToPlanRuleLifecycleOutputWithContext(ctx context.Context) PlanRuleLifecycleOutput
func (PlanRuleLifecycleOutput) ToPlanRuleLifecyclePtrOutput ¶ added in v1.19.0
func (o PlanRuleLifecycleOutput) ToPlanRuleLifecyclePtrOutput() PlanRuleLifecyclePtrOutput
func (PlanRuleLifecycleOutput) ToPlanRuleLifecyclePtrOutputWithContext ¶ added in v1.19.0
func (o PlanRuleLifecycleOutput) ToPlanRuleLifecyclePtrOutputWithContext(ctx context.Context) PlanRuleLifecyclePtrOutput
type PlanRuleLifecyclePtrInput ¶ added in v1.19.0
type PlanRuleLifecyclePtrInput interface { pulumi.Input ToPlanRuleLifecyclePtrOutput() PlanRuleLifecyclePtrOutput ToPlanRuleLifecyclePtrOutputWithContext(context.Context) PlanRuleLifecyclePtrOutput }
func PlanRuleLifecyclePtr ¶ added in v1.19.0
func PlanRuleLifecyclePtr(v *PlanRuleLifecycleArgs) PlanRuleLifecyclePtrInput
type PlanRuleLifecyclePtrOutput ¶ added in v1.19.0
type PlanRuleLifecyclePtrOutput struct{ *pulumi.OutputState }
func (PlanRuleLifecyclePtrOutput) ColdStorageAfter ¶ added in v1.19.0
func (o PlanRuleLifecyclePtrOutput) ColdStorageAfter() pulumi.IntPtrOutput
Specifies the number of days after creation that a recovery point is moved to cold storage.
func (PlanRuleLifecyclePtrOutput) DeleteAfter ¶ added in v1.19.0
func (o PlanRuleLifecyclePtrOutput) DeleteAfter() pulumi.IntPtrOutput
Specifies the number of days after creation that a recovery point is deleted. Must be 90 days greater than `coldStorageAfter`.
func (PlanRuleLifecyclePtrOutput) Elem ¶ added in v1.19.0
func (o PlanRuleLifecyclePtrOutput) Elem() PlanRuleLifecycleOutput
func (PlanRuleLifecyclePtrOutput) ElementType ¶ added in v1.19.0
func (PlanRuleLifecyclePtrOutput) ElementType() reflect.Type
func (PlanRuleLifecyclePtrOutput) ToPlanRuleLifecyclePtrOutput ¶ added in v1.19.0
func (o PlanRuleLifecyclePtrOutput) ToPlanRuleLifecyclePtrOutput() PlanRuleLifecyclePtrOutput
func (PlanRuleLifecyclePtrOutput) ToPlanRuleLifecyclePtrOutputWithContext ¶ added in v1.19.0
func (o PlanRuleLifecyclePtrOutput) ToPlanRuleLifecyclePtrOutputWithContext(ctx context.Context) PlanRuleLifecyclePtrOutput
type PlanRuleOutput ¶ added in v1.19.0
type PlanRuleOutput struct{ *pulumi.OutputState }
func (PlanRuleOutput) CompletionWindow ¶ added in v1.19.0
func (o PlanRuleOutput) CompletionWindow() pulumi.IntPtrOutput
The amount of time AWS Backup attempts a backup before canceling the job and returning an error.
func (PlanRuleOutput) ElementType ¶ added in v1.19.0
func (PlanRuleOutput) ElementType() reflect.Type
func (PlanRuleOutput) Lifecycle ¶ added in v1.19.0
func (o PlanRuleOutput) Lifecycle() PlanRuleLifecyclePtrOutput
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Fields documented below.
func (PlanRuleOutput) RecoveryPointTags ¶ added in v1.19.0
func (o PlanRuleOutput) RecoveryPointTags() pulumi.MapOutput
Metadata that you can assign to help organize the resources that you create.
func (PlanRuleOutput) RuleName ¶ added in v1.19.0
func (o PlanRuleOutput) RuleName() pulumi.StringOutput
An display name for a backup rule.
func (PlanRuleOutput) Schedule ¶ added in v1.19.0
func (o PlanRuleOutput) Schedule() pulumi.StringPtrOutput
A CRON expression specifying when AWS Backup initiates a backup job.
func (PlanRuleOutput) StartWindow ¶ added in v1.19.0
func (o PlanRuleOutput) StartWindow() pulumi.IntPtrOutput
The amount of time in minutes before beginning a backup.
func (PlanRuleOutput) TargetVaultName ¶ added in v1.19.0
func (o PlanRuleOutput) TargetVaultName() pulumi.StringOutput
The name of a logical container where backups are stored.
func (PlanRuleOutput) ToPlanRuleOutput ¶ added in v1.19.0
func (o PlanRuleOutput) ToPlanRuleOutput() PlanRuleOutput
func (PlanRuleOutput) ToPlanRuleOutputWithContext ¶ added in v1.19.0
func (o PlanRuleOutput) ToPlanRuleOutputWithContext(ctx context.Context) PlanRuleOutput
type PlanState ¶ added in v0.18.1
type PlanState struct { // The ARN of the backup plan. Arn pulumi.StringPtrInput // The display name of a backup plan. Name pulumi.StringPtrInput // A rule object that specifies a scheduled task that is used to back up a selection of resources. Rules PlanRuleArrayInput // Metadata that you can assign to help organize the plans you create. Tags pulumi.MapInput // Unique, randomly generated, Unicode, UTF-8 encoded string that serves as the version ID of the backup plan. Version pulumi.StringPtrInput }
func (PlanState) ElementType ¶ added in v1.19.0
type Selection ¶ added in v0.18.2
type Selection struct { pulumi.CustomResourceState // 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 pulumi.StringOutput `pulumi:"iamRoleArn"` // The display name of a resource selection document. Name pulumi.StringOutput `pulumi:"name"` // The backup plan ID to be associated with the selection of resources. PlanId pulumi.StringOutput `pulumi:"planId"` // An array of strings that either contain Amazon Resource Names (ARNs) or match patterns of resources to assign to a backup plan.. Resources pulumi.StringArrayOutput `pulumi:"resources"` // Tag-based conditions used to specify a set of resources to assign to a backup plan. SelectionTags SelectionSelectionTagArrayOutput `pulumi:"selectionTags"` }
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.IDInput, state *SelectionState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*Selection, error)
NewSelection registers a new resource with the given unique name, arguments, and options.
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 pulumi.StringInput // The display name of a resource selection document. Name pulumi.StringPtrInput // The backup plan ID to be associated with the selection of resources. PlanId pulumi.StringInput // An array of strings that either contain Amazon Resource Names (ARNs) or match patterns of resources to assign to a backup plan.. Resources pulumi.StringArrayInput // Tag-based conditions used to specify a set of resources to assign to a backup plan. SelectionTags SelectionSelectionTagArrayInput }
The set of arguments for constructing a Selection resource.
func (SelectionArgs) ElementType ¶ added in v1.19.0
func (SelectionArgs) ElementType() reflect.Type
type SelectionSelectionTag ¶ added in v1.19.0
type SelectionSelectionTag struct { // The key in a key-value pair. Key string `pulumi:"key"` // An operation, such as `StringEquals`, that is applied to a key-value pair used to filter resources in a selection. Type string `pulumi:"type"` // The value in a key-value pair. Value string `pulumi:"value"` }
type SelectionSelectionTagArgs ¶ added in v1.19.0
type SelectionSelectionTagArgs struct { // The key in a key-value pair. Key pulumi.StringInput `pulumi:"key"` // An operation, such as `StringEquals`, that is applied to a key-value pair used to filter resources in a selection. Type pulumi.StringInput `pulumi:"type"` // The value in a key-value pair. Value pulumi.StringInput `pulumi:"value"` }
func (SelectionSelectionTagArgs) ElementType ¶ added in v1.19.0
func (SelectionSelectionTagArgs) ElementType() reflect.Type
func (SelectionSelectionTagArgs) ToSelectionSelectionTagOutput ¶ added in v1.19.0
func (i SelectionSelectionTagArgs) ToSelectionSelectionTagOutput() SelectionSelectionTagOutput
func (SelectionSelectionTagArgs) ToSelectionSelectionTagOutputWithContext ¶ added in v1.19.0
func (i SelectionSelectionTagArgs) ToSelectionSelectionTagOutputWithContext(ctx context.Context) SelectionSelectionTagOutput
type SelectionSelectionTagArray ¶ added in v1.19.0
type SelectionSelectionTagArray []SelectionSelectionTagInput
func (SelectionSelectionTagArray) ElementType ¶ added in v1.19.0
func (SelectionSelectionTagArray) ElementType() reflect.Type
func (SelectionSelectionTagArray) ToSelectionSelectionTagArrayOutput ¶ added in v1.19.0
func (i SelectionSelectionTagArray) ToSelectionSelectionTagArrayOutput() SelectionSelectionTagArrayOutput
func (SelectionSelectionTagArray) ToSelectionSelectionTagArrayOutputWithContext ¶ added in v1.19.0
func (i SelectionSelectionTagArray) ToSelectionSelectionTagArrayOutputWithContext(ctx context.Context) SelectionSelectionTagArrayOutput
type SelectionSelectionTagArrayInput ¶ added in v1.19.0
type SelectionSelectionTagArrayInput interface { pulumi.Input ToSelectionSelectionTagArrayOutput() SelectionSelectionTagArrayOutput ToSelectionSelectionTagArrayOutputWithContext(context.Context) SelectionSelectionTagArrayOutput }
type SelectionSelectionTagArrayOutput ¶ added in v1.19.0
type SelectionSelectionTagArrayOutput struct{ *pulumi.OutputState }
func (SelectionSelectionTagArrayOutput) ElementType ¶ added in v1.19.0
func (SelectionSelectionTagArrayOutput) ElementType() reflect.Type
func (SelectionSelectionTagArrayOutput) Index ¶ added in v1.19.0
func (o SelectionSelectionTagArrayOutput) Index(i pulumi.IntInput) SelectionSelectionTagOutput
func (SelectionSelectionTagArrayOutput) ToSelectionSelectionTagArrayOutput ¶ added in v1.19.0
func (o SelectionSelectionTagArrayOutput) ToSelectionSelectionTagArrayOutput() SelectionSelectionTagArrayOutput
func (SelectionSelectionTagArrayOutput) ToSelectionSelectionTagArrayOutputWithContext ¶ added in v1.19.0
func (o SelectionSelectionTagArrayOutput) ToSelectionSelectionTagArrayOutputWithContext(ctx context.Context) SelectionSelectionTagArrayOutput
type SelectionSelectionTagInput ¶ added in v1.19.0
type SelectionSelectionTagInput interface { pulumi.Input ToSelectionSelectionTagOutput() SelectionSelectionTagOutput ToSelectionSelectionTagOutputWithContext(context.Context) SelectionSelectionTagOutput }
type SelectionSelectionTagOutput ¶ added in v1.19.0
type SelectionSelectionTagOutput struct{ *pulumi.OutputState }
func (SelectionSelectionTagOutput) ElementType ¶ added in v1.19.0
func (SelectionSelectionTagOutput) ElementType() reflect.Type
func (SelectionSelectionTagOutput) Key ¶ added in v1.19.0
func (o SelectionSelectionTagOutput) Key() pulumi.StringOutput
The key in a key-value pair.
func (SelectionSelectionTagOutput) ToSelectionSelectionTagOutput ¶ added in v1.19.0
func (o SelectionSelectionTagOutput) ToSelectionSelectionTagOutput() SelectionSelectionTagOutput
func (SelectionSelectionTagOutput) ToSelectionSelectionTagOutputWithContext ¶ added in v1.19.0
func (o SelectionSelectionTagOutput) ToSelectionSelectionTagOutputWithContext(ctx context.Context) SelectionSelectionTagOutput
func (SelectionSelectionTagOutput) Type ¶ added in v1.19.0
func (o SelectionSelectionTagOutput) Type() pulumi.StringOutput
An operation, such as `StringEquals`, that is applied to a key-value pair used to filter resources in a selection.
func (SelectionSelectionTagOutput) Value ¶ added in v1.19.0
func (o SelectionSelectionTagOutput) Value() pulumi.StringOutput
The value in a key-value pair.
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 pulumi.StringPtrInput // The display name of a resource selection document. Name pulumi.StringPtrInput // The backup plan ID to be associated with the selection of resources. PlanId pulumi.StringPtrInput // An array of strings that either contain Amazon Resource Names (ARNs) or match patterns of resources to assign to a backup plan.. Resources pulumi.StringArrayInput // Tag-based conditions used to specify a set of resources to assign to a backup plan. SelectionTags SelectionSelectionTagArrayInput }
func (SelectionState) ElementType ¶ added in v1.19.0
func (SelectionState) ElementType() reflect.Type
type Vault ¶
type Vault struct { pulumi.CustomResourceState // The ARN of the vault. Arn pulumi.StringOutput `pulumi:"arn"` // The server-side encryption key that is used to protect your backups. KmsKeyArn pulumi.StringOutput `pulumi:"kmsKeyArn"` // Name of the backup vault to create. Name pulumi.StringOutput `pulumi:"name"` // The number of recovery points that are stored in a backup vault. RecoveryPoints pulumi.IntOutput `pulumi:"recoveryPoints"` // Metadata that you can assign to help organize the resources that you create. Tags pulumi.MapOutput `pulumi:"tags"` }
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.IDInput, state *VaultState, opts ...pulumi.ResourceOption) (*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).
type VaultArgs ¶
type VaultArgs struct { // The server-side encryption key that is used to protect your backups. KmsKeyArn pulumi.StringPtrInput // Name of the backup vault to create. Name pulumi.StringPtrInput // Metadata that you can assign to help organize the resources that you create. Tags pulumi.MapInput }
The set of arguments for constructing a Vault resource.
func (VaultArgs) ElementType ¶ added in v1.19.0
type VaultState ¶
type VaultState struct { // The ARN of the vault. Arn pulumi.StringPtrInput // The server-side encryption key that is used to protect your backups. KmsKeyArn pulumi.StringPtrInput // Name of the backup vault to create. Name pulumi.StringPtrInput // The number of recovery points that are stored in a backup vault. RecoveryPoints pulumi.IntPtrInput // Metadata that you can assign to help organize the resources that you create. Tags pulumi.MapInput }
func (VaultState) ElementType ¶ added in v1.19.0
func (VaultState) ElementType() reflect.Type