AWS::Backup::LegalHoldCreates a legal hold on recovery points (backups). A legal hold prevents backups from being deleted while under hold.
4 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Description | string | RequiredCreate-only |
RecoveryPointSelection | object | RequiredCreate-only |
Title | string | RequiredCreate-only |
Tags | Array<object> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The Amazon Resource Name (ARN) of the legal hold. |
CreationDate | string | The time when the legal hold was created. |
LegalHoldId | string | The ID of the legal hold. |
Status | string | The status of the legal hold. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Backup::LegalHold
Resources:
MyResource:
Type: AWS::Backup::LegalHold
Properties:
Title: "value"
Description: "value"
RecoveryPointSelection: {}
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
backup:CreateLegalHoldbackup:GetLegalHoldbackup:TagResourcebackup:GetLegalHoldbackup:ListTagsbackup:GetLegalHoldbackup:TagResourcebackup:UntagResourcebackup:ListTagsbackup:CancelLegalHoldbackup:GetLegalHoldbackup:ListLegalHoldsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
TitleDescriptionRecoveryPointSelection