1. Packages
  2. AWS Native
  3. API Docs
  4. route53resolver
  5. ResolverRule

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.65.0 published on Wednesday, Jun 7, 2023 by Pulumi

aws-native.route53resolver.ResolverRule

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.65.0 published on Wednesday, Jun 7, 2023 by Pulumi

    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:

    DomainName string

    DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps

    RuleType Pulumi.AwsNative.Route53Resolver.ResolverRuleRuleType

    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

    ResolverEndpointId string

    The ID of the endpoint that the rule is associated with.

    Tags List<Pulumi.AwsNative.Route53Resolver.Inputs.ResolverRuleTagArgs>

    An array of key-value pairs to apply to this resource.

    TargetIps List<Pulumi.AwsNative.Route53Resolver.Inputs.ResolverRuleTargetAddressArgs>

    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.

    DomainName string

    DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps

    RuleType ResolverRuleRuleType

    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

    ResolverEndpointId string

    The ID of the endpoint that the rule is associated with.

    Tags []ResolverRuleTagArgs

    An array of key-value pairs to apply to this resource.

    TargetIps []ResolverRuleTargetAddressArgs

    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.

    domainName String

    DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps

    ruleType ResolverRuleRuleType

    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

    resolverEndpointId String

    The ID of the endpoint that the rule is associated with.

    tags List<ResolverRuleTagArgs>

    An array of key-value pairs to apply to this resource.

    targetIps List<ResolverRuleTargetAddressArgs>

    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.

    domainName string

    DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps

    ruleType ResolverRuleRuleType

    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

    resolverEndpointId string

    The ID of the endpoint that the rule is associated with.

    tags ResolverRuleTagArgs[]

    An array of key-value pairs to apply to this resource.

    targetIps ResolverRuleTargetAddressArgs[]

    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 ResolverRuleRuleType

    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_id str

    The ID of the endpoint that the rule is associated with.

    tags Sequence[ResolverRuleTagArgs]

    An array of key-value pairs to apply to this resource.

    target_ips Sequence[ResolverRuleTargetAddressArgs]

    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.

    domainName String

    DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps

    ruleType "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

    resolverEndpointId 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.

    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.

    ResolverRuleId string

    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.

    ResolverRuleId string

    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.

    resolverRuleId String

    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.

    resolverRuleId string

    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_id str

    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.

    resolverRuleId String

    The ID of the endpoint that the rule is associated with.

    Supporting Types

    ResolverRuleRuleType

    Forward
    FORWARD
    System
    SYSTEM
    Recursive
    RECURSIVE
    ResolverRuleRuleTypeForward
    FORWARD
    ResolverRuleRuleTypeSystem
    SYSTEM
    ResolverRuleRuleTypeRecursive
    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

    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
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.65.0 published on Wednesday, Jun 7, 2023 by Pulumi