AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws-native.route53resolver.ResolverRule
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
Resource Type definition for AWS::Route53Resolver::ResolverRule
Create ResolverRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ResolverRule(name: string, args: ResolverRuleArgs, opts?: CustomResourceOptions);
@overload
def ResolverRule(resource_name: str,
args: ResolverRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ResolverRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain_name: Optional[str] = None,
rule_type: Optional[ResolverRuleRuleType] = None,
name: Optional[str] = None,
resolver_endpoint_id: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
target_ips: Optional[Sequence[ResolverRuleTargetAddressArgs]] = None)
func NewResolverRule(ctx *Context, name string, args ResolverRuleArgs, opts ...ResourceOption) (*ResolverRule, error)
public ResolverRule(string name, ResolverRuleArgs args, CustomResourceOptions? opts = null)
public ResolverRule(String name, ResolverRuleArgs args)
public ResolverRule(String name, ResolverRuleArgs args, CustomResourceOptions options)
type: aws-native:route53resolver:ResolverRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ResolverRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ResolverRuleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ResolverRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ResolverRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ResolverRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ResolverRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ResolverRule resource accepts the following input properties:
- Domain
Name string - DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps
- Rule
Type Pulumi.Aws Native. Route53Resolver. Resolver Rule Rule Type - When you want to forward DNS queries for specified domain name to resolvers on your network, specify FORWARD. When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify SYSTEM.
- Name string
- The name for the Resolver rule
- Resolver
Endpoint stringId - The ID of the endpoint that the rule is associated with.
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Target
Ips List<Pulumi.Aws Native. Route53Resolver. Inputs. Resolver Rule Target Address> - 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.
- Domain
Name string - DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps
- Rule
Type ResolverRule Rule Type - When you want to forward DNS queries for specified domain name to resolvers on your network, specify FORWARD. When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify SYSTEM.
- Name string
- The name for the Resolver rule
- Resolver
Endpoint stringId - The ID of the endpoint that the rule is associated with.
- Tag
Args - An array of key-value pairs to apply to this resource.
- Target
Ips []ResolverRule Target Address Args - 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.
- domain
Name String - DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps
- rule
Type ResolverRule Rule Type - When you want to forward DNS queries for specified domain name to resolvers on your network, specify FORWARD. When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify SYSTEM.
- name String
- The name for the Resolver rule
- resolver
Endpoint StringId - The ID of the endpoint that the rule is associated with.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- target
Ips List<ResolverRule Target Address> - 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.
- domain
Name string - DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps
- rule
Type ResolverRule Rule Type - When you want to forward DNS queries for specified domain name to resolvers on your network, specify FORWARD. When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify SYSTEM.
- name string
- The name for the Resolver rule
- resolver
Endpoint stringId - The ID of the endpoint that the rule is associated with.
- Tag[]
- An array of key-value pairs to apply to this resource.
- target
Ips ResolverRule Target Address[] - 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.
- domain_
name str - DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps
- rule_
type ResolverRule Rule Type - When you want to forward DNS queries for specified domain name to resolvers on your network, specify FORWARD. When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify SYSTEM.
- name str
- The name for the Resolver rule
- resolver_
endpoint_ strid - The ID of the endpoint that the rule is associated with.
- Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- target_
ips Sequence[ResolverRule Target Address Args] - 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.
- domain
Name String - DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps
- rule
Type "FORWARD" | "SYSTEM" | "RECURSIVE" - When you want to forward DNS queries for specified domain name to resolvers on your network, specify FORWARD. When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify SYSTEM.
- name String
- The name for the Resolver rule
- resolver
Endpoint StringId - The ID of the endpoint that the rule is associated with.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
- target
Ips 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the ResolverRule resource produces the following output properties:
- Arn string
- The Amazon Resource Name (ARN) of the resolver rule.
- Id string
- The provider-assigned unique ID for this managed resource.
- Resolver
Rule stringId - The ID of the endpoint that the rule is associated with.
- Arn string
- The Amazon Resource Name (ARN) of the resolver rule.
- Id string
- The provider-assigned unique ID for this managed resource.
- Resolver
Rule stringId - The ID of the endpoint that the rule is associated with.
- arn String
- The Amazon Resource Name (ARN) of the resolver rule.
- id String
- The provider-assigned unique ID for this managed resource.
- resolver
Rule StringId - The ID of the endpoint that the rule is associated with.
- arn string
- The Amazon Resource Name (ARN) of the resolver rule.
- id string
- The provider-assigned unique ID for this managed resource.
- resolver
Rule stringId - The ID of the endpoint that the rule is associated with.
- arn str
- The Amazon Resource Name (ARN) of the resolver rule.
- id str
- The provider-assigned unique ID for this managed resource.
- resolver_
rule_ strid - The ID of the endpoint that the rule is associated with.
- arn String
- The Amazon Resource Name (ARN) of the resolver rule.
- id String
- The provider-assigned unique ID for this managed resource.
- resolver
Rule StringId - The ID of the endpoint that the rule is associated with.
Supporting Types
ResolverRuleRuleType, ResolverRuleRuleTypeArgs
- Forward
- FORWARD
- System
- SYSTEM
- Recursive
- RECURSIVE
- Resolver
Rule Rule Type Forward - FORWARD
- Resolver
Rule Rule Type System - SYSTEM
- Resolver
Rule Rule Type Recursive - RECURSIVE
- Forward
- FORWARD
- System
- SYSTEM
- Recursive
- RECURSIVE
- Forward
- FORWARD
- System
- SYSTEM
- Recursive
- RECURSIVE
- FORWARD
- FORWARD
- SYSTEM
- SYSTEM
- RECURSIVE
- RECURSIVE
- "FORWARD"
- FORWARD
- "SYSTEM"
- SYSTEM
- "RECURSIVE"
- RECURSIVE
ResolverRuleTargetAddress, ResolverRuleTargetAddressArgs
- 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.
Aws Native. Route53Resolver. Resolver Rule Target Address Protocol - The protocol that you want to use to forward DNS queries.
- 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
Resolver
Rule Target Address Protocol - The protocol that you want to use to forward DNS queries.
- 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
Resolver
Rule Target Address Protocol - The protocol that you want to use to forward DNS queries.
- 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
Resolver
Rule Target Address Protocol - The protocol that you want to use to forward DNS queries.
- 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
Resolver
Rule Target Address Protocol - The protocol that you want to use to forward DNS queries.
- 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" | "Do
H" - The protocol that you want to use to forward DNS queries.
ResolverRuleTargetAddressProtocol, ResolverRuleTargetAddressProtocolArgs
- Do53
- Do53
- Do
H - DoH
- Resolver
Rule Target Address Protocol Do53 - Do53
- Resolver
Rule Target Address Protocol Do H - DoH
- Do53
- Do53
- Do
H - DoH
- Do53
- Do53
- Do
H - DoH
- DO53
- Do53
- DO_H
- DoH
- "Do53"
- Do53
- "Do
H" - DoH
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi