Skip to content
v2.277.0

EndpointReference Struct ​

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_sagemaker as interfaces_sagemaker } from 'aws-cdk-lib/interfaces';
const endpointReference: interfaces_sagemaker.EndpointReference = {
  endpointArn: 'endpointArn',
};
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_sagemaker as interfaces_sagemaker

endpoint_reference = interfaces_sagemaker.EndpointReference(
    endpoint_arn="endpointArn"
)
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.sagemaker.*;

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

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

Properties ​

endpointArnstringendpoint_arnstrendpointArnStringEndpointArnstringEndpointArn*string required #
The EndpointArn of the Endpoint resource.