libZSservicesZSamazonka-codebuildZSamazonka-codebuild
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.CodeBuild.Types.LogsConfig

Description

 
Synopsis

Documentation

data LogsConfig Source #

Information about logs for a build project. These can be logs in CloudWatch Logs, built in a specified S3 bucket, or both.

See: newLogsConfig smart constructor.

Constructors

LogsConfig' 

Fields

Instances

Instances details
Eq LogsConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.LogsConfig

Read LogsConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.LogsConfig

Show LogsConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.LogsConfig

Generic LogsConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.LogsConfig

Associated Types

type Rep LogsConfig :: Type -> Type #

NFData LogsConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.LogsConfig

Methods

rnf :: LogsConfig -> () #

Hashable LogsConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.LogsConfig

ToJSON LogsConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.LogsConfig

FromJSON LogsConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.LogsConfig

type Rep LogsConfig Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.LogsConfig

type Rep LogsConfig = D1 ('MetaData "LogsConfig" "Amazonka.CodeBuild.Types.LogsConfig" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "LogsConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "s3Logs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3LogsConfig)) :*: S1 ('MetaSel ('Just "cloudWatchLogs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CloudWatchLogsConfig))))

newLogsConfig :: LogsConfig Source #

Create a value of LogsConfig 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:s3Logs:LogsConfig', logsConfig_s3Logs - Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.

$sel:cloudWatchLogs:LogsConfig', logsConfig_cloudWatchLogs - Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default.

logsConfig_s3Logs :: Lens' LogsConfig (Maybe S3LogsConfig) Source #

Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.

logsConfig_cloudWatchLogs :: Lens' LogsConfig (Maybe CloudWatchLogsConfig) Source #

Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default.