Class CfnProjectPropsMixin.LogsConfigProperty
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.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.CodeBuild
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnProjectPropsMixin.LogsConfigProperty : CfnProjectPropsMixin.ILogsConfigProperty
Syntax (vb)
Public Class CfnProjectPropsMixin.LogsConfigProperty Implements CfnProjectPropsMixin.ILogsConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.CodeBuild;
var logsConfigProperty = new LogsConfigProperty {
CloudWatchLogs = new CloudWatchLogsConfigProperty {
GroupName = "groupName",
Status = "status",
StreamName = "streamName"
},
S3Logs = new S3LogsConfigProperty {
EncryptionDisabled = false,
Location = "location",
Status = "status"
}
};
Synopsis
Constructors
| LogsConfigProperty() |
|
Properties
| CloudWatchLogs | Information about CloudWatch Logs for a build project. |
| S3Logs | Information about logs built to an S3 bucket for a build project. |
Constructors
LogsConfigProperty()
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.
public LogsConfigProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.CodeBuild;
var logsConfigProperty = new LogsConfigProperty {
CloudWatchLogs = new CloudWatchLogsConfigProperty {
GroupName = "groupName",
Status = "status",
StreamName = "streamName"
},
S3Logs = new S3LogsConfigProperty {
EncryptionDisabled = false,
Location = "location",
Status = "status"
}
};
Properties
CloudWatchLogs
Information about CloudWatch Logs for a build project.
public object? CloudWatchLogs { get; set; }
Property Value
Remarks
CloudWatch Logs are enabled by default.
Type union: either IResolvable or CfnProjectPropsMixin.ICloudWatchLogsConfigProperty
S3Logs
Information about logs built to an S3 bucket for a build project.
public object? S3Logs { get; set; }
Property Value
Remarks
S3 logs are not enabled by default.
Type union: either IResolvable or CfnProjectPropsMixin.IS3LogsConfigProperty