CreateBackupSelection#

Description#

Request to create of a JSON document specifying the resource selection for a backup plan.

Request Parameters#

  • BackupPlanId — The backup plan ID.

    • Type: String

    • Required: Yes

  • BackupSelection — The resource selection.

Response Elements#

  • BackupPlanId — The backup plan ID.

    • Type: String

  • CreationDate — The time when the resource selection was created.

    • Type: Timestamp

  • SelectionId — The ID of the resource selection.

    • Type: String

Examples#

c2-bs CreateBackupSelection BackupPlanId 0000-0000-0000 BackupSelection.Resources.1 arn:c2:ec2::my_project@my_customer:instance/i-00000000 BackupSelection.SelectionName my_selection BackupSelection.IamRoleArn ""