Skip to content
v2.277.0

ConnectionFunctionReference Struct ​

A reference to a ConnectionFunction resource.

Example ​

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
# 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
// 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();
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"
};
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 ​

connectionFunctionArnstringconnection_function_arnstrconnectionFunctionArnStringConnectionFunctionArnstringConnectionFunctionArn*string required #
The ARN of the ConnectionFunction resource.
connectionFunctionIdstringconnection_function_idstrconnectionFunctionIdStringConnectionFunctionIdstringConnectionFunctionId*string required #
The Id of the ConnectionFunction resource.