VaultLockConfiguration

class VaultLockConfiguration : KotlinCustomResource

Provides an AWS Backup vault lock configuration resource.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.backup.VaultLockConfiguration;
import com.pulumi.aws.backup.VaultLockConfigurationArgs;
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 test = new VaultLockConfiguration("test", VaultLockConfigurationArgs.builder()
.backupVaultName("example_backup_vault")
.changeableForDays(3)
.maxRetentionDays(1200)
.minRetentionDays(7)
.build());
}
}

Import

Backup vault lock configuration can be imported using the name, e.g.,

$ pulumi import aws:backup/vaultLockConfiguration:VaultLockConfiguration test TestVault

Properties

Link copied to clipboard
val backupVaultArn: Output<String>

The ARN of the vault.

Link copied to clipboard
val backupVaultName: Output<String>

Name of the backup vault to add a lock configuration for.

Link copied to clipboard
val changeableForDays: Output<Int>?

The number of days before the lock date. If omitted creates a vault lock in governance mode, otherwise it will create a vault lock in compliance mode.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val maxRetentionDays: Output<Int>?

The maximum retention period that the vault retains its recovery points.

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

The minimum retention period that the vault retains its recovery points.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>