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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnProject.LogsConfigProperty
static final class
An implementation forCfnProject.LogsConfigProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCloudWatchLogs
Information about CloudWatch Logs for a build project.CloudWatch Logs are enabled by default.
- See Also:
-
getS3Logs
Information about logs built to an S3 bucket for a build project.S3 logs are not enabled by default.
- See Also:
-
builder
-