| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ECS.RegisterContainerInstance
Description
Registers an EC2 instance into the specified cluster. This instance becomes available to place containers on.
- registerContainerInstance :: RegisterContainerInstance
- data RegisterContainerInstance
- rciInstanceIdentityDocumentSignature :: Lens' RegisterContainerInstance (Maybe Text)
- rciCluster :: Lens' RegisterContainerInstance (Maybe Text)
- rciInstanceIdentityDocument :: Lens' RegisterContainerInstance (Maybe Text)
- rciContainerInstanceARN :: Lens' RegisterContainerInstance (Maybe Text)
- rciVersionInfo :: Lens' RegisterContainerInstance (Maybe VersionInfo)
- rciAttributes :: Lens' RegisterContainerInstance [Attribute]
- rciTotalResources :: Lens' RegisterContainerInstance [Resource]
- registerContainerInstanceResponse :: Int -> RegisterContainerInstanceResponse
- data RegisterContainerInstanceResponse
- rcirsContainerInstance :: Lens' RegisterContainerInstanceResponse (Maybe ContainerInstance)
- rcirsResponseStatus :: Lens' RegisterContainerInstanceResponse Int
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:
rciInstanceIdentityDocumentSignature- 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- 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- 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- The Amazon Resource Name (ARN) of the container instance (if it was previously registered).rciVersionInfo- The version information for the Amazon ECS container agent and Docker daemon running on the container instance.rciAttributes- The container instance attributes that this container instance supports.rciTotalResources- The resources available on the instance.
data RegisterContainerInstance Source #
See: registerContainerInstance smart constructor.
Instances
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 #
Arguments
| :: Int | |
| -> RegisterContainerInstanceResponse |
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:
rcirsContainerInstance- The container instance that was registered.rcirsResponseStatus- -- | The response status code.
data RegisterContainerInstanceResponse Source #
See: registerContainerInstanceResponse smart constructor.
Instances
Response Lenses
rcirsContainerInstance :: Lens' RegisterContainerInstanceResponse (Maybe ContainerInstance) Source #
The container instance that was registered.
rcirsResponseStatus :: Lens' RegisterContainerInstanceResponse Int Source #
- - | The response status code.