# EndpointProperty

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

This value is read-only.

- Source: Generated at build time
- Type last changed: v2.124.0 · 26 Jan 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `address`: string — The DNS hostname of the cache node.

- `port`: string — The port number that the cache engine is listening on.
