// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/vpc_endpoint_connection_notification aws_vpc_endpoint_connection_notification}
*/
export class VpcEndpointConnectionNotification extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_vpc_endpoint_connection_notification";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/vpc_endpoint_connection_notification aws_vpc_endpoint_connection_notification} 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 VpcEndpointConnectionNotificationConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_vpc_endpoint_connection_notification',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._connectionEvents = config.connectionEvents;
        this._connectionNotificationArn = config.connectionNotificationArn;
        this._vpcEndpointId = config.vpcEndpointId;
        this._vpcEndpointServiceId = config.vpcEndpointServiceId;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // connection_events - computed: false, optional: false, required: true
    _connectionEvents;
    get connectionEvents() {
        return cdktf.Fn.tolist(this.getListAttribute('connection_events'));
    }
    set connectionEvents(value) {
        this._connectionEvents = value;
    }
    // Temporarily expose input value. Use with caution.
    get connectionEventsInput() {
        return this._connectionEvents;
    }
    // connection_notification_arn - computed: false, optional: false, required: true
    _connectionNotificationArn;
    get connectionNotificationArn() {
        return this.getStringAttribute('connection_notification_arn');
    }
    set connectionNotificationArn(value) {
        this._connectionNotificationArn = value;
    }
    // Temporarily expose input value. Use with caution.
    get connectionNotificationArnInput() {
        return this._connectionNotificationArn;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // notification_type - computed: true, optional: false, required: false
    get notificationType() {
        return this.getStringAttribute('notification_type');
    }
    // state - computed: true, optional: false, required: false
    get state() {
        return this.getStringAttribute('state');
    }
    // vpc_endpoint_id - computed: false, optional: true, required: false
    _vpcEndpointId;
    get vpcEndpointId() {
        return this.getStringAttribute('vpc_endpoint_id');
    }
    set vpcEndpointId(value) {
        this._vpcEndpointId = value;
    }
    resetVpcEndpointId() {
        this._vpcEndpointId = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get vpcEndpointIdInput() {
        return this._vpcEndpointId;
    }
    // vpc_endpoint_service_id - computed: false, optional: true, required: false
    _vpcEndpointServiceId;
    get vpcEndpointServiceId() {
        return this.getStringAttribute('vpc_endpoint_service_id');
    }
    set vpcEndpointServiceId(value) {
        this._vpcEndpointServiceId = value;
    }
    resetVpcEndpointServiceId() {
        this._vpcEndpointServiceId = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get vpcEndpointServiceIdInput() {
        return this._vpcEndpointServiceId;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            connection_events: cdktf.listMapper(cdktf.stringToTerraform)(this._connectionEvents),
            connection_notification_arn: cdktf.stringToTerraform(this._connectionNotificationArn),
            vpc_endpoint_id: cdktf.stringToTerraform(this._vpcEndpointId),
            vpc_endpoint_service_id: cdktf.stringToTerraform(this._vpcEndpointServiceId),
        };
    }
}
//# sourceMappingURL=vpc-endpoint-connection-notification.js.map