Interface CfnRestoreTestingSelectionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRestoreTestingSelectionProps.Jsii$Proxy
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 classA builder forCfnRestoreTestingSelectionPropsstatic final classAn 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 ObjectIn a resource testing selection, this parameter filters by specific conditions such asStringEqualsorStringNotEquals.The type of AWS resource included in a resource testing selection;default ObjectYou can override certain restore metadata keys by including the parameterRestoreMetadataOverridesin 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 NumberThis 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.The name consists of only alphanumeric characters and underscores. Maximum length is 50.
- 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 asStringEqualsorStringNotEquals.Returns union: either
IResolvableorCfnRestoreTestingSelection.ProtectedResourceConditionsProperty- See Also:
-
getRestoreMetadataOverrides
You can override certain restore metadata keys by including the parameterRestoreMetadataOverridesin the body ofRestoreTestingSelection.Key values are not case sensitive.
See the complete list of restore testing inferred metadata .
Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- 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
-