libZSservicesZSamazonka-securityhubZSamazonka-securityhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecurityHub.Types.AwsCodeBuildProjectSource

Description

 
Synopsis

Documentation

data AwsCodeBuildProjectSource Source #

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

See: newAwsCodeBuildProjectSource smart constructor.

Constructors

AwsCodeBuildProjectSource' 

Fields

  • insecureSsl :: Maybe Bool

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

  • location :: Maybe Text

    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 CodePipeline, location should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value.
    • For source code in an 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.
  • gitCloneDepth :: Maybe Int

    Information about the Git clone depth for the build project.

  • type' :: Maybe Text

    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 CodeCommit repository.
    • CODEPIPELINE - The source code settings are specified in the source action of a pipeline in 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.

Instances

Instances details
Eq AwsCodeBuildProjectSource Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCodeBuildProjectSource

Read AwsCodeBuildProjectSource Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCodeBuildProjectSource

Show AwsCodeBuildProjectSource Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCodeBuildProjectSource

Generic AwsCodeBuildProjectSource Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCodeBuildProjectSource

Associated Types

type Rep AwsCodeBuildProjectSource :: Type -> Type #

NFData AwsCodeBuildProjectSource Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCodeBuildProjectSource

Hashable AwsCodeBuildProjectSource Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCodeBuildProjectSource

ToJSON AwsCodeBuildProjectSource Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCodeBuildProjectSource

FromJSON AwsCodeBuildProjectSource Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCodeBuildProjectSource

type Rep AwsCodeBuildProjectSource Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCodeBuildProjectSource

type Rep AwsCodeBuildProjectSource = D1 ('MetaData "AwsCodeBuildProjectSource" "Amazonka.SecurityHub.Types.AwsCodeBuildProjectSource" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsCodeBuildProjectSource'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "insecureSsl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "gitCloneDepth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newAwsCodeBuildProjectSource :: AwsCodeBuildProjectSource Source #

Create a value of AwsCodeBuildProjectSource 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:insecureSsl:AwsCodeBuildProjectSource', awsCodeBuildProjectSource_insecureSsl - Whether to ignore SSL warnings while connecting to the project source code.

$sel:location:AwsCodeBuildProjectSource', awsCodeBuildProjectSource_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 CodePipeline, location should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value.
  • For source code in an 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.

$sel:gitCloneDepth:AwsCodeBuildProjectSource', awsCodeBuildProjectSource_gitCloneDepth - Information about the Git clone depth for the build project.

$sel:type':AwsCodeBuildProjectSource', awsCodeBuildProjectSource_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 CodeCommit repository.
  • CODEPIPELINE - The source code settings are specified in the source action of a pipeline in 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.

awsCodeBuildProjectSource_insecureSsl :: Lens' AwsCodeBuildProjectSource (Maybe Bool) Source #

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

awsCodeBuildProjectSource_location :: Lens' AwsCodeBuildProjectSource (Maybe Text) Source #

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 CodePipeline, location should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value.
  • For source code in an 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.

awsCodeBuildProjectSource_gitCloneDepth :: Lens' AwsCodeBuildProjectSource (Maybe Int) Source #

Information about the Git clone depth for the build project.

awsCodeBuildProjectSource_type :: Lens' AwsCodeBuildProjectSource (Maybe Text) Source #

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 CodeCommit repository.
  • CODEPIPELINE - The source code settings are specified in the source action of a pipeline in 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.