Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data BuildStatusConfig Source #
Contains information that defines how the CodeBuild build project reports the build status to the source provider.
See: newBuildStatusConfig
smart constructor.
BuildStatusConfig' | |
|
Instances
newBuildStatusConfig :: BuildStatusConfig Source #
Create a value of BuildStatusConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:context:BuildStatusConfig'
, buildStatusConfig_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.
$sel:targetUrl:BuildStatusConfig'
, buildStatusConfig_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.
buildStatusConfig_context :: Lens' BuildStatusConfig (Maybe Text) Source #
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.
buildStatusConfig_targetUrl :: Lens' BuildStatusConfig (Maybe Text) Source #
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.