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

export interface WebsiteCertificateAuthorityAssociationArgs
  extends core.ResourceArgs {
  certificate: string | core.StringOut;

  displayName?: string | core.StringOut;

  fleetArn: string | core.StringOut;
}

export class WebsiteCertificateAuthorityAssociation extends core.Resource<WebsiteCertificateAuthorityAssociationArgs> {
  @core.attr(String)
  public certificate!: string | core.StringOut;

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

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

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

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

  constructor(name: string, args?: WebsiteCertificateAuthorityAssociationArgs) {
    super(name, "aws_worklink_website_certificate_authority_association", args);
  }

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