You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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)


803
804
805
806
807
808
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 803

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.

It includes an array of resources, an optional array of patterns to exclude resources, an optional role to provide access to the AWS service the resource belongs to, and an optional array of tags used to identify a set of resources.



803
804
805
806
807
808
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 803

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)


803
804
805
806
807
808
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 803

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