ContainerStartedEvent(mapping=None, *, ignore_unknown_fields=False, **kwargs)
An event generated when a container starts.
Attributes | |
---|---|
Name | Description |
action_id |
int
The numeric ID of the action that started this container. |
port_mappings |
Mapping[int, int]
The container-to-host port mappings installed for this container. This set will contain any ports exposed using the PUBLISH_EXPOSED_PORTS flag as well as any specified in
the Action definition.
|
ip_address |
str
The public IP address that can be used to connect to the container. This field is only populated when at least one port mapping is present. If the instance was created with a private address, this field will be empty even if port mappings exist. |
Classes
PortMappingsEntry
PortMappingsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |