interface TargetAddressProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Route53Resolver.CfnResolverRule.TargetAddressProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsroute53resolver#CfnResolverRule_TargetAddressProperty |
Java | software.amazon.awscdk.services.route53resolver.CfnResolverRule.TargetAddressProperty |
Python | aws_cdk.aws_route53resolver.CfnResolverRule.TargetAddressProperty |
TypeScript | aws-cdk-lib » aws_route53resolver » CfnResolverRule » 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 { aws_route53resolver as route53resolver } from 'aws-cdk-lib';
const targetAddressProperty: route53resolver.CfnResolverRule.TargetAddressProperty = {
ip: 'ip',
ipv6: 'ipv6',
port: 'port',
protocol: 'protocol',
};
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 Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only. |
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 Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only.
For an inbound endpoint you can apply the protocols as follows:
- Do53 and DoH in combination.
- Do53 and DoH-FIPS in combination.
- Do53 alone.
- DoH alone.
- DoH-FIPS alone.
- None, which is treated as Do53.
For an outbound endpoint you can apply the protocols as follows:
- Do53 and DoH in combination.
- Do53 alone.
- DoH alone.
- None, which is treated as Do53.