# InstanceConnectEndpointDnsNamesProperty

The DNS names of the endpoint.

- Source: Generated at build time
- Type last changed: v2.245.0 · 27 Mar 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const instanceConnectEndpointDnsNamesProperty: ec2.CfnInstanceConnectEndpoint.InstanceConnectEndpointDnsNamesProperty = {
  dnsName: 'dnsName',
  fipsDnsName: 'fipsDnsName',
};
```

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_ec2 as ec2

instance_connect_endpoint_dns_names_property = ec2.CfnInstanceConnectEndpoint.InstanceConnectEndpointDnsNamesProperty(
    dns_name="dnsName",
    fips_dns_name="fipsDnsName"
)
```

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.ec2.*;

InstanceConnectEndpointDnsNamesProperty instanceConnectEndpointDnsNamesProperty = InstanceConnectEndpointDnsNamesProperty.builder()
        .dnsName("dnsName")
        .fipsDnsName("fipsDnsName")
        .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.EC2;

var instanceConnectEndpointDnsNamesProperty = new InstanceConnectEndpointDnsNamesProperty {
    DnsName = "dnsName",
    FipsDnsName = "fipsDnsName"
};
```

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"

instanceConnectEndpointDnsNamesProperty := &InstanceConnectEndpointDnsNamesProperty{
	DnsName: jsii.String("dnsName"),
	FipsDnsName: jsii.String("fipsDnsName"),
}
```

## Properties

- `dnsName`: string — The DNS name of the EC2 Instance Connect Endpoint.

- `fipsDnsName`: string — The Federal Information Processing Standards (FIPS) compliant DNS name of the EC2 Instance Connect Endpoint.
