paws.compute (version 0.1.0)

lightsail_close_instance_public_ports: Closes the public ports on a specific Amazon Lightsail instance

Description

Closes the public ports on a specific Amazon Lightsail instance.

Usage

lightsail_close_instance_public_ports(portInfo, instanceName)

Arguments

portInfo

[required] Information about the public port you are trying to close.

instanceName

[required] The name of the instance on which you're attempting to close the public ports.

Request syntax

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

Details

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.