class Aws::Lightsail::Types::CloseInstancePublicPortsRequest
@note When making an API call, you may pass CloseInstancePublicPortsRequest
data as a hash: { port_info: { # required from_port: 1, to_port: 1, protocol: "tcp", # accepts tcp, all, udp, icmp cidrs: ["string"], ipv6_cidrs: ["string"], cidr_list_aliases: ["string"], }, instance_name: "ResourceName", # required }
@!attribute [rw] port_info
An object to describe the ports to close for the specified instance. @return [Types::PortInfo]
@!attribute [rw] instance_name
The name of the instance for which to close ports. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloseInstancePublicPortsRequest AWS API Documentation
Constants
- SENSITIVE