CloudWatchLoggingOptions

class aws_cdk.aws_codebuild.CloudWatchLoggingOptions(*, enabled=None, log_group=None, prefix=None)

Bases: object

Information about logs built to a CloudWatch Log Group for a build project.

Parameters
  • enabled (Optional[bool]) – The current status of the logs in Amazon CloudWatch Logs for a build project. Default: true

  • log_group (Optional[ILogGroup]) – The Log Group to send logs to. Default: - no log group specified

  • prefix (Optional[str]) – The prefix of the stream name of the Amazon CloudWatch Logs. Default: - no prefix

Attributes

enabled

The current status of the logs in Amazon CloudWatch Logs for a build project.

Default

true

Return type

Optional[bool]

log_group

The Log Group to send logs to.

Default
  • no log group specified

Return type

Optional[ILogGroup]

prefix

The prefix of the stream name of the Amazon CloudWatch Logs.

Default
  • no prefix

Return type

Optional[str]