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
      },
    ],
    not_resources: ["ARN"],
    conditions: {
      string_equals: [
        {
          condition_key: "ConditionKey",
          condition_value: "ConditionValue",
        },
      ],
      string_not_equals: [
        {
          condition_key: "ConditionKey",
          condition_value: "ConditionValue",
        },
      ],
      string_like: [
        {
          condition_key: "ConditionKey",
          condition_value: "ConditionValue",
        },
      ],
      string_not_like: [
        {
          condition_key: "ConditionKey",
          condition_value: "ConditionValue",
        },
      ],
    },
  },
  creator_request_id: "string",
}

Constant Summary collapse

SENSITIVE =
[]

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)


1589
1590
1591
1592
1593
1594
1595
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 1589

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

#backup_selectionTypes::BackupSelection

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



1589
1590
1591
1592
1593
1594
1595
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 1589

class CreateBackupSelectionInput < Struct.new(
  :backup_plan_id,
  :backup_selection,
  :creator_request_id)
  SENSITIVE = []
  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 running the operation twice. This parameter is optional.

If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.

Returns:

  • (String)


1589
1590
1591
1592
1593
1594
1595
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 1589

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