// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/vpn_connection_route aws_vpn_connection_route}
*/
export class VpnConnectionRoute extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_vpn_connection_route";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/vpn_connection_route aws_vpn_connection_route} 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 VpnConnectionRouteConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_vpn_connection_route',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._destinationCidrBlock = config.destinationCidrBlock;
        this._vpnConnectionId = config.vpnConnectionId;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // destination_cidr_block - computed: false, optional: false, required: true
    _destinationCidrBlock;
    get destinationCidrBlock() {
        return this.getStringAttribute('destination_cidr_block');
    }
    set destinationCidrBlock(value) {
        this._destinationCidrBlock = value;
    }
    // Temporarily expose input value. Use with caution.
    get destinationCidrBlockInput() {
        return this._destinationCidrBlock;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // vpn_connection_id - computed: false, optional: false, required: true
    _vpnConnectionId;
    get vpnConnectionId() {
        return this.getStringAttribute('vpn_connection_id');
    }
    set vpnConnectionId(value) {
        this._vpnConnectionId = value;
    }
    // Temporarily expose input value. Use with caution.
    get vpnConnectionIdInput() {
        return this._vpnConnectionId;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            destination_cidr_block: cdktf.stringToTerraform(this._destinationCidrBlock),
            vpn_connection_id: cdktf.stringToTerraform(this._vpnConnectionId),
        };
    }
}
//# sourceMappingURL=vpn-connection-route.js.map