Adds public ports to an Amazon Lightsail instance.
lightsail_open_instance_public_ports(portInfo, instanceName)[required] An array of key-value pairs containing information about the port mappings.
[required] The name of the instance for which you want to open the public ports.
svc$open_instance_public_ports(
portInfo = list(
fromPort = 123,
toPort = 123,
protocol = "tcp"|"all"|"udp"
),
instanceName = "string"
)
The open 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.