interface DnsOptionsSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnVPCEndpointPropsMixin.DnsOptionsSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnVPCEndpointPropsMixin_DnsOptionsSpecificationProperty |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnVPCEndpointPropsMixin.DnsOptionsSpecificationProperty |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnVPCEndpointPropsMixin.DnsOptionsSpecificationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnVPCEndpointPropsMixin » DnsOptionsSpecificationProperty |
Describes the DNS options for an endpoint.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const dnsOptionsSpecificationProperty: ec2_mixins.CfnVPCEndpointPropsMixin.DnsOptionsSpecificationProperty = {
dnsRecordIpType: 'dnsRecordIpType',
privateDnsOnlyForInboundResolverEndpoint: 'privateDnsOnlyForInboundResolverEndpoint',
privateDnsPreference: 'privateDnsPreference',
privateDnsSpecifiedDomains: ['privateDnsSpecifiedDomains'],
};
Properties
| Name | Type | Description |
|---|---|---|
| dns | string | The DNS records created for the endpoint. |
| private | string | Indicates whether to enable private DNS only for inbound endpoints. |
| private | string | The preference for which private domains have a private hosted zone created for and associated with the specified VPC. |
| private | string[] | Indicates which of the private domains to create private hosted zones for and associate with the specified VPC. |
dnsRecordIpType?
Type:
string
(optional)
The DNS records created for the endpoint.
privateDnsOnlyForInboundResolverEndpoint?
Type:
string
(optional)
Indicates whether to enable private DNS only for inbound endpoints.
This option is available only for services that support both gateway and interface endpoints. It routes traffic that originates from the VPC to the gateway endpoint and traffic that originates from on-premises to the interface endpoint.
privateDnsPreference?
Type:
string
(optional)
The preference for which private domains have a private hosted zone created for and associated with the specified VPC.
Only supported when private DNS is enabled and when the VPC endpoint type is ServiceNetwork or Resource.
privateDnsSpecifiedDomains?
Type:
string[]
(optional)
Indicates which of the private domains to create private hosted zones for and associate with the specified VPC.
Only supported when private DNS is enabled and the private DNS preference is VERIFIED_DOMAINS_AND_SPECIFIED_DOMAINS or SPECIFIED_DOMAINS_ONLY .

.NET
Go
Java
Python
TypeScript