// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/route53_key_signing_key aws_route53_key_signing_key}
*/
export class Route53KeySigningKey extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_route53_key_signing_key";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/route53_key_signing_key aws_route53_key_signing_key} Resource
    *
    * @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 Route53KeySigningKeyConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_route53_key_signing_key',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._hostedZoneId = config.hostedZoneId;
        this._keyManagementServiceArn = config.keyManagementServiceArn;
        this._name = config.name;
        this._status = config.status;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // digest_algorithm_mnemonic - computed: true, optional: false, required: false
    get digestAlgorithmMnemonic() {
        return this.getStringAttribute('digest_algorithm_mnemonic');
    }
    // digest_algorithm_type - computed: true, optional: false, required: false
    get digestAlgorithmType() {
        return this.getNumberAttribute('digest_algorithm_type');
    }
    // digest_value - computed: true, optional: false, required: false
    get digestValue() {
        return this.getStringAttribute('digest_value');
    }
    // dnskey_record - computed: true, optional: false, required: false
    get dnskeyRecord() {
        return this.getStringAttribute('dnskey_record');
    }
    // ds_record - computed: true, optional: false, required: false
    get dsRecord() {
        return this.getStringAttribute('ds_record');
    }
    // flag - computed: true, optional: false, required: false
    get flag() {
        return this.getNumberAttribute('flag');
    }
    // hosted_zone_id - computed: false, optional: false, required: true
    _hostedZoneId;
    get hostedZoneId() {
        return this.getStringAttribute('hosted_zone_id');
    }
    set hostedZoneId(value) {
        this._hostedZoneId = value;
    }
    // Temporarily expose input value. Use with caution.
    get hostedZoneIdInput() {
        return this._hostedZoneId;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // key_management_service_arn - computed: false, optional: false, required: true
    _keyManagementServiceArn;
    get keyManagementServiceArn() {
        return this.getStringAttribute('key_management_service_arn');
    }
    set keyManagementServiceArn(value) {
        this._keyManagementServiceArn = value;
    }
    // Temporarily expose input value. Use with caution.
    get keyManagementServiceArnInput() {
        return this._keyManagementServiceArn;
    }
    // key_tag - computed: true, optional: false, required: false
    get keyTag() {
        return this.getNumberAttribute('key_tag');
    }
    // name - computed: false, optional: false, required: true
    _name;
    get name() {
        return this.getStringAttribute('name');
    }
    set name(value) {
        this._name = value;
    }
    // Temporarily expose input value. Use with caution.
    get nameInput() {
        return this._name;
    }
    // public_key - computed: true, optional: false, required: false
    get publicKey() {
        return this.getStringAttribute('public_key');
    }
    // signing_algorithm_mnemonic - computed: true, optional: false, required: false
    get signingAlgorithmMnemonic() {
        return this.getStringAttribute('signing_algorithm_mnemonic');
    }
    // signing_algorithm_type - computed: true, optional: false, required: false
    get signingAlgorithmType() {
        return this.getNumberAttribute('signing_algorithm_type');
    }
    // status - computed: false, optional: true, required: false
    _status;
    get status() {
        return this.getStringAttribute('status');
    }
    set status(value) {
        this._status = value;
    }
    resetStatus() {
        this._status = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get statusInput() {
        return this._status;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            hosted_zone_id: cdktf.stringToTerraform(this._hostedZoneId),
            key_management_service_arn: cdktf.stringToTerraform(this._keyManagementServiceArn),
            name: cdktf.stringToTerraform(this._name),
            status: cdktf.stringToTerraform(this._status),
        };
    }
}
//# sourceMappingURL=route53-key-signing-key.js.map