interface CfnLegalHoldProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Backup.CfnLegalHoldProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbackup#CfnLegalHoldProps |
Java | software.amazon.awscdk.services.backup.CfnLegalHoldProps |
Python | aws_cdk.aws_backup.CfnLegalHoldProps |
TypeScript | aws-cdk-lib » aws_backup » CfnLegalHoldProps |
Properties for defining a CfnLegalHold.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-legalhold.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_backup as backup } from 'aws-cdk-lib';
const cfnLegalHoldProps: backup.CfnLegalHoldProps = {
description: 'description',
recoveryPointSelection: {
dateRange: {
fromDate: 'fromDate',
toDate: 'toDate',
},
resourceIdentifiers: ['resourceIdentifiers'],
vaultNames: ['vaultNames'],
},
title: 'title',
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| description | string | The description of the legal hold. |
| recovery | IResolvable | Recovery | The criteria to assign a set of resources, such as resource types or backup vaults. |
| title | string | The title of the legal hold. |
| tags? | Tags[] | Optional tags to include. |
description
Type:
string
The description of the legal hold.
recoveryPointSelection
Type:
IResolvable | Recovery
The criteria to assign a set of resources, such as resource types or backup vaults.
title
Type:
string
The title of the legal hold.
tags?
Type:
Tags[]
(optional)
Optional tags to include.

.NET
Go
Java
Python
TypeScript