LogsLocation - AWS CodeBuild
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

LogsLocation

Information about build logs in CloudWatch Logs.

Contents

Note

In the following list, the required parameters are described first.

cloudWatchLogs

Information about CloudWatch Logs for a build project.

Type: CloudWatchLogsConfig object

Required: No

cloudWatchLogsArn

The ARN of the CloudWatch Logs stream for a build execution. Its format is arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}. The CloudWatch Logs stream is created during the PROVISIONING phase of a build and the ARN will not be valid until it is created. For more information, see Resources Defined by CloudWatch Logs.

Type: String

Required: No

The URL to an individual build log in CloudWatch Logs. The log stream is created during the PROVISIONING phase of a build and the deeplink will not be valid until it is created.

Type: String

Required: No

groupName

The name of the CloudWatch Logs group for the build logs.

Type: String

Required: No

The URL to a build log in an S3 bucket.

Type: String

Required: No

s3Logs

Information about S3 logs for a build project.

Type: S3LogsConfig object

Required: No

s3LogsArn

The ARN of S3 logs for a build project. Its format is arn:${Partition}:s3:::${BucketName}/${ObjectName}. For more information, see Resources Defined by Amazon S3.

Type: String

Required: No

streamName

The name of the CloudWatch Logs stream for the build logs.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: