AWS Native is in preview. AWS Classic is fully supported.
aws-native.route53resolver.ResolverRule
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource Type definition for AWS::Route53Resolver::ResolverRule
Create ResolverRule Resource
new ResolverRule(name: string, args: ResolverRuleArgs, opts?: CustomResourceOptions);
@overload
def ResolverRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain_name: Optional[str] = None,
name: Optional[str] = None,
resolver_endpoint_id: Optional[str] = None,
rule_type: Optional[ResolverRuleRuleType] = None,
tags: Optional[Sequence[ResolverRuleTagArgs]] = None,
target_ips: Optional[Sequence[ResolverRuleTargetAddressArgs]] = None)
@overload
def ResolverRule(resource_name: str,
args: ResolverRuleArgs,
opts: Optional[ResourceOptions] = 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.
- 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. Route53Resolver. Inputs. Resolver Rule Tag Args> An array of key-value pairs to apply to this resource.
- Target
Ips List<Pulumi.Aws Native. Route53Resolver. Inputs. Resolver Rule 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.
- []Resolver
Rule 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<Resolver
Rule Tag Args> An array of key-value pairs to apply to this resource.
- target
Ips List<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.
- Resolver
Rule 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 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[Resolver
Rule 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
- 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
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
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.