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

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

  resourceGroupArn?: string | core.StringOut;
}

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

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

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

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

  constructor(name: string, args?: AssessmentTargetArgs) {
    super(name, "aws_inspector_assessment_target", args);
  }

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