import * as core from "@terrascript/core"; export interface CertificateValidationArgs extends core.ResourceArgs { /** * (Required) The ARN of the certificate that is being validated. */ certificateArn: string | core.StringOut; /** * (Optional) List of FQDNs that implement the validation. Only valid for DNS validation method ACM cer * tificates. If this is set, the resource can implement additional sanity checks and has an explicit d * ependency on the resource that is implementing the validation */ validationRecordFqdns?: core.Array | core.ArrayOut; } export class CertificateValidation extends core.Resource { /** * (Required) The ARN of the certificate that is being validated. */ @core.attr(String) public certificateArn!: string | core.StringOut; /** * The time at which the certificate was issued */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) List of FQDNs that implement the validation. Only valid for DNS validation method ACM cer * tificates. If this is set, the resource can implement additional sanity checks and has an explicit d * ependency on the resource that is implementing the validation */ @core.attr(String, { kind: "array" }) public validationRecordFqdns?: | core.Array | core.ArrayOut; constructor(name: string, args?: CertificateValidationArgs) { super(name, "aws_acm_certificate_validation", args); } public override getNamespace(): string { return "aws_acm"; } }