// generated from terraform resource schema
import * as cdktf from 'cdktf';
export function dynamodbTableAttributeToTerraform(struct) {
    if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
        return struct;
    }
    if (cdktf.isComplexElement(struct)) {
        throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
    }
    return {
        name: cdktf.stringToTerraform(struct.name),
        type: cdktf.stringToTerraform(struct.type),
    };
}
export function dynamodbTableGlobalSecondaryIndexToTerraform(struct) {
    if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
        return struct;
    }
    if (cdktf.isComplexElement(struct)) {
        throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
    }
    return {
        hash_key: cdktf.stringToTerraform(struct.hashKey),
        name: cdktf.stringToTerraform(struct.name),
        non_key_attributes: cdktf.listMapper(cdktf.stringToTerraform)(struct.nonKeyAttributes),
        projection_type: cdktf.stringToTerraform(struct.projectionType),
        range_key: cdktf.stringToTerraform(struct.rangeKey),
        read_capacity: cdktf.numberToTerraform(struct.readCapacity),
        write_capacity: cdktf.numberToTerraform(struct.writeCapacity),
    };
}
export function dynamodbTableLocalSecondaryIndexToTerraform(struct) {
    if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
        return struct;
    }
    if (cdktf.isComplexElement(struct)) {
        throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
    }
    return {
        name: cdktf.stringToTerraform(struct.name),
        non_key_attributes: cdktf.listMapper(cdktf.stringToTerraform)(struct.nonKeyAttributes),
        projection_type: cdktf.stringToTerraform(struct.projectionType),
        range_key: cdktf.stringToTerraform(struct.rangeKey),
    };
}
export function dynamodbTablePointInTimeRecoveryToTerraform(struct) {
    if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
        return struct;
    }
    if (cdktf.isComplexElement(struct)) {
        throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
    }
    return {
        enabled: cdktf.booleanToTerraform(struct.enabled),
    };
}
export class DynamodbTablePointInTimeRecoveryOutputReference extends cdktf.ComplexObject {
    isEmptyObject = false;
    /**
    * @param terraformResource The parent resource
    * @param terraformAttribute The attribute on the parent resource this class is referencing
    * @param isSingleItem True if this is a block, false if it's a list
    */
    constructor(terraformResource, terraformAttribute, isSingleItem) {
        super(terraformResource, terraformAttribute, isSingleItem);
    }
    get internalValue() {
        let hasAnyValues = this.isEmptyObject;
        const internalValueResult = {};
        if (this._enabled !== undefined) {
            hasAnyValues = true;
            internalValueResult.enabled = this._enabled;
        }
        return hasAnyValues ? internalValueResult : undefined;
    }
    set internalValue(value) {
        if (value === undefined) {
            this.isEmptyObject = false;
            this._enabled = undefined;
        }
        else {
            this.isEmptyObject = Object.keys(value).length === 0;
            this._enabled = value.enabled;
        }
    }
    // enabled - computed: false, optional: false, required: true
    _enabled;
    get enabled() {
        return this.getBooleanAttribute('enabled');
    }
    set enabled(value) {
        this._enabled = value;
    }
    // Temporarily expose input value. Use with caution.
    get enabledInput() {
        return this._enabled;
    }
}
export function dynamodbTableReplicaToTerraform(struct) {
    if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
        return struct;
    }
    if (cdktf.isComplexElement(struct)) {
        throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
    }
    return {
        kms_key_arn: cdktf.stringToTerraform(struct.kmsKeyArn),
        region_name: cdktf.stringToTerraform(struct.regionName),
    };
}
export function dynamodbTableServerSideEncryptionToTerraform(struct) {
    if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
        return struct;
    }
    if (cdktf.isComplexElement(struct)) {
        throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
    }
    return {
        enabled: cdktf.booleanToTerraform(struct.enabled),
        kms_key_arn: cdktf.stringToTerraform(struct.kmsKeyArn),
    };
}
export class DynamodbTableServerSideEncryptionOutputReference extends cdktf.ComplexObject {
    isEmptyObject = false;
    /**
    * @param terraformResource The parent resource
    * @param terraformAttribute The attribute on the parent resource this class is referencing
    * @param isSingleItem True if this is a block, false if it's a list
    */
    constructor(terraformResource, terraformAttribute, isSingleItem) {
        super(terraformResource, terraformAttribute, isSingleItem);
    }
    get internalValue() {
        let hasAnyValues = this.isEmptyObject;
        const internalValueResult = {};
        if (this._enabled !== undefined) {
            hasAnyValues = true;
            internalValueResult.enabled = this._enabled;
        }
        if (this._kmsKeyArn !== undefined) {
            hasAnyValues = true;
            internalValueResult.kmsKeyArn = this._kmsKeyArn;
        }
        return hasAnyValues ? internalValueResult : undefined;
    }
    set internalValue(value) {
        if (value === undefined) {
            this.isEmptyObject = false;
            this._enabled = undefined;
            this._kmsKeyArn = undefined;
        }
        else {
            this.isEmptyObject = Object.keys(value).length === 0;
            this._enabled = value.enabled;
            this._kmsKeyArn = value.kmsKeyArn;
        }
    }
    // enabled - computed: false, optional: false, required: true
    _enabled;
    get enabled() {
        return this.getBooleanAttribute('enabled');
    }
    set enabled(value) {
        this._enabled = value;
    }
    // Temporarily expose input value. Use with caution.
    get enabledInput() {
        return this._enabled;
    }
    // kms_key_arn - computed: true, optional: true, required: false
    _kmsKeyArn;
    get kmsKeyArn() {
        return this.getStringAttribute('kms_key_arn');
    }
    set kmsKeyArn(value) {
        this._kmsKeyArn = value;
    }
    resetKmsKeyArn() {
        this._kmsKeyArn = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get kmsKeyArnInput() {
        return this._kmsKeyArn;
    }
}
export function dynamodbTableTimeoutsToTerraform(struct) {
    if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
        return struct;
    }
    if (cdktf.isComplexElement(struct)) {
        throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
    }
    return {
        create: cdktf.stringToTerraform(struct.create),
        delete: cdktf.stringToTerraform(struct.delete),
        update: cdktf.stringToTerraform(struct.update),
    };
}
export class DynamodbTableTimeoutsOutputReference extends cdktf.ComplexObject {
    isEmptyObject = false;
    /**
    * @param terraformResource The parent resource
    * @param terraformAttribute The attribute on the parent resource this class is referencing
    * @param isSingleItem True if this is a block, false if it's a list
    */
    constructor(terraformResource, terraformAttribute, isSingleItem) {
        super(terraformResource, terraformAttribute, isSingleItem);
    }
    get internalValue() {
        let hasAnyValues = this.isEmptyObject;
        const internalValueResult = {};
        if (this._create !== undefined) {
            hasAnyValues = true;
            internalValueResult.create = this._create;
        }
        if (this._delete !== undefined) {
            hasAnyValues = true;
            internalValueResult.delete = this._delete;
        }
        if (this._update !== undefined) {
            hasAnyValues = true;
            internalValueResult.update = this._update;
        }
        return hasAnyValues ? internalValueResult : undefined;
    }
    set internalValue(value) {
        if (value === undefined) {
            this.isEmptyObject = false;
            this._create = undefined;
            this._delete = undefined;
            this._update = undefined;
        }
        else {
            this.isEmptyObject = Object.keys(value).length === 0;
            this._create = value.create;
            this._delete = value.delete;
            this._update = value.update;
        }
    }
    // create - computed: false, optional: true, required: false
    _create;
    get create() {
        return this.getStringAttribute('create');
    }
    set create(value) {
        this._create = value;
    }
    resetCreate() {
        this._create = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get createInput() {
        return this._create;
    }
    // delete - computed: false, optional: true, required: false
    _delete;
    get delete() {
        return this.getStringAttribute('delete');
    }
    set delete(value) {
        this._delete = value;
    }
    resetDelete() {
        this._delete = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get deleteInput() {
        return this._delete;
    }
    // update - computed: false, optional: true, required: false
    _update;
    get update() {
        return this.getStringAttribute('update');
    }
    set update(value) {
        this._update = value;
    }
    resetUpdate() {
        this._update = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get updateInput() {
        return this._update;
    }
}
export function dynamodbTableTtlToTerraform(struct) {
    if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
        return struct;
    }
    if (cdktf.isComplexElement(struct)) {
        throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
    }
    return {
        attribute_name: cdktf.stringToTerraform(struct.attributeName),
        enabled: cdktf.booleanToTerraform(struct.enabled),
    };
}
export class DynamodbTableTtlOutputReference extends cdktf.ComplexObject {
    isEmptyObject = false;
    /**
    * @param terraformResource The parent resource
    * @param terraformAttribute The attribute on the parent resource this class is referencing
    * @param isSingleItem True if this is a block, false if it's a list
    */
    constructor(terraformResource, terraformAttribute, isSingleItem) {
        super(terraformResource, terraformAttribute, isSingleItem);
    }
    get internalValue() {
        let hasAnyValues = this.isEmptyObject;
        const internalValueResult = {};
        if (this._attributeName !== undefined) {
            hasAnyValues = true;
            internalValueResult.attributeName = this._attributeName;
        }
        if (this._enabled !== undefined) {
            hasAnyValues = true;
            internalValueResult.enabled = this._enabled;
        }
        return hasAnyValues ? internalValueResult : undefined;
    }
    set internalValue(value) {
        if (value === undefined) {
            this.isEmptyObject = false;
            this._attributeName = undefined;
            this._enabled = undefined;
        }
        else {
            this.isEmptyObject = Object.keys(value).length === 0;
            this._attributeName = value.attributeName;
            this._enabled = value.enabled;
        }
    }
    // attribute_name - computed: false, optional: false, required: true
    _attributeName;
    get attributeName() {
        return this.getStringAttribute('attribute_name');
    }
    set attributeName(value) {
        this._attributeName = value;
    }
    // Temporarily expose input value. Use with caution.
    get attributeNameInput() {
        return this._attributeName;
    }
    // enabled - computed: false, optional: true, required: false
    _enabled;
    get enabled() {
        return this.getBooleanAttribute('enabled');
    }
    set enabled(value) {
        this._enabled = value;
    }
    resetEnabled() {
        this._enabled = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get enabledInput() {
        return this._enabled;
    }
}
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/dynamodb_table aws_dynamodb_table}
*/
export class DynamodbTable extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_dynamodb_table";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/dynamodb_table aws_dynamodb_table} 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 DynamodbTableConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_dynamodb_table',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._billingMode = config.billingMode;
        this._hashKey = config.hashKey;
        this._name = config.name;
        this._rangeKey = config.rangeKey;
        this._readCapacity = config.readCapacity;
        this._restoreDateTime = config.restoreDateTime;
        this._restoreSourceName = config.restoreSourceName;
        this._restoreToLatestTime = config.restoreToLatestTime;
        this._streamEnabled = config.streamEnabled;
        this._streamViewType = config.streamViewType;
        this._tableClass = config.tableClass;
        this._tags = config.tags;
        this._tagsAll = config.tagsAll;
        this._writeCapacity = config.writeCapacity;
        this._attribute = config.attribute;
        this._globalSecondaryIndex = config.globalSecondaryIndex;
        this._localSecondaryIndex = config.localSecondaryIndex;
        this._pointInTimeRecovery.internalValue = config.pointInTimeRecovery;
        this._replica = config.replica;
        this._serverSideEncryption.internalValue = config.serverSideEncryption;
        this._timeouts.internalValue = config.timeouts;
        this._ttl.internalValue = config.ttl;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // arn - computed: true, optional: false, required: false
    get arn() {
        return this.getStringAttribute('arn');
    }
    // billing_mode - computed: false, optional: true, required: false
    _billingMode;
    get billingMode() {
        return this.getStringAttribute('billing_mode');
    }
    set billingMode(value) {
        this._billingMode = value;
    }
    resetBillingMode() {
        this._billingMode = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get billingModeInput() {
        return this._billingMode;
    }
    // hash_key - computed: true, optional: true, required: false
    _hashKey;
    get hashKey() {
        return this.getStringAttribute('hash_key');
    }
    set hashKey(value) {
        this._hashKey = value;
    }
    resetHashKey() {
        this._hashKey = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get hashKeyInput() {
        return this._hashKey;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // 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;
    }
    // range_key - computed: false, optional: true, required: false
    _rangeKey;
    get rangeKey() {
        return this.getStringAttribute('range_key');
    }
    set rangeKey(value) {
        this._rangeKey = value;
    }
    resetRangeKey() {
        this._rangeKey = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get rangeKeyInput() {
        return this._rangeKey;
    }
    // read_capacity - computed: true, optional: true, required: false
    _readCapacity;
    get readCapacity() {
        return this.getNumberAttribute('read_capacity');
    }
    set readCapacity(value) {
        this._readCapacity = value;
    }
    resetReadCapacity() {
        this._readCapacity = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get readCapacityInput() {
        return this._readCapacity;
    }
    // restore_date_time - computed: false, optional: true, required: false
    _restoreDateTime;
    get restoreDateTime() {
        return this.getStringAttribute('restore_date_time');
    }
    set restoreDateTime(value) {
        this._restoreDateTime = value;
    }
    resetRestoreDateTime() {
        this._restoreDateTime = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get restoreDateTimeInput() {
        return this._restoreDateTime;
    }
    // restore_source_name - computed: false, optional: true, required: false
    _restoreSourceName;
    get restoreSourceName() {
        return this.getStringAttribute('restore_source_name');
    }
    set restoreSourceName(value) {
        this._restoreSourceName = value;
    }
    resetRestoreSourceName() {
        this._restoreSourceName = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get restoreSourceNameInput() {
        return this._restoreSourceName;
    }
    // restore_to_latest_time - computed: false, optional: true, required: false
    _restoreToLatestTime;
    get restoreToLatestTime() {
        return this.getBooleanAttribute('restore_to_latest_time');
    }
    set restoreToLatestTime(value) {
        this._restoreToLatestTime = value;
    }
    resetRestoreToLatestTime() {
        this._restoreToLatestTime = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get restoreToLatestTimeInput() {
        return this._restoreToLatestTime;
    }
    // stream_arn - computed: true, optional: false, required: false
    get streamArn() {
        return this.getStringAttribute('stream_arn');
    }
    // stream_enabled - computed: false, optional: true, required: false
    _streamEnabled;
    get streamEnabled() {
        return this.getBooleanAttribute('stream_enabled');
    }
    set streamEnabled(value) {
        this._streamEnabled = value;
    }
    resetStreamEnabled() {
        this._streamEnabled = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get streamEnabledInput() {
        return this._streamEnabled;
    }
    // stream_label - computed: true, optional: false, required: false
    get streamLabel() {
        return this.getStringAttribute('stream_label');
    }
    // stream_view_type - computed: true, optional: true, required: false
    _streamViewType;
    get streamViewType() {
        return this.getStringAttribute('stream_view_type');
    }
    set streamViewType(value) {
        this._streamViewType = value;
    }
    resetStreamViewType() {
        this._streamViewType = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get streamViewTypeInput() {
        return this._streamViewType;
    }
    // table_class - computed: false, optional: true, required: false
    _tableClass;
    get tableClass() {
        return this.getStringAttribute('table_class');
    }
    set tableClass(value) {
        this._tableClass = value;
    }
    resetTableClass() {
        this._tableClass = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get tableClassInput() {
        return this._tableClass;
    }
    // tags - computed: false, optional: true, required: false
    _tags;
    get tags() {
        return this.getStringMapAttribute('tags');
    }
    set tags(value) {
        this._tags = value;
    }
    resetTags() {
        this._tags = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get tagsInput() {
        return this._tags;
    }
    // tags_all - computed: true, optional: true, required: false
    _tagsAll;
    get tagsAll() {
        return this.getStringMapAttribute('tags_all');
    }
    set tagsAll(value) {
        this._tagsAll = value;
    }
    resetTagsAll() {
        this._tagsAll = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get tagsAllInput() {
        return this._tagsAll;
    }
    // write_capacity - computed: true, optional: true, required: false
    _writeCapacity;
    get writeCapacity() {
        return this.getNumberAttribute('write_capacity');
    }
    set writeCapacity(value) {
        this._writeCapacity = value;
    }
    resetWriteCapacity() {
        this._writeCapacity = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get writeCapacityInput() {
        return this._writeCapacity;
    }
    // attribute - computed: false, optional: true, required: false
    _attribute;
    get attribute() {
        // Getting the computed value is not yet implemented
        return cdktf.Token.asAny(cdktf.Fn.tolist(this.interpolationForAttribute('attribute')));
    }
    set attribute(value) {
        this._attribute = value;
    }
    resetAttribute() {
        this._attribute = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get attributeInput() {
        return this._attribute;
    }
    // global_secondary_index - computed: false, optional: true, required: false
    _globalSecondaryIndex;
    get globalSecondaryIndex() {
        // Getting the computed value is not yet implemented
        return cdktf.Token.asAny(cdktf.Fn.tolist(this.interpolationForAttribute('global_secondary_index')));
    }
    set globalSecondaryIndex(value) {
        this._globalSecondaryIndex = value;
    }
    resetGlobalSecondaryIndex() {
        this._globalSecondaryIndex = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get globalSecondaryIndexInput() {
        return this._globalSecondaryIndex;
    }
    // local_secondary_index - computed: false, optional: true, required: false
    _localSecondaryIndex;
    get localSecondaryIndex() {
        // Getting the computed value is not yet implemented
        return cdktf.Token.asAny(cdktf.Fn.tolist(this.interpolationForAttribute('local_secondary_index')));
    }
    set localSecondaryIndex(value) {
        this._localSecondaryIndex = value;
    }
    resetLocalSecondaryIndex() {
        this._localSecondaryIndex = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get localSecondaryIndexInput() {
        return this._localSecondaryIndex;
    }
    // point_in_time_recovery - computed: false, optional: true, required: false
    _pointInTimeRecovery = new DynamodbTablePointInTimeRecoveryOutputReference(this, "point_in_time_recovery", true);
    get pointInTimeRecovery() {
        return this._pointInTimeRecovery;
    }
    putPointInTimeRecovery(value) {
        this._pointInTimeRecovery.internalValue = value;
    }
    resetPointInTimeRecovery() {
        this._pointInTimeRecovery.internalValue = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get pointInTimeRecoveryInput() {
        return this._pointInTimeRecovery.internalValue;
    }
    // replica - computed: false, optional: true, required: false
    _replica;
    get replica() {
        // Getting the computed value is not yet implemented
        return cdktf.Token.asAny(cdktf.Fn.tolist(this.interpolationForAttribute('replica')));
    }
    set replica(value) {
        this._replica = value;
    }
    resetReplica() {
        this._replica = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get replicaInput() {
        return this._replica;
    }
    // server_side_encryption - computed: false, optional: true, required: false
    _serverSideEncryption = new DynamodbTableServerSideEncryptionOutputReference(this, "server_side_encryption", true);
    get serverSideEncryption() {
        return this._serverSideEncryption;
    }
    putServerSideEncryption(value) {
        this._serverSideEncryption.internalValue = value;
    }
    resetServerSideEncryption() {
        this._serverSideEncryption.internalValue = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get serverSideEncryptionInput() {
        return this._serverSideEncryption.internalValue;
    }
    // timeouts - computed: false, optional: true, required: false
    _timeouts = new DynamodbTableTimeoutsOutputReference(this, "timeouts", true);
    get timeouts() {
        return this._timeouts;
    }
    putTimeouts(value) {
        this._timeouts.internalValue = value;
    }
    resetTimeouts() {
        this._timeouts.internalValue = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get timeoutsInput() {
        return this._timeouts.internalValue;
    }
    // ttl - computed: false, optional: true, required: false
    _ttl = new DynamodbTableTtlOutputReference(this, "ttl", true);
    get ttl() {
        return this._ttl;
    }
    putTtl(value) {
        this._ttl.internalValue = value;
    }
    resetTtl() {
        this._ttl.internalValue = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get ttlInput() {
        return this._ttl.internalValue;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            billing_mode: cdktf.stringToTerraform(this._billingMode),
            hash_key: cdktf.stringToTerraform(this._hashKey),
            name: cdktf.stringToTerraform(this._name),
            range_key: cdktf.stringToTerraform(this._rangeKey),
            read_capacity: cdktf.numberToTerraform(this._readCapacity),
            restore_date_time: cdktf.stringToTerraform(this._restoreDateTime),
            restore_source_name: cdktf.stringToTerraform(this._restoreSourceName),
            restore_to_latest_time: cdktf.booleanToTerraform(this._restoreToLatestTime),
            stream_enabled: cdktf.booleanToTerraform(this._streamEnabled),
            stream_view_type: cdktf.stringToTerraform(this._streamViewType),
            table_class: cdktf.stringToTerraform(this._tableClass),
            tags: cdktf.hashMapper(cdktf.stringToTerraform)(this._tags),
            tags_all: cdktf.hashMapper(cdktf.stringToTerraform)(this._tagsAll),
            write_capacity: cdktf.numberToTerraform(this._writeCapacity),
            attribute: cdktf.listMapper(dynamodbTableAttributeToTerraform)(this._attribute),
            global_secondary_index: cdktf.listMapper(dynamodbTableGlobalSecondaryIndexToTerraform)(this._globalSecondaryIndex),
            local_secondary_index: cdktf.listMapper(dynamodbTableLocalSecondaryIndexToTerraform)(this._localSecondaryIndex),
            point_in_time_recovery: dynamodbTablePointInTimeRecoveryToTerraform(this._pointInTimeRecovery.internalValue),
            replica: cdktf.listMapper(dynamodbTableReplicaToTerraform)(this._replica),
            server_side_encryption: dynamodbTableServerSideEncryptionToTerraform(this._serverSideEncryption.internalValue),
            timeouts: dynamodbTableTimeoutsToTerraform(this._timeouts.internalValue),
            ttl: dynamodbTableTtlToTerraform(this._ttl.internalValue),
        };
    }
}
//# sourceMappingURL=dynamodb-table.js.map