Class: Aws::SecurityHub::Types::AwsCodeBuildProjectSource
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecurityHub::Types::AwsCodeBuildProjectSource
- Defined in:
- gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb
Overview
When making an API call, you may pass AwsCodeBuildProjectSource data as a hash:
{
type: "NonEmptyString",
location: "NonEmptyString",
git_clone_depth: 1,
insecure_ssl: false,
}
Information about the build input source code for this build project.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#git_clone_depth ⇒ Integer
Information about the Git clone depth for the build project.
-
#insecure_ssl ⇒ Boolean
Whether to ignore SSL warnings while connecting to the project source code.
-
#location ⇒ String
Information about the location of the source code to be built.
-
#type ⇒ String
The type of repository that contains the source code to be built.
Instance Attribute Details
#git_clone_depth ⇒ Integer
Information about the Git clone depth for the build project.
2780 2781 2782 2783 2784 2785 2786 2787 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2780 class AwsCodeBuildProjectSource < Struct.new( :type, :location, :git_clone_depth, :insecure_ssl) SENSITIVE = [] include Aws::Structure end |
#insecure_ssl ⇒ Boolean
Whether to ignore SSL warnings while connecting to the project source code.
2780 2781 2782 2783 2784 2785 2786 2787 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2780 class AwsCodeBuildProjectSource < Struct.new( :type, :location, :git_clone_depth, :insecure_ssl) SENSITIVE = [] include Aws::Structure end |
#location ⇒ String
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 AWS CodePipeline, location should not be specified. If it is specified, AWS CodePipeline ignores it. This is because AWS CodePipeline uses the settings in a pipeline's source action instead of this value.
For source code in an AWS 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.
2780 2781 2782 2783 2784 2785 2786 2787 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2780 class AwsCodeBuildProjectSource < Struct.new( :type, :location, :git_clone_depth, :insecure_ssl) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
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 AWS CodeCommit repository.CODEPIPELINE
- The source code settings are specified in the source action of a pipeline in AWS 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.
2780 2781 2782 2783 2784 2785 2786 2787 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2780 class AwsCodeBuildProjectSource < Struct.new( :type, :location, :git_clone_depth, :insecure_ssl) SENSITIVE = [] include Aws::Structure end |