amazonka-ecs-1.0.1: 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 Amazon EC2 instance into the specified cluster. This instance will become available to place containers on.

See: AWS API Reference for RegisterContainerInstance.

Synopsis

Creating a Request

registerContainerInstance :: RegisterContainerInstance Source

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

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

Request Lenses

rciInstanceIdentityDocumentSignature :: Lens' RegisterContainerInstance (Maybe Text) Source

The instance identity document signature for the Amazon 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 that you want to register your container instance with. If you do not specify a cluster, the default cluster is assumed..

rciInstanceIdentityDocument :: Lens' RegisterContainerInstance (Maybe Text) Source

The instance identity document for the Amazon 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.

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