amazonka-ecs-1.3.5: Amazon EC2 Container Service SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ECS.RegisterContainerInstance

Contents

Description

This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent.

Registers an EC2 instance into the specified cluster. This instance becomes available to place containers on.

See: AWS API Reference for RegisterContainerInstance.

Synopsis

Creating a Request

Request Lenses

rciInstanceIdentityDocumentSignature :: Lens' RegisterContainerInstance (Maybe Text) Source

The instance identity document signature for the EC2 instance to register. This signature can be found by running the following command from the instance: 'curl http://169.254.169.254/latest/dynamic/instance-identity/signature/'

rciCluster :: Lens' RegisterContainerInstance (Maybe Text) Source

The short name or full Amazon Resource Name (ARN) of the cluster with which to register your container instance. If you do not specify a cluster, the default cluster is assumed..

rciInstanceIdentityDocument :: Lens' RegisterContainerInstance (Maybe Text) Source

The instance identity document for the EC2 instance to register. This document can be found by running the following command from the instance: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document/'

rciContainerInstanceARN :: Lens' RegisterContainerInstance (Maybe Text) Source

The Amazon Resource Name (ARN) of the container instance (if it was previously registered).

rciVersionInfo :: Lens' RegisterContainerInstance (Maybe VersionInfo) Source

The version information for the Amazon ECS container agent and Docker daemon running on the container instance.

rciAttributes :: Lens' RegisterContainerInstance [Attribute] Source

The container instance attributes that this container instance supports.

rciTotalResources :: Lens' RegisterContainerInstance [Resource] Source

The resources available on the instance.

Destructuring the Response

registerContainerInstanceResponse Source

Creates a value of RegisterContainerInstanceResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses