# ReferenceProperty

Information about the reference when the `referenceType` is `URL` .

Otherwise, null. (Supports variable injection in the `Value` field.)

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const referenceProperty: connect.CfnRule.ReferenceProperty = {
  type: 'type',
  value: 'value',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_connect as connect

reference_property = connect.CfnRule.ReferenceProperty(
    type="type",
    value="value"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.connect.*;

ReferenceProperty referenceProperty = ReferenceProperty.builder()
        .type("type")
        .value("value")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Connect;

var referenceProperty = new ReferenceProperty {
    Type = "type",
    Value = "value"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

referenceProperty := &ReferenceProperty{
	Type: jsii.String("type"),
	Value: jsii.String("value"),
}
```

## Properties

- `type`: string (required) — The type of the reference. `DATE` must be of type Epoch timestamp.

  *Allowed values* : `URL` | `ATTACHMENT` | `NUMBER` | `STRING` | `DATE` | `EMAIL`

- `value`: string (required) — A valid value for the reference.

  For example, for a URL reference, a formatted URL that is displayed to an agent in the Contact Control Panel (CCP).
