LogicallyAirGappedVaultArgs

data class LogicallyAirGappedVaultArgs(val maxRetentionDays: Output<Int>? = null, val minRetentionDays: Output<Int>? = null, val name: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val timeouts: Output<LogicallyAirGappedVaultTimeoutsArgs>? = null) : ConvertibleToJava<LogicallyAirGappedVaultArgs>

Resource for managing an AWS Backup Logically Air Gapped Vault.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.backup.LogicallyAirGappedVault("example", {
name: "lag-example-vault",
maxRetentionDays: 7,
minRetentionDays: 7,
});
import pulumi
import pulumi_aws as aws
example = aws.backup.LogicallyAirGappedVault("example",
name="lag-example-vault",
max_retention_days=7,
min_retention_days=7)
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Backup.LogicallyAirGappedVault("example", new()
{
Name = "lag-example-vault",
MaxRetentionDays = 7,
MinRetentionDays = 7,
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/backup"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.NewLogicallyAirGappedVault(ctx, "example", &backup.LogicallyAirGappedVaultArgs{
Name: pulumi.String("lag-example-vault"),
MaxRetentionDays: pulumi.Int(7),
MinRetentionDays: pulumi.Int(7),
})
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.LogicallyAirGappedVault;
import com.pulumi.aws.backup.LogicallyAirGappedVaultArgs;
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 LogicallyAirGappedVault("example", LogicallyAirGappedVaultArgs.builder()
.name("lag-example-vault")
.maxRetentionDays(7)
.minRetentionDays(7)
.build());
}
}
resources:
example:
type: aws:backup:LogicallyAirGappedVault
properties:
name: lag-example-vault
maxRetentionDays: 7
minRetentionDays: 7

Import

Using pulumi import, import Backup Logically Air Gapped Vault using the id. For example:

$ pulumi import aws:backup/logicallyAirGappedVault:LogicallyAirGappedVault example lag-example-vault

Constructors

Link copied to clipboard
constructor(maxRetentionDays: Output<Int>? = null, minRetentionDays: Output<Int>? = null, name: Output<String>? = null, tags: Output<Map<String, String>>? = null, timeouts: Output<LogicallyAirGappedVaultTimeoutsArgs>? = null)

Properties

Link copied to clipboard
val maxRetentionDays: Output<Int>? = null

Maximum retention period that the Logically Air Gapped Backup Vault retains recovery points.

Link copied to clipboard
val minRetentionDays: Output<Int>? = null

Minimum retention period that the Logically Air Gapped Backup Vault retains recovery points.

Link copied to clipboard
val name: Output<String>? = null

Name of the Logically Air Gapped Backup Vault to create.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

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

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toJava(): LogicallyAirGappedVaultArgs