Interface CfnProject.BuildStatusConfigProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnProject.BuildStatusConfigProperty.Jsii$Proxy
Enclosing class:
CfnProject

@Stability(Stable) public static interface CfnProject.BuildStatusConfigProperty extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.codebuild.*;
 BuildStatusConfigProperty buildStatusConfigProperty = BuildStatusConfigProperty.builder()
         .context("context")
         .targetUrl("targetUrl")
         .build();
 
  • Method Details

    • getContext

      @Stability(Stable) @Nullable default String getContext()
      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.
    • getTargetUrl

      @Stability(Stable) @Nullable default String getTargetUrl()
      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.
    • builder

      @Stability(Stable) static CfnProject.BuildStatusConfigProperty.Builder builder()
      Returns:
      a CfnProject.BuildStatusConfigProperty.Builder of CfnProject.BuildStatusConfigProperty