Interface CfnResolverRuleProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnResolverRuleProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-07-16T11:43:21.984Z") @Stability(Stable) public interface CfnResolverRuleProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnResolverRule.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.route53resolver.*;
 CfnResolverRuleProps cfnResolverRuleProps = CfnResolverRuleProps.builder()
         .ruleType("ruleType")
         // the properties below are optional
         .delegationRecord("delegationRecord")
         .domainName("domainName")
         .name("name")
         .resolverEndpointId("resolverEndpointId")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .targetIps(List.of(TargetAddressProperty.builder()
                 .ip("ip")
                 .ipv6("ipv6")
                 .port("port")
                 .protocol("protocol")
                 .serverNameIndication("serverNameIndication")
                 .build()))
         .build();
 

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for CfnResolverRuleProps
    static final class 
    An implementation for CfnResolverRuleProps
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default String
    DNS queries with delegation records that point to this domain name are forwarded to resolvers on your network.
    default String
    DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps .
    default String
    The name for the Resolver rule, which you specified when you created the Resolver rule.
    default String
    The ID of the endpoint that the rule is associated with.
    When you want to forward DNS queries for specified domain name to resolvers on your network, specify FORWARD or DELEGATE .
    default List<CfnTag>
    Tags help organize and categorize your Resolver rules.
    default Object
    An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson