libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SSMIncidents.Types.SsmAutomation

Description

 
Synopsis

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.

Constructors

SsmAutomation' 

Fields

Instances

Instances details
Eq SsmAutomation Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.SsmAutomation

Read SsmAutomation Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.SsmAutomation

Show SsmAutomation Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.SsmAutomation

Generic SsmAutomation Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.SsmAutomation

Associated Types

type Rep SsmAutomation :: Type -> Type #

NFData SsmAutomation Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.SsmAutomation

Methods

rnf :: SsmAutomation -> () #

Hashable SsmAutomation Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.SsmAutomation

ToJSON SsmAutomation Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.SsmAutomation

FromJSON SsmAutomation Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.SsmAutomation

type Rep SsmAutomation Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.SsmAutomation

type Rep SsmAutomation = D1 ('MetaData "SsmAutomation" "Amazonka.SSMIncidents.Types.SsmAutomation" "libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents" 'False) (C1 ('MetaCons "SsmAutomation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "targetAccount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SsmTargetAccount)) :*: S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text [Text])))) :*: (S1 ('MetaSel ('Just "documentVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "documentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newSsmAutomation Source #

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.