aws.backup.RestoreTestingSelection
Explore with Pulumi AI
Resource for managing an AWS Backup Restore Testing Selection.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.backup.RestoreTestingSelection("example", {
name: "ec2_selection",
restoreTestingPlanName: exampleAwsBackupRestoreTestingPlan.name,
protectedResourceType: "EC2",
iamRoleArn: exampleAwsIamRole.arn,
protectedResourceArns: ["*"],
});
import pulumi
import pulumi_aws as aws
example = aws.backup.RestoreTestingSelection("example",
name="ec2_selection",
restore_testing_plan_name=example_aws_backup_restore_testing_plan["name"],
protected_resource_type="EC2",
iam_role_arn=example_aws_iam_role["arn"],
protected_resource_arns=["*"])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/backup"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.NewRestoreTestingSelection(ctx, "example", &backup.RestoreTestingSelectionArgs{
Name: pulumi.String("ec2_selection"),
RestoreTestingPlanName: pulumi.Any(exampleAwsBackupRestoreTestingPlan.Name),
ProtectedResourceType: pulumi.String("EC2"),
IamRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
ProtectedResourceArns: pulumi.StringArray{
pulumi.String("*"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Backup.RestoreTestingSelection("example", new()
{
Name = "ec2_selection",
RestoreTestingPlanName = exampleAwsBackupRestoreTestingPlan.Name,
ProtectedResourceType = "EC2",
IamRoleArn = exampleAwsIamRole.Arn,
ProtectedResourceArns = new[]
{
"*",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.backup.RestoreTestingSelection;
import com.pulumi.aws.backup.RestoreTestingSelectionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new RestoreTestingSelection("example", RestoreTestingSelectionArgs.builder()
.name("ec2_selection")
.restoreTestingPlanName(exampleAwsBackupRestoreTestingPlan.name())
.protectedResourceType("EC2")
.iamRoleArn(exampleAwsIamRole.arn())
.protectedResourceArns("*")
.build());
}
}
resources:
example:
type: aws:backup:RestoreTestingSelection
properties:
name: ec2_selection
restoreTestingPlanName: ${exampleAwsBackupRestoreTestingPlan.name}
protectedResourceType: EC2
iamRoleArn: ${exampleAwsIamRole.arn}
protectedResourceArns:
- '*'
Advanced Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.backup.RestoreTestingSelection("example", {
name: "ec2_selection",
restoreTestingPlanName: exampleAwsBackupRestoreTestingPlan.name,
protectedResourceType: "EC2",
iamRoleArn: exampleAwsIamRole.arn,
protectedResourceConditions: {
stringEquals: [{
key: "aws:ResourceTag/backup",
value: "true",
}],
},
});
import pulumi
import pulumi_aws as aws
example = aws.backup.RestoreTestingSelection("example",
name="ec2_selection",
restore_testing_plan_name=example_aws_backup_restore_testing_plan["name"],
protected_resource_type="EC2",
iam_role_arn=example_aws_iam_role["arn"],
protected_resource_conditions={
"string_equals": [{
"key": "aws:ResourceTag/backup",
"value": "true",
}],
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/backup"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := backup.NewRestoreTestingSelection(ctx, "example", &backup.RestoreTestingSelectionArgs{
Name: pulumi.String("ec2_selection"),
RestoreTestingPlanName: pulumi.Any(exampleAwsBackupRestoreTestingPlan.Name),
ProtectedResourceType: pulumi.String("EC2"),
IamRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
ProtectedResourceConditions: &backup.RestoreTestingSelectionProtectedResourceConditionsArgs{
StringEquals: backup.RestoreTestingSelectionProtectedResourceConditionsStringEqualArray{
&backup.RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs{
Key: pulumi.String("aws:ResourceTag/backup"),
Value: pulumi.String("true"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Backup.RestoreTestingSelection("example", new()
{
Name = "ec2_selection",
RestoreTestingPlanName = exampleAwsBackupRestoreTestingPlan.Name,
ProtectedResourceType = "EC2",
IamRoleArn = exampleAwsIamRole.Arn,
ProtectedResourceConditions = new Aws.Backup.Inputs.RestoreTestingSelectionProtectedResourceConditionsArgs
{
StringEquals = new[]
{
new Aws.Backup.Inputs.RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs
{
Key = "aws:ResourceTag/backup",
Value = "true",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.backup.RestoreTestingSelection;
import com.pulumi.aws.backup.RestoreTestingSelectionArgs;
import com.pulumi.aws.backup.inputs.RestoreTestingSelectionProtectedResourceConditionsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new RestoreTestingSelection("example", RestoreTestingSelectionArgs.builder()
.name("ec2_selection")
.restoreTestingPlanName(exampleAwsBackupRestoreTestingPlan.name())
.protectedResourceType("EC2")
.iamRoleArn(exampleAwsIamRole.arn())
.protectedResourceConditions(RestoreTestingSelectionProtectedResourceConditionsArgs.builder()
.stringEquals(RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs.builder()
.key("aws:ResourceTag/backup")
.value(true)
.build())
.build())
.build());
}
}
resources:
example:
type: aws:backup:RestoreTestingSelection
properties:
name: ec2_selection
restoreTestingPlanName: ${exampleAwsBackupRestoreTestingPlan.name}
protectedResourceType: EC2
iamRoleArn: ${exampleAwsIamRole.arn}
protectedResourceConditions:
stringEquals:
- key: aws:ResourceTag/backup
value: true
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,
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,
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: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.
Constructor example
The following reference example uses placeholder values for all input properties.
var restoreTestingSelectionResource = new Aws.Backup.RestoreTestingSelection("restoreTestingSelectionResource", new()
{
IamRoleArn = "string",
ProtectedResourceType = "string",
RestoreTestingPlanName = "string",
Name = "string",
ProtectedResourceArns = new[]
{
"string",
},
ProtectedResourceConditions = new Aws.Backup.Inputs.RestoreTestingSelectionProtectedResourceConditionsArgs
{
StringEquals = new[]
{
new Aws.Backup.Inputs.RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs
{
Key = "string",
Value = "string",
},
},
StringNotEquals = new[]
{
new Aws.Backup.Inputs.RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArgs
{
Key = "string",
Value = "string",
},
},
},
RestoreMetadataOverrides =
{
{ "string", "string" },
},
ValidationWindowHours = 0,
});
example, err := backup.NewRestoreTestingSelection(ctx, "restoreTestingSelectionResource", &backup.RestoreTestingSelectionArgs{
IamRoleArn: pulumi.String("string"),
ProtectedResourceType: pulumi.String("string"),
RestoreTestingPlanName: pulumi.String("string"),
Name: pulumi.String("string"),
ProtectedResourceArns: pulumi.StringArray{
pulumi.String("string"),
},
ProtectedResourceConditions: &backup.RestoreTestingSelectionProtectedResourceConditionsArgs{
StringEquals: backup.RestoreTestingSelectionProtectedResourceConditionsStringEqualArray{
&backup.RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
StringNotEquals: backup.RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArray{
&backup.RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
RestoreMetadataOverrides: pulumi.StringMap{
"string": pulumi.String("string"),
},
ValidationWindowHours: pulumi.Int(0),
})
var restoreTestingSelectionResource = new RestoreTestingSelection("restoreTestingSelectionResource", RestoreTestingSelectionArgs.builder()
.iamRoleArn("string")
.protectedResourceType("string")
.restoreTestingPlanName("string")
.name("string")
.protectedResourceArns("string")
.protectedResourceConditions(RestoreTestingSelectionProtectedResourceConditionsArgs.builder()
.stringEquals(RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs.builder()
.key("string")
.value("string")
.build())
.stringNotEquals(RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArgs.builder()
.key("string")
.value("string")
.build())
.build())
.restoreMetadataOverrides(Map.of("string", "string"))
.validationWindowHours(0)
.build());
restore_testing_selection_resource = aws.backup.RestoreTestingSelection("restoreTestingSelectionResource",
iam_role_arn="string",
protected_resource_type="string",
restore_testing_plan_name="string",
name="string",
protected_resource_arns=["string"],
protected_resource_conditions={
"string_equals": [{
"key": "string",
"value": "string",
}],
"string_not_equals": [{
"key": "string",
"value": "string",
}],
},
restore_metadata_overrides={
"string": "string",
},
validation_window_hours=0)
const restoreTestingSelectionResource = new aws.backup.RestoreTestingSelection("restoreTestingSelectionResource", {
iamRoleArn: "string",
protectedResourceType: "string",
restoreTestingPlanName: "string",
name: "string",
protectedResourceArns: ["string"],
protectedResourceConditions: {
stringEquals: [{
key: "string",
value: "string",
}],
stringNotEquals: [{
key: "string",
value: "string",
}],
},
restoreMetadataOverrides: {
string: "string",
},
validationWindowHours: 0,
});
type: aws:backup:RestoreTestingSelection
properties:
iamRoleArn: string
name: string
protectedResourceArns:
- string
protectedResourceConditions:
stringEquals:
- key: string
value: string
stringNotEquals:
- key: string
value: string
protectedResourceType: string
restoreMetadataOverrides:
string: string
restoreTestingPlanName: string
validationWindowHours: 0
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:
- Iam
Role stringArn - The ARN of the IAM role.
- Protected
Resource stringType - The type of the protected resource.
- Restore
Testing stringPlan Name - The name of the restore testing plan.
- Name string
- The name of the backup restore testing selection.
- Protected
Resource List<string>Arns - The ARNs for the protected resources.
- Protected
Resource RestoreConditions Testing Selection Protected Resource Conditions - The conditions for the protected resource.
- Restore
Metadata Dictionary<string, string>Overrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- Validation
Window intHours - The amount of hours available to run a validation script on the data. Valid range is
1
to168
.
- Iam
Role stringArn - The ARN of the IAM role.
- Protected
Resource stringType - The type of the protected resource.
- Restore
Testing stringPlan Name - The name of the restore testing plan.
- Name string
- The name of the backup restore testing selection.
- Protected
Resource []stringArns - The ARNs for the protected resources.
- Protected
Resource RestoreConditions Testing Selection Protected Resource Conditions Args - The conditions for the protected resource.
- Restore
Metadata map[string]stringOverrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- Validation
Window intHours - The amount of hours available to run a validation script on the data. Valid range is
1
to168
.
- iam
Role StringArn - The ARN of the IAM role.
- protected
Resource StringType - The type of the protected resource.
- restore
Testing StringPlan Name - The name of the restore testing plan.
- name String
- The name of the backup restore testing selection.
- protected
Resource List<String>Arns - The ARNs for the protected resources.
- protected
Resource RestoreConditions Testing Selection Protected Resource Conditions - The conditions for the protected resource.
- restore
Metadata Map<String,String>Overrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- validation
Window IntegerHours - The amount of hours available to run a validation script on the data. Valid range is
1
to168
.
- iam
Role stringArn - The ARN of the IAM role.
- protected
Resource stringType - The type of the protected resource.
- restore
Testing stringPlan Name - The name of the restore testing plan.
- name string
- The name of the backup restore testing selection.
- protected
Resource string[]Arns - The ARNs for the protected resources.
- protected
Resource RestoreConditions Testing Selection Protected Resource Conditions - The conditions for the protected resource.
- restore
Metadata {[key: string]: string}Overrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- validation
Window numberHours - The amount of hours available to run a validation script on the data. Valid range is
1
to168
.
- iam_
role_ strarn - The ARN of the IAM role.
- protected_
resource_ strtype - The type of the protected resource.
- restore_
testing_ strplan_ name - The name of the restore testing plan.
- name str
- The name of the backup restore testing selection.
- protected_
resource_ Sequence[str]arns - The ARNs for the protected resources.
- protected_
resource_ Restoreconditions Testing Selection Protected Resource Conditions Args - The conditions for the protected resource.
- restore_
metadata_ Mapping[str, str]overrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- validation_
window_ inthours - The amount of hours available to run a validation script on the data. Valid range is
1
to168
.
- iam
Role StringArn - The ARN of the IAM role.
- protected
Resource StringType - The type of the protected resource.
- restore
Testing StringPlan Name - The name of the restore testing plan.
- name String
- The name of the backup restore testing selection.
- protected
Resource List<String>Arns - The ARNs for the protected resources.
- protected
Resource Property MapConditions - The conditions for the protected resource.
- restore
Metadata Map<String>Overrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- validation
Window NumberHours - The amount of hours available to run a validation script on the data. Valid range is
1
to168
.
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.
Look up Existing RestoreTestingSelection Resource
Get an existing RestoreTestingSelection resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RestoreTestingSelectionState, opts?: CustomResourceOptions): RestoreTestingSelection
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
iam_role_arn: Optional[str] = None,
name: Optional[str] = None,
protected_resource_arns: Optional[Sequence[str]] = None,
protected_resource_conditions: Optional[RestoreTestingSelectionProtectedResourceConditionsArgs] = None,
protected_resource_type: Optional[str] = None,
restore_metadata_overrides: Optional[Mapping[str, str]] = None,
restore_testing_plan_name: Optional[str] = None,
validation_window_hours: Optional[int] = None) -> RestoreTestingSelection
func GetRestoreTestingSelection(ctx *Context, name string, id IDInput, state *RestoreTestingSelectionState, opts ...ResourceOption) (*RestoreTestingSelection, error)
public static RestoreTestingSelection Get(string name, Input<string> id, RestoreTestingSelectionState? state, CustomResourceOptions? opts = null)
public static RestoreTestingSelection get(String name, Output<String> id, RestoreTestingSelectionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Iam
Role stringArn - The ARN of the IAM role.
- Name string
- The name of the backup restore testing selection.
- Protected
Resource List<string>Arns - The ARNs for the protected resources.
- Protected
Resource RestoreConditions Testing Selection Protected Resource Conditions - The conditions for the protected resource.
- Protected
Resource stringType - The type of the protected resource.
- Restore
Metadata Dictionary<string, string>Overrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- Restore
Testing stringPlan Name - The name of the restore testing plan.
- Validation
Window intHours - The amount of hours available to run a validation script on the data. Valid range is
1
to168
.
- Iam
Role stringArn - The ARN of the IAM role.
- Name string
- The name of the backup restore testing selection.
- Protected
Resource []stringArns - The ARNs for the protected resources.
- Protected
Resource RestoreConditions Testing Selection Protected Resource Conditions Args - The conditions for the protected resource.
- Protected
Resource stringType - The type of the protected resource.
- Restore
Metadata map[string]stringOverrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- Restore
Testing stringPlan Name - The name of the restore testing plan.
- Validation
Window intHours - The amount of hours available to run a validation script on the data. Valid range is
1
to168
.
- iam
Role StringArn - The ARN of the IAM role.
- name String
- The name of the backup restore testing selection.
- protected
Resource List<String>Arns - The ARNs for the protected resources.
- protected
Resource RestoreConditions Testing Selection Protected Resource Conditions - The conditions for the protected resource.
- protected
Resource StringType - The type of the protected resource.
- restore
Metadata Map<String,String>Overrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- restore
Testing StringPlan Name - The name of the restore testing plan.
- validation
Window IntegerHours - The amount of hours available to run a validation script on the data. Valid range is
1
to168
.
- iam
Role stringArn - The ARN of the IAM role.
- name string
- The name of the backup restore testing selection.
- protected
Resource string[]Arns - The ARNs for the protected resources.
- protected
Resource RestoreConditions Testing Selection Protected Resource Conditions - The conditions for the protected resource.
- protected
Resource stringType - The type of the protected resource.
- restore
Metadata {[key: string]: string}Overrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- restore
Testing stringPlan Name - The name of the restore testing plan.
- validation
Window numberHours - The amount of hours available to run a validation script on the data. Valid range is
1
to168
.
- iam_
role_ strarn - The ARN of the IAM role.
- name str
- The name of the backup restore testing selection.
- protected_
resource_ Sequence[str]arns - The ARNs for the protected resources.
- protected_
resource_ Restoreconditions Testing Selection Protected Resource Conditions Args - The conditions for the protected resource.
- protected_
resource_ strtype - The type of the protected resource.
- restore_
metadata_ Mapping[str, str]overrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- restore_
testing_ strplan_ name - The name of the restore testing plan.
- validation_
window_ inthours - The amount of hours available to run a validation script on the data. Valid range is
1
to168
.
- iam
Role StringArn - The ARN of the IAM role.
- name String
- The name of the backup restore testing selection.
- protected
Resource List<String>Arns - The ARNs for the protected resources.
- protected
Resource Property MapConditions - The conditions for the protected resource.
- protected
Resource StringType - The type of the protected resource.
- restore
Metadata Map<String>Overrides - Override certain restore metadata keys. See the complete list of restore testing inferred metadata .
- restore
Testing StringPlan Name - The name of the restore testing plan.
- validation
Window NumberHours - The amount of hours available to run a validation script on the data. Valid range is
1
to168
.
Supporting Types
RestoreTestingSelectionProtectedResourceConditions, RestoreTestingSelectionProtectedResourceConditionsArgs
- String
Equals List<RestoreTesting Selection Protected Resource Conditions String Equal> - The list of string equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching.". See the structure for details
- String
Not List<RestoreEquals Testing Selection Protected Resource Conditions String Not Equal> - The list of string not equals conditions for resource tags. 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.". See the structure for details
- String
Equals []RestoreTesting Selection Protected Resource Conditions String Equal - The list of string equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching.". See the structure for details
- String
Not []RestoreEquals Testing Selection Protected Resource Conditions String Not Equal - The list of string not equals conditions for resource tags. 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.". See the structure for details
- string
Equals List<RestoreTesting Selection Protected Resource Conditions String Equal> - The list of string equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching.". See the structure for details
- string
Not List<RestoreEquals Testing Selection Protected Resource Conditions String Not Equal> - The list of string not equals conditions for resource tags. 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.". See the structure for details
- string
Equals RestoreTesting Selection Protected Resource Conditions String Equal[] - The list of string equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching.". See the structure for details
- string
Not RestoreEquals Testing Selection Protected Resource Conditions String Not Equal[] - The list of string not equals conditions for resource tags. 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.". See the structure for details
- string_
equals Sequence[RestoreTesting Selection Protected Resource Conditions String Equal] - The list of string equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching.". See the structure for details
- string_
not_ Sequence[Restoreequals Testing Selection Protected Resource Conditions String Not Equal] - The list of string not equals conditions for resource tags. 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.". See the structure for details
- string
Equals List<Property Map> - The list of string equals conditions for resource tags. Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching.". See the structure for details
- string
Not List<Property Map>Equals - The list of string not equals conditions for resource tags. 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.". See the structure for details
RestoreTestingSelectionProtectedResourceConditionsStringEqual, RestoreTestingSelectionProtectedResourceConditionsStringEqualArgs
- Key string
- The Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /
. - Value string
- The value of the Tag. Maximum length of 256.
- Key string
- The Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /
. - Value string
- The value of the Tag. Maximum length of 256.
- key String
- The Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /
. - value String
- The value of the Tag. Maximum length of 256.
- key string
- The Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /
. - value string
- The value of the Tag. Maximum length of 256.
- key str
- The Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /
. - value str
- The value of the Tag. Maximum length of 256.
- key String
- The Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /
. - value String
- The value of the Tag. Maximum length of 256.
RestoreTestingSelectionProtectedResourceConditionsStringNotEqual, RestoreTestingSelectionProtectedResourceConditionsStringNotEqualArgs
- Key string
- The Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /
. - Value string
- The value of the Tag. Maximum length of 256.
- Key string
- The Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /
. - Value string
- The value of the Tag. Maximum length of 256.
- key String
- The Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /
. - value String
- The value of the Tag. Maximum length of 256.
- key string
- The Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /
. - value string
- The value of the Tag. Maximum length of 256.
- key str
- The Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /
. - value str
- The value of the Tag. Maximum length of 256.
- key String
- The Tag name, must start with one of the following prefixes: [aws:ResourceTag/] with a Minimum length of 1. Maximum length of 128, and can contain characters that are letters, white space, and numbers that can be represented in UTF-8 and the following characters:
+ - = . _ : /
. - value String
- The value of the Tag. Maximum length of 256.
Import
Using pulumi import
, import Backup Restore Testing Selection using name:restore_testing_plan_name
. For example:
$ pulumi import aws:backup/restoreTestingSelection:RestoreTestingSelection example restore_testing_selection_12345678:restore_testing_plan_12345678
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.