AWS Native is in preview. AWS Classic is fully supported.
aws-native.backup.BackupSelection
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource Type definition for AWS::Backup::BackupSelection
Create BackupSelection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BackupSelection(name: string, args: BackupSelectionArgs, opts?: CustomResourceOptions);
@overload
def BackupSelection(resource_name: str,
args: BackupSelectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BackupSelection(resource_name: str,
opts: Optional[ResourceOptions] = None,
backup_plan_id: Optional[str] = None,
backup_selection: Optional[BackupSelectionResourceTypeArgs] = None)
func NewBackupSelection(ctx *Context, name string, args BackupSelectionArgs, opts ...ResourceOption) (*BackupSelection, error)
public BackupSelection(string name, BackupSelectionArgs args, CustomResourceOptions? opts = null)
public BackupSelection(String name, BackupSelectionArgs args)
public BackupSelection(String name, BackupSelectionArgs args, CustomResourceOptions options)
type: aws-native:backup:BackupSelection
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 BackupSelectionArgs
- 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 BackupSelectionArgs
- 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 BackupSelectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BackupSelectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BackupSelectionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Example
The following reference example uses placeholder values for all input properties.
Coming soon!
Coming soon!
Coming soon!
Coming soon!
const backupSelectionResource = new aws_native.backup.BackupSelection("backupSelectionResource", {
backupPlanId: "string",
backupSelection: {
iamRoleArn: "string",
selectionName: "string",
conditions: {
stringEquals: [{
conditionKey: "string",
conditionValue: "string",
}],
stringLike: [{
conditionKey: "string",
conditionValue: "string",
}],
stringNotEquals: [{
conditionKey: "string",
conditionValue: "string",
}],
stringNotLike: [{
conditionKey: "string",
conditionValue: "string",
}],
},
listOfTags: [{
conditionKey: "string",
conditionType: "string",
conditionValue: "string",
}],
notResources: ["string"],
resources: ["string"],
},
});
Coming soon!
BackupSelection Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The BackupSelection resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the BackupSelection resource produces the following output properties:
- Aws
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Selection
Id string
- Aws
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Selection
Id string
- aws
Id String - id String
- The provider-assigned unique ID for this managed resource.
- selection
Id String
- aws
Id string - id string
- The provider-assigned unique ID for this managed resource.
- selection
Id string
- aws_
id str - id str
- The provider-assigned unique ID for this managed resource.
- selection_
id str
- aws
Id String - id String
- The provider-assigned unique ID for this managed resource.
- selection
Id String
Supporting Types
BackupSelectionConditionParameter, BackupSelectionConditionParameterArgs
- Condition
Key string - Condition
Value string
- Condition
Key string - Condition
Value string
- condition
Key String - condition
Value String
- condition
Key string - condition
Value string
- condition_
key str - condition_
value str
- condition
Key String - condition
Value String
BackupSelectionConditionResourceType, BackupSelectionConditionResourceTypeArgs
- Condition
Key string - Condition
Type string - Condition
Value string
- Condition
Key string - Condition
Type string - Condition
Value string
- condition
Key String - condition
Type String - condition
Value String
- condition
Key string - condition
Type string - condition
Value string
- condition_
key str - condition_
type str - condition_
value str
- condition
Key String - condition
Type String - condition
Value String
BackupSelectionResourceType, BackupSelectionResourceTypeArgs
- iam
Role StringArn - selection
Name String - conditions
Backup
Selection Resource Type Conditions Properties - List<Backup
Selection Condition Resource Type> - not
Resources List<String> - resources List<String>
- iam_
role_ strarn - selection_
name str - conditions
Backup
Selection Resource Type Conditions Properties - Sequence[Backup
Selection Condition Resource Type] - not_
resources Sequence[str] - resources Sequence[str]
- iam
Role StringArn - selection
Name String - conditions Property Map
- List<Property Map>
- not
Resources List<String> - resources List<String>
BackupSelectionResourceTypeConditionsProperties, BackupSelectionResourceTypeConditionsPropertiesArgs
- String
Equals List<Pulumi.Aws Native. Backup. Inputs. Backup Selection Condition Parameter> - String
Like List<Pulumi.Aws Native. Backup. Inputs. Backup Selection Condition Parameter> - String
Not List<Pulumi.Equals Aws Native. Backup. Inputs. Backup Selection Condition Parameter> - String
Not List<Pulumi.Like Aws Native. Backup. Inputs. Backup Selection Condition Parameter>
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.