AwsCodebuildProjectCloudwatchLogsArgs

interface AwsCodebuildProjectCloudwatchLogsArgs extends Omit<aws.types.input.codebuild.ProjectLogsConfigCloudwatchLogs, 'groupName' | 'status'> { logGroup: AwsCloudwatch; streamName?: Input<string | undefined>; }

CloudWatch logging inputs for AwsCodebuildProjectLogsArgs.

Remarks

CodeBuild logging is enabled whenever this configuration is provided. The log-group name is always resolved from logGroup; direct provider groupName input is not supported.

Example

CODE
const codebuildLogGroup = new AwsCloudwatch({
  logGroup: {
    name: 'dockerBuildLogs',
  },
});

const cloudwatchLogs: AwsCodebuildProjectCloudwatchLogsArgs = {
  logGroup: codebuildLogGroup,
};

Hierarchy

  • ProjectLogsConfigCloudwatchLogs, "groupName" | "status">
  • AwsCodebuildProjectCloudwatchLogsArgs

Properties

logGroup: AwsCloudwatch

Required CloudWatch log-group reference used by CodeBuild logging.

streamName: Input<string | undefined>

Inherited from streamName

Prefix of the log stream name of the logs in CloudWatch Logs.