1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. route53resolver
  5. getResolverRule

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.route53resolver.getResolverRule

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    Resource Type definition for AWS::Route53Resolver::ResolverRule

    Using getResolverRule

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getResolverRule(args: GetResolverRuleArgs, opts?: InvokeOptions): Promise<GetResolverRuleResult>
    function getResolverRuleOutput(args: GetResolverRuleOutputArgs, opts?: InvokeOptions): Output<GetResolverRuleResult>
    def get_resolver_rule(resolver_rule_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetResolverRuleResult
    def get_resolver_rule_output(resolver_rule_id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetResolverRuleResult]
    func LookupResolverRule(ctx *Context, args *LookupResolverRuleArgs, opts ...InvokeOption) (*LookupResolverRuleResult, error)
    func LookupResolverRuleOutput(ctx *Context, args *LookupResolverRuleOutputArgs, opts ...InvokeOption) LookupResolverRuleResultOutput

    > Note: This function is named LookupResolverRule in the Go SDK.

    public static class GetResolverRule 
    {
        public static Task<GetResolverRuleResult> InvokeAsync(GetResolverRuleArgs args, InvokeOptions? opts = null)
        public static Output<GetResolverRuleResult> Invoke(GetResolverRuleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetResolverRuleResult> getResolverRule(GetResolverRuleArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:route53resolver:getResolverRule
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResolverRuleId string
    The ID of the endpoint that the rule is associated with.
    ResolverRuleId string
    The ID of the endpoint that the rule is associated with.
    resolverRuleId String
    The ID of the endpoint that the rule is associated with.
    resolverRuleId string
    The ID of the endpoint that the rule is associated with.
    resolver_rule_id str
    The ID of the endpoint that the rule is associated with.
    resolverRuleId String
    The ID of the endpoint that the rule is associated with.

    getResolverRule Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the resolver rule.
    DomainName string
    DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps
    Name string
    The name for the Resolver rule
    ResolverEndpointId string
    The ID of the endpoint that the rule is associated with.
    ResolverRuleId string
    The ID of the endpoint that the rule is associated with.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    TargetIps List<Pulumi.AwsNative.Route53Resolver.Outputs.ResolverRuleTargetAddress>
    An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to. Typically, these are the IP addresses of DNS resolvers on your network. Specify IPv4 addresses. IPv6 is not supported.
    Arn string
    The Amazon Resource Name (ARN) of the resolver rule.
    DomainName string
    DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps
    Name string
    The name for the Resolver rule
    ResolverEndpointId string
    The ID of the endpoint that the rule is associated with.
    ResolverRuleId string
    The ID of the endpoint that the rule is associated with.
    Tags Tag
    An array of key-value pairs to apply to this resource.
    TargetIps []ResolverRuleTargetAddress
    An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to. Typically, these are the IP addresses of DNS resolvers on your network. Specify IPv4 addresses. IPv6 is not supported.
    arn String
    The Amazon Resource Name (ARN) of the resolver rule.
    domainName String
    DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps
    name String
    The name for the Resolver rule
    resolverEndpointId String
    The ID of the endpoint that the rule is associated with.
    resolverRuleId String
    The ID of the endpoint that the rule is associated with.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    targetIps List<ResolverRuleTargetAddress>
    An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to. Typically, these are the IP addresses of DNS resolvers on your network. Specify IPv4 addresses. IPv6 is not supported.
    arn string
    The Amazon Resource Name (ARN) of the resolver rule.
    domainName string
    DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps
    name string
    The name for the Resolver rule
    resolverEndpointId string
    The ID of the endpoint that the rule is associated with.
    resolverRuleId string
    The ID of the endpoint that the rule is associated with.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    targetIps ResolverRuleTargetAddress[]
    An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to. Typically, these are the IP addresses of DNS resolvers on your network. Specify IPv4 addresses. IPv6 is not supported.
    arn str
    The Amazon Resource Name (ARN) of the resolver rule.
    domain_name str
    DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps
    name str
    The name for the Resolver rule
    resolver_endpoint_id str
    The ID of the endpoint that the rule is associated with.
    resolver_rule_id str
    The ID of the endpoint that the rule is associated with.
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    target_ips Sequence[ResolverRuleTargetAddress]
    An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to. Typically, these are the IP addresses of DNS resolvers on your network. Specify IPv4 addresses. IPv6 is not supported.
    arn String
    The Amazon Resource Name (ARN) of the resolver rule.
    domainName String
    DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps
    name String
    The name for the Resolver rule
    resolverEndpointId String
    The ID of the endpoint that the rule is associated with.
    resolverRuleId String
    The ID of the endpoint that the rule is associated with.
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.
    targetIps List<Property Map>
    An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to. Typically, these are the IP addresses of DNS resolvers on your network. Specify IPv4 addresses. IPv6 is not supported.

    Supporting Types

    ResolverRuleTargetAddress

    Ip string
    One IP address that you want to forward DNS queries to. You can specify only IPv4 addresses.
    Ipv6 string
    One IPv6 address that you want to forward DNS queries to. You can specify only IPv6 addresses.
    Port string
    The port at Ip that you want to forward DNS queries to.
    Protocol Pulumi.AwsNative.Route53Resolver.ResolverRuleTargetAddressProtocol
    The protocol that you want to use to forward DNS queries.
    ServerNameIndication string
    The SNI of the target name servers for DoH/DoH-FIPS outbound endpoints
    Ip string
    One IP address that you want to forward DNS queries to. You can specify only IPv4 addresses.
    Ipv6 string
    One IPv6 address that you want to forward DNS queries to. You can specify only IPv6 addresses.
    Port string
    The port at Ip that you want to forward DNS queries to.
    Protocol ResolverRuleTargetAddressProtocol
    The protocol that you want to use to forward DNS queries.
    ServerNameIndication string
    The SNI of the target name servers for DoH/DoH-FIPS outbound endpoints
    ip String
    One IP address that you want to forward DNS queries to. You can specify only IPv4 addresses.
    ipv6 String
    One IPv6 address that you want to forward DNS queries to. You can specify only IPv6 addresses.
    port String
    The port at Ip that you want to forward DNS queries to.
    protocol ResolverRuleTargetAddressProtocol
    The protocol that you want to use to forward DNS queries.
    serverNameIndication String
    The SNI of the target name servers for DoH/DoH-FIPS outbound endpoints
    ip string
    One IP address that you want to forward DNS queries to. You can specify only IPv4 addresses.
    ipv6 string
    One IPv6 address that you want to forward DNS queries to. You can specify only IPv6 addresses.
    port string
    The port at Ip that you want to forward DNS queries to.
    protocol ResolverRuleTargetAddressProtocol
    The protocol that you want to use to forward DNS queries.
    serverNameIndication string
    The SNI of the target name servers for DoH/DoH-FIPS outbound endpoints
    ip str
    One IP address that you want to forward DNS queries to. You can specify only IPv4 addresses.
    ipv6 str
    One IPv6 address that you want to forward DNS queries to. You can specify only IPv6 addresses.
    port str
    The port at Ip that you want to forward DNS queries to.
    protocol ResolverRuleTargetAddressProtocol
    The protocol that you want to use to forward DNS queries.
    server_name_indication str
    The SNI of the target name servers for DoH/DoH-FIPS outbound endpoints
    ip String
    One IP address that you want to forward DNS queries to. You can specify only IPv4 addresses.
    ipv6 String
    One IPv6 address that you want to forward DNS queries to. You can specify only IPv6 addresses.
    port String
    The port at Ip that you want to forward DNS queries to.
    protocol "Do53" | "DoH"
    The protocol that you want to use to forward DNS queries.
    serverNameIndication String
    The SNI of the target name servers for DoH/DoH-FIPS outbound endpoints

    ResolverRuleTargetAddressProtocol

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi