Skip to main content

logically_air_gapped_backup_vaults

Creates, updates, deletes or gets a logically_air_gapped_backup_vault resource or lists logically_air_gapped_backup_vaults in a region

Overview

Namelogically_air_gapped_backup_vaults
TypeResource
DescriptionResource Type definition for AWS::Backup::LogicallyAirGappedBackupVault
Idaws.backup.logically_air_gapped_backup_vaults

Fields

NameDatatypeDescription
access_policyobject
backup_vault_namestring
min_retention_daysinteger
max_retention_daysinteger
backup_vault_tagsobject
notificationsobject
encryption_key_arnstring
backup_vault_arnstring
vault_statestring
vault_typestring
regionstringAWS region.

For more information, see AWS::Backup::LogicallyAirGappedBackupVault.

Methods

NameAccessible byRequired Params
create_resourceINSERTBackupVaultName, MinRetentionDays, MaxRetentionDays, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all logically_air_gapped_backup_vaults in a region.

SELECT
region,
access_policy,
backup_vault_name,
min_retention_days,
max_retention_days,
backup_vault_tags,
notifications,
encryption_key_arn,
backup_vault_arn,
vault_state,
vault_type
FROM aws.backup.logically_air_gapped_backup_vaults
WHERE region = 'us-east-1';

Gets all properties from an individual logically_air_gapped_backup_vault.

SELECT
region,
access_policy,
backup_vault_name,
min_retention_days,
max_retention_days,
backup_vault_tags,
notifications,
encryption_key_arn,
backup_vault_arn,
vault_state,
vault_type
FROM aws.backup.logically_air_gapped_backup_vaults
WHERE region = 'us-east-1' AND data__Identifier = '<BackupVaultName>';

INSERT example

Use the following StackQL query and manifest file to create a new logically_air_gapped_backup_vault resource, using stack-deploy.

/*+ create */
INSERT INTO aws.backup.logically_air_gapped_backup_vaults (
BackupVaultName,
MinRetentionDays,
MaxRetentionDays,
region
)
SELECT
'{{ BackupVaultName }}',
'{{ MinRetentionDays }}',
'{{ MaxRetentionDays }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.backup.logically_air_gapped_backup_vaults
WHERE data__Identifier = '<BackupVaultName>'
AND region = 'us-east-1';

Permissions

To operate on the logically_air_gapped_backup_vaults resource, the following permissions are required:

Create

backup:TagResource,
backup:CreateLogicallyAirGappedBackupVault,
backup:PutBackupVaultAccessPolicy,
backup:PutBackupVaultNotifications,
backup-storage:Mount,
backup-storage:MountCapsule,
backup:DescribeBackupVault

Read

backup:DescribeBackupVault,
backup:GetBackupVaultNotifications,
backup:GetBackupVaultAccessPolicy,
backup:ListTags

Update

backup:DescribeBackupVault,
backup:DeleteBackupVaultAccessPolicy,
backup:DeleteBackupVaultNotifications,
backup:DeleteBackupVaultLockConfiguration,
backup:GetBackupVaultAccessPolicy,
backup:ListTags,
backup:TagResource,
backup:UntagResource,
backup:PutBackupVaultAccessPolicy,
backup:PutBackupVaultNotifications,
backup:PutBackupVaultLockConfiguration

Delete

backup:DeleteBackupVault

List

backup:ListBackupVaults