AWS::CodeBuild::Project BuildStatusConfig - AWS CloudFormation (original) (raw)

Contains information that defines how the AWS CodeBuild build project reports the build status to the source provider.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{
  "Context" : String,
  "TargetUrl" : String
}

YAML

  Context: String
  TargetUrl: String

Properties

Context

Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

Bitbucket

This parameter is used for the name parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.

GitHub/GitHub Enterprise Server

This parameter is used for the context parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.

Required: No

Type: String

Update requires: No interruption

TargetUrl

Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

Bitbucket

This parameter is used for the url parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.

GitHub/GitHub Enterprise Server

This parameter is used for the target_url parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.

Required: No

Type: String

Update requires: No interruption

BatchRestrictions

CloudWatchLogsConfig

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.