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

export interface AccountSettingDefaultArgs extends core.ResourceArgs {
  name: string | core.StringOut;

  value: string | core.StringOut;
}

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

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

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

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

  constructor(name: string, args?: AccountSettingDefaultArgs) {
    super(name, "aws_ecs_account_setting_default", args);
  }

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