Configures AWS Backup to exclude specific resources from backup by specifying resource ARNs.

Terraform Template

resource "aws_backup_selection" "example" {
  iam_role_arn = "aws_iam_role.example.arn"
  name = "tf_example_backup_selection"
  not_resources = ["aws_db_instance.example.arn", "aws_ebs_volume.example.arn", "aws_efs_file_system.example.arn"]
  plan_id = "aws_backup_plan.example.id"
}