AwsCodeBuildProjectSource - Amazon Security Hub
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AwsCodeBuildProjectSource

Information about the build input source code for this build project.

Contents

GitCloneDepth

Information about the Git clone depth for the build project.

Type: Integer

Required: No

InsecureSsl

Whether to ignore SSL warnings while connecting to the project source code.

Type: Boolean

Required: No

Location

Information about the location of the source code to be built.

Valid values include:

  • For source code settings that are specified in the source action of a pipeline in Amazon CodePipeline, location should not be specified. If it is specified, Amazon CodePipeline ignores it. This is because Amazon CodePipeline uses the settings in a pipeline's source action instead of this value.

  • For source code in an Amazon CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the build spec file (for example, https://git-codecommit.region-ID.amazonaws.com/v1/repos/repo-name ).

  • For source code in an S3 input bucket, one of the following.

    • The path to the ZIP file that contains the source code (for example, bucket-name/path/to/object-name.zip).

    • The path to the folder that contains the source code (for example, bucket-name/path/to/source-code/folder/).

  • For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the build spec file.

  • For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the build spec file.

Type: String

Pattern: .*\S.*

Required: No

Type

The type of repository that contains the source code to be built. Valid values are:

  • BITBUCKET - The source code is in a Bitbucket repository.

  • CODECOMMIT - The source code is in an Amazon CodeCommit repository.

  • CODEPIPELINE - The source code settings are specified in the source action of a pipeline in Amazon CodePipeline.

  • GITHUB - The source code is in a GitHub repository.

  • GITHUB_ENTERPRISE - The source code is in a GitHub Enterprise repository.

  • NO_SOURCE - The project does not have input source code.

  • S3 - The source code is in an S3 input bucket.

Type: String

Pattern: .*\S.*

Required: No

See Also

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