interface TargetAddressProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Route53Resolver.Mixins.CfnResolverRulePropsMixin.TargetAddressProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsroute53resolver/mixins#CfnResolverRulePropsMixin_TargetAddressProperty |
Java | software.amazon.awscdk.mixins.preview.services.route53resolver.mixins.CfnResolverRulePropsMixin.TargetAddressProperty |
Python | aws_cdk.mixins_preview.aws_route53resolver.mixins.CfnResolverRulePropsMixin.TargetAddressProperty |
TypeScript | @aws-cdk/mixins-preview » aws_route53resolver » mixins » CfnResolverRulePropsMixin » TargetAddressProperty |
In a CreateResolverRule request, an array of the IPs that you want to forward DNS queries to.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as route53resolver_mixins } from '@aws-cdk/mixins-preview/aws-route53resolver';
const targetAddressProperty: route53resolver_mixins.CfnResolverRulePropsMixin.TargetAddressProperty = {
ip: 'ip',
ipv6: 'ipv6',
port: 'port',
protocol: 'protocol',
serverNameIndication: 'serverNameIndication',
};
Properties
| Name | Type | Description |
|---|---|---|
| ip? | string | One IPv4 address that you want to forward DNS queries to. |
| ipv6? | string | One IPv6 address that you want to forward DNS queries to. |
| port? | string | The port at Ip that you want to forward DNS queries to. |
| protocol? | string | The protocols for the target address. |
| server | string | The Server Name Indication of the DoH server that you want to forward queries to. |
ip?
Type:
string
(optional)
One IPv4 address that you want to forward DNS queries to.
ipv6?
Type:
string
(optional)
One IPv6 address that you want to forward DNS queries to.
port?
Type:
string
(optional)
The port at Ip that you want to forward DNS queries to.
protocol?
Type:
string
(optional)
The protocols for the target address.
The protocol you choose needs to be supported by the outbound endpoint of the Resolver rule.
serverNameIndication?
Type:
string
(optional)
The Server Name Indication of the DoH server that you want to forward queries to.
This is only used if the Protocol of the TargetAddress is DoH .

.NET
Go
Java
Python
TypeScript