@Stability(value=Stable)
public static interface CfnProject.LogsConfigProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnProject.LogsConfigProperty.Builder
A builder for
CfnProject.LogsConfigProperty |
static class |
CfnProject.LogsConfigProperty.Jsii$Proxy
An implementation for
CfnProject.LogsConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnProject.LogsConfigProperty.Builder |
builder() |
default Object |
getCloudWatchLogs()
Information about CloudWatch Logs for a build project.
|
default Object |
getS3Logs()
Information about logs built to an S3 bucket for a build project.
|
@Stability(value=Stable) @Nullable default Object getCloudWatchLogs()
CloudWatch Logs are enabled by default.
@Stability(value=Stable) @Nullable default Object getS3Logs()
S3 logs are not enabled by default.
@Stability(value=Stable) static CfnProject.LogsConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.