import * as core from "@terrascript/core"; export interface VaultLockConfigurationArgs extends core.ResourceArgs { /** * (Required) Name of the backup vault to add a lock configuration for. */ backupVaultName: string | core.StringOut; /** * (Optional) The number of days before the lock date. */ changeableForDays?: number | core.NumberOut; /** * (Optional) The maximum retention period that the vault retains its recovery points. */ maxRetentionDays?: number | core.NumberOut; /** * (Optional) The minimum retention period that the vault retains its recovery points. */ minRetentionDays?: number | core.NumberOut; } export class VaultLockConfiguration extends core.Resource { /** * The ARN of the vault. */ @core.attr(String, { computed: true }) public backupVaultArn!: string | core.StringOut; /** * (Required) Name of the backup vault to add a lock configuration for. */ @core.attr(String) public backupVaultName!: string | core.StringOut; /** * (Optional) The number of days before the lock date. */ @core.attr(Number) public changeableForDays?: number | core.NumberOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) The maximum retention period that the vault retains its recovery points. */ @core.attr(Number) public maxRetentionDays?: number | core.NumberOut; /** * (Optional) The minimum retention period that the vault retains its recovery points. */ @core.attr(Number) public minRetentionDays?: number | core.NumberOut; constructor(name: string, args?: VaultLockConfigurationArgs) { super(name, "aws_backup_vault_lock_configuration", args); } public override getNamespace(): string { return "aws_backup"; } }