amazonka-ssm-2.0: Amazon Simple Systems Manager (SSM) 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.SSM.Types.Runbook

Description

 
Synopsis

Documentation

data Runbook Source #

Information about an Automation runbook used in a runbook workflow in Change Manager.

The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.

See: newRunbook smart constructor.

Constructors

Runbook' 

Fields

  • documentVersion :: Maybe Text

    The version of the Automation runbook used in a runbook workflow.

  • maxConcurrency :: Maybe Text

    The MaxConcurrency value specified by the user when the operation started, indicating the maximum number of resources that the runbook operation can run on at the same time.

  • maxErrors :: Maybe Text

    The MaxErrors value specified by the user when the execution started, indicating the maximum number of errors that can occur during the operation before the updates are stopped or rolled back.

  • parameters :: Maybe (HashMap Text [Text])

    The key-value map of execution parameters, which were supplied when calling StartChangeRequestExecution.

  • targetLocations :: Maybe (NonEmpty TargetLocation)

    Information about the Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Runbook operation.

  • targetMaps :: Maybe [HashMap Text [Text]]

    A key-value mapping of runbook parameters to target resources. Both Targets and TargetMaps can't be specified together.

  • targetParameterName :: Maybe Text

    The name of the parameter used as the target resource for the rate-controlled runbook workflow. Required if you specify Targets.

  • targets :: Maybe [Target]

    A key-value mapping to target resources that the runbook operation performs tasks on. Required if you specify TargetParameterName.

  • documentName :: Text

    The name of the Automation runbook used in a runbook workflow.

Instances

Instances details
FromJSON Runbook Source # 
Instance details

Defined in Amazonka.SSM.Types.Runbook

ToJSON Runbook Source # 
Instance details

Defined in Amazonka.SSM.Types.Runbook

Generic Runbook Source # 
Instance details

Defined in Amazonka.SSM.Types.Runbook

Associated Types

type Rep Runbook :: Type -> Type #

Methods

from :: Runbook -> Rep Runbook x #

to :: Rep Runbook x -> Runbook #

Read Runbook Source # 
Instance details

Defined in Amazonka.SSM.Types.Runbook

Show Runbook Source # 
Instance details

Defined in Amazonka.SSM.Types.Runbook

NFData Runbook Source # 
Instance details

Defined in Amazonka.SSM.Types.Runbook

Methods

rnf :: Runbook -> () #

Eq Runbook Source # 
Instance details

Defined in Amazonka.SSM.Types.Runbook

Methods

(==) :: Runbook -> Runbook -> Bool #

(/=) :: Runbook -> Runbook -> Bool #

Hashable Runbook Source # 
Instance details

Defined in Amazonka.SSM.Types.Runbook

Methods

hashWithSalt :: Int -> Runbook -> Int #

hash :: Runbook -> Int #

type Rep Runbook Source # 
Instance details

Defined in Amazonka.SSM.Types.Runbook

newRunbook Source #

Create a value of Runbook 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:Runbook', runbook_documentVersion - The version of the Automation runbook used in a runbook workflow.

$sel:maxConcurrency:Runbook', runbook_maxConcurrency - The MaxConcurrency value specified by the user when the operation started, indicating the maximum number of resources that the runbook operation can run on at the same time.

$sel:maxErrors:Runbook', runbook_maxErrors - The MaxErrors value specified by the user when the execution started, indicating the maximum number of errors that can occur during the operation before the updates are stopped or rolled back.

$sel:parameters:Runbook', runbook_parameters - The key-value map of execution parameters, which were supplied when calling StartChangeRequestExecution.

$sel:targetLocations:Runbook', runbook_targetLocations - Information about the Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Runbook operation.

$sel:targetMaps:Runbook', runbook_targetMaps - A key-value mapping of runbook parameters to target resources. Both Targets and TargetMaps can't be specified together.

$sel:targetParameterName:Runbook', runbook_targetParameterName - The name of the parameter used as the target resource for the rate-controlled runbook workflow. Required if you specify Targets.

$sel:targets:Runbook', runbook_targets - A key-value mapping to target resources that the runbook operation performs tasks on. Required if you specify TargetParameterName.

$sel:documentName:Runbook', runbook_documentName - The name of the Automation runbook used in a runbook workflow.

runbook_documentVersion :: Lens' Runbook (Maybe Text) Source #

The version of the Automation runbook used in a runbook workflow.

runbook_maxConcurrency :: Lens' Runbook (Maybe Text) Source #

The MaxConcurrency value specified by the user when the operation started, indicating the maximum number of resources that the runbook operation can run on at the same time.

runbook_maxErrors :: Lens' Runbook (Maybe Text) Source #

The MaxErrors value specified by the user when the execution started, indicating the maximum number of errors that can occur during the operation before the updates are stopped or rolled back.

runbook_parameters :: Lens' Runbook (Maybe (HashMap Text [Text])) Source #

The key-value map of execution parameters, which were supplied when calling StartChangeRequestExecution.

runbook_targetLocations :: Lens' Runbook (Maybe (NonEmpty TargetLocation)) Source #

Information about the Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Runbook operation.

runbook_targetMaps :: Lens' Runbook (Maybe [HashMap Text [Text]]) Source #

A key-value mapping of runbook parameters to target resources. Both Targets and TargetMaps can't be specified together.

runbook_targetParameterName :: Lens' Runbook (Maybe Text) Source #

The name of the parameter used as the target resource for the rate-controlled runbook workflow. Required if you specify Targets.

runbook_targets :: Lens' Runbook (Maybe [Target]) Source #

A key-value mapping to target resources that the runbook operation performs tasks on. Required if you specify TargetParameterName.

runbook_documentName :: Lens' Runbook Text Source #

The name of the Automation runbook used in a runbook workflow.