# CfnDynamicReferenceProps

Properties for a Dynamic Reference.

- Source: [`core/lib/cfn-dynamic-reference.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/core/lib/cfn-dynamic-reference.ts#L6)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const cfnDynamicReferenceProps: cdk.CfnDynamicReferenceProps = {
  referenceKey: 'referenceKey',
  service: cdk.CfnDynamicReferenceService.SSM,
};
```

## Properties

- `referenceKey`: string (required) — The reference key of the dynamic reference.

- `service`: [CfnDynamicReferenceService](/cdk/api/v2/docs/aws-cdk-lib.CfnDynamicReferenceService.html) (required) — The service to retrieve the dynamic reference from.
