# NOT RUN {
# This example replaces an entry for the specified network ACL. The new
# rule 100 allows ingress traffic from 203.0.113.12/24 on UDP port 53
# (DNS) into any associated subnet.
# }
# NOT RUN {
svc$replace_network_acl_entry(
  CidrBlock = "203.0.113.12/24",
  Egress = FALSE,
  NetworkAclId = "acl-5fb85d36",
  PortRange = list(
    From = 53L,
    To = 53L
  ),
  Protocol = "17",
  RuleAction = "allow",
  RuleNumber = 100L
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab