paws.compute (version 0.1.0)

lightsail_open_instance_public_ports: Adds public ports to an Amazon Lightsail instance

Description

Adds public ports to an Amazon Lightsail instance.

Usage

lightsail_open_instance_public_ports(portInfo, instanceName)

Arguments

portInfo

[required] An array of key-value pairs containing information about the port mappings.

instanceName

[required] The name of the instance for which you want to open the public ports.

Request syntax

svc$open_instance_public_ports(
  portInfo = list(
    fromPort = 123,
    toPort = 123,
    protocol = "tcp"|"all"|"udp"
  ),
  instanceName = "string"
)

Details

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.