Interface CfnProject.LogsConfigProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnProject.LogsConfigProperty.Jsii$Proxy
Enclosing class:
CfnProject

@Stability(Stable) public static interface CfnProject.LogsConfigProperty extends software.amazon.jsii.JsiiSerializable
LogsConfig is a property of the AWS CodeBuild Project resource that specifies information about logs for a build project. These can be logs in Amazon CloudWatch Logs, built in a specified S3 bucket, or both.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.codebuild.*;
 LogsConfigProperty logsConfigProperty = LogsConfigProperty.builder()
         .cloudWatchLogs(CloudWatchLogsConfigProperty.builder()
                 .status("status")
                 // the properties below are optional
                 .groupName("groupName")
                 .streamName("streamName")
                 .build())
         .s3Logs(S3LogsConfigProperty.builder()
                 .status("status")
                 // the properties below are optional
                 .encryptionDisabled(false)
                 .location("location")
                 .build())
         .build();
 

See Also: