ReferenceProperty Struct
Information about the reference when the referenceType is URL .
Otherwise, null. (Supports variable injection in the Value field.)
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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"
};
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
The type of the reference. `DATE` must be of type Epoch timestamp.
Allowed values : URL | ATTACHMENT | NUMBER | STRING | DATE | EMAIL
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).