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

export interface ProvisioningArtifactArgs extends core.ResourceArgs {
  acceptLanguage?: string | core.StringOut;

  active?: boolean | core.BooleanOut;

  description?: string | core.StringOut;

  disableTemplateValidation?: boolean | core.BooleanOut;

  guidance?: string | core.StringOut;

  name?: string | core.StringOut;

  productId: string | core.StringOut;

  templatePhysicalId?: string | core.StringOut;

  templateUrl?: string | core.StringOut;

  type?: string | core.StringOut;
}

export class ProvisioningArtifact extends core.Resource<ProvisioningArtifactArgs> {
  @core.attr(String)
  public acceptLanguage?: string | core.StringOut;

  @core.attr(Boolean)
  public active?: boolean | core.BooleanOut;

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

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

  @core.attr(Boolean)
  public disableTemplateValidation?: boolean | core.BooleanOut;

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

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

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

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

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

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

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

  constructor(name: string, args?: ProvisioningArtifactArgs) {
    super(name, "aws_servicecatalog_provisioning_artifact", args);
  }

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