amazonka-ssm-1.2.0.1: Amazon Simple Systems Management 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.SSM.CreateAssociation

Contents

Description

Associates the specified configuration document with the specified instance.

When you associate a configuration document with an instance, the configuration agent on the instance processes the configuration document and configures the instance as specified.

If you associate a configuration document with an instance that already has an associated configuration document, we replace the current configuration document with the new configuration document.

See: AWS API Reference for CreateAssociation.

Synopsis

Creating a Request

createAssociation Source

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

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

Request Lenses

caName :: Lens' CreateAssociation Text Source

The name of the configuration document.

caInstanceId :: Lens' CreateAssociation Text Source

The ID of the instance.

Destructuring the Response

createAssociationResponse Source

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

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

Response Lenses