Class: Aws::LambdaMicrovms::Types::PortSpecification
- Inherits:
-
Struct
- Object
- Struct
- Aws::LambdaMicrovms::Types::PortSpecification
- Includes:
- Structure, Structure::Union
- Defined in:
- lib/aws-sdk-lambdamicrovms/types.rb
Overview
Note:
PortSpecification is a union - when making an API calls you must set exactly one of the members.
Specifies which ports are accessible on a MicroVM. Only one of the port specification options can be set.
Defined Under Namespace
Classes: AllPorts, Port, Range, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#all_ports ⇒ Types::Unit
Indicates that all ports are accessible.
-
#port ⇒ Integer
A single port number.
-
#range ⇒ Types::PortRange
A range of ports.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#all_ports ⇒ Types::Unit
Indicates that all ports are accessible.
1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 |
# File 'lib/aws-sdk-lambdamicrovms/types.rb', line 1681 class PortSpecification < Struct.new( :port, :range, :all_ports, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Port < PortSpecification; end class Range < PortSpecification; end class AllPorts < PortSpecification; end class Unknown < PortSpecification; end end |
#port ⇒ Integer
A single port number.
1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 |
# File 'lib/aws-sdk-lambdamicrovms/types.rb', line 1681 class PortSpecification < Struct.new( :port, :range, :all_ports, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Port < PortSpecification; end class Range < PortSpecification; end class AllPorts < PortSpecification; end class Unknown < PortSpecification; end end |
#range ⇒ Types::PortRange
A range of ports.
1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 |
# File 'lib/aws-sdk-lambdamicrovms/types.rb', line 1681 class PortSpecification < Struct.new( :port, :range, :all_ports, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Port < PortSpecification; end class Range < PortSpecification; end class AllPorts < PortSpecification; end class Unknown < PortSpecification; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
1681 1682 1683 |
# File 'lib/aws-sdk-lambdamicrovms/types.rb', line 1681 def unknown @unknown end |