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

export interface ActionTargetArgs extends core.ResourceArgs {
  description: string | core.StringOut;

  identifier: string | core.StringOut;

  name: string | core.StringOut;
}

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

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

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

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

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

  constructor(name: string, args?: ActionTargetArgs) {
    super(name, "aws_securityhub_action_target", args);
  }

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