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

export interface XrayEncryptionConfigArgs extends core.ResourceArgs {
  keyId?: string | core.StringOut;

  type: string | core.StringOut;
}

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

  @core.attr(String)
  public keyId?: string | core.StringOut;

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

  constructor(name: string, args?: XrayEncryptionConfigArgs) {
    super(name, "aws_xray_encryption_config", args);
  }

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