Class: Aws::Backup::Types::CreateBackupSelectionInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb

Overview

Note:

When making an API call, you may pass CreateBackupSelectionInput data as a hash:

{
  backup_plan_id: "string", # required
  backup_selection: { # required
    selection_name: "BackupSelectionName", # required
    iam_role_arn: "IAMRoleArn", # required
    resources: ["ARN"],
    list_of_tags: [
      {
        condition_type: "STRINGEQUALS", # required, accepts STRINGEQUALS
        condition_key: "ConditionKey", # required
        condition_value: "ConditionValue", # required
      },
    ],
  },
  creator_request_id: "string",
}

Instance Attribute Summary collapse

Instance Attribute Details

#backup_plan_idString

Uniquely identifies the backup plan to be associated with the selection of resources.

Returns:

  • (String)


975
976
977
978
979
980
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 975

class CreateBackupSelectionInput < Struct.new(
  :backup_plan_id,
  :backup_selection,
  :creator_request_id)
  include Aws::Structure
end

#backup_selectionTypes::BackupSelection

Specifies the body of a request to assign a set of resources to a backup plan.



975
976
977
978
979
980
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 975

class CreateBackupSelectionInput < Struct.new(
  :backup_plan_id,
  :backup_selection,
  :creator_request_id)
  include Aws::Structure
end

#creator_request_idString

A unique string that identifies the request and allows failed requests to be retried without the risk of executing the operation twice.

Returns:

  • (String)


975
976
977
978
979
980
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 975

class CreateBackupSelectionInput < Struct.new(
  :backup_plan_id,
  :backup_selection,
  :creator_request_id)
  include Aws::Structure
end