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

export interface ConfigurationRecorderStatusArgs extends core.ResourceArgs {
  isEnabled: boolean | core.BooleanOut;

  name: string | core.StringOut;
}

export class ConfigurationRecorderStatus extends core.Resource<ConfigurationRecorderStatusArgs> {
  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

  @core.attr(Boolean)
  public isEnabled!: boolean | core.BooleanOut;

  @core.attr(String)
  public name!: string | core.StringOut;

  constructor(name: string, args?: ConfigurationRecorderStatusArgs) {
    super(name, "aws_config_configuration_recorder_status", args);
  }

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