interface BuildStatusConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeBuild.Mixins.CfnProjectPropsMixin.BuildStatusConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodebuild/mixins#CfnProjectPropsMixin_BuildStatusConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.codebuild.mixins.CfnProjectPropsMixin.BuildStatusConfigProperty |
Python | aws_cdk.mixins_preview.aws_codebuild.mixins.CfnProjectPropsMixin.BuildStatusConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_codebuild » mixins » CfnProjectPropsMixin » BuildStatusConfigProperty |
Contains information that defines how the AWS CodeBuild build project reports the build status to the source provider.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as codebuild_mixins } from '@aws-cdk/mixins-preview/aws-codebuild';
const buildStatusConfigProperty: codebuild_mixins.CfnProjectPropsMixin.BuildStatusConfigProperty = {
context: 'context',
targetUrl: 'targetUrl',
};
Properties
| Name | Type | Description |
|---|---|---|
| context? | string | Specifies the context of the build status CodeBuild sends to the source provider. |
| target | string | Specifies the target url of the build status CodeBuild sends to the source provider. |
context?
Type:
string
(optional)
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
nameparameter 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
contextparameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
targetUrl?
Type:
string
(optional)
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
urlparameter 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_urlparameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.

.NET
Go
Java
Python
TypeScript