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

export interface FleetStackAssociationArgs extends core.ResourceArgs {
  fleetName: string | core.StringOut;

  stackName: string | core.StringOut;
}

export class FleetStackAssociation extends core.Resource<FleetStackAssociationArgs> {
  @core.attr(String)
  public fleetName!: string | core.StringOut;

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

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

  constructor(name: string, args?: FleetStackAssociationArgs) {
    super(name, "aws_appstream_fleet_stack_association", args);
  }

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