aws-native logo
AWS Native v0.63.0, May 25 23

aws-native.route53resolver.getResolverRule

Explore with Pulumi AI

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.Route53Resolver.Outputs.ResolverRuleTag>

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 []ResolverRuleTag

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<ResolverRuleTag>

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 ResolverRuleTag[]

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[ResolverRuleTag]

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

ResolverRuleTag

Key string

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Key string

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key String

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value String

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key string

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value string

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key str

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value str

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key String

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value String

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

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.

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.

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.

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.

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.

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.

Package Details

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