interface CfnRestoreTestingSelectionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Backup.Mixins.CfnRestoreTestingSelectionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbackup/mixins#CfnRestoreTestingSelectionMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.backup.mixins.CfnRestoreTestingSelectionMixinProps |
Python | aws_cdk.mixins_preview.aws_backup.mixins.CfnRestoreTestingSelectionMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_backup » mixins » CfnRestoreTestingSelectionMixinProps |
Properties for CfnRestoreTestingSelectionPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as backup_mixins } from '@aws-cdk/mixins-preview/aws-backup';
const cfnRestoreTestingSelectionMixinProps: backup_mixins.CfnRestoreTestingSelectionMixinProps = {
iamRoleArn: 'iamRoleArn',
protectedResourceArns: ['protectedResourceArns'],
protectedResourceConditions: {
stringEquals: [{
key: 'key',
value: 'value',
}],
stringNotEquals: [{
key: 'key',
value: 'value',
}],
},
protectedResourceType: 'protectedResourceType',
restoreMetadataOverrides: {
restoreMetadataOverridesKey: 'restoreMetadataOverrides',
},
restoreTestingPlanName: 'restoreTestingPlanName',
restoreTestingSelectionName: 'restoreTestingSelectionName',
validationWindowHours: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| iam | string | The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to create the target resource; |
| protected | string[] | You can include specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."] or you can include a wildcard: ProtectedResourceArns: ["*"] , but not both. |
| protected | IResolvable | Protected | In a resource testing selection, this parameter filters by specific conditions such as StringEquals or StringNotEquals . |
| protected | string | The type of AWS resource included in a resource testing selection; |
| restore | { [string]: string } | IResolvable | You can override certain restore metadata keys by including the parameter RestoreMetadataOverrides in the body of RestoreTestingSelection . |
| restore | string | Unique string that is the name of the restore testing plan. |
| restore | string | The unique name of the restore testing selection that belongs to the related restore testing plan. |
| validation | number | This is amount of hours (1 to 168) available to run a validation script on the data. |
iamRoleArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to create the target resource;
for example: arn:aws:iam::123456789012:role/S3Access .
protectedResourceArns?
Type:
string[]
(optional)
You can include specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."] or you can include a wildcard: ProtectedResourceArns: ["*"] , but not both.
protectedResourceConditions?
Type:
IResolvable | Protected
(optional)
In a resource testing selection, this parameter filters by specific conditions such as StringEquals or StringNotEquals .
protectedResourceType?
Type:
string
(optional)
The type of AWS resource included in a resource testing selection;
for example, an Amazon EBS volume or an Amazon RDS database.
restoreMetadataOverrides?
Type:
{ [string]: string } | IResolvable
(optional)
You can override certain restore metadata keys by including the parameter RestoreMetadataOverrides in the body of RestoreTestingSelection .
Key values are not case sensitive.
See the complete list of restore testing inferred metadata .
restoreTestingPlanName?
Type:
string
(optional)
Unique string that is the name of the restore testing plan.
The name cannot be changed after creation. The name must consist of only alphanumeric characters and underscores. Maximum length is 50.
restoreTestingSelectionName?
Type:
string
(optional)
The unique name of the restore testing selection that belongs to the related restore testing plan.
The name consists of only alphanumeric characters and underscores. Maximum length is 50.
validationWindowHours?
Type:
number
(optional)
This is amount of hours (1 to 168) available to run a validation script on the data.
The data will be deleted upon the completion of the validation script or the end of the specified retention period, whichever comes first.

.NET
Go
Java
Python
TypeScript