import * as core from "@terrascript/core"; export interface RegionSettingsArgs extends core.ResourceArgs { /** * (Optional) A map of services along with the management preferences for the Region. */ resourceTypeManagementPreference?: | core.Map | core.MapOut; /** * (Required) A map of services along with the opt-in preferences for the Region. */ resourceTypeOptInPreference: | core.Map | core.MapOut; } export class RegionSettings extends core.Resource { /** * The AWS region. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) A map of services along with the management preferences for the Region. */ @core.attr(Boolean, { computed: true, kind: "map" }) public resourceTypeManagementPreference?: | core.Map | core.MapOut; /** * (Required) A map of services along with the opt-in preferences for the Region. */ @core.attr(Boolean, { kind: "map" }) public resourceTypeOptInPreference!: | core.Map | core.MapOut; constructor(name: string, args?: RegionSettingsArgs) { super(name, "aws_backup_region_settings", args); } public override getNamespace(): string { return "aws_backup"; } }