1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. backup
  5. RestoreTestingSelection

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.backup.RestoreTestingSelection

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    Resource Type definition for AWS::Backup::RestoreTestingSelection

    Create RestoreTestingSelection Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RestoreTestingSelection(name: string, args: RestoreTestingSelectionArgs, opts?: CustomResourceOptions);
    @overload
    def RestoreTestingSelection(resource_name: str,
                                args: RestoreTestingSelectionArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def RestoreTestingSelection(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                iam_role_arn: Optional[str] = None,
                                protected_resource_type: Optional[str] = None,
                                restore_testing_plan_name: Optional[str] = None,
                                protected_resource_arns: Optional[Sequence[str]] = None,
                                protected_resource_conditions: Optional[RestoreTestingSelectionProtectedResourceConditionsArgs] = None,
                                restore_metadata_overrides: Optional[Mapping[str, str]] = None,
                                restore_testing_selection_name: Optional[str] = None,
                                validation_window_hours: Optional[int] = None)
    func NewRestoreTestingSelection(ctx *Context, name string, args RestoreTestingSelectionArgs, opts ...ResourceOption) (*RestoreTestingSelection, error)
    public RestoreTestingSelection(string name, RestoreTestingSelectionArgs args, CustomResourceOptions? opts = null)
    public RestoreTestingSelection(String name, RestoreTestingSelectionArgs args)
    public RestoreTestingSelection(String name, RestoreTestingSelectionArgs args, CustomResourceOptions options)
    
    type: aws-native:backup:RestoreTestingSelection
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RestoreTestingSelectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RestoreTestingSelectionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RestoreTestingSelectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RestoreTestingSelectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RestoreTestingSelectionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    RestoreTestingSelection Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The RestoreTestingSelection resource accepts the following input properties:

    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 .
    ProtectedResourceType string
    The type of AWS resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
    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.

    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.Inputs.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 .

    RestoreTestingSelectionName string
    The unique name of the restore testing selection that belongs to the related restore testing plan.
    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 .
    ProtectedResourceType string
    The type of AWS resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
    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.

    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 RestoreTestingSelectionProtectedResourceConditionsArgs
    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 .

    RestoreTestingSelectionName string
    The unique name of the restore testing selection that belongs to the related restore testing plan.
    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 .
    protectedResourceType String
    The type of AWS resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
    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.

    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 .

    restoreTestingSelectionName String
    The unique name of the restore testing selection that belongs to the related restore testing plan.
    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 .
    protectedResourceType string
    The type of AWS resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
    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.

    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 .

    restoreTestingSelectionName string
    The unique name of the restore testing selection that belongs to the related restore testing plan.
    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_type str
    The type of AWS resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
    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.

    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 RestoreTestingSelectionProtectedResourceConditionsArgs
    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 .

    restore_testing_selection_name str
    The unique name of the restore testing selection that belongs to the related restore testing plan.
    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 .
    protectedResourceType String
    The type of AWS resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
    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.

    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 .

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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RestoreTestingSelection resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    RestoreTestingSelectionKeyValue, RestoreTestingSelectionKeyValueArgs

    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, RestoreTestingSelectionProtectedResourceConditionsArgs

    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 Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi