Skip to content
v2.278.0

EndpointProperty Struct ​

Represents the information required for client programs to connect to a cache node.

This value is read-only.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticache as elasticache } from 'aws-cdk-lib';
const endpointProperty: elasticache.CfnServerlessCache.EndpointProperty = {
  address: 'address',
  port: 'port',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_elasticache as elasticache

endpoint_property = elasticache.CfnServerlessCache.EndpointProperty(
    address="address",
    port="port"
)
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.elasticache.*;

EndpointProperty endpointProperty = EndpointProperty.builder()
        .address("address")
        .port("port")
        .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.AWS.ElastiCache;

var endpointProperty = new EndpointProperty {
    Address = "address",
    Port = "port"
};
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"

endpointProperty := &EndpointProperty{
	Address: jsii.String("address"),
	Port: jsii.String("port"),
}

Properties ​

addressoptionalstringaddressoptionalstraddressoptionalStringAddressoptionalstringAddressoptional*string #
The DNS hostname of the cache node.
portoptionalstringportoptionalstrportoptionalStringPortoptionalstringPortoptional*string #
The port number that the cache engine is listening on.