Put Instance Public Ports
POST {{aws_lightsail_base_url}}/?instanceName&portInfos&Version=2016-11-28
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
instanceName | null | The Lightsail instance name of the public port(s) you are setting. | |
portInfos | null | Specifies information about the public port(s). | |
Version | string | The version of the API. |
Request Body
{"instanceName"=>"string", "portInfos"=>[{"fromPort"=>42, "protocol"=>"string", "toPort"=>42}]}