amazonka-ssm-1.4.0: Amazon Simple Systems Management Service SDK.

Copyright(c) 2013-2016 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 SSM document with the specified instance.

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

If you associate a document with an instance that already has an associated document, the system throws the AssociationAlreadyExists exception.

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

caParameters :: Lens' CreateAssociation (HashMap Text [Text]) Source

The parameters for the documents runtime configuration.

caName :: Lens' CreateAssociation Text Source

The name of the SSM document.

caInstanceId :: Lens' CreateAssociation Text Source

The Windows Server instance ID.

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