> **Experimental**
>
> `@aws-cdk/aws-gamelift-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# IPeer

Interface for classes that provide the peer-specification parts of an inbound permission.

Obtainable from: [Peer.anyIpv4](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-gamelift-alpha.Peer.html#anyipv4), [Peer.ipv4](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-gamelift-alpha.Peer.html#ipv4)
Used as argument in: [BuildFleet.addIngressRule](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-gamelift-alpha.BuildFleet.html#addingressrule)

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/ingress-rule.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-gamelift-alpha/lib/ingress-rule.ts#L127)

## Properties

- `uniqueId`: string — A unique identifier for this connection peer.

## Methods

- `toJson(): any` — Produce the ingress rule JSON for the given connection.
