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