S3LoggingOptions

class aws_cdk.aws_codebuild.S3LoggingOptions(*, bucket, enabled=None, encrypted=None, prefix=None)

Bases: object

Information about logs built to an S3 bucket for a build project.

Parameters
  • bucket (IBucket) – The S3 Bucket to send logs to.

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

  • encrypted (Optional[bool]) – Encrypt the S3 build log output. Default: true

  • prefix (Optional[str]) – The path prefix for S3 logs. Default: - no prefix

Attributes

bucket

The S3 Bucket to send logs to.

Return type

IBucket

enabled

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

Default

true

Return type

Optional[bool]

encrypted

Encrypt the S3 build log output.

Default

true

Return type

Optional[bool]

prefix

The path prefix for S3 logs.

Default
  • no prefix

Return type

Optional[str]