InstanceConnectEndpointPublicDnsNamesProperty Struct
The public DNS names of the endpoint, including IPv4-only and dualstack DNS names.
| Source | |
|---|---|
| Type last changed |
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 instanceConnectEndpointPublicDnsNamesProperty: ec2.CfnInstanceConnectEndpoint.InstanceConnectEndpointPublicDnsNamesProperty = {
dualstack: {
dnsName: 'dnsName',
fipsDnsName: 'fipsDnsName',
},
ipv4: {
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_public_dns_names_property = ec2.CfnInstanceConnectEndpoint.InstanceConnectEndpointPublicDnsNamesProperty(
dualstack=ec2.CfnInstanceConnectEndpoint.InstanceConnectEndpointDnsNamesProperty(
dns_name="dnsName",
fips_dns_name="fipsDnsName"
),
ipv4=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.*;
InstanceConnectEndpointPublicDnsNamesProperty instanceConnectEndpointPublicDnsNamesProperty = InstanceConnectEndpointPublicDnsNamesProperty.builder()
.dualstack(InstanceConnectEndpointDnsNamesProperty.builder()
.dnsName("dnsName")
.fipsDnsName("fipsDnsName")
.build())
.ipv4(InstanceConnectEndpointDnsNamesProperty.builder()
.dnsName("dnsName")
.fipsDnsName("fipsDnsName")
.build())
.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 instanceConnectEndpointPublicDnsNamesProperty = new InstanceConnectEndpointPublicDnsNamesProperty {
Dualstack = new InstanceConnectEndpointDnsNamesProperty {
DnsName = "dnsName",
FipsDnsName = "fipsDnsName"
},
Ipv4 = 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"
instanceConnectEndpointPublicDnsNamesProperty := &InstanceConnectEndpointPublicDnsNamesProperty{
Dualstack: &InstanceConnectEndpointDnsNamesProperty{
DnsName: jsii.String("dnsName"),
FipsDnsName: jsii.String("fipsDnsName"),
},
Ipv4: &InstanceConnectEndpointDnsNamesProperty{
DnsName: jsii.String("dnsName"),
FipsDnsName: jsii.String("fipsDnsName"),
},
}
Properties
dualstackoptionalIResolvable | CfnInstanceConnectEndpoint.dualstackoptionaltyping.Union[IResolvable, InstanceConnectEndpointDnsNamesProperty]dualstackoptionalIResolvableDualstackoptionalIResolvableDualstackoptionalinterface{} #The DNS names of the endpoint.
ipv4optionalIResolvable | CfnInstanceConnectEndpoint.ipv4optionaltyping.Union[IResolvable, InstanceConnectEndpointDnsNamesProperty]ipv4optionalIResolvableIpv4optionalIResolvableIpv4optionalinterface{} #The DNS names of the endpoint.