// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/glacier_vault_lock aws_glacier_vault_lock}
*/
export class GlacierVaultLock extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_glacier_vault_lock";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/glacier_vault_lock aws_glacier_vault_lock} 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 GlacierVaultLockConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_glacier_vault_lock',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._completeLock = config.completeLock;
        this._ignoreDeletionError = config.ignoreDeletionError;
        this._policy = config.policy;
        this._vaultName = config.vaultName;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // complete_lock - computed: false, optional: false, required: true
    _completeLock;
    get completeLock() {
        return this.getBooleanAttribute('complete_lock');
    }
    set completeLock(value) {
        this._completeLock = value;
    }
    // Temporarily expose input value. Use with caution.
    get completeLockInput() {
        return this._completeLock;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // ignore_deletion_error - computed: false, optional: true, required: false
    _ignoreDeletionError;
    get ignoreDeletionError() {
        return this.getBooleanAttribute('ignore_deletion_error');
    }
    set ignoreDeletionError(value) {
        this._ignoreDeletionError = value;
    }
    resetIgnoreDeletionError() {
        this._ignoreDeletionError = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get ignoreDeletionErrorInput() {
        return this._ignoreDeletionError;
    }
    // policy - computed: false, optional: false, required: true
    _policy;
    get policy() {
        return this.getStringAttribute('policy');
    }
    set policy(value) {
        this._policy = value;
    }
    // Temporarily expose input value. Use with caution.
    get policyInput() {
        return this._policy;
    }
    // vault_name - computed: false, optional: false, required: true
    _vaultName;
    get vaultName() {
        return this.getStringAttribute('vault_name');
    }
    set vaultName(value) {
        this._vaultName = value;
    }
    // Temporarily expose input value. Use with caution.
    get vaultNameInput() {
        return this._vaultName;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            complete_lock: cdktf.booleanToTerraform(this._completeLock),
            ignore_deletion_error: cdktf.booleanToTerraform(this._ignoreDeletionError),
            policy: cdktf.stringToTerraform(this._policy),
            vault_name: cdktf.stringToTerraform(this._vaultName),
        };
    }
}
//# sourceMappingURL=glacier-vault-lock.js.map