Show / Hide Table of Contents

Interface CfnProject.ILogsConfigProperty

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.

Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnProject.ILogsConfigProperty
Syntax (vb)
Public Interface CfnProject.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.AWS.CodeBuild;

             var logsConfigProperty = new LogsConfigProperty {
                 CloudWatchLogs = new CloudWatchLogsConfigProperty {
                     Status = "status",

                     // the properties below are optional
                     GroupName = "groupName",
                     StreamName = "streamName"
                 },
                 S3Logs = new S3LogsConfigProperty {
                     Status = "status",

                     // the properties below are optional
                     EncryptionDisabled = false,
                     Location = "location"
                 }
             };

Synopsis

Properties

CloudWatchLogs

Information about CloudWatch Logs for a build project.

S3Logs

Information about logs built to an S3 bucket for a build project.

Properties

CloudWatchLogs

Information about CloudWatch Logs for a build project.

object? CloudWatchLogs { get; }
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 CfnProject.ICloudWatchLogsConfigProperty

S3Logs

Information about logs built to an S3 bucket for a build project.

object? S3Logs { get; }
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 CfnProject.IS3LogsConfigProperty

Back to top Generated by DocFX