class Aws::Lightsail::Types::OpenInstancePublicPortsRequest

@note When making an API call, you may pass OpenInstancePublicPortsRequest

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 open for the specified instance.
@return [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/OpenInstancePublicPortsRequest AWS API Documentation

Constants

SENSITIVE