AWS Native is in preview. AWS Classic is fully supported.
aws-native.backup.getRestoreTestingSelection
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource Type definition for AWS::Backup::RestoreTestingSelection
Using getRestoreTestingSelection
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRestoreTestingSelection(args: GetRestoreTestingSelectionArgs, opts?: InvokeOptions): Promise<GetRestoreTestingSelectionResult>
function getRestoreTestingSelectionOutput(args: GetRestoreTestingSelectionOutputArgs, opts?: InvokeOptions): Output<GetRestoreTestingSelectionResult>
def get_restore_testing_selection(restore_testing_plan_name: Optional[str] = None,
restore_testing_selection_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRestoreTestingSelectionResult
def get_restore_testing_selection_output(restore_testing_plan_name: Optional[pulumi.Input[str]] = None,
restore_testing_selection_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRestoreTestingSelectionResult]
func LookupRestoreTestingSelection(ctx *Context, args *LookupRestoreTestingSelectionArgs, opts ...InvokeOption) (*LookupRestoreTestingSelectionResult, error)
func LookupRestoreTestingSelectionOutput(ctx *Context, args *LookupRestoreTestingSelectionOutputArgs, opts ...InvokeOption) LookupRestoreTestingSelectionResultOutput
> Note: This function is named LookupRestoreTestingSelection
in the Go SDK.
public static class GetRestoreTestingSelection
{
public static Task<GetRestoreTestingSelectionResult> InvokeAsync(GetRestoreTestingSelectionArgs args, InvokeOptions? opts = null)
public static Output<GetRestoreTestingSelectionResult> Invoke(GetRestoreTestingSelectionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRestoreTestingSelectionResult> getRestoreTestingSelection(GetRestoreTestingSelectionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:backup:getRestoreTestingSelection
arguments:
# arguments dictionary
The following arguments are supported:
- Restore
Testing stringPlan Name 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.
- Restore
Testing stringSelection Name - The unique name of the restore testing selection that belongs to the related restore testing plan.
- Restore
Testing stringPlan Name 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.
- Restore
Testing stringSelection Name - The unique name of the restore testing selection that belongs to the related restore testing plan.
- restore
Testing StringPlan Name 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.
- restore
Testing StringSelection Name - The unique name of the restore testing selection that belongs to the related restore testing plan.
- restore
Testing stringPlan Name 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.
- restore
Testing stringSelection Name - The unique name of the restore testing selection that belongs to the related restore testing plan.
- restore_
testing_ strplan_ name 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.
- restore_
testing_ strselection_ name - The unique name of the restore testing selection that belongs to the related restore testing plan.
- restore
Testing StringPlan Name 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.
- restore
Testing StringSelection Name - The unique name of the restore testing selection that belongs to the related restore testing plan.
getRestoreTestingSelection Result
The following output properties are available:
- Iam
Role stringArn - 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
. - Protected
Resource List<string>Arns - You can include specific ARNs, such as
ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]
or you can include a wildcard:ProtectedResourceArns: ["*"]
, but not both. - Protected
Resource Pulumi.Conditions Aws Native. Backup. Outputs. Restore Testing Selection Protected Resource Conditions - In a resource testing selection, this parameter filters by specific conditions such as
StringEquals
orStringNotEquals
. - Restore
Metadata Dictionary<string, string>Overrides You can override certain restore metadata keys by including the parameter
RestoreMetadataOverrides
in the body ofRestoreTestingSelection
. Key values are not case sensitive.See the complete list of restore testing inferred metadata .
- Validation
Window intHours - 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.
- Iam
Role stringArn - 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
. - Protected
Resource []stringArns - You can include specific ARNs, such as
ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]
or you can include a wildcard:ProtectedResourceArns: ["*"]
, but not both. - Protected
Resource RestoreConditions Testing Selection Protected Resource Conditions - In a resource testing selection, this parameter filters by specific conditions such as
StringEquals
orStringNotEquals
. - Restore
Metadata map[string]stringOverrides You can override certain restore metadata keys by including the parameter
RestoreMetadataOverrides
in the body ofRestoreTestingSelection
. Key values are not case sensitive.See the complete list of restore testing inferred metadata .
- Validation
Window intHours - 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.
- iam
Role StringArn - 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
. - protected
Resource List<String>Arns - You can include specific ARNs, such as
ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]
or you can include a wildcard:ProtectedResourceArns: ["*"]
, but not both. - protected
Resource RestoreConditions Testing Selection Protected Resource Conditions - In a resource testing selection, this parameter filters by specific conditions such as
StringEquals
orStringNotEquals
. - restore
Metadata Map<String,String>Overrides You can override certain restore metadata keys by including the parameter
RestoreMetadataOverrides
in the body ofRestoreTestingSelection
. Key values are not case sensitive.See the complete list of restore testing inferred metadata .
- validation
Window IntegerHours - 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.
- iam
Role stringArn - 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
. - protected
Resource string[]Arns - You can include specific ARNs, such as
ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]
or you can include a wildcard:ProtectedResourceArns: ["*"]
, but not both. - protected
Resource RestoreConditions Testing Selection Protected Resource Conditions - In a resource testing selection, this parameter filters by specific conditions such as
StringEquals
orStringNotEquals
. - restore
Metadata {[key: string]: string}Overrides You can override certain restore metadata keys by including the parameter
RestoreMetadataOverrides
in the body ofRestoreTestingSelection
. Key values are not case sensitive.See the complete list of restore testing inferred metadata .
- validation
Window numberHours - 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.
- iam_
role_ strarn - 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
. - protected_
resource_ Sequence[str]arns - You can include specific ARNs, such as
ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]
or you can include a wildcard:ProtectedResourceArns: ["*"]
, but not both. - protected_
resource_ Restoreconditions Testing Selection Protected Resource Conditions - In a resource testing selection, this parameter filters by specific conditions such as
StringEquals
orStringNotEquals
. - restore_
metadata_ Mapping[str, str]overrides You can override certain restore metadata keys by including the parameter
RestoreMetadataOverrides
in the body ofRestoreTestingSelection
. Key values are not case sensitive.See the complete list of restore testing inferred metadata .
- validation_
window_ inthours - 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.
- iam
Role StringArn - 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
. - protected
Resource List<String>Arns - You can include specific ARNs, such as
ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]
or you can include a wildcard:ProtectedResourceArns: ["*"]
, but not both. - protected
Resource Property MapConditions - In a resource testing selection, this parameter filters by specific conditions such as
StringEquals
orStringNotEquals
. - restore
Metadata Map<String>Overrides You can override certain restore metadata keys by including the parameter
RestoreMetadataOverrides
in the body ofRestoreTestingSelection
. Key values are not case sensitive.See the complete list of restore testing inferred metadata .
- validation
Window NumberHours - 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.
Supporting Types
RestoreTestingSelectionKeyValue
RestoreTestingSelectionProtectedResourceConditions
- String
Equals List<Pulumi.Aws Native. Backup. Inputs. Restore Testing Selection Key Value> - Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
- String
Not List<Pulumi.Equals Aws Native. Backup. Inputs. Restore Testing Selection Key Value> - Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
- String
Equals []RestoreTesting Selection Key Value - Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
- String
Not []RestoreEquals Testing Selection Key Value - Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
- string
Equals List<RestoreTesting Selection Key Value> - Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
- string
Not List<RestoreEquals Testing Selection Key Value> - Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
- string
Equals RestoreTesting Selection Key Value[] - Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
- string
Not RestoreEquals Testing Selection Key Value[] - Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
- string_
equals Sequence[RestoreTesting Selection Key Value] - Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
- string_
not_ Sequence[Restoreequals Testing Selection Key Value] - Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
- string
Equals List<Property Map> - Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
- string
Not List<Property Map>Equals - Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.