Class: Aws::RoboMaker::Types::PortMapping

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/types.rb

Overview

Note:

When making an API call, you may pass PortMapping data as a hash:

{
  job_port: 1, # required
  application_port: 1, # required
  enable_on_public_ip: false,
}

An object representing a port mapping.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#application_portInteger

The port number on the application.

Returns:

  • (Integer)


3257
3258
3259
3260
3261
3262
3263
# File 'gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/types.rb', line 3257

class PortMapping < Struct.new(
  :job_port,
  :application_port,
  :enable_on_public_ip)
  SENSITIVE = []
  include Aws::Structure
end

#enable_on_public_ipBoolean

A Boolean indicating whether to enable this port mapping on public IP.

Returns:

  • (Boolean)


3257
3258
3259
3260
3261
3262
3263
# File 'gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/types.rb', line 3257

class PortMapping < Struct.new(
  :job_port,
  :application_port,
  :enable_on_public_ip)
  SENSITIVE = []
  include Aws::Structure
end

#job_portInteger

The port number on the simulation job instance to use as a remote connection point.

Returns:

  • (Integer)


3257
3258
3259
3260
3261
3262
3263
# File 'gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/types.rb', line 3257

class PortMapping < Struct.new(
  :job_port,
  :application_port,
  :enable_on_public_ip)
  SENSITIVE = []
  include Aws::Structure
end