# InstanceReference

A reference to a Instance resource.

- Source: Generated code
- Type last changed: v2.272.0 · 30 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_servicediscovery as interfaces_servicediscovery } from 'aws-cdk-lib/interfaces';
const instanceReference: interfaces_servicediscovery.InstanceReference = {
  instanceId: 'instanceId',
  serviceId: 'serviceId',
};
```

## Properties

- `instanceId`: string (required) — The InstanceId of the Instance resource.

- `serviceId`: string (required) — The ServiceId of the Instance resource.
