amazonka-config-2.0: Amazon Config SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Config.Types.TemplateSSMDocumentDetails

Description

 
Synopsis

Documentation

data TemplateSSMDocumentDetails Source #

This API allows you to create a conformance pack template with an Amazon Web Services Systems Manager document (SSM document). To deploy a conformance pack using an SSM document, first create an SSM document with conformance pack content, and then provide the DocumentName in the PutConformancePack API. You can also provide the DocumentVersion.

The TemplateSSMDocumentDetails object contains the name of the SSM document and the version of the SSM document.

See: newTemplateSSMDocumentDetails smart constructor.

Constructors

TemplateSSMDocumentDetails' 

Fields

  • documentVersion :: Maybe Text

    The version of the SSM document to use to create a conformance pack. By default, Config uses the latest version.

    This field is optional.

  • documentName :: Text

    The name or Amazon Resource Name (ARN) of the SSM document to use to create a conformance pack. If you use the document name, Config checks only your account and Amazon Web Services Region for the SSM document. If you want to use an SSM document from another Region or account, you must provide the ARN.

Instances

Instances details
FromJSON TemplateSSMDocumentDetails Source # 
Instance details

Defined in Amazonka.Config.Types.TemplateSSMDocumentDetails

ToJSON TemplateSSMDocumentDetails Source # 
Instance details

Defined in Amazonka.Config.Types.TemplateSSMDocumentDetails

Generic TemplateSSMDocumentDetails Source # 
Instance details

Defined in Amazonka.Config.Types.TemplateSSMDocumentDetails

Associated Types

type Rep TemplateSSMDocumentDetails :: Type -> Type #

Read TemplateSSMDocumentDetails Source # 
Instance details

Defined in Amazonka.Config.Types.TemplateSSMDocumentDetails

Show TemplateSSMDocumentDetails Source # 
Instance details

Defined in Amazonka.Config.Types.TemplateSSMDocumentDetails

NFData TemplateSSMDocumentDetails Source # 
Instance details

Defined in Amazonka.Config.Types.TemplateSSMDocumentDetails

Eq TemplateSSMDocumentDetails Source # 
Instance details

Defined in Amazonka.Config.Types.TemplateSSMDocumentDetails

Hashable TemplateSSMDocumentDetails Source # 
Instance details

Defined in Amazonka.Config.Types.TemplateSSMDocumentDetails

type Rep TemplateSSMDocumentDetails Source # 
Instance details

Defined in Amazonka.Config.Types.TemplateSSMDocumentDetails

type Rep TemplateSSMDocumentDetails = D1 ('MetaData "TemplateSSMDocumentDetails" "Amazonka.Config.Types.TemplateSSMDocumentDetails" "amazonka-config-2.0-7GF0fBbVw65uROwJwpcE3" 'False) (C1 ('MetaCons "TemplateSSMDocumentDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "documentVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "documentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTemplateSSMDocumentDetails Source #

Create a value of TemplateSSMDocumentDetails with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:documentVersion:TemplateSSMDocumentDetails', templateSSMDocumentDetails_documentVersion - The version of the SSM document to use to create a conformance pack. By default, Config uses the latest version.

This field is optional.

$sel:documentName:TemplateSSMDocumentDetails', templateSSMDocumentDetails_documentName - The name or Amazon Resource Name (ARN) of the SSM document to use to create a conformance pack. If you use the document name, Config checks only your account and Amazon Web Services Region for the SSM document. If you want to use an SSM document from another Region or account, you must provide the ARN.

templateSSMDocumentDetails_documentVersion :: Lens' TemplateSSMDocumentDetails (Maybe Text) Source #

The version of the SSM document to use to create a conformance pack. By default, Config uses the latest version.

This field is optional.

templateSSMDocumentDetails_documentName :: Lens' TemplateSSMDocumentDetails Text Source #

The name or Amazon Resource Name (ARN) of the SSM document to use to create a conformance pack. If you use the document name, Config checks only your account and Amazon Web Services Region for the SSM document. If you want to use an SSM document from another Region or account, you must provide the ARN.