1. Packages
  2. AWS Native
  3. API Docs
  4. backup
  5. getRestoreTestingSelection

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.backup.getRestoreTestingSelection

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

    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:

    RestoreTestingPlanName string

    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 string
    The unique name of the restore testing selection that belongs to the related restore testing plan.
    RestoreTestingPlanName string

    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 string
    The unique name of the restore testing selection that belongs to the related restore testing plan.
    restoreTestingPlanName String

    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 String
    The unique name of the restore testing selection that belongs to the related restore testing plan.
    restoreTestingPlanName string

    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 string
    The unique name of the restore testing selection that belongs to the related restore testing plan.
    restore_testing_plan_name str

    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_selection_name str
    The unique name of the restore testing selection that belongs to the related restore testing plan.
    restoreTestingPlanName String

    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 String
    The unique name of the restore testing selection that belongs to the related restore testing plan.

    getRestoreTestingSelection Result

    The following output properties are available:

    IamRoleArn string
    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 List<string>
    You can include specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."] or you can include a wildcard: ProtectedResourceArns: ["*"] , but not both.
    ProtectedResourceConditions Pulumi.AwsNative.Backup.Outputs.RestoreTestingSelectionProtectedResourceConditions
    In a resource testing selection, this parameter filters by specific conditions such as StringEquals or StringNotEquals .
    RestoreMetadataOverrides Dictionary<string, string>

    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 .

    ValidationWindowHours int
    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.
    IamRoleArn string
    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 []string
    You can include specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."] or you can include a wildcard: ProtectedResourceArns: ["*"] , but not both.
    ProtectedResourceConditions RestoreTestingSelectionProtectedResourceConditions
    In a resource testing selection, this parameter filters by specific conditions such as StringEquals or StringNotEquals .
    RestoreMetadataOverrides map[string]string

    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 .

    ValidationWindowHours int
    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.
    iamRoleArn String
    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 List<String>
    You can include specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."] or you can include a wildcard: ProtectedResourceArns: ["*"] , but not both.
    protectedResourceConditions RestoreTestingSelectionProtectedResourceConditions
    In a resource testing selection, this parameter filters by specific conditions such as StringEquals or StringNotEquals .
    restoreMetadataOverrides Map<String,String>

    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 .

    validationWindowHours Integer
    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.
    iamRoleArn string
    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 string[]
    You can include specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."] or you can include a wildcard: ProtectedResourceArns: ["*"] , but not both.
    protectedResourceConditions RestoreTestingSelectionProtectedResourceConditions
    In a resource testing selection, this parameter filters by specific conditions such as StringEquals or StringNotEquals .
    restoreMetadataOverrides {[key: string]: string}

    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 .

    validationWindowHours number
    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_arn str
    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_arns Sequence[str]
    You can include specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."] or you can include a wildcard: ProtectedResourceArns: ["*"] , but not both.
    protected_resource_conditions RestoreTestingSelectionProtectedResourceConditions
    In a resource testing selection, this parameter filters by specific conditions such as StringEquals or StringNotEquals .
    restore_metadata_overrides Mapping[str, str]

    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 .

    validation_window_hours int
    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.
    iamRoleArn String
    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 List<String>
    You can include specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."] or you can include a wildcard: ProtectedResourceArns: ["*"] , but not both.
    protectedResourceConditions Property Map
    In a resource testing selection, this parameter filters by specific conditions such as StringEquals or StringNotEquals .
    restoreMetadataOverrides Map<String>

    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 .

    validationWindowHours Number
    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

    Key string
    The tag key.
    Value string
    The tag value.
    Key string
    The tag key.
    Value string
    The tag value.
    key String
    The tag key.
    value String
    The tag value.
    key string
    The tag key.
    value string
    The tag value.
    key str
    The tag key.
    value str
    The tag value.
    key String
    The tag key.
    value String
    The tag value.

    RestoreTestingSelectionProtectedResourceConditions

    StringEquals List<Pulumi.AwsNative.Backup.Inputs.RestoreTestingSelectionKeyValue>
    Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
    StringNotEquals List<Pulumi.AwsNative.Backup.Inputs.RestoreTestingSelectionKeyValue>
    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."
    StringEquals []RestoreTestingSelectionKeyValue
    Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
    StringNotEquals []RestoreTestingSelectionKeyValue
    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."
    stringEquals List<RestoreTestingSelectionKeyValue>
    Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
    stringNotEquals List<RestoreTestingSelectionKeyValue>
    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."
    stringEquals RestoreTestingSelectionKeyValue[]
    Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
    stringNotEquals RestoreTestingSelectionKeyValue[]
    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[RestoreTestingSelectionKeyValue]
    Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
    string_not_equals Sequence[RestoreTestingSelectionKeyValue]
    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."
    stringEquals 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."
    stringNotEquals List<Property Map>
    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 logo

    We recommend new projects start with resources from the AWS provider.

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi