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

export interface StandardsSubscriptionArgs extends core.ResourceArgs {
  /**
   * (Required) The ARN of a standard - see below.
   */
  standardsArn: string | core.StringOut;
}

export class StandardsSubscription extends core.Resource<StandardsSubscriptionArgs> {
  /**
   * The ARN of a resource that represents your subscription to a supported standard.
   */
  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

  /**
   * (Required) The ARN of a standard - see below.
   */
  @core.attr(String)
  public standardsArn!: string | core.StringOut;

  constructor(name: string, args?: StandardsSubscriptionArgs) {
    super(name, "aws_securityhub_standards_subscription", args);
  }

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