Skip to content

Update Resolver Rule

route53resolver_update_resolver_rule R Documentation

Updates settings for a specified Resolver rule

Description

Updates settings for a specified Resolver rule. ResolverRuleId is required, and all other parameters are optional. If you don't specify a parameter, it retains its current value.

Usage

route53resolver_update_resolver_rule(ResolverRuleId, Config)

Arguments

ResolverRuleId

[required] The ID of the Resolver rule that you want to update.

Config

[required] The new settings for the Resolver rule.

Value

A list with the following syntax:

list(
  ResolverRule = list(
    Id = "string",
    CreatorRequestId = "string",
    Arn = "string",
    DomainName = "string",
    Status = "COMPLETE"|"DELETING"|"UPDATING"|"FAILED",
    StatusMessage = "string",
    RuleType = "FORWARD"|"SYSTEM"|"RECURSIVE",
    Name = "string",
    TargetIps = list(
      list(
        Ip = "string",
        Port = 123,
        Ipv6 = "string",
        Protocol = "DoH"|"Do53"|"DoH-FIPS"
      )
    ),
    ResolverEndpointId = "string",
    OwnerId = "string",
    ShareStatus = "NOT_SHARED"|"SHARED_WITH_ME"|"SHARED_BY_ME",
    CreationTime = "string",
    ModificationTime = "string"
  )
)

Request syntax

svc$update_resolver_rule(
  ResolverRuleId = "string",
  Config = list(
    Name = "string",
    TargetIps = list(
      list(
        Ip = "string",
        Port = 123,
        Ipv6 = "string",
        Protocol = "DoH"|"Do53"|"DoH-FIPS"
      )
    ),
    ResolverEndpointId = "string"
  )
)