Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data SsmAutomation = SsmAutomation' {
- targetAccount :: Maybe SsmTargetAccount
- parameters :: Maybe (HashMap Text [Text])
- documentVersion :: Maybe Text
- documentName :: Text
- roleArn :: Text
- newSsmAutomation :: Text -> Text -> SsmAutomation
- ssmAutomation_targetAccount :: Lens' SsmAutomation (Maybe SsmTargetAccount)
- ssmAutomation_parameters :: Lens' SsmAutomation (Maybe (HashMap Text [Text]))
- ssmAutomation_documentVersion :: Lens' SsmAutomation (Maybe Text)
- ssmAutomation_documentName :: Lens' SsmAutomation Text
- ssmAutomation_roleArn :: Lens' SsmAutomation Text
Documentation
data SsmAutomation Source #
Details about the Systems Manager automation document that will be used as a runbook during an incident.
See: newSsmAutomation
smart constructor.
SsmAutomation' | |
|
Instances
Create a value of SsmAutomation
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:targetAccount:SsmAutomation'
, ssmAutomation_targetAccount
- The account that the automation document will be run in. This can be in
either the management account or an application account.
$sel:parameters:SsmAutomation'
, ssmAutomation_parameters
- The key-value pair parameters to use when running the automation
document.
$sel:documentVersion:SsmAutomation'
, ssmAutomation_documentVersion
- The automation document's version to use when running.
$sel:documentName:SsmAutomation'
, ssmAutomation_documentName
- The automation document's name.
$sel:roleArn:SsmAutomation'
, ssmAutomation_roleArn
- The Amazon Resource Name (ARN) of the role that the automation document
will assume when running commands.
ssmAutomation_targetAccount :: Lens' SsmAutomation (Maybe SsmTargetAccount) Source #
The account that the automation document will be run in. This can be in either the management account or an application account.
ssmAutomation_parameters :: Lens' SsmAutomation (Maybe (HashMap Text [Text])) Source #
The key-value pair parameters to use when running the automation document.
ssmAutomation_documentVersion :: Lens' SsmAutomation (Maybe Text) Source #
The automation document's version to use when running.
ssmAutomation_documentName :: Lens' SsmAutomation Text Source #
The automation document's name.
ssmAutomation_roleArn :: Lens' SsmAutomation Text Source #
The Amazon Resource Name (ARN) of the role that the automation document will assume when running commands.