A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/sdkforruby/api/Aws/Lightsail/Types/PortInfo.html below:

PortInfo — AWS SDK for Ruby V2

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Lightsail::Types::PortInfo
Inherits:
Struct show all
Defined in:
(unknown)
Overview Note:

When passing PortInfo as input to an Aws::Client method, you can use a vanilla Hash:

{
  from_port: 1,
  to_port: 1,
  protocol: "tcp",   cidrs: ["string"],
  cidr_list_aliases: ["string"],
}

Describes ports to open on an instance, the IP addresses allowed to connect to the instance through the ports, and the protocol.

Returned by:

Instance Attribute Summary collapse Instance Attribute Details #cidr_list_aliases ⇒ Array<String>

An alias that defines access for a preconfigured range of IP addresses.

The only alias currently supported is lightsail-connect, which allows IP addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your instance.

#cidrs ⇒ Array<String>

The IP address, or range of IP addresses in CIDR notation, that are allowed to connect to an instance through the ports, and the protocol. Lightsail supports IPv4 addresses.

Examples:

For more information about CIDR block notation, see Classless Inter-Domain Routing on Wikipedia.

#from_port ⇒ Integer

The first port in a range of open ports on an instance.

Allowed ports:

#protocol ⇒ String

The IP protocol name.

The name can be one of the following:

#to_port ⇒ Integer

The last port in a range of open ports on an instance.

Allowed ports:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4