Class CfnProject.CloudWatchLogsConfigProperty
CloudWatchLogs
is a property of the AWS CodeBuild Project LogsConfig property type that specifies settings for CloudWatch logs generated by an AWS CodeBuild build.
Inheritance
System.Object
CfnProject.CloudWatchLogsConfigProperty
Implements
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CloudWatchLogsConfigProperty : Object, CfnProject.ICloudWatchLogsConfigProperty
Syntax (vb)
Public Class CloudWatchLogsConfigProperty
Inherits Object
Implements CfnProject.ICloudWatchLogsConfigProperty
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.AWS.CodeBuild;
var cloudWatchLogsConfigProperty = new CloudWatchLogsConfigProperty {
Status = "status",
// the properties below are optional
GroupName = "groupName",
StreamName = "streamName"
};
Synopsis
Constructors
CloudWatchLogsConfigProperty() |
Properties
GroupName | The group name of the logs in CloudWatch Logs. |
Status | The current status of the logs in CloudWatch Logs for a build project. Valid values are:. |
StreamName | The prefix of the stream name of the CloudWatch Logs. |
Constructors
CloudWatchLogsConfigProperty()
public CloudWatchLogsConfigProperty()
Properties
GroupName
The group name of the logs in CloudWatch Logs.
public string GroupName { get; set; }
Property Value
System.String
Remarks
Status
The current status of the logs in CloudWatch Logs for a build project. Valid values are:.
public string Status { get; set; }
Property Value
System.String
Remarks
StreamName
The prefix of the stream name of the CloudWatch Logs.
public string StreamName { get; set; }
Property Value
System.String