Skip to content
v2.278.0

InstanceConnectEndpointDnsNamesProperty Struct ​

The DNS names of the endpoint.

Example ​

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
# 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
// 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();
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"
};
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 ​

dnsNameoptionalstringdns_nameoptionalstrdnsNameoptionalStringDnsNameoptionalstringDnsNameoptional*string #
The DNS name of the EC2 Instance Connect Endpoint.
fipsDnsNameoptionalstringfips_dns_nameoptionalstrfipsDnsNameoptionalStringFipsDnsNameoptionalstringFipsDnsNameoptional*string #
The Federal Information Processing Standards (FIPS) compliant DNS name of the EC2 Instance Connect Endpoint.