portInfoSource property

PortInfoSourceType portInfoSource
final

The port configuration to use for the new Amazon EC2 instance.

The following configuration options are available:

  • DEFAULT - Use the default firewall settings from the Lightsail instance blueprint.
  • INSTANCE - Use the configured firewall settings from the source Lightsail instance.
  • NONE - Use the default Amazon EC2 security group.
  • CLOSED - All ports closed.

Implementation

final PortInfoSourceType portInfoSource;