class Aws::Lightsail::Types::PutInstancePublicPortsRequest
@note When making an API call, you may pass PutInstancePublicPortsRequest
data as a hash: { port_infos: [ # 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_infos
An array of objects to describe the ports to open for the specified instance. @return [Array<Types::PortInfo>]
@!attribute [rw] instance_name
The name of the instance for which to open ports. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPortsRequest AWS API Documentation
Constants
- SENSITIVE