Interface CfnRestoreTestingSelectionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRestoreTestingSelectionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-08-23T05:56:11.775Z")
@Stability(Stable)
public interface CfnRestoreTestingSelectionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnRestoreTestingSelection
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.backup.*; CfnRestoreTestingSelectionProps cfnRestoreTestingSelectionProps = CfnRestoreTestingSelectionProps.builder() .iamRoleArn("iamRoleArn") .protectedResourceType("protectedResourceType") .restoreTestingPlanName("restoreTestingPlanName") .restoreTestingSelectionName("restoreTestingSelectionName") // the properties below are optional .protectedResourceArns(List.of("protectedResourceArns")) .protectedResourceConditions(ProtectedResourceConditionsProperty.builder() .stringEquals(List.of(KeyValueProperty.builder() .key("key") .value("value") .build())) .stringNotEquals(List.of(KeyValueProperty.builder() .key("key") .value("value") .build())) .build()) .restoreMetadataOverrides(Map.of( "restoreMetadataOverridesKey", "restoreMetadataOverrides")) .validationWindowHours(123) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRestoreTestingSelectionProps
static final class
An implementation forCfnRestoreTestingSelectionProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to create the target resource;You can include specific ARNs, such asProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]
or you can include a wildcard:ProtectedResourceArns: ["*"]
, but not both.default Object
In a resource testing selection, this parameter filters by specific conditions such asStringEquals
orStringNotEquals
.The type of AWS resource included in a resource testing selection;default Object
You can override certain restore metadata keys by including the parameterRestoreMetadataOverrides
in the body ofRestoreTestingSelection
.Unique string that is the name of the restore testing plan.The unique name of the restore testing selection that belongs to the related restore testing plan.default Number
This is amount of hours (1 to 168) available to run a validation script on the data.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIamRoleArn
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
.- See Also:
-
getProtectedResourceType
The type of AWS resource included in a resource testing selection;for example, an Amazon EBS volume or an Amazon RDS database.
- See Also:
-
getRestoreTestingPlanName
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.
- See Also:
-
getRestoreTestingSelectionName
The unique name of the restore testing selection that belongs to the related restore testing plan.- See Also:
-
getProtectedResourceArns
You can include specific ARNs, such asProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]
or you can include a wildcard:ProtectedResourceArns: ["*"]
, but not both.- See Also:
-
getProtectedResourceConditions
In a resource testing selection, this parameter filters by specific conditions such asStringEquals
orStringNotEquals
.- See Also:
-
getRestoreMetadataOverrides
You can override certain restore metadata keys by including the parameterRestoreMetadataOverrides
in the body ofRestoreTestingSelection
.Key values are not case sensitive.
See the complete list of restore testing inferred metadata .
- See Also:
-
getValidationWindowHours
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.
- See Also:
-
builder
-