Skip to content
v2.278.0

EndpointReference ​

Struct External

A reference to a Endpoint resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_events as interfaces_events } from 'aws-cdk-lib/interfaces';
const endpointReference: interfaces_events.EndpointReference = {
  endpointArn: 'endpointArn',
  endpointName: 'endpointName',
};
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_events as interfaces_events

endpoint_reference = interfaces_events.EndpointReference(
    endpoint_arn="endpointArn",
    endpoint_name="endpointName"
)
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.events.*;

EndpointReference endpointReference = EndpointReference.builder()
        .endpointArn("endpointArn")
        .endpointName("endpointName")
        .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.Events;

var endpointReference = new EndpointReference {
    EndpointArn = "endpointArn",
    EndpointName = "endpointName"
};
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"

endpointReference := &EndpointReference{
	EndpointArn: jsii.String("endpointArn"),
	EndpointName: jsii.String("endpointName"),
}

Properties ​

endpointArnstringendpoint_arnstrendpointArnStringEndpointArnstringEndpointArn*string required #
The ARN of the Endpoint resource.
endpointNamestringendpoint_namestrendpointNameStringEndpointNamestringEndpointName*string required #
The Name of the Endpoint resource.