Destinations in Proxylity are where packets arriving at your Listeners are delivered. A Destination is associated with an AWS resource like a Lambda function, Firehose stream or SNS topic, and includes settings for how packets are delivered (batching and role).
The list of currently supported services is:
For complete details on all destination properties including MetricsEnabled, LogGroupName,
batching, roles, and multi-region configuration, see the Destination
CloudFormation Resource Reference.
Destinations can be configured with built-in observability features to help you monitor traffic, track errors, and troubleshoot issues:
MetricsEnabled)When you set MetricsEnabled: true on a destination, UDP Gateway publishes metrics to your AWS
account for that destination. These metrics include:
FilterExpression before delivery (via FilteredPackets and FilteredBytes)Use these metrics to create CloudWatch dashboards, set up alarms for anomaly detection, track usage patterns, and attribute costs in multi-tenant systems.
LogGroupName)Specify a LogGroupName to receive detailed error and warning messages in CloudWatch Logs. This is
particularly valuable for:
Log messages are intelligently deduplicated within short time windows, showing occurrence counts (e.g., [x12])
to prevent log flooding during widespread issues.
For more details on observability best practices, see our article on Building Observable UDP Infrastructure with CloudWatch.
Destinations support an optional FilterExpression that controls which packets are delivered.
The expression is a BREX expression evaluated against each inbound packet.
Only packets that produce a truthy value reach the destination — non-matching packets are silently
dropped and are not billed.
Filtering is especially powerful with composite destinations. A single listener can receive a heterogeneous packet stream and each destination can filter for its own subset of the traffic, enabling content-based routing without Lambda intermediaries.
When the parent listener is a WireGuard listener with DecapsulatedDelivery enabled, the
filter evaluates the decapsulated payload. Otherwise it evaluates the raw packet.
For the full property reference, see the Destination CloudFormation Resource Reference.
Ready-to-deploy example projects for Proxylity UDP Gateway are available in our examples repository on GitHub.
Other helpful information about destinations: