libZSservicesZSamazonka-ssmZSamazonka-ssm
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.SSM.Types.CloudWatchOutputConfig

Description

 
Synopsis

Documentation

data CloudWatchOutputConfig Source #

Configuration options for sending command output to Amazon CloudWatch Logs.

See: newCloudWatchOutputConfig smart constructor.

Constructors

CloudWatchOutputConfig' 

Fields

  • cloudWatchLogGroupName :: Maybe Text

    The name of the CloudWatch Logs log group where you want to send command output. If you don't specify a group name, Amazon Web Services Systems Manager automatically creates a log group for you. The log group uses the following naming format:

    aws/ssm/SystemsManagerDocumentName
  • cloudWatchOutputEnabled :: Maybe Bool

    Enables Systems Manager to send command output to CloudWatch Logs.

Instances

Instances details
Eq CloudWatchOutputConfig Source # 
Instance details

Defined in Amazonka.SSM.Types.CloudWatchOutputConfig

Read CloudWatchOutputConfig Source # 
Instance details

Defined in Amazonka.SSM.Types.CloudWatchOutputConfig

Show CloudWatchOutputConfig Source # 
Instance details

Defined in Amazonka.SSM.Types.CloudWatchOutputConfig

Generic CloudWatchOutputConfig Source # 
Instance details

Defined in Amazonka.SSM.Types.CloudWatchOutputConfig

Associated Types

type Rep CloudWatchOutputConfig :: Type -> Type #

NFData CloudWatchOutputConfig Source # 
Instance details

Defined in Amazonka.SSM.Types.CloudWatchOutputConfig

Methods

rnf :: CloudWatchOutputConfig -> () #

Hashable CloudWatchOutputConfig Source # 
Instance details

Defined in Amazonka.SSM.Types.CloudWatchOutputConfig

ToJSON CloudWatchOutputConfig Source # 
Instance details

Defined in Amazonka.SSM.Types.CloudWatchOutputConfig

FromJSON CloudWatchOutputConfig Source # 
Instance details

Defined in Amazonka.SSM.Types.CloudWatchOutputConfig

type Rep CloudWatchOutputConfig Source # 
Instance details

Defined in Amazonka.SSM.Types.CloudWatchOutputConfig

type Rep CloudWatchOutputConfig = D1 ('MetaData "CloudWatchOutputConfig" "Amazonka.SSM.Types.CloudWatchOutputConfig" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "CloudWatchOutputConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cloudWatchLogGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "cloudWatchOutputEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newCloudWatchOutputConfig :: CloudWatchOutputConfig Source #

Create a value of CloudWatchOutputConfig 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:cloudWatchLogGroupName:CloudWatchOutputConfig', cloudWatchOutputConfig_cloudWatchLogGroupName - The name of the CloudWatch Logs log group where you want to send command output. If you don't specify a group name, Amazon Web Services Systems Manager automatically creates a log group for you. The log group uses the following naming format:

aws/ssm/SystemsManagerDocumentName

$sel:cloudWatchOutputEnabled:CloudWatchOutputConfig', cloudWatchOutputConfig_cloudWatchOutputEnabled - Enables Systems Manager to send command output to CloudWatch Logs.

cloudWatchOutputConfig_cloudWatchLogGroupName :: Lens' CloudWatchOutputConfig (Maybe Text) Source #

The name of the CloudWatch Logs log group where you want to send command output. If you don't specify a group name, Amazon Web Services Systems Manager automatically creates a log group for you. The log group uses the following naming format:

aws/ssm/SystemsManagerDocumentName

cloudWatchOutputConfig_cloudWatchOutputEnabled :: Lens' CloudWatchOutputConfig (Maybe Bool) Source #

Enables Systems Manager to send command output to CloudWatch Logs.