[][src]Struct rusoto_securityhub::AwsCodeBuildProjectSource

pub struct AwsCodeBuildProjectSource {
    pub git_clone_depth: Option<i64>,
    pub insecure_ssl: Option<bool>,
    pub location: Option<String>,
    pub type_: Option<String>,
}

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

Fields

git_clone_depth: Option<i64>

Information about the Git clone depth for the build project.

insecure_ssl: Option<bool>

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

location: Option<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.

type_: Option<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.

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

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

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

Trait Implementations

impl Clone for AwsCodeBuildProjectSource[src]

impl Debug for AwsCodeBuildProjectSource[src]

impl Default for AwsCodeBuildProjectSource[src]

impl<'de> Deserialize<'de> for AwsCodeBuildProjectSource[src]

impl PartialEq<AwsCodeBuildProjectSource> for AwsCodeBuildProjectSource[src]

impl Serialize for AwsCodeBuildProjectSource[src]

impl StructuralPartialEq for AwsCodeBuildProjectSource[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.