import * as core from "@terrascript/core";

export interface GlobalSettingsArgs extends core.ResourceArgs {
  globalSettings: core.Map<string, string> | core.MapOut<core.StringOut>;
}

export class GlobalSettings extends core.Resource<GlobalSettingsArgs> {
  @core.attr(String, { kind: "map" })
  public globalSettings!:
    | core.Map<string, string>
    | core.MapOut<core.StringOut>;

  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

  constructor(name: string, args?: GlobalSettingsArgs) {
    super(name, "aws_backup_global_settings", args);
  }

  public override getNamespace(): string {
    return "aws_backup";
  }
}
