// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/d/rds_certificate aws_rds_certificate}
*/
export class DataAwsRdsCertificate extends cdktf.TerraformDataSource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_rds_certificate";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/d/rds_certificate aws_rds_certificate} Data Source
    *
    * @param scope The scope in which to define this construct
    * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
    * @param options DataAwsRdsCertificateConfig = {}
    */
    constructor(scope, id, config = {}) {
        super(scope, id, {
            terraformResourceType: 'aws_rds_certificate',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._latestValidTill = config.latestValidTill;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // arn - computed: true, optional: false, required: false
    get arn() {
        return this.getStringAttribute('arn');
    }
    // certificate_type - computed: true, optional: false, required: false
    get certificateType() {
        return this.getStringAttribute('certificate_type');
    }
    // customer_override - computed: true, optional: false, required: false
    get customerOverride() {
        return this.getBooleanAttribute('customer_override');
    }
    // customer_override_valid_till - computed: true, optional: false, required: false
    get customerOverrideValidTill() {
        return this.getStringAttribute('customer_override_valid_till');
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // latest_valid_till - computed: false, optional: true, required: false
    _latestValidTill;
    get latestValidTill() {
        return this.getBooleanAttribute('latest_valid_till');
    }
    set latestValidTill(value) {
        this._latestValidTill = value;
    }
    resetLatestValidTill() {
        this._latestValidTill = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get latestValidTillInput() {
        return this._latestValidTill;
    }
    // thumbprint - computed: true, optional: false, required: false
    get thumbprint() {
        return this.getStringAttribute('thumbprint');
    }
    // valid_from - computed: true, optional: false, required: false
    get validFrom() {
        return this.getStringAttribute('valid_from');
    }
    // valid_till - computed: true, optional: false, required: false
    get validTill() {
        return this.getStringAttribute('valid_till');
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            latest_valid_till: cdktf.booleanToTerraform(this._latestValidTill),
        };
    }
}
//# sourceMappingURL=data-aws-rds-certificate.js.map