Skip to content

Resource: awsBackupRegionSettings

Provides an AWS Backup Region Settings resource.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.backupRegionSettings.BackupRegionSettings(this, "test", {
  resourceTypeManagementPreference: {
    DynamoDB: true,
    EFS: true,
  },
  resourceTypeOptInPreference: {
    Aurora: true,
    DocumentDB: true,
    DynamoDB: true,
    EBS: true,
    EC2: true,
    EFS: true,
    FSx: true,
    Neptune: true,
    RDS: true,
    "Storage Gateway": true,
    VirtualMachine: true,
  },
});

Argument Reference

The following arguments are supported:

  • resourceTypeOptInPreference - (Required) A map of services along with the opt-in preferences for the Region.
  • resourceTypeManagementPreference - (Optional) A map of services along with the management preferences for the Region.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - The AWS region.

Import

Backup Region Settings can be imported using the region, e.g.,

$ terraform import aws_backup_region_settings.test us-west-2