Paws::ECS::ContainerInstance
This class represents one of two things:
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::ECS::ContainerInstance object:
$service_obj->Method(Att1 => { AgentConnected => $value, ..., VersionInfo => $value });
Use accessors for each attribute. If Att1 is expected to be an Paws::ECS::ContainerInstance object:
$result = $service_obj->Method(...); $result->Att1->AgentConnected
An EC2 instance that is running the Amazon ECS agent and has been registered with a cluster.
This parameter returns C<true> if the agent is actually connected to Amazon ECS. Registered instances with an agent that may be unhealthy or stopped return C<false>, and instances without a connected agent cannot accept placement requests.
The status of the most recent agent update. If an update has never been requested, this value is C<NULL>.
The attributes set for the container instance, either by the Amazon ECS container agent at instance registration or manually with the PutAttributes operation.
The Amazon Resource Name (ARN) of the container instance. The ARN contains the C<arn:aws:ecs> namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, the C<container-instance> namespace, and then the container instance ID. For example, C<arn:aws:ecs:I<region>:I<aws_account_id>:container-instance/I<container_instance_ID> >.
The EC2 instance ID of the container instance.
The number of tasks on the container instance that are in the C<PENDING> status.
The Unix timestamp for when the container instance was registered.
For most resource types, this parameter describes the registered resources on the container instance that are in use by current tasks. For port resource types, this parameter describes the ports that were reserved by the Amazon ECS container agent when it registered the container instance with Amazon ECS.
For most resource types, this parameter describes the remaining resources of the container instance that are available for new tasks. For port resource types, this parameter describes the ports that are reserved by the Amazon ECS container agent and any containers that have reserved port mappings; any port that is not specified here is available for new tasks.
The number of tasks on the container instance that are in the C<RUNNING> status.
The status of the container instance. The valid values are C<ACTIVE>, C<INACTIVE>, or C<DRAINING>. C<ACTIVE> indicates that the container instance can accept tasks. C<DRAINING> indicates that new tasks are not placed on the container instance and any service tasks running on the container instance are removed if possible. For more information, see Container Instance Draining in the I<Amazon EC2 Container Service Developer Guide>.
The version counter for the container instance. Every time a container instance experiences a change that triggers a CloudWatch event, the version counter is incremented. If you are replicating your Amazon ECS container instance state with CloudWatch events, you can compare the version of a container instance reported by the Amazon ECS APIs with the version reported in CloudWatch events for the container instance (inside the C<detail> object) to verify that the version in your event stream is current.
The version information for the Amazon ECS container agent and Docker daemon running on the container instance.
This class forms part of Paws, describing an object used in Paws::ECS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.