Show / Hide Table of Contents

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.

Inheritance
object
CfnProjectPropsMixin.LogsConfigProperty
Implements
CfnProjectPropsMixin.ILogsConfigProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-logsconfig.html

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()

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.

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-logsconfig.html

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

object

Remarks

CloudWatch Logs are enabled by default.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-logsconfig.html#cfn-codebuild-project-logsconfig-cloudwatchlogs

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

object

Remarks

S3 logs are not enabled by default.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-logsconfig.html#cfn-codebuild-project-logsconfig-s3logs

Type union: either IResolvable or CfnProjectPropsMixin.IS3LogsConfigProperty

Implements

CfnProjectPropsMixin.ILogsConfigProperty
Back to top Generated by DocFX