Container class

Describes the settings of a container that will be launched, or that is launched, to an Amazon Lightsail container service.

Constructors

Container({List<String>? command, Map<String, String>? environment, String? image, Map<String, ContainerServiceProtocol>? ports})
Container.fromJson(Map<String, dynamic> json)
factory

Properties

command List<String>?
The launch command for the container.
final
environment Map<String, String>?
The environment variables of the container.
final
hashCode int
The hash code for this object.
no setterinherited
image String?
The name of the image used for the container.
final
ports Map<String, ContainerServiceProtocol>?
The open firewall ports of the container.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited