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

export interface ServiceSettingArgs extends core.ResourceArgs {
  settingId: string | core.StringOut;

  settingValue: string | core.StringOut;
}

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

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

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

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

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

  constructor(name: string, args?: ServiceSettingArgs) {
    super(name, "aws_ssm_service_setting", args);
  }

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