# ServiceReference

A reference to a Service resource.

- Source: Generated code
- Type last changed: v2.249.0 · 13 Apr 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsagent as interfaces_devopsagent } from 'aws-cdk-lib/interfaces';
const serviceReference: interfaces_devopsagent.ServiceReference = {
  serviceArn: 'serviceArn',
  serviceId: 'serviceId',
};
```

## Properties

- `serviceArn`: string (required) — The ARN of the Service resource.

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