Closes the public ports on a specific Amazon Lightsail instance.
lightsail_close_instance_public_ports(portInfo, instanceName)[required] Information about the public port you are trying to close.
[required] The name of the instance on which you're attempting to close the public ports.
svc$close_instance_public_ports(
portInfo = list(
fromPort = 123,
toPort = 123,
protocol = "tcp"|"all"|"udp"
),
instanceName = "string"
)
The close instance public ports operation supports tag-based access
control via resource tags applied to the resource identified by
instanceName. For more information, see the Lightsail Dev Guide.