Skip to content
v2.274.0

Experimental

@aws-cdk/aws-neptune-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

Endpoint Class ​

Connection endpoint of a neptune cluster or instance.

Consists of a combination of hostname and port.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as neptune_alpha from '@aws-cdk/aws-neptune-alpha';
const endpoint = new neptune_alpha.Endpoint('address', 123);
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_neptune_alpha as neptune_alpha

endpoint = neptune_alpha.Endpoint("address", 123)
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.neptune.alpha.*;

Endpoint endpoint = new Endpoint("address", 123);
csharp
// Install: dotnet add package Amazon.CDK.AWS.Neptune.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Neptune.Alpha;

var endpoint = new Endpoint("address", 123);
go
// Install: go get github.com/aws/aws-cdk-go/awscdkneptunealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import neptune_alpha "github.com/aws/aws-cdk-go/awscdkneptunealpha"

endpoint := neptune_alpha.NewEndpoint(jsii.String("address"), jsii.Number(123))

Initializer ​

ts
new Endpoint(address: string, port: number)
python
Endpoint(address: str, port: int | float)
java
new Endpoint(String address, Number port)
csharp
new Endpoint(string address, double port)
go
NewEndpoint(Address *string, Port *float64)

Properties ​

hostnamestringhostnamestrhostnameStringHostnamestringHostname*stringrequired#
The hostname of the endpoint.
portnumberportint | floatportNumberPortdoublePort*float64required#
The port of the endpoint.
socketAddressstringsocket_addressstrsocketAddressStringSocketAddressstringSocketAddress*stringrequired#
The combination of "HOSTNAME:PORT" for this endpoint.