# ConnectionFunctionReference

A reference to a ConnectionFunction resource.

- Source: Generated at build time
- Type last changed: v2.227.0 · 21 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudfront as interfaces_cloudfront } from 'aws-cdk-lib/interfaces';
const connectionFunctionReference: interfaces_cloudfront.ConnectionFunctionReference = {
  connectionFunctionArn: 'connectionFunctionArn',
  connectionFunctionId: 'connectionFunctionId',
};
```

Python:

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

connection_function_reference = interfaces_cloudfront.ConnectionFunctionReference(
    connection_function_arn="connectionFunctionArn",
    connection_function_id="connectionFunctionId"
)
```

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.interfaces.cloudfront.*;

ConnectionFunctionReference connectionFunctionReference = ConnectionFunctionReference.builder()
        .connectionFunctionArn("connectionFunctionArn")
        .connectionFunctionId("connectionFunctionId")
        .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.Interfaces.CloudFront;

var connectionFunctionReference = new ConnectionFunctionReference {
    ConnectionFunctionArn = "connectionFunctionArn",
    ConnectionFunctionId = "connectionFunctionId"
};
```

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"

connectionFunctionReference := &ConnectionFunctionReference{
	ConnectionFunctionArn: jsii.String("connectionFunctionArn"),
	ConnectionFunctionId: jsii.String("connectionFunctionId"),
}
```

## Properties

- `connectionFunctionArn`: string (required) — The ARN of the ConnectionFunction resource.

- `connectionFunctionId`: string (required) — The Id of the ConnectionFunction resource.
