| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeBuild.Types
Contents
- Service Configuration
- Errors
- ArtifactNamespace
- ArtifactPackaging
- ArtifactsType
- AuthType
- BatchReportModeType
- BucketOwnerAccess
- BuildBatchPhaseType
- BuildPhaseType
- CacheMode
- CacheType
- ComputeType
- CredentialProviderType
- EnvironmentType
- EnvironmentVariableType
- FileSystemType
- ImagePullCredentialsType
- LanguageType
- LogsConfigStatusType
- PlatformType
- ProjectSortByType
- ProjectVisibilityType
- ReportCodeCoverageSortByType
- ReportExportConfigType
- ReportGroupSortByType
- ReportGroupStatusType
- ReportGroupTrendFieldType
- ReportPackagingType
- ReportStatusType
- ReportType
- RetryBuildBatchType
- ServerType
- SharedResourceSortByType
- SortOrderType
- SourceAuthType
- SourceType
- StatusType
- WebhookBuildType
- WebhookFilterType
- BatchRestrictions
- Build
- BuildArtifacts
- BuildBatch
- BuildBatchFilter
- BuildBatchPhase
- BuildGroup
- BuildNotDeleted
- BuildPhase
- BuildStatusConfig
- BuildSummary
- CloudWatchLogsConfig
- CodeCoverage
- CodeCoverageReportSummary
- DebugSession
- EnvironmentImage
- EnvironmentLanguage
- EnvironmentPlatform
- EnvironmentVariable
- ExportedEnvironmentVariable
- GitSubmodulesConfig
- LogsConfig
- LogsLocation
- NetworkInterface
- PhaseContext
- Project
- ProjectArtifacts
- ProjectBadge
- ProjectBuildBatchConfig
- ProjectCache
- ProjectEnvironment
- ProjectFileSystemLocation
- ProjectSource
- ProjectSourceVersion
- RegistryCredential
- Report
- ReportExportConfig
- ReportFilter
- ReportGroup
- ReportGroupTrendStats
- ReportWithRawData
- ResolvedArtifact
- S3LogsConfig
- S3ReportExportConfig
- SourceAuth
- SourceCredentialsInfo
- Tag
- TestCase
- TestCaseFilter
- TestReportSummary
- VpcConfig
- Webhook
- WebhookFilter
Description
Synopsis
- defaultService :: Service
- _AccountLimitExceededException :: AsError a => Fold a ServiceError
- _InvalidInputException :: AsError a => Fold a ServiceError
- _OAuthProviderException :: AsError a => Fold a ServiceError
- _ResourceAlreadyExistsException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- newtype ArtifactNamespace where
- ArtifactNamespace' { }
- pattern ArtifactNamespace_BUILD_ID :: ArtifactNamespace
- pattern ArtifactNamespace_NONE :: ArtifactNamespace
- newtype ArtifactPackaging where
- ArtifactPackaging' { }
- pattern ArtifactPackaging_NONE :: ArtifactPackaging
- pattern ArtifactPackaging_ZIP :: ArtifactPackaging
- newtype ArtifactsType where
- ArtifactsType' { }
- pattern ArtifactsType_CODEPIPELINE :: ArtifactsType
- pattern ArtifactsType_NO_ARTIFACTS :: ArtifactsType
- pattern ArtifactsType_S3 :: ArtifactsType
- newtype AuthType where
- AuthType' {
- fromAuthType :: Text
- pattern AuthType_BASIC_AUTH :: AuthType
- pattern AuthType_OAUTH :: AuthType
- pattern AuthType_PERSONAL_ACCESS_TOKEN :: AuthType
- AuthType' {
- newtype BatchReportModeType where
- newtype BucketOwnerAccess where
- BucketOwnerAccess' { }
- pattern BucketOwnerAccess_FULL :: BucketOwnerAccess
- pattern BucketOwnerAccess_NONE :: BucketOwnerAccess
- pattern BucketOwnerAccess_READ_ONLY :: BucketOwnerAccess
- newtype BuildBatchPhaseType where
- BuildBatchPhaseType' { }
- pattern BuildBatchPhaseType_COMBINE_ARTIFACTS :: BuildBatchPhaseType
- pattern BuildBatchPhaseType_DOWNLOAD_BATCHSPEC :: BuildBatchPhaseType
- pattern BuildBatchPhaseType_FAILED :: BuildBatchPhaseType
- pattern BuildBatchPhaseType_IN_PROGRESS :: BuildBatchPhaseType
- pattern BuildBatchPhaseType_STOPPED :: BuildBatchPhaseType
- pattern BuildBatchPhaseType_SUBMITTED :: BuildBatchPhaseType
- pattern BuildBatchPhaseType_SUCCEEDED :: BuildBatchPhaseType
- newtype BuildPhaseType where
- BuildPhaseType' { }
- pattern BuildPhaseType_BUILD :: BuildPhaseType
- pattern BuildPhaseType_COMPLETED :: BuildPhaseType
- pattern BuildPhaseType_DOWNLOAD_SOURCE :: BuildPhaseType
- pattern BuildPhaseType_FINALIZING :: BuildPhaseType
- pattern BuildPhaseType_INSTALL :: BuildPhaseType
- pattern BuildPhaseType_POST_BUILD :: BuildPhaseType
- pattern BuildPhaseType_PRE_BUILD :: BuildPhaseType
- pattern BuildPhaseType_PROVISIONING :: BuildPhaseType
- pattern BuildPhaseType_QUEUED :: BuildPhaseType
- pattern BuildPhaseType_SUBMITTED :: BuildPhaseType
- pattern BuildPhaseType_UPLOAD_ARTIFACTS :: BuildPhaseType
- newtype CacheMode where
- CacheMode' { }
- pattern CacheMode_LOCAL_CUSTOM_CACHE :: CacheMode
- pattern CacheMode_LOCAL_DOCKER_LAYER_CACHE :: CacheMode
- pattern CacheMode_LOCAL_SOURCE_CACHE :: CacheMode
- newtype CacheType where
- CacheType' { }
- pattern CacheType_LOCAL :: CacheType
- pattern CacheType_NO_CACHE :: CacheType
- pattern CacheType_S3 :: CacheType
- newtype ComputeType where
- ComputeType' { }
- pattern ComputeType_BUILD_GENERAL1_2XLARGE :: ComputeType
- pattern ComputeType_BUILD_GENERAL1_LARGE :: ComputeType
- pattern ComputeType_BUILD_GENERAL1_MEDIUM :: ComputeType
- pattern ComputeType_BUILD_GENERAL1_SMALL :: ComputeType
- newtype CredentialProviderType where
- newtype EnvironmentType where
- EnvironmentType' { }
- pattern EnvironmentType_ARM_CONTAINER :: EnvironmentType
- pattern EnvironmentType_LINUX_CONTAINER :: EnvironmentType
- pattern EnvironmentType_LINUX_GPU_CONTAINER :: EnvironmentType
- pattern EnvironmentType_WINDOWS_CONTAINER :: EnvironmentType
- pattern EnvironmentType_WINDOWS_SERVER_2019_CONTAINER :: EnvironmentType
- newtype EnvironmentVariableType where
- newtype FileSystemType where
- FileSystemType' { }
- pattern FileSystemType_EFS :: FileSystemType
- newtype ImagePullCredentialsType where
- newtype LanguageType where
- LanguageType' { }
- pattern LanguageType_ANDROID :: LanguageType
- pattern LanguageType_BASE :: LanguageType
- pattern LanguageType_DOCKER :: LanguageType
- pattern LanguageType_DOTNET :: LanguageType
- pattern LanguageType_GOLANG :: LanguageType
- pattern LanguageType_JAVA :: LanguageType
- pattern LanguageType_NODE_JS :: LanguageType
- pattern LanguageType_PHP :: LanguageType
- pattern LanguageType_PYTHON :: LanguageType
- pattern LanguageType_RUBY :: LanguageType
- newtype LogsConfigStatusType where
- newtype PlatformType where
- PlatformType' { }
- pattern PlatformType_AMAZON_LINUX :: PlatformType
- pattern PlatformType_DEBIAN :: PlatformType
- pattern PlatformType_UBUNTU :: PlatformType
- pattern PlatformType_WINDOWS_SERVER :: PlatformType
- newtype ProjectSortByType where
- newtype ProjectVisibilityType where
- newtype ReportCodeCoverageSortByType where
- newtype ReportExportConfigType where
- newtype ReportGroupSortByType where
- newtype ReportGroupStatusType where
- newtype ReportGroupTrendFieldType where
- ReportGroupTrendFieldType' { }
- pattern ReportGroupTrendFieldType_BRANCHES_COVERED :: ReportGroupTrendFieldType
- pattern ReportGroupTrendFieldType_BRANCHES_MISSED :: ReportGroupTrendFieldType
- pattern ReportGroupTrendFieldType_BRANCH_COVERAGE :: ReportGroupTrendFieldType
- pattern ReportGroupTrendFieldType_DURATION :: ReportGroupTrendFieldType
- pattern ReportGroupTrendFieldType_LINES_COVERED :: ReportGroupTrendFieldType
- pattern ReportGroupTrendFieldType_LINES_MISSED :: ReportGroupTrendFieldType
- pattern ReportGroupTrendFieldType_LINE_COVERAGE :: ReportGroupTrendFieldType
- pattern ReportGroupTrendFieldType_PASS_RATE :: ReportGroupTrendFieldType
- pattern ReportGroupTrendFieldType_TOTAL :: ReportGroupTrendFieldType
- newtype ReportPackagingType where
- ReportPackagingType' { }
- pattern ReportPackagingType_NONE :: ReportPackagingType
- pattern ReportPackagingType_ZIP :: ReportPackagingType
- newtype ReportStatusType where
- ReportStatusType' { }
- pattern ReportStatusType_DELETING :: ReportStatusType
- pattern ReportStatusType_FAILED :: ReportStatusType
- pattern ReportStatusType_GENERATING :: ReportStatusType
- pattern ReportStatusType_INCOMPLETE :: ReportStatusType
- pattern ReportStatusType_SUCCEEDED :: ReportStatusType
- newtype ReportType where
- ReportType' { }
- pattern ReportType_CODE_COVERAGE :: ReportType
- pattern ReportType_TEST :: ReportType
- newtype RetryBuildBatchType where
- newtype ServerType where
- ServerType' { }
- pattern ServerType_BITBUCKET :: ServerType
- pattern ServerType_GITHUB :: ServerType
- pattern ServerType_GITHUB_ENTERPRISE :: ServerType
- newtype SharedResourceSortByType where
- newtype SortOrderType where
- SortOrderType' { }
- pattern SortOrderType_ASCENDING :: SortOrderType
- pattern SortOrderType_DESCENDING :: SortOrderType
- newtype SourceAuthType where
- SourceAuthType' { }
- pattern SourceAuthType_OAUTH :: SourceAuthType
- newtype SourceType where
- SourceType' { }
- pattern SourceType_BITBUCKET :: SourceType
- pattern SourceType_CODECOMMIT :: SourceType
- pattern SourceType_CODEPIPELINE :: SourceType
- pattern SourceType_GITHUB :: SourceType
- pattern SourceType_GITHUB_ENTERPRISE :: SourceType
- pattern SourceType_NO_SOURCE :: SourceType
- pattern SourceType_S3 :: SourceType
- newtype StatusType where
- StatusType' { }
- pattern StatusType_FAILED :: StatusType
- pattern StatusType_FAULT :: StatusType
- pattern StatusType_IN_PROGRESS :: StatusType
- pattern StatusType_STOPPED :: StatusType
- pattern StatusType_SUCCEEDED :: StatusType
- pattern StatusType_TIMED_OUT :: StatusType
- newtype WebhookBuildType where
- WebhookBuildType' { }
- pattern WebhookBuildType_BUILD :: WebhookBuildType
- pattern WebhookBuildType_BUILD_BATCH :: WebhookBuildType
- newtype WebhookFilterType where
- WebhookFilterType' { }
- pattern WebhookFilterType_ACTOR_ACCOUNT_ID :: WebhookFilterType
- pattern WebhookFilterType_BASE_REF :: WebhookFilterType
- pattern WebhookFilterType_COMMIT_MESSAGE :: WebhookFilterType
- pattern WebhookFilterType_EVENT :: WebhookFilterType
- pattern WebhookFilterType_FILE_PATH :: WebhookFilterType
- pattern WebhookFilterType_HEAD_REF :: WebhookFilterType
- data BatchRestrictions = BatchRestrictions' {}
- newBatchRestrictions :: BatchRestrictions
- batchRestrictions_computeTypesAllowed :: Lens' BatchRestrictions (Maybe [Text])
- batchRestrictions_maximumBuildsAllowed :: Lens' BatchRestrictions (Maybe Int)
- data Build = Build' {
- arn :: Maybe Text
- artifacts :: Maybe BuildArtifacts
- buildBatchArn :: Maybe Text
- buildComplete :: Maybe Bool
- buildNumber :: Maybe Integer
- buildStatus :: Maybe StatusType
- cache :: Maybe ProjectCache
- currentPhase :: Maybe Text
- debugSession :: Maybe DebugSession
- encryptionKey :: Maybe Text
- endTime :: Maybe POSIX
- environment :: Maybe ProjectEnvironment
- exportedEnvironmentVariables :: Maybe [ExportedEnvironmentVariable]
- fileSystemLocations :: Maybe [ProjectFileSystemLocation]
- id :: Maybe Text
- initiator :: Maybe Text
- logs :: Maybe LogsLocation
- networkInterface :: Maybe NetworkInterface
- phases :: Maybe [BuildPhase]
- projectName :: Maybe Text
- queuedTimeoutInMinutes :: Maybe Int
- reportArns :: Maybe [Text]
- resolvedSourceVersion :: Maybe Text
- secondaryArtifacts :: Maybe [BuildArtifacts]
- secondarySourceVersions :: Maybe [ProjectSourceVersion]
- secondarySources :: Maybe [ProjectSource]
- serviceRole :: Maybe Text
- source :: Maybe ProjectSource
- sourceVersion :: Maybe Text
- startTime :: Maybe POSIX
- timeoutInMinutes :: Maybe Int
- vpcConfig :: Maybe VpcConfig
- newBuild :: Build
- build_arn :: Lens' Build (Maybe Text)
- build_artifacts :: Lens' Build (Maybe BuildArtifacts)
- build_buildBatchArn :: Lens' Build (Maybe Text)
- build_buildComplete :: Lens' Build (Maybe Bool)
- build_buildNumber :: Lens' Build (Maybe Integer)
- build_buildStatus :: Lens' Build (Maybe StatusType)
- build_cache :: Lens' Build (Maybe ProjectCache)
- build_currentPhase :: Lens' Build (Maybe Text)
- build_debugSession :: Lens' Build (Maybe DebugSession)
- build_encryptionKey :: Lens' Build (Maybe Text)
- build_endTime :: Lens' Build (Maybe UTCTime)
- build_environment :: Lens' Build (Maybe ProjectEnvironment)
- build_exportedEnvironmentVariables :: Lens' Build (Maybe [ExportedEnvironmentVariable])
- build_fileSystemLocations :: Lens' Build (Maybe [ProjectFileSystemLocation])
- build_id :: Lens' Build (Maybe Text)
- build_initiator :: Lens' Build (Maybe Text)
- build_logs :: Lens' Build (Maybe LogsLocation)
- build_networkInterface :: Lens' Build (Maybe NetworkInterface)
- build_phases :: Lens' Build (Maybe [BuildPhase])
- build_projectName :: Lens' Build (Maybe Text)
- build_queuedTimeoutInMinutes :: Lens' Build (Maybe Int)
- build_reportArns :: Lens' Build (Maybe [Text])
- build_resolvedSourceVersion :: Lens' Build (Maybe Text)
- build_secondaryArtifacts :: Lens' Build (Maybe [BuildArtifacts])
- build_secondarySourceVersions :: Lens' Build (Maybe [ProjectSourceVersion])
- build_secondarySources :: Lens' Build (Maybe [ProjectSource])
- build_serviceRole :: Lens' Build (Maybe Text)
- build_source :: Lens' Build (Maybe ProjectSource)
- build_sourceVersion :: Lens' Build (Maybe Text)
- build_startTime :: Lens' Build (Maybe UTCTime)
- build_timeoutInMinutes :: Lens' Build (Maybe Int)
- build_vpcConfig :: Lens' Build (Maybe VpcConfig)
- data BuildArtifacts = BuildArtifacts' {}
- newBuildArtifacts :: BuildArtifacts
- buildArtifacts_artifactIdentifier :: Lens' BuildArtifacts (Maybe Text)
- buildArtifacts_bucketOwnerAccess :: Lens' BuildArtifacts (Maybe BucketOwnerAccess)
- buildArtifacts_encryptionDisabled :: Lens' BuildArtifacts (Maybe Bool)
- buildArtifacts_location :: Lens' BuildArtifacts (Maybe Text)
- buildArtifacts_md5sum :: Lens' BuildArtifacts (Maybe Text)
- buildArtifacts_overrideArtifactName :: Lens' BuildArtifacts (Maybe Bool)
- buildArtifacts_sha256sum :: Lens' BuildArtifacts (Maybe Text)
- data BuildBatch = BuildBatch' {
- arn :: Maybe Text
- artifacts :: Maybe BuildArtifacts
- buildBatchConfig :: Maybe ProjectBuildBatchConfig
- buildBatchNumber :: Maybe Integer
- buildBatchStatus :: Maybe StatusType
- buildGroups :: Maybe [BuildGroup]
- buildTimeoutInMinutes :: Maybe Int
- cache :: Maybe ProjectCache
- complete :: Maybe Bool
- currentPhase :: Maybe Text
- debugSessionEnabled :: Maybe Bool
- encryptionKey :: Maybe Text
- endTime :: Maybe POSIX
- environment :: Maybe ProjectEnvironment
- fileSystemLocations :: Maybe [ProjectFileSystemLocation]
- id :: Maybe Text
- initiator :: Maybe Text
- logConfig :: Maybe LogsConfig
- phases :: Maybe [BuildBatchPhase]
- projectName :: Maybe Text
- queuedTimeoutInMinutes :: Maybe Int
- resolvedSourceVersion :: Maybe Text
- secondaryArtifacts :: Maybe [BuildArtifacts]
- secondarySourceVersions :: Maybe [ProjectSourceVersion]
- secondarySources :: Maybe [ProjectSource]
- serviceRole :: Maybe Text
- source :: Maybe ProjectSource
- sourceVersion :: Maybe Text
- startTime :: Maybe POSIX
- vpcConfig :: Maybe VpcConfig
- newBuildBatch :: BuildBatch
- buildBatch_arn :: Lens' BuildBatch (Maybe Text)
- buildBatch_artifacts :: Lens' BuildBatch (Maybe BuildArtifacts)
- buildBatch_buildBatchConfig :: Lens' BuildBatch (Maybe ProjectBuildBatchConfig)
- buildBatch_buildBatchNumber :: Lens' BuildBatch (Maybe Integer)
- buildBatch_buildBatchStatus :: Lens' BuildBatch (Maybe StatusType)
- buildBatch_buildGroups :: Lens' BuildBatch (Maybe [BuildGroup])
- buildBatch_buildTimeoutInMinutes :: Lens' BuildBatch (Maybe Int)
- buildBatch_cache :: Lens' BuildBatch (Maybe ProjectCache)
- buildBatch_complete :: Lens' BuildBatch (Maybe Bool)
- buildBatch_currentPhase :: Lens' BuildBatch (Maybe Text)
- buildBatch_debugSessionEnabled :: Lens' BuildBatch (Maybe Bool)
- buildBatch_encryptionKey :: Lens' BuildBatch (Maybe Text)
- buildBatch_endTime :: Lens' BuildBatch (Maybe UTCTime)
- buildBatch_environment :: Lens' BuildBatch (Maybe ProjectEnvironment)
- buildBatch_fileSystemLocations :: Lens' BuildBatch (Maybe [ProjectFileSystemLocation])
- buildBatch_id :: Lens' BuildBatch (Maybe Text)
- buildBatch_initiator :: Lens' BuildBatch (Maybe Text)
- buildBatch_logConfig :: Lens' BuildBatch (Maybe LogsConfig)
- buildBatch_phases :: Lens' BuildBatch (Maybe [BuildBatchPhase])
- buildBatch_projectName :: Lens' BuildBatch (Maybe Text)
- buildBatch_queuedTimeoutInMinutes :: Lens' BuildBatch (Maybe Int)
- buildBatch_resolvedSourceVersion :: Lens' BuildBatch (Maybe Text)
- buildBatch_secondaryArtifacts :: Lens' BuildBatch (Maybe [BuildArtifacts])
- buildBatch_secondarySourceVersions :: Lens' BuildBatch (Maybe [ProjectSourceVersion])
- buildBatch_secondarySources :: Lens' BuildBatch (Maybe [ProjectSource])
- buildBatch_serviceRole :: Lens' BuildBatch (Maybe Text)
- buildBatch_source :: Lens' BuildBatch (Maybe ProjectSource)
- buildBatch_sourceVersion :: Lens' BuildBatch (Maybe Text)
- buildBatch_startTime :: Lens' BuildBatch (Maybe UTCTime)
- buildBatch_vpcConfig :: Lens' BuildBatch (Maybe VpcConfig)
- data BuildBatchFilter = BuildBatchFilter' {}
- newBuildBatchFilter :: BuildBatchFilter
- buildBatchFilter_status :: Lens' BuildBatchFilter (Maybe StatusType)
- data BuildBatchPhase = BuildBatchPhase' {}
- newBuildBatchPhase :: BuildBatchPhase
- buildBatchPhase_contexts :: Lens' BuildBatchPhase (Maybe [PhaseContext])
- buildBatchPhase_durationInSeconds :: Lens' BuildBatchPhase (Maybe Integer)
- buildBatchPhase_endTime :: Lens' BuildBatchPhase (Maybe UTCTime)
- buildBatchPhase_phaseStatus :: Lens' BuildBatchPhase (Maybe StatusType)
- buildBatchPhase_phaseType :: Lens' BuildBatchPhase (Maybe BuildBatchPhaseType)
- buildBatchPhase_startTime :: Lens' BuildBatchPhase (Maybe UTCTime)
- data BuildGroup = BuildGroup' {}
- newBuildGroup :: BuildGroup
- buildGroup_currentBuildSummary :: Lens' BuildGroup (Maybe BuildSummary)
- buildGroup_dependsOn :: Lens' BuildGroup (Maybe [Text])
- buildGroup_identifier :: Lens' BuildGroup (Maybe Text)
- buildGroup_ignoreFailure :: Lens' BuildGroup (Maybe Bool)
- buildGroup_priorBuildSummaryList :: Lens' BuildGroup (Maybe [BuildSummary])
- data BuildNotDeleted = BuildNotDeleted' {}
- newBuildNotDeleted :: BuildNotDeleted
- buildNotDeleted_id :: Lens' BuildNotDeleted (Maybe Text)
- buildNotDeleted_statusCode :: Lens' BuildNotDeleted (Maybe Text)
- data BuildPhase = BuildPhase' {}
- newBuildPhase :: BuildPhase
- buildPhase_contexts :: Lens' BuildPhase (Maybe [PhaseContext])
- buildPhase_durationInSeconds :: Lens' BuildPhase (Maybe Integer)
- buildPhase_endTime :: Lens' BuildPhase (Maybe UTCTime)
- buildPhase_phaseStatus :: Lens' BuildPhase (Maybe StatusType)
- buildPhase_phaseType :: Lens' BuildPhase (Maybe BuildPhaseType)
- buildPhase_startTime :: Lens' BuildPhase (Maybe UTCTime)
- data BuildStatusConfig = BuildStatusConfig' {}
- newBuildStatusConfig :: BuildStatusConfig
- buildStatusConfig_context :: Lens' BuildStatusConfig (Maybe Text)
- buildStatusConfig_targetUrl :: Lens' BuildStatusConfig (Maybe Text)
- data BuildSummary = BuildSummary' {}
- newBuildSummary :: BuildSummary
- buildSummary_arn :: Lens' BuildSummary (Maybe Text)
- buildSummary_buildStatus :: Lens' BuildSummary (Maybe StatusType)
- buildSummary_primaryArtifact :: Lens' BuildSummary (Maybe ResolvedArtifact)
- buildSummary_requestedOn :: Lens' BuildSummary (Maybe UTCTime)
- buildSummary_secondaryArtifacts :: Lens' BuildSummary (Maybe [ResolvedArtifact])
- data CloudWatchLogsConfig = CloudWatchLogsConfig' {}
- newCloudWatchLogsConfig :: LogsConfigStatusType -> CloudWatchLogsConfig
- cloudWatchLogsConfig_groupName :: Lens' CloudWatchLogsConfig (Maybe Text)
- cloudWatchLogsConfig_streamName :: Lens' CloudWatchLogsConfig (Maybe Text)
- cloudWatchLogsConfig_status :: Lens' CloudWatchLogsConfig LogsConfigStatusType
- data CodeCoverage = CodeCoverage' {}
- newCodeCoverage :: CodeCoverage
- codeCoverage_branchCoveragePercentage :: Lens' CodeCoverage (Maybe Double)
- codeCoverage_branchesCovered :: Lens' CodeCoverage (Maybe Natural)
- codeCoverage_branchesMissed :: Lens' CodeCoverage (Maybe Natural)
- codeCoverage_expired :: Lens' CodeCoverage (Maybe UTCTime)
- codeCoverage_filePath :: Lens' CodeCoverage (Maybe Text)
- codeCoverage_id :: Lens' CodeCoverage (Maybe Text)
- codeCoverage_lineCoveragePercentage :: Lens' CodeCoverage (Maybe Double)
- codeCoverage_linesCovered :: Lens' CodeCoverage (Maybe Natural)
- codeCoverage_linesMissed :: Lens' CodeCoverage (Maybe Natural)
- codeCoverage_reportARN :: Lens' CodeCoverage (Maybe Text)
- data CodeCoverageReportSummary = CodeCoverageReportSummary' {}
- newCodeCoverageReportSummary :: CodeCoverageReportSummary
- codeCoverageReportSummary_branchCoveragePercentage :: Lens' CodeCoverageReportSummary (Maybe Double)
- codeCoverageReportSummary_branchesCovered :: Lens' CodeCoverageReportSummary (Maybe Natural)
- codeCoverageReportSummary_branchesMissed :: Lens' CodeCoverageReportSummary (Maybe Natural)
- codeCoverageReportSummary_lineCoveragePercentage :: Lens' CodeCoverageReportSummary (Maybe Double)
- codeCoverageReportSummary_linesCovered :: Lens' CodeCoverageReportSummary (Maybe Natural)
- codeCoverageReportSummary_linesMissed :: Lens' CodeCoverageReportSummary (Maybe Natural)
- data DebugSession = DebugSession' {}
- newDebugSession :: DebugSession
- debugSession_sessionEnabled :: Lens' DebugSession (Maybe Bool)
- debugSession_sessionTarget :: Lens' DebugSession (Maybe Text)
- data EnvironmentImage = EnvironmentImage' {}
- newEnvironmentImage :: EnvironmentImage
- environmentImage_description :: Lens' EnvironmentImage (Maybe Text)
- environmentImage_name :: Lens' EnvironmentImage (Maybe Text)
- environmentImage_versions :: Lens' EnvironmentImage (Maybe [Text])
- data EnvironmentLanguage = EnvironmentLanguage' {}
- newEnvironmentLanguage :: EnvironmentLanguage
- environmentLanguage_images :: Lens' EnvironmentLanguage (Maybe [EnvironmentImage])
- environmentLanguage_language :: Lens' EnvironmentLanguage (Maybe LanguageType)
- data EnvironmentPlatform = EnvironmentPlatform' {}
- newEnvironmentPlatform :: EnvironmentPlatform
- environmentPlatform_languages :: Lens' EnvironmentPlatform (Maybe [EnvironmentLanguage])
- environmentPlatform_platform :: Lens' EnvironmentPlatform (Maybe PlatformType)
- data EnvironmentVariable = EnvironmentVariable' {}
- newEnvironmentVariable :: Text -> Text -> EnvironmentVariable
- environmentVariable_type :: Lens' EnvironmentVariable (Maybe EnvironmentVariableType)
- environmentVariable_name :: Lens' EnvironmentVariable Text
- environmentVariable_value :: Lens' EnvironmentVariable Text
- data ExportedEnvironmentVariable = ExportedEnvironmentVariable' {}
- newExportedEnvironmentVariable :: ExportedEnvironmentVariable
- exportedEnvironmentVariable_name :: Lens' ExportedEnvironmentVariable (Maybe Text)
- exportedEnvironmentVariable_value :: Lens' ExportedEnvironmentVariable (Maybe Text)
- data GitSubmodulesConfig = GitSubmodulesConfig' {}
- newGitSubmodulesConfig :: Bool -> GitSubmodulesConfig
- gitSubmodulesConfig_fetchSubmodules :: Lens' GitSubmodulesConfig Bool
- data LogsConfig = LogsConfig' {}
- newLogsConfig :: LogsConfig
- logsConfig_cloudWatchLogs :: Lens' LogsConfig (Maybe CloudWatchLogsConfig)
- logsConfig_s3Logs :: Lens' LogsConfig (Maybe S3LogsConfig)
- data LogsLocation = LogsLocation' {}
- newLogsLocation :: LogsLocation
- logsLocation_cloudWatchLogs :: Lens' LogsLocation (Maybe CloudWatchLogsConfig)
- logsLocation_cloudWatchLogsArn :: Lens' LogsLocation (Maybe Text)
- logsLocation_deepLink :: Lens' LogsLocation (Maybe Text)
- logsLocation_groupName :: Lens' LogsLocation (Maybe Text)
- logsLocation_s3DeepLink :: Lens' LogsLocation (Maybe Text)
- logsLocation_s3Logs :: Lens' LogsLocation (Maybe S3LogsConfig)
- logsLocation_s3LogsArn :: Lens' LogsLocation (Maybe Text)
- logsLocation_streamName :: Lens' LogsLocation (Maybe Text)
- data NetworkInterface = NetworkInterface' {}
- newNetworkInterface :: NetworkInterface
- networkInterface_networkInterfaceId :: Lens' NetworkInterface (Maybe Text)
- networkInterface_subnetId :: Lens' NetworkInterface (Maybe Text)
- data PhaseContext = PhaseContext' {}
- newPhaseContext :: PhaseContext
- phaseContext_message :: Lens' PhaseContext (Maybe Text)
- phaseContext_statusCode :: Lens' PhaseContext (Maybe Text)
- data Project = Project' {
- arn :: Maybe Text
- artifacts :: Maybe ProjectArtifacts
- badge :: Maybe ProjectBadge
- buildBatchConfig :: Maybe ProjectBuildBatchConfig
- cache :: Maybe ProjectCache
- concurrentBuildLimit :: Maybe Int
- created :: Maybe POSIX
- description :: Maybe Text
- encryptionKey :: Maybe Text
- environment :: Maybe ProjectEnvironment
- fileSystemLocations :: Maybe [ProjectFileSystemLocation]
- lastModified :: Maybe POSIX
- logsConfig :: Maybe LogsConfig
- name :: Maybe Text
- projectVisibility :: Maybe ProjectVisibilityType
- publicProjectAlias :: Maybe Text
- queuedTimeoutInMinutes :: Maybe Natural
- resourceAccessRole :: Maybe Text
- secondaryArtifacts :: Maybe [ProjectArtifacts]
- secondarySourceVersions :: Maybe [ProjectSourceVersion]
- secondarySources :: Maybe [ProjectSource]
- serviceRole :: Maybe Text
- source :: Maybe ProjectSource
- sourceVersion :: Maybe Text
- tags :: Maybe [Tag]
- timeoutInMinutes :: Maybe Natural
- vpcConfig :: Maybe VpcConfig
- webhook :: Maybe Webhook
- newProject :: Project
- project_arn :: Lens' Project (Maybe Text)
- project_artifacts :: Lens' Project (Maybe ProjectArtifacts)
- project_badge :: Lens' Project (Maybe ProjectBadge)
- project_buildBatchConfig :: Lens' Project (Maybe ProjectBuildBatchConfig)
- project_cache :: Lens' Project (Maybe ProjectCache)
- project_concurrentBuildLimit :: Lens' Project (Maybe Int)
- project_created :: Lens' Project (Maybe UTCTime)
- project_description :: Lens' Project (Maybe Text)
- project_encryptionKey :: Lens' Project (Maybe Text)
- project_environment :: Lens' Project (Maybe ProjectEnvironment)
- project_fileSystemLocations :: Lens' Project (Maybe [ProjectFileSystemLocation])
- project_lastModified :: Lens' Project (Maybe UTCTime)
- project_logsConfig :: Lens' Project (Maybe LogsConfig)
- project_name :: Lens' Project (Maybe Text)
- project_projectVisibility :: Lens' Project (Maybe ProjectVisibilityType)
- project_publicProjectAlias :: Lens' Project (Maybe Text)
- project_queuedTimeoutInMinutes :: Lens' Project (Maybe Natural)
- project_resourceAccessRole :: Lens' Project (Maybe Text)
- project_secondaryArtifacts :: Lens' Project (Maybe [ProjectArtifacts])
- project_secondarySourceVersions :: Lens' Project (Maybe [ProjectSourceVersion])
- project_secondarySources :: Lens' Project (Maybe [ProjectSource])
- project_serviceRole :: Lens' Project (Maybe Text)
- project_source :: Lens' Project (Maybe ProjectSource)
- project_sourceVersion :: Lens' Project (Maybe Text)
- project_tags :: Lens' Project (Maybe [Tag])
- project_timeoutInMinutes :: Lens' Project (Maybe Natural)
- project_vpcConfig :: Lens' Project (Maybe VpcConfig)
- project_webhook :: Lens' Project (Maybe Webhook)
- data ProjectArtifacts = ProjectArtifacts' {}
- newProjectArtifacts :: ArtifactsType -> ProjectArtifacts
- projectArtifacts_artifactIdentifier :: Lens' ProjectArtifacts (Maybe Text)
- projectArtifacts_bucketOwnerAccess :: Lens' ProjectArtifacts (Maybe BucketOwnerAccess)
- projectArtifacts_encryptionDisabled :: Lens' ProjectArtifacts (Maybe Bool)
- projectArtifacts_location :: Lens' ProjectArtifacts (Maybe Text)
- projectArtifacts_name :: Lens' ProjectArtifacts (Maybe Text)
- projectArtifacts_namespaceType :: Lens' ProjectArtifacts (Maybe ArtifactNamespace)
- projectArtifacts_overrideArtifactName :: Lens' ProjectArtifacts (Maybe Bool)
- projectArtifacts_packaging :: Lens' ProjectArtifacts (Maybe ArtifactPackaging)
- projectArtifacts_path :: Lens' ProjectArtifacts (Maybe Text)
- projectArtifacts_type :: Lens' ProjectArtifacts ArtifactsType
- data ProjectBadge = ProjectBadge' {}
- newProjectBadge :: ProjectBadge
- projectBadge_badgeEnabled :: Lens' ProjectBadge (Maybe Bool)
- projectBadge_badgeRequestUrl :: Lens' ProjectBadge (Maybe Text)
- data ProjectBuildBatchConfig = ProjectBuildBatchConfig' {}
- newProjectBuildBatchConfig :: ProjectBuildBatchConfig
- projectBuildBatchConfig_batchReportMode :: Lens' ProjectBuildBatchConfig (Maybe BatchReportModeType)
- projectBuildBatchConfig_combineArtifacts :: Lens' ProjectBuildBatchConfig (Maybe Bool)
- projectBuildBatchConfig_restrictions :: Lens' ProjectBuildBatchConfig (Maybe BatchRestrictions)
- projectBuildBatchConfig_serviceRole :: Lens' ProjectBuildBatchConfig (Maybe Text)
- projectBuildBatchConfig_timeoutInMins :: Lens' ProjectBuildBatchConfig (Maybe Int)
- data ProjectCache = ProjectCache' {}
- newProjectCache :: CacheType -> ProjectCache
- projectCache_location :: Lens' ProjectCache (Maybe Text)
- projectCache_modes :: Lens' ProjectCache (Maybe [CacheMode])
- projectCache_type :: Lens' ProjectCache CacheType
- data ProjectEnvironment = ProjectEnvironment' {}
- newProjectEnvironment :: EnvironmentType -> Text -> ComputeType -> ProjectEnvironment
- projectEnvironment_certificate :: Lens' ProjectEnvironment (Maybe Text)
- projectEnvironment_environmentVariables :: Lens' ProjectEnvironment (Maybe [EnvironmentVariable])
- projectEnvironment_imagePullCredentialsType :: Lens' ProjectEnvironment (Maybe ImagePullCredentialsType)
- projectEnvironment_privilegedMode :: Lens' ProjectEnvironment (Maybe Bool)
- projectEnvironment_registryCredential :: Lens' ProjectEnvironment (Maybe RegistryCredential)
- projectEnvironment_type :: Lens' ProjectEnvironment EnvironmentType
- projectEnvironment_image :: Lens' ProjectEnvironment Text
- projectEnvironment_computeType :: Lens' ProjectEnvironment ComputeType
- data ProjectFileSystemLocation = ProjectFileSystemLocation' {
- identifier :: Maybe Text
- location :: Maybe Text
- mountOptions :: Maybe Text
- mountPoint :: Maybe Text
- type' :: Maybe FileSystemType
- newProjectFileSystemLocation :: ProjectFileSystemLocation
- projectFileSystemLocation_identifier :: Lens' ProjectFileSystemLocation (Maybe Text)
- projectFileSystemLocation_location :: Lens' ProjectFileSystemLocation (Maybe Text)
- projectFileSystemLocation_mountOptions :: Lens' ProjectFileSystemLocation (Maybe Text)
- projectFileSystemLocation_mountPoint :: Lens' ProjectFileSystemLocation (Maybe Text)
- projectFileSystemLocation_type :: Lens' ProjectFileSystemLocation (Maybe FileSystemType)
- data ProjectSource = ProjectSource' {}
- newProjectSource :: SourceType -> ProjectSource
- projectSource_auth :: Lens' ProjectSource (Maybe SourceAuth)
- projectSource_buildStatusConfig :: Lens' ProjectSource (Maybe BuildStatusConfig)
- projectSource_buildspec :: Lens' ProjectSource (Maybe Text)
- projectSource_gitCloneDepth :: Lens' ProjectSource (Maybe Natural)
- projectSource_gitSubmodulesConfig :: Lens' ProjectSource (Maybe GitSubmodulesConfig)
- projectSource_insecureSsl :: Lens' ProjectSource (Maybe Bool)
- projectSource_location :: Lens' ProjectSource (Maybe Text)
- projectSource_reportBuildStatus :: Lens' ProjectSource (Maybe Bool)
- projectSource_sourceIdentifier :: Lens' ProjectSource (Maybe Text)
- projectSource_type :: Lens' ProjectSource SourceType
- data ProjectSourceVersion = ProjectSourceVersion' {}
- newProjectSourceVersion :: Text -> Text -> ProjectSourceVersion
- projectSourceVersion_sourceIdentifier :: Lens' ProjectSourceVersion Text
- projectSourceVersion_sourceVersion :: Lens' ProjectSourceVersion Text
- data RegistryCredential = RegistryCredential' {}
- newRegistryCredential :: Text -> CredentialProviderType -> RegistryCredential
- registryCredential_credential :: Lens' RegistryCredential Text
- registryCredential_credentialProvider :: Lens' RegistryCredential CredentialProviderType
- data Report = Report' {
- arn :: Maybe Text
- codeCoverageSummary :: Maybe CodeCoverageReportSummary
- created :: Maybe POSIX
- executionId :: Maybe Text
- expired :: Maybe POSIX
- exportConfig :: Maybe ReportExportConfig
- name :: Maybe Text
- reportGroupArn :: Maybe Text
- status :: Maybe ReportStatusType
- testSummary :: Maybe TestReportSummary
- truncated :: Maybe Bool
- type' :: Maybe ReportType
- newReport :: Report
- report_arn :: Lens' Report (Maybe Text)
- report_codeCoverageSummary :: Lens' Report (Maybe CodeCoverageReportSummary)
- report_created :: Lens' Report (Maybe UTCTime)
- report_executionId :: Lens' Report (Maybe Text)
- report_expired :: Lens' Report (Maybe UTCTime)
- report_exportConfig :: Lens' Report (Maybe ReportExportConfig)
- report_name :: Lens' Report (Maybe Text)
- report_reportGroupArn :: Lens' Report (Maybe Text)
- report_status :: Lens' Report (Maybe ReportStatusType)
- report_testSummary :: Lens' Report (Maybe TestReportSummary)
- report_truncated :: Lens' Report (Maybe Bool)
- report_type :: Lens' Report (Maybe ReportType)
- data ReportExportConfig = ReportExportConfig' {}
- newReportExportConfig :: ReportExportConfig
- reportExportConfig_exportConfigType :: Lens' ReportExportConfig (Maybe ReportExportConfigType)
- reportExportConfig_s3Destination :: Lens' ReportExportConfig (Maybe S3ReportExportConfig)
- data ReportFilter = ReportFilter' {}
- newReportFilter :: ReportFilter
- reportFilter_status :: Lens' ReportFilter (Maybe ReportStatusType)
- data ReportGroup = ReportGroup' {
- arn :: Maybe Text
- created :: Maybe POSIX
- exportConfig :: Maybe ReportExportConfig
- lastModified :: Maybe POSIX
- name :: Maybe Text
- status :: Maybe ReportGroupStatusType
- tags :: Maybe [Tag]
- type' :: Maybe ReportType
- newReportGroup :: ReportGroup
- reportGroup_arn :: Lens' ReportGroup (Maybe Text)
- reportGroup_created :: Lens' ReportGroup (Maybe UTCTime)
- reportGroup_exportConfig :: Lens' ReportGroup (Maybe ReportExportConfig)
- reportGroup_lastModified :: Lens' ReportGroup (Maybe UTCTime)
- reportGroup_name :: Lens' ReportGroup (Maybe Text)
- reportGroup_status :: Lens' ReportGroup (Maybe ReportGroupStatusType)
- reportGroup_tags :: Lens' ReportGroup (Maybe [Tag])
- reportGroup_type :: Lens' ReportGroup (Maybe ReportType)
- data ReportGroupTrendStats = ReportGroupTrendStats' {}
- newReportGroupTrendStats :: ReportGroupTrendStats
- reportGroupTrendStats_average :: Lens' ReportGroupTrendStats (Maybe Text)
- reportGroupTrendStats_max :: Lens' ReportGroupTrendStats (Maybe Text)
- reportGroupTrendStats_min :: Lens' ReportGroupTrendStats (Maybe Text)
- data ReportWithRawData = ReportWithRawData' {}
- newReportWithRawData :: ReportWithRawData
- reportWithRawData_data :: Lens' ReportWithRawData (Maybe Text)
- reportWithRawData_reportArn :: Lens' ReportWithRawData (Maybe Text)
- data ResolvedArtifact = ResolvedArtifact' {
- identifier :: Maybe Text
- location :: Maybe Text
- type' :: Maybe ArtifactsType
- newResolvedArtifact :: ResolvedArtifact
- resolvedArtifact_identifier :: Lens' ResolvedArtifact (Maybe Text)
- resolvedArtifact_location :: Lens' ResolvedArtifact (Maybe Text)
- resolvedArtifact_type :: Lens' ResolvedArtifact (Maybe ArtifactsType)
- data S3LogsConfig = S3LogsConfig' {}
- newS3LogsConfig :: LogsConfigStatusType -> S3LogsConfig
- s3LogsConfig_bucketOwnerAccess :: Lens' S3LogsConfig (Maybe BucketOwnerAccess)
- s3LogsConfig_encryptionDisabled :: Lens' S3LogsConfig (Maybe Bool)
- s3LogsConfig_location :: Lens' S3LogsConfig (Maybe Text)
- s3LogsConfig_status :: Lens' S3LogsConfig LogsConfigStatusType
- data S3ReportExportConfig = S3ReportExportConfig' {}
- newS3ReportExportConfig :: S3ReportExportConfig
- s3ReportExportConfig_bucket :: Lens' S3ReportExportConfig (Maybe Text)
- s3ReportExportConfig_bucketOwner :: Lens' S3ReportExportConfig (Maybe Text)
- s3ReportExportConfig_encryptionDisabled :: Lens' S3ReportExportConfig (Maybe Bool)
- s3ReportExportConfig_encryptionKey :: Lens' S3ReportExportConfig (Maybe Text)
- s3ReportExportConfig_packaging :: Lens' S3ReportExportConfig (Maybe ReportPackagingType)
- s3ReportExportConfig_path :: Lens' S3ReportExportConfig (Maybe Text)
- data SourceAuth = SourceAuth' {
- resource :: Maybe Text
- type' :: SourceAuthType
- newSourceAuth :: SourceAuthType -> SourceAuth
- sourceAuth_resource :: Lens' SourceAuth (Maybe Text)
- sourceAuth_type :: Lens' SourceAuth SourceAuthType
- data SourceCredentialsInfo = SourceCredentialsInfo' {
- arn :: Maybe Text
- authType :: Maybe AuthType
- serverType :: Maybe ServerType
- newSourceCredentialsInfo :: SourceCredentialsInfo
- sourceCredentialsInfo_arn :: Lens' SourceCredentialsInfo (Maybe Text)
- sourceCredentialsInfo_authType :: Lens' SourceCredentialsInfo (Maybe AuthType)
- sourceCredentialsInfo_serverType :: Lens' SourceCredentialsInfo (Maybe ServerType)
- data Tag = Tag' {}
- newTag :: Tag
- tag_key :: Lens' Tag (Maybe Text)
- tag_value :: Lens' Tag (Maybe Text)
- data TestCase = TestCase' {}
- newTestCase :: TestCase
- testCase_durationInNanoSeconds :: Lens' TestCase (Maybe Integer)
- testCase_expired :: Lens' TestCase (Maybe UTCTime)
- testCase_message :: Lens' TestCase (Maybe Text)
- testCase_name :: Lens' TestCase (Maybe Text)
- testCase_prefix :: Lens' TestCase (Maybe Text)
- testCase_reportArn :: Lens' TestCase (Maybe Text)
- testCase_status :: Lens' TestCase (Maybe Text)
- testCase_testRawDataPath :: Lens' TestCase (Maybe Text)
- data TestCaseFilter = TestCaseFilter' {}
- newTestCaseFilter :: TestCaseFilter
- testCaseFilter_keyword :: Lens' TestCaseFilter (Maybe Text)
- testCaseFilter_status :: Lens' TestCaseFilter (Maybe Text)
- data TestReportSummary = TestReportSummary' {}
- newTestReportSummary :: Int -> Integer -> TestReportSummary
- testReportSummary_total :: Lens' TestReportSummary Int
- testReportSummary_statusCounts :: Lens' TestReportSummary (HashMap Text Int)
- testReportSummary_durationInNanoSeconds :: Lens' TestReportSummary Integer
- data VpcConfig = VpcConfig' {}
- newVpcConfig :: VpcConfig
- vpcConfig_securityGroupIds :: Lens' VpcConfig (Maybe [Text])
- vpcConfig_subnets :: Lens' VpcConfig (Maybe [Text])
- vpcConfig_vpcId :: Lens' VpcConfig (Maybe Text)
- data Webhook = Webhook' {
- branchFilter :: Maybe Text
- buildType :: Maybe WebhookBuildType
- filterGroups :: Maybe [[WebhookFilter]]
- lastModifiedSecret :: Maybe POSIX
- payloadUrl :: Maybe Text
- secret :: Maybe Text
- url :: Maybe Text
- newWebhook :: Webhook
- webhook_branchFilter :: Lens' Webhook (Maybe Text)
- webhook_buildType :: Lens' Webhook (Maybe WebhookBuildType)
- webhook_filterGroups :: Lens' Webhook (Maybe [[WebhookFilter]])
- webhook_lastModifiedSecret :: Lens' Webhook (Maybe UTCTime)
- webhook_payloadUrl :: Lens' Webhook (Maybe Text)
- webhook_secret :: Lens' Webhook (Maybe Text)
- webhook_url :: Lens' Webhook (Maybe Text)
- data WebhookFilter = WebhookFilter' {}
- newWebhookFilter :: WebhookFilterType -> Text -> WebhookFilter
- webhookFilter_excludeMatchedPattern :: Lens' WebhookFilter (Maybe Bool)
- webhookFilter_type :: Lens' WebhookFilter WebhookFilterType
- webhookFilter_pattern :: Lens' WebhookFilter Text
Service Configuration
defaultService :: Service Source #
API version 2016-10-06 of the Amazon CodeBuild SDK configuration.
Errors
_AccountLimitExceededException :: AsError a => Fold a ServiceError Source #
An Amazon Web Services service limit was exceeded for the calling Amazon Web Services account.
_InvalidInputException :: AsError a => Fold a ServiceError Source #
The input value that was provided is not valid.
_OAuthProviderException :: AsError a => Fold a ServiceError Source #
There was a problem with the underlying OAuth provider.
_ResourceAlreadyExistsException :: AsError a => Fold a ServiceError Source #
The specified Amazon Web Services resource cannot be created, because an Amazon Web Services resource with the same settings already exists.
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
The specified Amazon Web Services resource cannot be found.
ArtifactNamespace
newtype ArtifactNamespace Source #
Constructors
| ArtifactNamespace' | |
Fields | |
Bundled Patterns
| pattern ArtifactNamespace_BUILD_ID :: ArtifactNamespace | |
| pattern ArtifactNamespace_NONE :: ArtifactNamespace |
Instances
ArtifactPackaging
newtype ArtifactPackaging Source #
Constructors
| ArtifactPackaging' | |
Fields | |
Bundled Patterns
| pattern ArtifactPackaging_NONE :: ArtifactPackaging | |
| pattern ArtifactPackaging_ZIP :: ArtifactPackaging |
Instances
ArtifactsType
newtype ArtifactsType Source #
Constructors
| ArtifactsType' | |
Fields | |
Bundled Patterns
| pattern ArtifactsType_CODEPIPELINE :: ArtifactsType | |
| pattern ArtifactsType_NO_ARTIFACTS :: ArtifactsType | |
| pattern ArtifactsType_S3 :: ArtifactsType |
Instances
AuthType
Constructors
| AuthType' | |
Fields
| |
Bundled Patterns
| pattern AuthType_BASIC_AUTH :: AuthType | |
| pattern AuthType_OAUTH :: AuthType | |
| pattern AuthType_PERSONAL_ACCESS_TOKEN :: AuthType |
Instances
BatchReportModeType
newtype BatchReportModeType Source #
Constructors
| BatchReportModeType' | |
Fields | |
Bundled Patterns
| pattern BatchReportModeType_REPORT_AGGREGATED_BATCH :: BatchReportModeType | |
| pattern BatchReportModeType_REPORT_INDIVIDUAL_BUILDS :: BatchReportModeType |
Instances
BucketOwnerAccess
newtype BucketOwnerAccess Source #
Specifies the bucket owner's access for objects that another account uploads to their Amazon S3 bucket. By default, only the account that uploads the objects to the bucket has access to these objects. This property allows you to give the bucket owner access to these objects.
To use this property, your CodeBuild service role must have the
s3:PutBucketAcl permission. This permission allows CodeBuild to modify
the access control list for the bucket.
This property can be one of the following values:
- NONE
- The bucket owner does not have access to the objects. This is the default.
- READ_ONLY
- The bucket owner has read-only access to the objects. The uploading account retains ownership of the objects.
- FULL
- The bucket owner has full access to the objects. Object ownership is
determined by the following criteria:
- If the bucket is configured with the Bucket owner preferred setting, the bucket owner owns the objects. The uploading account will have object access as specified by the bucket's policy.
- Otherwise, the uploading account retains ownership of the objects.
For more information about Amazon S3 object ownership, see Controlling ownership of uploaded objects using S3 Object Ownership in the Amazon Simple Storage Service User Guide.
Constructors
| BucketOwnerAccess' | |
Fields | |
Bundled Patterns
| pattern BucketOwnerAccess_FULL :: BucketOwnerAccess | |
| pattern BucketOwnerAccess_NONE :: BucketOwnerAccess | |
| pattern BucketOwnerAccess_READ_ONLY :: BucketOwnerAccess |
Instances
BuildBatchPhaseType
newtype BuildBatchPhaseType Source #
Constructors
| BuildBatchPhaseType' | |
Fields | |
Bundled Patterns
| pattern BuildBatchPhaseType_COMBINE_ARTIFACTS :: BuildBatchPhaseType | |
| pattern BuildBatchPhaseType_DOWNLOAD_BATCHSPEC :: BuildBatchPhaseType | |
| pattern BuildBatchPhaseType_FAILED :: BuildBatchPhaseType | |
| pattern BuildBatchPhaseType_IN_PROGRESS :: BuildBatchPhaseType | |
| pattern BuildBatchPhaseType_STOPPED :: BuildBatchPhaseType | |
| pattern BuildBatchPhaseType_SUBMITTED :: BuildBatchPhaseType | |
| pattern BuildBatchPhaseType_SUCCEEDED :: BuildBatchPhaseType |
Instances
BuildPhaseType
newtype BuildPhaseType Source #
Constructors
| BuildPhaseType' | |
Fields | |
Bundled Patterns
| pattern BuildPhaseType_BUILD :: BuildPhaseType | |
| pattern BuildPhaseType_COMPLETED :: BuildPhaseType | |
| pattern BuildPhaseType_DOWNLOAD_SOURCE :: BuildPhaseType | |
| pattern BuildPhaseType_FINALIZING :: BuildPhaseType | |
| pattern BuildPhaseType_INSTALL :: BuildPhaseType | |
| pattern BuildPhaseType_POST_BUILD :: BuildPhaseType | |
| pattern BuildPhaseType_PRE_BUILD :: BuildPhaseType | |
| pattern BuildPhaseType_PROVISIONING :: BuildPhaseType | |
| pattern BuildPhaseType_QUEUED :: BuildPhaseType | |
| pattern BuildPhaseType_SUBMITTED :: BuildPhaseType | |
| pattern BuildPhaseType_UPLOAD_ARTIFACTS :: BuildPhaseType |
Instances
CacheMode
Constructors
| CacheMode' | |
Fields | |
Bundled Patterns
| pattern CacheMode_LOCAL_CUSTOM_CACHE :: CacheMode | |
| pattern CacheMode_LOCAL_DOCKER_LAYER_CACHE :: CacheMode | |
| pattern CacheMode_LOCAL_SOURCE_CACHE :: CacheMode |
Instances
CacheType
Constructors
| CacheType' | |
Fields | |
Bundled Patterns
| pattern CacheType_LOCAL :: CacheType | |
| pattern CacheType_NO_CACHE :: CacheType | |
| pattern CacheType_S3 :: CacheType |
Instances
ComputeType
newtype ComputeType Source #
Constructors
| ComputeType' | |
Fields | |
Bundled Patterns
| pattern ComputeType_BUILD_GENERAL1_2XLARGE :: ComputeType | |
| pattern ComputeType_BUILD_GENERAL1_LARGE :: ComputeType | |
| pattern ComputeType_BUILD_GENERAL1_MEDIUM :: ComputeType | |
| pattern ComputeType_BUILD_GENERAL1_SMALL :: ComputeType |
Instances
CredentialProviderType
newtype CredentialProviderType Source #
Constructors
| CredentialProviderType' | |
Fields | |
Bundled Patterns
| pattern CredentialProviderType_SECRETS_MANAGER :: CredentialProviderType |
Instances
EnvironmentType
newtype EnvironmentType Source #
Constructors
| EnvironmentType' | |
Fields | |
Bundled Patterns
| pattern EnvironmentType_ARM_CONTAINER :: EnvironmentType | |
| pattern EnvironmentType_LINUX_CONTAINER :: EnvironmentType | |
| pattern EnvironmentType_LINUX_GPU_CONTAINER :: EnvironmentType | |
| pattern EnvironmentType_WINDOWS_CONTAINER :: EnvironmentType | |
| pattern EnvironmentType_WINDOWS_SERVER_2019_CONTAINER :: EnvironmentType |
Instances
EnvironmentVariableType
newtype EnvironmentVariableType Source #
Constructors
| EnvironmentVariableType' | |
Fields | |
Bundled Patterns
Instances
FileSystemType
newtype FileSystemType Source #
Constructors
| FileSystemType' | |
Fields | |
Bundled Patterns
| pattern FileSystemType_EFS :: FileSystemType |
Instances
ImagePullCredentialsType
newtype ImagePullCredentialsType Source #
Constructors
| ImagePullCredentialsType' | |
Fields | |
Bundled Patterns
| pattern ImagePullCredentialsType_CODEBUILD :: ImagePullCredentialsType | |
| pattern ImagePullCredentialsType_SERVICE_ROLE :: ImagePullCredentialsType |
Instances
LanguageType
newtype LanguageType Source #
Constructors
| LanguageType' | |
Fields | |
Bundled Patterns
| pattern LanguageType_ANDROID :: LanguageType | |
| pattern LanguageType_BASE :: LanguageType | |
| pattern LanguageType_DOCKER :: LanguageType | |
| pattern LanguageType_DOTNET :: LanguageType | |
| pattern LanguageType_GOLANG :: LanguageType | |
| pattern LanguageType_JAVA :: LanguageType | |
| pattern LanguageType_NODE_JS :: LanguageType | |
| pattern LanguageType_PHP :: LanguageType | |
| pattern LanguageType_PYTHON :: LanguageType | |
| pattern LanguageType_RUBY :: LanguageType |
Instances
LogsConfigStatusType
newtype LogsConfigStatusType Source #
Constructors
| LogsConfigStatusType' | |
Fields | |
Bundled Patterns
| pattern LogsConfigStatusType_DISABLED :: LogsConfigStatusType | |
| pattern LogsConfigStatusType_ENABLED :: LogsConfigStatusType |
Instances
PlatformType
newtype PlatformType Source #
Constructors
| PlatformType' | |
Fields | |
Bundled Patterns
| pattern PlatformType_AMAZON_LINUX :: PlatformType | |
| pattern PlatformType_DEBIAN :: PlatformType | |
| pattern PlatformType_UBUNTU :: PlatformType | |
| pattern PlatformType_WINDOWS_SERVER :: PlatformType |
Instances
ProjectSortByType
newtype ProjectSortByType Source #
Constructors
| ProjectSortByType' | |
Fields | |
Bundled Patterns
| pattern ProjectSortByType_CREATED_TIME :: ProjectSortByType | |
| pattern ProjectSortByType_LAST_MODIFIED_TIME :: ProjectSortByType | |
| pattern ProjectSortByType_NAME :: ProjectSortByType |
Instances
ProjectVisibilityType
newtype ProjectVisibilityType Source #
Specifies the visibility of the project's builds. Possible values are:
- PUBLIC_READ
- The project builds are visible to the public.
- PRIVATE
- The project builds are not visible to the public.
Constructors
| ProjectVisibilityType' | |
Fields | |
Bundled Patterns
| pattern ProjectVisibilityType_PRIVATE :: ProjectVisibilityType | |
| pattern ProjectVisibilityType_PUBLIC_READ :: ProjectVisibilityType |
Instances
ReportCodeCoverageSortByType
newtype ReportCodeCoverageSortByType Source #
Constructors
| ReportCodeCoverageSortByType' | |
Fields | |
Bundled Patterns
| pattern ReportCodeCoverageSortByType_FILE_PATH :: ReportCodeCoverageSortByType | |
| pattern ReportCodeCoverageSortByType_LINE_COVERAGE_PERCENTAGE :: ReportCodeCoverageSortByType |
Instances
ReportExportConfigType
newtype ReportExportConfigType Source #
Constructors
| ReportExportConfigType' | |
Fields | |
Bundled Patterns
| pattern ReportExportConfigType_NO_EXPORT :: ReportExportConfigType | |
| pattern ReportExportConfigType_S3 :: ReportExportConfigType |
Instances
ReportGroupSortByType
newtype ReportGroupSortByType Source #
Constructors
| ReportGroupSortByType' | |
Fields | |
Bundled Patterns
Instances
ReportGroupStatusType
newtype ReportGroupStatusType Source #
Constructors
| ReportGroupStatusType' | |
Fields | |
Bundled Patterns
| pattern ReportGroupStatusType_ACTIVE :: ReportGroupStatusType | |
| pattern ReportGroupStatusType_DELETING :: ReportGroupStatusType |
Instances
ReportGroupTrendFieldType
newtype ReportGroupTrendFieldType Source #
Constructors
| ReportGroupTrendFieldType' | |
Fields | |
Bundled Patterns
Instances
ReportPackagingType
newtype ReportPackagingType Source #
Constructors
| ReportPackagingType' | |
Fields | |
Bundled Patterns
| pattern ReportPackagingType_NONE :: ReportPackagingType | |
| pattern ReportPackagingType_ZIP :: ReportPackagingType |
Instances
ReportStatusType
newtype ReportStatusType Source #
Constructors
| ReportStatusType' | |
Fields | |
Bundled Patterns
| pattern ReportStatusType_DELETING :: ReportStatusType | |
| pattern ReportStatusType_FAILED :: ReportStatusType | |
| pattern ReportStatusType_GENERATING :: ReportStatusType | |
| pattern ReportStatusType_INCOMPLETE :: ReportStatusType | |
| pattern ReportStatusType_SUCCEEDED :: ReportStatusType |
Instances
ReportType
newtype ReportType Source #
Constructors
| ReportType' | |
Fields | |
Bundled Patterns
| pattern ReportType_CODE_COVERAGE :: ReportType | |
| pattern ReportType_TEST :: ReportType |
Instances
RetryBuildBatchType
newtype RetryBuildBatchType Source #
Constructors
| RetryBuildBatchType' | |
Fields | |
Bundled Patterns
| pattern RetryBuildBatchType_RETRY_ALL_BUILDS :: RetryBuildBatchType | |
| pattern RetryBuildBatchType_RETRY_FAILED_BUILDS :: RetryBuildBatchType |
Instances
ServerType
newtype ServerType Source #
Constructors
| ServerType' | |
Fields | |
Bundled Patterns
| pattern ServerType_BITBUCKET :: ServerType | |
| pattern ServerType_GITHUB :: ServerType | |
| pattern ServerType_GITHUB_ENTERPRISE :: ServerType |
Instances
SharedResourceSortByType
newtype SharedResourceSortByType Source #
Constructors
| SharedResourceSortByType' | |
Fields | |
Bundled Patterns
| pattern SharedResourceSortByType_ARN :: SharedResourceSortByType | |
| pattern SharedResourceSortByType_MODIFIED_TIME :: SharedResourceSortByType |
Instances
SortOrderType
newtype SortOrderType Source #
Constructors
| SortOrderType' | |
Fields | |
Bundled Patterns
| pattern SortOrderType_ASCENDING :: SortOrderType | |
| pattern SortOrderType_DESCENDING :: SortOrderType |
Instances
SourceAuthType
newtype SourceAuthType Source #
Constructors
| SourceAuthType' | |
Fields | |
Bundled Patterns
| pattern SourceAuthType_OAUTH :: SourceAuthType |
Instances
SourceType
newtype SourceType Source #
Constructors
| SourceType' | |
Fields | |
Bundled Patterns
| pattern SourceType_BITBUCKET :: SourceType | |
| pattern SourceType_CODECOMMIT :: SourceType | |
| pattern SourceType_CODEPIPELINE :: SourceType | |
| pattern SourceType_GITHUB :: SourceType | |
| pattern SourceType_GITHUB_ENTERPRISE :: SourceType | |
| pattern SourceType_NO_SOURCE :: SourceType | |
| pattern SourceType_S3 :: SourceType |
Instances
StatusType
newtype StatusType Source #
Constructors
| StatusType' | |
Fields | |
Bundled Patterns
| pattern StatusType_FAILED :: StatusType | |
| pattern StatusType_FAULT :: StatusType | |
| pattern StatusType_IN_PROGRESS :: StatusType | |
| pattern StatusType_STOPPED :: StatusType | |
| pattern StatusType_SUCCEEDED :: StatusType | |
| pattern StatusType_TIMED_OUT :: StatusType |
Instances
WebhookBuildType
newtype WebhookBuildType Source #
Constructors
| WebhookBuildType' | |
Fields | |
Bundled Patterns
| pattern WebhookBuildType_BUILD :: WebhookBuildType | |
| pattern WebhookBuildType_BUILD_BATCH :: WebhookBuildType |
Instances
WebhookFilterType
newtype WebhookFilterType Source #
Constructors
| WebhookFilterType' | |
Fields | |
Bundled Patterns
| pattern WebhookFilterType_ACTOR_ACCOUNT_ID :: WebhookFilterType | |
| pattern WebhookFilterType_BASE_REF :: WebhookFilterType | |
| pattern WebhookFilterType_COMMIT_MESSAGE :: WebhookFilterType | |
| pattern WebhookFilterType_EVENT :: WebhookFilterType | |
| pattern WebhookFilterType_FILE_PATH :: WebhookFilterType | |
| pattern WebhookFilterType_HEAD_REF :: WebhookFilterType |
Instances
BatchRestrictions
data BatchRestrictions Source #
Specifies restrictions for the batch build.
See: newBatchRestrictions smart constructor.
Constructors
| BatchRestrictions' | |
Fields
| |
Instances
newBatchRestrictions :: BatchRestrictions Source #
Create a value of BatchRestrictions 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:computeTypesAllowed:BatchRestrictions', batchRestrictions_computeTypesAllowed - An array of strings that specify the compute types that are allowed for
the batch build. See
Build environment compute types
in the CodeBuild User Guide for these values.
$sel:maximumBuildsAllowed:BatchRestrictions', batchRestrictions_maximumBuildsAllowed - Specifies the maximum number of builds allowed.
batchRestrictions_computeTypesAllowed :: Lens' BatchRestrictions (Maybe [Text]) Source #
An array of strings that specify the compute types that are allowed for the batch build. See Build environment compute types in the CodeBuild User Guide for these values.
batchRestrictions_maximumBuildsAllowed :: Lens' BatchRestrictions (Maybe Int) Source #
Specifies the maximum number of builds allowed.
Build
Information about a build.
See: newBuild smart constructor.
Constructors
| Build' | |
Fields
| |
Instances
Create a value of Build 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:arn:Build', build_arn - The Amazon Resource Name (ARN) of the build.
$sel:artifacts:Build', build_artifacts - Information about the output artifacts for the build.
$sel:buildBatchArn:Build', build_buildBatchArn - The ARN of the batch build that this build is a member of, if
applicable.
$sel:buildComplete:Build', build_buildComplete - Whether the build is complete. True if complete; otherwise, false.
$sel:buildNumber:Build', build_buildNumber - The number of the build. For each project, the buildNumber of its
first build is 1. The buildNumber of each subsequent build is
incremented by 1. If a build is deleted, the buildNumber of other
builds does not change.
$sel:buildStatus:Build', build_buildStatus - The current status of the build. Valid values include:
FAILED: The build failed.FAULT: The build faulted.IN_PROGRESS: The build is still in progress.STOPPED: The build stopped.SUCCEEDED: The build succeeded.TIMED_OUT: The build timed out.
$sel:cache:Build', build_cache - Information about the cache for the build.
$sel:currentPhase:Build', build_currentPhase - The current build phase.
$sel:debugSession:Build', build_debugSession - Contains information about the debug session for this build.
$sel:encryptionKey:Build', build_encryptionKey - The Key Management Service customer master key (CMK) to be used for
encrypting the build output artifacts.
You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.
You can specify either the Amazon Resource Name (ARN) of the CMK or, if
available, the CMK's alias (using the format alias/<alias-name>).
Build, build_endTime - When the build process ended, expressed in Unix time format.
$sel:environment:Build', build_environment - Information about the build environment for this build.
$sel:exportedEnvironmentVariables:Build', build_exportedEnvironmentVariables - A list of exported environment variables for this build.
Exported environment variables are used in conjunction with CodePipeline to export environment variables from the current build stage to subsequent stages in the pipeline. For more information, see Working with variables in the CodePipeline User Guide.
$sel:fileSystemLocations:Build', build_fileSystemLocations - An array of ProjectFileSystemLocation objects for a CodeBuild build
project. A ProjectFileSystemLocation object specifies the
identifier, location, mountOptions, mountPoint, and type of a
file system created using Amazon Elastic File System.
$sel:id:Build', build_id - The unique ID for the build.
$sel:initiator:Build', build_initiator - The entity that started the build. Valid values include:
- If CodePipeline started the build, the pipeline's name (for
example,
codepipeline/my-demo-pipeline). - If an IAM user started the build, the user's name (for example,
MyUserName). - If the Jenkins plugin for CodeBuild started the build, the string
CodeBuild-Jenkins-Plugin.
$sel:logs:Build', build_logs - Information about the build's logs in CloudWatch Logs.
$sel:networkInterface:Build', build_networkInterface - Describes a network interface.
$sel:phases:Build', build_phases - Information about all previous build phases that are complete and
information about any current build phase that is not yet complete.
$sel:projectName:Build', build_projectName - The name of the CodeBuild project.
$sel:queuedTimeoutInMinutes:Build', build_queuedTimeoutInMinutes - The number of minutes a build is allowed to be queued before it times
out.
$sel:reportArns:Build', build_reportArns - An array of the ARNs associated with this build's reports.
$sel:resolvedSourceVersion:Build', build_resolvedSourceVersion - An identifier for the version of this build's source code.
- For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.
- For CodePipeline, the source revision provided by CodePipeline.
- For Amazon S3, this does not apply.
$sel:secondaryArtifacts:Build', build_secondaryArtifacts - An array of ProjectArtifacts objects.
$sel:secondarySourceVersions:Build', build_secondarySourceVersions - An array of ProjectSourceVersion objects. Each ProjectSourceVersion
must be one of:
- For CodeCommit: the commit ID, branch, or Git tag to use.
- For GitHub: the commit ID, pull request ID, branch name, or tag name
that corresponds to the version of the source code you want to
build. If a pull request ID is specified, it must use the format
pr/pull-request-ID(for example,pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. - For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
- For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
$sel:secondarySources:Build', build_secondarySources - An array of ProjectSource objects.
$sel:serviceRole:Build', build_serviceRole - The name of a service role used for this build.
$sel:source:Build', build_source - Information about the source code to be built.
Build, build_sourceVersion - Any version identifier for the version of the source code to be built.
If sourceVersion is specified at the project level, then this
sourceVersion (at the build level) takes precedence.
For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
Build, build_startTime - When the build process started, expressed in Unix time format.
$sel:timeoutInMinutes:Build', build_timeoutInMinutes - How long, in minutes, for CodeBuild to wait before timing out this build
if it does not get marked as completed.
$sel:vpcConfig:Build', build_vpcConfig - If your CodeBuild project accesses resources in an Amazon VPC, you
provide this parameter that identifies the VPC ID and the list of
security group IDs and subnet IDs. The security groups and subnets must
belong to the same VPC. You must provide at least one security group and
one subnet ID.
build_artifacts :: Lens' Build (Maybe BuildArtifacts) Source #
Information about the output artifacts for the build.
build_buildBatchArn :: Lens' Build (Maybe Text) Source #
The ARN of the batch build that this build is a member of, if applicable.
build_buildComplete :: Lens' Build (Maybe Bool) Source #
Whether the build is complete. True if complete; otherwise, false.
build_buildNumber :: Lens' Build (Maybe Integer) Source #
The number of the build. For each project, the buildNumber of its
first build is 1. The buildNumber of each subsequent build is
incremented by 1. If a build is deleted, the buildNumber of other
builds does not change.
build_buildStatus :: Lens' Build (Maybe StatusType) Source #
The current status of the build. Valid values include:
FAILED: The build failed.FAULT: The build faulted.IN_PROGRESS: The build is still in progress.STOPPED: The build stopped.SUCCEEDED: The build succeeded.TIMED_OUT: The build timed out.
build_cache :: Lens' Build (Maybe ProjectCache) Source #
Information about the cache for the build.
build_debugSession :: Lens' Build (Maybe DebugSession) Source #
Contains information about the debug session for this build.
build_encryptionKey :: Lens' Build (Maybe Text) Source #
The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts.
You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.
You can specify either the Amazon Resource Name (ARN) of the CMK or, if
available, the CMK's alias (using the format alias/<alias-name>).
build_endTime :: Lens' Build (Maybe UTCTime) Source #
When the build process ended, expressed in Unix time format.
build_environment :: Lens' Build (Maybe ProjectEnvironment) Source #
Information about the build environment for this build.
build_exportedEnvironmentVariables :: Lens' Build (Maybe [ExportedEnvironmentVariable]) Source #
A list of exported environment variables for this build.
Exported environment variables are used in conjunction with CodePipeline to export environment variables from the current build stage to subsequent stages in the pipeline. For more information, see Working with variables in the CodePipeline User Guide.
build_fileSystemLocations :: Lens' Build (Maybe [ProjectFileSystemLocation]) Source #
An array of ProjectFileSystemLocation objects for a CodeBuild build
project. A ProjectFileSystemLocation object specifies the
identifier, location, mountOptions, mountPoint, and type of a
file system created using Amazon Elastic File System.
build_initiator :: Lens' Build (Maybe Text) Source #
The entity that started the build. Valid values include:
- If CodePipeline started the build, the pipeline's name (for
example,
codepipeline/my-demo-pipeline). - If an IAM user started the build, the user's name (for example,
MyUserName). - If the Jenkins plugin for CodeBuild started the build, the string
CodeBuild-Jenkins-Plugin.
build_logs :: Lens' Build (Maybe LogsLocation) Source #
Information about the build's logs in CloudWatch Logs.
build_networkInterface :: Lens' Build (Maybe NetworkInterface) Source #
Describes a network interface.
build_phases :: Lens' Build (Maybe [BuildPhase]) Source #
Information about all previous build phases that are complete and information about any current build phase that is not yet complete.
build_queuedTimeoutInMinutes :: Lens' Build (Maybe Int) Source #
The number of minutes a build is allowed to be queued before it times out.
build_reportArns :: Lens' Build (Maybe [Text]) Source #
An array of the ARNs associated with this build's reports.
build_resolvedSourceVersion :: Lens' Build (Maybe Text) Source #
An identifier for the version of this build's source code.
- For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.
- For CodePipeline, the source revision provided by CodePipeline.
- For Amazon S3, this does not apply.
build_secondaryArtifacts :: Lens' Build (Maybe [BuildArtifacts]) Source #
An array of ProjectArtifacts objects.
build_secondarySourceVersions :: Lens' Build (Maybe [ProjectSourceVersion]) Source #
An array of ProjectSourceVersion objects. Each ProjectSourceVersion
must be one of:
- For CodeCommit: the commit ID, branch, or Git tag to use.
- For GitHub: the commit ID, pull request ID, branch name, or tag name
that corresponds to the version of the source code you want to
build. If a pull request ID is specified, it must use the format
pr/pull-request-ID(for example,pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. - For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
- For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
build_secondarySources :: Lens' Build (Maybe [ProjectSource]) Source #
An array of ProjectSource objects.
build_serviceRole :: Lens' Build (Maybe Text) Source #
The name of a service role used for this build.
build_source :: Lens' Build (Maybe ProjectSource) Source #
Information about the source code to be built.
build_sourceVersion :: Lens' Build (Maybe Text) Source #
Any version identifier for the version of the source code to be built.
If sourceVersion is specified at the project level, then this
sourceVersion (at the build level) takes precedence.
For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
build_startTime :: Lens' Build (Maybe UTCTime) Source #
When the build process started, expressed in Unix time format.
build_timeoutInMinutes :: Lens' Build (Maybe Int) Source #
How long, in minutes, for CodeBuild to wait before timing out this build if it does not get marked as completed.
build_vpcConfig :: Lens' Build (Maybe VpcConfig) Source #
If your CodeBuild project accesses resources in an Amazon VPC, you provide this parameter that identifies the VPC ID and the list of security group IDs and subnet IDs. The security groups and subnets must belong to the same VPC. You must provide at least one security group and one subnet ID.
BuildArtifacts
data BuildArtifacts Source #
Information about build output artifacts.
See: newBuildArtifacts smart constructor.
Constructors
| BuildArtifacts' | |
Fields
| |
Instances
newBuildArtifacts :: BuildArtifacts Source #
Create a value of BuildArtifacts 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:artifactIdentifier:BuildArtifacts', buildArtifacts_artifactIdentifier - An identifier for this artifact definition.
$sel:bucketOwnerAccess:BuildArtifacts', buildArtifacts_bucketOwnerAccess - Undocumented member.
$sel:encryptionDisabled:BuildArtifacts', buildArtifacts_encryptionDisabled - Information that tells you if encryption for build artifacts is
disabled.
$sel:location:BuildArtifacts', buildArtifacts_location - Information about the location of the build artifacts.
$sel:md5sum:BuildArtifacts', buildArtifacts_md5sum - The MD5 hash of the build artifact.
You can use this hash along with a checksum tool to confirm file integrity and authenticity.
This value is available only if the build project's packaging value
is set to ZIP.
$sel:overrideArtifactName:BuildArtifacts', buildArtifacts_overrideArtifactName - If this flag is set, a name specified in the buildspec file overrides
the artifact name. The name specified in a buildspec file is calculated
at build time and uses the Shell Command Language. For example, you can
append a date and time to your artifact name so that it is always
unique.
$sel:sha256sum:BuildArtifacts', buildArtifacts_sha256sum - The SHA-256 hash of the build artifact.
You can use this hash along with a checksum tool to confirm file integrity and authenticity.
This value is available only if the build project's packaging value
is set to ZIP.
buildArtifacts_artifactIdentifier :: Lens' BuildArtifacts (Maybe Text) Source #
An identifier for this artifact definition.
buildArtifacts_bucketOwnerAccess :: Lens' BuildArtifacts (Maybe BucketOwnerAccess) Source #
Undocumented member.
buildArtifacts_encryptionDisabled :: Lens' BuildArtifacts (Maybe Bool) Source #
Information that tells you if encryption for build artifacts is disabled.
buildArtifacts_location :: Lens' BuildArtifacts (Maybe Text) Source #
Information about the location of the build artifacts.
buildArtifacts_md5sum :: Lens' BuildArtifacts (Maybe Text) Source #
The MD5 hash of the build artifact.
You can use this hash along with a checksum tool to confirm file integrity and authenticity.
This value is available only if the build project's packaging value
is set to ZIP.
buildArtifacts_overrideArtifactName :: Lens' BuildArtifacts (Maybe Bool) Source #
If this flag is set, a name specified in the buildspec file overrides the artifact name. The name specified in a buildspec file is calculated at build time and uses the Shell Command Language. For example, you can append a date and time to your artifact name so that it is always unique.
buildArtifacts_sha256sum :: Lens' BuildArtifacts (Maybe Text) Source #
The SHA-256 hash of the build artifact.
You can use this hash along with a checksum tool to confirm file integrity and authenticity.
This value is available only if the build project's packaging value
is set to ZIP.
BuildBatch
data BuildBatch Source #
Contains information about a batch build.
See: newBuildBatch smart constructor.
Constructors
| BuildBatch' | |
Fields
| |
Instances
newBuildBatch :: BuildBatch Source #
Create a value of BuildBatch 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:arn:BuildBatch', buildBatch_arn - The ARN of the batch build.
$sel:artifacts:BuildBatch', buildBatch_artifacts - A BuildArtifacts object the defines the build artifacts for this batch
build.
$sel:buildBatchConfig:BuildBatch', buildBatch_buildBatchConfig - Undocumented member.
$sel:buildBatchNumber:BuildBatch', buildBatch_buildBatchNumber - The number of the batch build. For each project, the buildBatchNumber
of its first batch build is 1. The buildBatchNumber of each
subsequent batch build is incremented by 1. If a batch build is
deleted, the buildBatchNumber of other batch builds does not change.
$sel:buildBatchStatus:BuildBatch', buildBatch_buildBatchStatus - The status of the batch build.
$sel:buildGroups:BuildBatch', buildBatch_buildGroups - An array of BuildGroup objects that define the build groups for the
batch build.
$sel:buildTimeoutInMinutes:BuildBatch', buildBatch_buildTimeoutInMinutes - Specifies the maximum amount of time, in minutes, that the build in a
batch must be completed in.
$sel:cache:BuildBatch', buildBatch_cache - Undocumented member.
$sel:complete:BuildBatch', buildBatch_complete - Indicates if the batch build is complete.
$sel:currentPhase:BuildBatch', buildBatch_currentPhase - The current phase of the batch build.
$sel:debugSessionEnabled:BuildBatch', buildBatch_debugSessionEnabled - Specifies if session debugging is enabled for this batch build. For more
information, see
Viewing a running build in Session Manager.
Batch session debugging is not supported for matrix batch builds.
$sel:encryptionKey:BuildBatch', buildBatch_encryptionKey - The Key Management Service customer master key (CMK) to be used for
encrypting the batch build output artifacts.
You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.
You can specify either the Amazon Resource Name (ARN) of the CMK or, if
available, the CMK's alias (using the format alias/<alias-name>).
BuildBatch, buildBatch_endTime - The date and time that the batch build ended.
$sel:environment:BuildBatch', buildBatch_environment - Undocumented member.
$sel:fileSystemLocations:BuildBatch', buildBatch_fileSystemLocations - An array of ProjectFileSystemLocation objects for the batch build
project. A ProjectFileSystemLocation object specifies the
identifier, location, mountOptions, mountPoint, and type of a
file system created using Amazon Elastic File System.
$sel:id:BuildBatch', buildBatch_id - The identifier of the batch build.
$sel:initiator:BuildBatch', buildBatch_initiator - The entity that started the batch build. Valid values include:
- If CodePipeline started the build, the pipeline's name (for
example,
codepipeline/my-demo-pipeline). - If an IAM user started the build, the user's name.
- If the Jenkins plugin for CodeBuild started the build, the string
CodeBuild-Jenkins-Plugin.
$sel:logConfig:BuildBatch', buildBatch_logConfig - Undocumented member.
$sel:phases:BuildBatch', buildBatch_phases - An array of BuildBatchPhase objects the specify the phases of the
batch build.
$sel:projectName:BuildBatch', buildBatch_projectName - The name of the batch build project.
$sel:queuedTimeoutInMinutes:BuildBatch', buildBatch_queuedTimeoutInMinutes - Specifies the amount of time, in minutes, that the batch build is
allowed to be queued before it times out.
$sel:resolvedSourceVersion:BuildBatch', buildBatch_resolvedSourceVersion - The identifier of the resolved version of this batch build's source
code.
- For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.
- For CodePipeline, the source revision provided by CodePipeline.
- For Amazon S3, this does not apply.
$sel:secondaryArtifacts:BuildBatch', buildBatch_secondaryArtifacts - An array of BuildArtifacts objects the define the build artifacts for
this batch build.
$sel:secondarySourceVersions:BuildBatch', buildBatch_secondarySourceVersions - An array of ProjectSourceVersion objects. Each ProjectSourceVersion
must be one of:
- For CodeCommit: the commit ID, branch, or Git tag to use.
- For GitHub: the commit ID, pull request ID, branch name, or tag name
that corresponds to the version of the source code you want to
build. If a pull request ID is specified, it must use the format
pr/pull-request-ID(for example,pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. - For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
- For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
$sel:secondarySources:BuildBatch', buildBatch_secondarySources - An array of ProjectSource objects that define the sources for the
batch build.
BuildBatch, buildBatch_serviceRole - The name of a service role used for builds in the batch.
$sel:source:BuildBatch', buildBatch_source - Undocumented member.
BuildBatch, buildBatch_sourceVersion - The identifier of the version of the source code to be built.
BuildBatch, buildBatch_startTime - The date and time that the batch build started.
$sel:vpcConfig:BuildBatch', buildBatch_vpcConfig - Undocumented member.
buildBatch_arn :: Lens' BuildBatch (Maybe Text) Source #
The ARN of the batch build.
buildBatch_artifacts :: Lens' BuildBatch (Maybe BuildArtifacts) Source #
A BuildArtifacts object the defines the build artifacts for this batch
build.
buildBatch_buildBatchConfig :: Lens' BuildBatch (Maybe ProjectBuildBatchConfig) Source #
Undocumented member.
buildBatch_buildBatchNumber :: Lens' BuildBatch (Maybe Integer) Source #
The number of the batch build. For each project, the buildBatchNumber
of its first batch build is 1. The buildBatchNumber of each
subsequent batch build is incremented by 1. If a batch build is
deleted, the buildBatchNumber of other batch builds does not change.
buildBatch_buildBatchStatus :: Lens' BuildBatch (Maybe StatusType) Source #
The status of the batch build.
buildBatch_buildGroups :: Lens' BuildBatch (Maybe [BuildGroup]) Source #
An array of BuildGroup objects that define the build groups for the
batch build.
buildBatch_buildTimeoutInMinutes :: Lens' BuildBatch (Maybe Int) Source #
Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in.
buildBatch_cache :: Lens' BuildBatch (Maybe ProjectCache) Source #
Undocumented member.
buildBatch_complete :: Lens' BuildBatch (Maybe Bool) Source #
Indicates if the batch build is complete.
buildBatch_currentPhase :: Lens' BuildBatch (Maybe Text) Source #
The current phase of the batch build.
buildBatch_debugSessionEnabled :: Lens' BuildBatch (Maybe Bool) Source #
Specifies if session debugging is enabled for this batch build. For more information, see Viewing a running build in Session Manager. Batch session debugging is not supported for matrix batch builds.
buildBatch_encryptionKey :: Lens' BuildBatch (Maybe Text) Source #
The Key Management Service customer master key (CMK) to be used for encrypting the batch build output artifacts.
You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.
You can specify either the Amazon Resource Name (ARN) of the CMK or, if
available, the CMK's alias (using the format alias/<alias-name>).
buildBatch_endTime :: Lens' BuildBatch (Maybe UTCTime) Source #
The date and time that the batch build ended.
buildBatch_environment :: Lens' BuildBatch (Maybe ProjectEnvironment) Source #
Undocumented member.
buildBatch_fileSystemLocations :: Lens' BuildBatch (Maybe [ProjectFileSystemLocation]) Source #
An array of ProjectFileSystemLocation objects for the batch build
project. A ProjectFileSystemLocation object specifies the
identifier, location, mountOptions, mountPoint, and type of a
file system created using Amazon Elastic File System.
buildBatch_id :: Lens' BuildBatch (Maybe Text) Source #
The identifier of the batch build.
buildBatch_initiator :: Lens' BuildBatch (Maybe Text) Source #
The entity that started the batch build. Valid values include:
- If CodePipeline started the build, the pipeline's name (for
example,
codepipeline/my-demo-pipeline). - If an IAM user started the build, the user's name.
- If the Jenkins plugin for CodeBuild started the build, the string
CodeBuild-Jenkins-Plugin.
buildBatch_logConfig :: Lens' BuildBatch (Maybe LogsConfig) Source #
Undocumented member.
buildBatch_phases :: Lens' BuildBatch (Maybe [BuildBatchPhase]) Source #
An array of BuildBatchPhase objects the specify the phases of the
batch build.
buildBatch_projectName :: Lens' BuildBatch (Maybe Text) Source #
The name of the batch build project.
buildBatch_queuedTimeoutInMinutes :: Lens' BuildBatch (Maybe Int) Source #
Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times out.
buildBatch_resolvedSourceVersion :: Lens' BuildBatch (Maybe Text) Source #
The identifier of the resolved version of this batch build's source code.
- For CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.
- For CodePipeline, the source revision provided by CodePipeline.
- For Amazon S3, this does not apply.
buildBatch_secondaryArtifacts :: Lens' BuildBatch (Maybe [BuildArtifacts]) Source #
An array of BuildArtifacts objects the define the build artifacts for
this batch build.
buildBatch_secondarySourceVersions :: Lens' BuildBatch (Maybe [ProjectSourceVersion]) Source #
An array of ProjectSourceVersion objects. Each ProjectSourceVersion
must be one of:
- For CodeCommit: the commit ID, branch, or Git tag to use.
- For GitHub: the commit ID, pull request ID, branch name, or tag name
that corresponds to the version of the source code you want to
build. If a pull request ID is specified, it must use the format
pr/pull-request-ID(for example,pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. - For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
- For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
buildBatch_secondarySources :: Lens' BuildBatch (Maybe [ProjectSource]) Source #
An array of ProjectSource objects that define the sources for the
batch build.
buildBatch_serviceRole :: Lens' BuildBatch (Maybe Text) Source #
The name of a service role used for builds in the batch.
buildBatch_source :: Lens' BuildBatch (Maybe ProjectSource) Source #
Undocumented member.
buildBatch_sourceVersion :: Lens' BuildBatch (Maybe Text) Source #
The identifier of the version of the source code to be built.
buildBatch_startTime :: Lens' BuildBatch (Maybe UTCTime) Source #
The date and time that the batch build started.
buildBatch_vpcConfig :: Lens' BuildBatch (Maybe VpcConfig) Source #
Undocumented member.
BuildBatchFilter
data BuildBatchFilter Source #
Specifies filters when retrieving batch builds.
See: newBuildBatchFilter smart constructor.
Constructors
| BuildBatchFilter' | |
Fields
| |
Instances
newBuildBatchFilter :: BuildBatchFilter Source #
Create a value of BuildBatchFilter 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:status:BuildBatchFilter', buildBatchFilter_status - The status of the batch builds to retrieve. Only batch builds that have
this status will be retrieved.
buildBatchFilter_status :: Lens' BuildBatchFilter (Maybe StatusType) Source #
The status of the batch builds to retrieve. Only batch builds that have this status will be retrieved.
BuildBatchPhase
data BuildBatchPhase Source #
Contains information about a stage for a batch build.
See: newBuildBatchPhase smart constructor.
Constructors
| BuildBatchPhase' | |
Fields
| |
Instances
newBuildBatchPhase :: BuildBatchPhase Source #
Create a value of BuildBatchPhase 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:contexts:BuildBatchPhase', buildBatchPhase_contexts - Additional information about the batch build phase. Especially to help
troubleshoot a failed batch build.
$sel:durationInSeconds:BuildBatchPhase', buildBatchPhase_durationInSeconds - How long, in seconds, between the starting and ending times of the batch
build's phase.
$sel:endTime:BuildBatchPhase', buildBatchPhase_endTime - When the batch build phase ended, expressed in Unix time format.
$sel:phaseStatus:BuildBatchPhase', buildBatchPhase_phaseStatus - The current status of the batch build phase. Valid values include:
- FAILED
- The build phase failed.
- FAULT
- The build phase faulted.
- IN_PROGRESS
- The build phase is still in progress.
- STOPPED
- The build phase stopped.
- SUCCEEDED
- The build phase succeeded.
- TIMED_OUT
- The build phase timed out.
$sel:phaseType:BuildBatchPhase', buildBatchPhase_phaseType - The name of the batch build phase. Valid values include:
- COMBINE_ARTIFACTS
- Build output artifacts are being combined and uploaded to the output location.
- DOWNLOAD_BATCHSPEC
- The batch build specification is being downloaded.
- FAILED
- One or more of the builds failed.
- IN_PROGRESS
- The batch build is in progress.
- STOPPED
- The batch build was stopped.
- SUBMITTED
- The btach build has been submitted.
- SUCCEEDED
- The batch build succeeded.
$sel:startTime:BuildBatchPhase', buildBatchPhase_startTime - When the batch build phase started, expressed in Unix time format.
buildBatchPhase_contexts :: Lens' BuildBatchPhase (Maybe [PhaseContext]) Source #
Additional information about the batch build phase. Especially to help troubleshoot a failed batch build.
buildBatchPhase_durationInSeconds :: Lens' BuildBatchPhase (Maybe Integer) Source #
How long, in seconds, between the starting and ending times of the batch build's phase.
buildBatchPhase_endTime :: Lens' BuildBatchPhase (Maybe UTCTime) Source #
When the batch build phase ended, expressed in Unix time format.
buildBatchPhase_phaseStatus :: Lens' BuildBatchPhase (Maybe StatusType) Source #
The current status of the batch build phase. Valid values include:
- FAILED
- The build phase failed.
- FAULT
- The build phase faulted.
- IN_PROGRESS
- The build phase is still in progress.
- STOPPED
- The build phase stopped.
- SUCCEEDED
- The build phase succeeded.
- TIMED_OUT
- The build phase timed out.
buildBatchPhase_phaseType :: Lens' BuildBatchPhase (Maybe BuildBatchPhaseType) Source #
The name of the batch build phase. Valid values include:
- COMBINE_ARTIFACTS
- Build output artifacts are being combined and uploaded to the output location.
- DOWNLOAD_BATCHSPEC
- The batch build specification is being downloaded.
- FAILED
- One or more of the builds failed.
- IN_PROGRESS
- The batch build is in progress.
- STOPPED
- The batch build was stopped.
- SUBMITTED
- The btach build has been submitted.
- SUCCEEDED
- The batch build succeeded.
buildBatchPhase_startTime :: Lens' BuildBatchPhase (Maybe UTCTime) Source #
When the batch build phase started, expressed in Unix time format.
BuildGroup
data BuildGroup Source #
Contains information about a batch build build group. Build groups are used to combine builds that can run in parallel, while still being able to set dependencies on other build groups.
See: newBuildGroup smart constructor.
Constructors
| BuildGroup' | |
Fields
| |
Instances
newBuildGroup :: BuildGroup Source #
Create a value of BuildGroup 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:currentBuildSummary:BuildGroup', buildGroup_currentBuildSummary - A BuildSummary object that contains a summary of the current build
group.
$sel:dependsOn:BuildGroup', buildGroup_dependsOn - An array of strings that contain the identifiers of the build groups
that this build group depends on.
$sel:identifier:BuildGroup', buildGroup_identifier - Contains the identifier of the build group.
$sel:ignoreFailure:BuildGroup', buildGroup_ignoreFailure - Specifies if failures in this build group can be ignored.
$sel:priorBuildSummaryList:BuildGroup', buildGroup_priorBuildSummaryList - An array of BuildSummary objects that contain summaries of previous
build groups.
buildGroup_currentBuildSummary :: Lens' BuildGroup (Maybe BuildSummary) Source #
A BuildSummary object that contains a summary of the current build
group.
buildGroup_dependsOn :: Lens' BuildGroup (Maybe [Text]) Source #
An array of strings that contain the identifiers of the build groups that this build group depends on.
buildGroup_identifier :: Lens' BuildGroup (Maybe Text) Source #
Contains the identifier of the build group.
buildGroup_ignoreFailure :: Lens' BuildGroup (Maybe Bool) Source #
Specifies if failures in this build group can be ignored.
buildGroup_priorBuildSummaryList :: Lens' BuildGroup (Maybe [BuildSummary]) Source #
An array of BuildSummary objects that contain summaries of previous
build groups.
BuildNotDeleted
data BuildNotDeleted Source #
Information about a build that could not be successfully deleted.
See: newBuildNotDeleted smart constructor.
Constructors
| BuildNotDeleted' | |
Instances
newBuildNotDeleted :: BuildNotDeleted Source #
Create a value of BuildNotDeleted 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:id:BuildNotDeleted', buildNotDeleted_id - The ID of the build that could not be successfully deleted.
$sel:statusCode:BuildNotDeleted', buildNotDeleted_statusCode - Additional information about the build that could not be successfully
deleted.
buildNotDeleted_id :: Lens' BuildNotDeleted (Maybe Text) Source #
The ID of the build that could not be successfully deleted.
buildNotDeleted_statusCode :: Lens' BuildNotDeleted (Maybe Text) Source #
Additional information about the build that could not be successfully deleted.
BuildPhase
data BuildPhase Source #
Information about a stage for a build.
See: newBuildPhase smart constructor.
Constructors
| BuildPhase' | |
Fields
| |
Instances
newBuildPhase :: BuildPhase Source #
Create a value of BuildPhase 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:contexts:BuildPhase', buildPhase_contexts - Additional information about a build phase, especially to help
troubleshoot a failed build.
$sel:durationInSeconds:BuildPhase', buildPhase_durationInSeconds - How long, in seconds, between the starting and ending times of the
build's phase.
$sel:endTime:BuildPhase', buildPhase_endTime - When the build phase ended, expressed in Unix time format.
$sel:phaseStatus:BuildPhase', buildPhase_phaseStatus - The current status of the build phase. Valid values include:
- FAILED
- The build phase failed.
- FAULT
- The build phase faulted.
- IN_PROGRESS
- The build phase is still in progress.
- STOPPED
- The build phase stopped.
- SUCCEEDED
- The build phase succeeded.
- TIMED_OUT
- The build phase timed out.
$sel:phaseType:BuildPhase', buildPhase_phaseType - The name of the build phase. Valid values include:
- BUILD
- Core build activities typically occur in this build phase.
- COMPLETED
- The build has been completed.
- DOWNLOAD_SOURCE
- Source code is being downloaded in this build phase.
- FINALIZING
- The build process is completing in this build phase.
- INSTALL
- Installation activities typically occur in this build phase.
- POST_BUILD
- Post-build activities typically occur in this build phase.
- PRE_BUILD
- Pre-build activities typically occur in this build phase.
- PROVISIONING
- The build environment is being set up.
- QUEUED
- The build has been submitted and is queued behind other submitted builds.
- SUBMITTED
- The build has been submitted.
- UPLOAD_ARTIFACTS
- Build output artifacts are being uploaded to the output location.
$sel:startTime:BuildPhase', buildPhase_startTime - When the build phase started, expressed in Unix time format.
buildPhase_contexts :: Lens' BuildPhase (Maybe [PhaseContext]) Source #
Additional information about a build phase, especially to help troubleshoot a failed build.
buildPhase_durationInSeconds :: Lens' BuildPhase (Maybe Integer) Source #
How long, in seconds, between the starting and ending times of the build's phase.
buildPhase_endTime :: Lens' BuildPhase (Maybe UTCTime) Source #
When the build phase ended, expressed in Unix time format.
buildPhase_phaseStatus :: Lens' BuildPhase (Maybe StatusType) Source #
The current status of the build phase. Valid values include:
- FAILED
- The build phase failed.
- FAULT
- The build phase faulted.
- IN_PROGRESS
- The build phase is still in progress.
- STOPPED
- The build phase stopped.
- SUCCEEDED
- The build phase succeeded.
- TIMED_OUT
- The build phase timed out.
buildPhase_phaseType :: Lens' BuildPhase (Maybe BuildPhaseType) Source #
The name of the build phase. Valid values include:
- BUILD
- Core build activities typically occur in this build phase.
- COMPLETED
- The build has been completed.
- DOWNLOAD_SOURCE
- Source code is being downloaded in this build phase.
- FINALIZING
- The build process is completing in this build phase.
- INSTALL
- Installation activities typically occur in this build phase.
- POST_BUILD
- Post-build activities typically occur in this build phase.
- PRE_BUILD
- Pre-build activities typically occur in this build phase.
- PROVISIONING
- The build environment is being set up.
- QUEUED
- The build has been submitted and is queued behind other submitted builds.
- SUBMITTED
- The build has been submitted.
- UPLOAD_ARTIFACTS
- Build output artifacts are being uploaded to the output location.
buildPhase_startTime :: Lens' BuildPhase (Maybe UTCTime) Source #
When the build phase started, expressed in Unix time format.
BuildStatusConfig
data BuildStatusConfig Source #
Contains information that defines how the CodeBuild build project reports the build status to the source provider.
See: newBuildStatusConfig smart constructor.
Constructors
| BuildStatusConfig' | |
Fields
| |
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
nameparameter 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
contextparameter 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
urlparameter 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_urlparameter 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
nameparameter 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
contextparameter 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
urlparameter 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_urlparameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
BuildSummary
data BuildSummary Source #
Contains summary information about a batch build group.
See: newBuildSummary smart constructor.
Constructors
| BuildSummary' | |
Fields
| |
Instances
newBuildSummary :: BuildSummary Source #
Create a value of BuildSummary 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:arn:BuildSummary', buildSummary_arn - The batch build ARN.
$sel:buildStatus:BuildSummary', buildSummary_buildStatus - The status of the build group.
- FAILED
- The build group failed.
- FAULT
- The build group faulted.
- IN_PROGRESS
- The build group is still in progress.
- STOPPED
- The build group stopped.
- SUCCEEDED
- The build group succeeded.
- TIMED_OUT
- The build group timed out.
$sel:primaryArtifact:BuildSummary', buildSummary_primaryArtifact - A ResolvedArtifact object that represents the primary build artifacts
for the build group.
$sel:requestedOn:BuildSummary', buildSummary_requestedOn - When the build was started, expressed in Unix time format.
$sel:secondaryArtifacts:BuildSummary', buildSummary_secondaryArtifacts - An array of ResolvedArtifact objects that represents the secondary
build artifacts for the build group.
buildSummary_arn :: Lens' BuildSummary (Maybe Text) Source #
The batch build ARN.
buildSummary_buildStatus :: Lens' BuildSummary (Maybe StatusType) Source #
The status of the build group.
- FAILED
- The build group failed.
- FAULT
- The build group faulted.
- IN_PROGRESS
- The build group is still in progress.
- STOPPED
- The build group stopped.
- SUCCEEDED
- The build group succeeded.
- TIMED_OUT
- The build group timed out.
buildSummary_primaryArtifact :: Lens' BuildSummary (Maybe ResolvedArtifact) Source #
A ResolvedArtifact object that represents the primary build artifacts
for the build group.
buildSummary_requestedOn :: Lens' BuildSummary (Maybe UTCTime) Source #
When the build was started, expressed in Unix time format.
buildSummary_secondaryArtifacts :: Lens' BuildSummary (Maybe [ResolvedArtifact]) Source #
An array of ResolvedArtifact objects that represents the secondary
build artifacts for the build group.
CloudWatchLogsConfig
data CloudWatchLogsConfig Source #
Information about CloudWatch Logs for a build project.
See: newCloudWatchLogsConfig smart constructor.
Constructors
| CloudWatchLogsConfig' | |
Fields
| |
Instances
newCloudWatchLogsConfig Source #
Create a value of CloudWatchLogsConfig 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:groupName:CloudWatchLogsConfig', cloudWatchLogsConfig_groupName - The group name of the logs in CloudWatch Logs. For more information, see
Working with Log Groups and Log Streams.
$sel:streamName:CloudWatchLogsConfig', cloudWatchLogsConfig_streamName - The prefix of the stream name of the CloudWatch Logs. For more
information, see
Working with Log Groups and Log Streams.
$sel:status:CloudWatchLogsConfig', cloudWatchLogsConfig_status - The current status of the logs in CloudWatch Logs for a build project.
Valid values are:
ENABLED: CloudWatch Logs are enabled for this build project.DISABLED: CloudWatch Logs are not enabled for this build project.
cloudWatchLogsConfig_groupName :: Lens' CloudWatchLogsConfig (Maybe Text) Source #
The group name of the logs in CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
cloudWatchLogsConfig_streamName :: Lens' CloudWatchLogsConfig (Maybe Text) Source #
The prefix of the stream name of the CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
cloudWatchLogsConfig_status :: Lens' CloudWatchLogsConfig LogsConfigStatusType Source #
The current status of the logs in CloudWatch Logs for a build project. Valid values are:
ENABLED: CloudWatch Logs are enabled for this build project.DISABLED: CloudWatch Logs are not enabled for this build project.
CodeCoverage
data CodeCoverage Source #
Contains code coverage report information.
Line coverage measures how many statements your tests cover. A statement is a single instruction, not including comments, conditionals, etc.
Branch coverage determines if your tests cover every possible branch of
a control structure, such as an if or case statement.
See: newCodeCoverage smart constructor.
Constructors
| CodeCoverage' | |
Fields
| |
Instances
newCodeCoverage :: CodeCoverage Source #
Create a value of CodeCoverage 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:branchCoveragePercentage:CodeCoverage', codeCoverage_branchCoveragePercentage - The percentage of branches that are covered by your tests.
$sel:branchesCovered:CodeCoverage', codeCoverage_branchesCovered - The number of conditional branches that are covered by your tests.
$sel:branchesMissed:CodeCoverage', codeCoverage_branchesMissed - The number of conditional branches that are not covered by your tests.
$sel:expired:CodeCoverage', codeCoverage_expired - The date and time that the tests were run.
$sel:filePath:CodeCoverage', codeCoverage_filePath - The path of the test report file.
$sel:id:CodeCoverage', codeCoverage_id - The identifier of the code coverage report.
$sel:lineCoveragePercentage:CodeCoverage', codeCoverage_lineCoveragePercentage - The percentage of lines that are covered by your tests.
$sel:linesCovered:CodeCoverage', codeCoverage_linesCovered - The number of lines that are covered by your tests.
$sel:linesMissed:CodeCoverage', codeCoverage_linesMissed - The number of lines that are not covered by your tests.
$sel:reportARN:CodeCoverage', codeCoverage_reportARN - The ARN of the report.
codeCoverage_branchCoveragePercentage :: Lens' CodeCoverage (Maybe Double) Source #
The percentage of branches that are covered by your tests.
codeCoverage_branchesCovered :: Lens' CodeCoverage (Maybe Natural) Source #
The number of conditional branches that are covered by your tests.
codeCoverage_branchesMissed :: Lens' CodeCoverage (Maybe Natural) Source #
The number of conditional branches that are not covered by your tests.
codeCoverage_expired :: Lens' CodeCoverage (Maybe UTCTime) Source #
The date and time that the tests were run.
codeCoverage_filePath :: Lens' CodeCoverage (Maybe Text) Source #
The path of the test report file.
codeCoverage_id :: Lens' CodeCoverage (Maybe Text) Source #
The identifier of the code coverage report.
codeCoverage_lineCoveragePercentage :: Lens' CodeCoverage (Maybe Double) Source #
The percentage of lines that are covered by your tests.
codeCoverage_linesCovered :: Lens' CodeCoverage (Maybe Natural) Source #
The number of lines that are covered by your tests.
codeCoverage_linesMissed :: Lens' CodeCoverage (Maybe Natural) Source #
The number of lines that are not covered by your tests.
codeCoverage_reportARN :: Lens' CodeCoverage (Maybe Text) Source #
The ARN of the report.
CodeCoverageReportSummary
data CodeCoverageReportSummary Source #
Contains a summary of a code coverage report.
Line coverage measures how many statements your tests cover. A statement is a single instruction, not including comments, conditionals, etc.
Branch coverage determines if your tests cover every possible branch of
a control structure, such as an if or case statement.
See: newCodeCoverageReportSummary smart constructor.
Constructors
| CodeCoverageReportSummary' | |
Fields
| |
Instances
newCodeCoverageReportSummary :: CodeCoverageReportSummary Source #
Create a value of CodeCoverageReportSummary 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:branchCoveragePercentage:CodeCoverageReportSummary', codeCoverageReportSummary_branchCoveragePercentage - The percentage of branches that are covered by your tests.
$sel:branchesCovered:CodeCoverageReportSummary', codeCoverageReportSummary_branchesCovered - The number of conditional branches that are covered by your tests.
$sel:branchesMissed:CodeCoverageReportSummary', codeCoverageReportSummary_branchesMissed - The number of conditional branches that are not covered by your tests.
$sel:lineCoveragePercentage:CodeCoverageReportSummary', codeCoverageReportSummary_lineCoveragePercentage - The percentage of lines that are covered by your tests.
$sel:linesCovered:CodeCoverageReportSummary', codeCoverageReportSummary_linesCovered - The number of lines that are covered by your tests.
$sel:linesMissed:CodeCoverageReportSummary', codeCoverageReportSummary_linesMissed - The number of lines that are not covered by your tests.
codeCoverageReportSummary_branchCoveragePercentage :: Lens' CodeCoverageReportSummary (Maybe Double) Source #
The percentage of branches that are covered by your tests.
codeCoverageReportSummary_branchesCovered :: Lens' CodeCoverageReportSummary (Maybe Natural) Source #
The number of conditional branches that are covered by your tests.
codeCoverageReportSummary_branchesMissed :: Lens' CodeCoverageReportSummary (Maybe Natural) Source #
The number of conditional branches that are not covered by your tests.
codeCoverageReportSummary_lineCoveragePercentage :: Lens' CodeCoverageReportSummary (Maybe Double) Source #
The percentage of lines that are covered by your tests.
codeCoverageReportSummary_linesCovered :: Lens' CodeCoverageReportSummary (Maybe Natural) Source #
The number of lines that are covered by your tests.
codeCoverageReportSummary_linesMissed :: Lens' CodeCoverageReportSummary (Maybe Natural) Source #
The number of lines that are not covered by your tests.
DebugSession
data DebugSession Source #
Contains information about the debug session for a build. For more information, see Viewing a running build in Session Manager.
See: newDebugSession smart constructor.
Constructors
| DebugSession' | |
Fields
| |
Instances
newDebugSession :: DebugSession Source #
Create a value of DebugSession 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:sessionEnabled:DebugSession', debugSession_sessionEnabled - Specifies if session debugging is enabled for this build.
$sel:sessionTarget:DebugSession', debugSession_sessionTarget - Contains the identifier of the Session Manager session used for the
build. To work with the paused build, you open this session to examine,
control, and resume the build.
debugSession_sessionEnabled :: Lens' DebugSession (Maybe Bool) Source #
Specifies if session debugging is enabled for this build.
debugSession_sessionTarget :: Lens' DebugSession (Maybe Text) Source #
Contains the identifier of the Session Manager session used for the build. To work with the paused build, you open this session to examine, control, and resume the build.
EnvironmentImage
data EnvironmentImage Source #
Information about a Docker image that is managed by CodeBuild.
See: newEnvironmentImage smart constructor.
Constructors
| EnvironmentImage' | |
Instances
newEnvironmentImage :: EnvironmentImage Source #
Create a value of EnvironmentImage 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:description:EnvironmentImage', environmentImage_description - The description of the Docker image.
$sel:name:EnvironmentImage', environmentImage_name - The name of the Docker image.
$sel:versions:EnvironmentImage', environmentImage_versions - A list of environment image versions.
environmentImage_description :: Lens' EnvironmentImage (Maybe Text) Source #
The description of the Docker image.
environmentImage_name :: Lens' EnvironmentImage (Maybe Text) Source #
The name of the Docker image.
environmentImage_versions :: Lens' EnvironmentImage (Maybe [Text]) Source #
A list of environment image versions.
EnvironmentLanguage
data EnvironmentLanguage Source #
A set of Docker images that are related by programming language and are managed by CodeBuild.
See: newEnvironmentLanguage smart constructor.
Constructors
| EnvironmentLanguage' | |
Fields
| |
Instances
newEnvironmentLanguage :: EnvironmentLanguage Source #
Create a value of EnvironmentLanguage 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:images:EnvironmentLanguage', environmentLanguage_images - The list of Docker images that are related by the specified programming
language.
$sel:language:EnvironmentLanguage', environmentLanguage_language - The programming language for the Docker images.
environmentLanguage_images :: Lens' EnvironmentLanguage (Maybe [EnvironmentImage]) Source #
The list of Docker images that are related by the specified programming language.
environmentLanguage_language :: Lens' EnvironmentLanguage (Maybe LanguageType) Source #
The programming language for the Docker images.
EnvironmentPlatform
data EnvironmentPlatform Source #
A set of Docker images that are related by platform and are managed by CodeBuild.
See: newEnvironmentPlatform smart constructor.
Constructors
| EnvironmentPlatform' | |
Fields
| |
Instances
newEnvironmentPlatform :: EnvironmentPlatform Source #
Create a value of EnvironmentPlatform 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:languages:EnvironmentPlatform', environmentPlatform_languages - The list of programming languages that are available for the specified
platform.
$sel:platform:EnvironmentPlatform', environmentPlatform_platform - The platform's name.
environmentPlatform_languages :: Lens' EnvironmentPlatform (Maybe [EnvironmentLanguage]) Source #
The list of programming languages that are available for the specified platform.
environmentPlatform_platform :: Lens' EnvironmentPlatform (Maybe PlatformType) Source #
The platform's name.
EnvironmentVariable
data EnvironmentVariable Source #
Information about an environment variable for a build project or a build.
See: newEnvironmentVariable smart constructor.
Constructors
| EnvironmentVariable' | |
Fields
| |
Instances
newEnvironmentVariable Source #
Arguments
| :: Text | |
| -> Text | |
| -> EnvironmentVariable |
Create a value of EnvironmentVariable 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:type':EnvironmentVariable', environmentVariable_type - The type of environment variable. Valid values include:
PARAMETER_STORE: An environment variable stored in Systems Manager Parameter Store. To learn how to specify a parameter store environment variable, see env/parameter-store in the CodeBuild User Guide.PLAINTEXT: An environment variable in plain text format. This is the default value.SECRETS_MANAGER: An environment variable stored in Secrets Manager. To learn how to specify a secrets manager environment variable, see env/secrets-manager in the CodeBuild User Guide.
$sel:name:EnvironmentVariable', environmentVariable_name - The name or key of the environment variable.
$sel:value:EnvironmentVariable', environmentVariable_value - The value of the environment variable.
We strongly discourage the use of PLAINTEXT environment variables to
store sensitive values, especially Amazon Web Services secret key IDs
and secret access keys. PLAINTEXT environment variables can be
displayed in plain text using the CodeBuild console and the CLI. For
sensitive values, we recommend you use an environment variable of type
PARAMETER_STORE or SECRETS_MANAGER.
environmentVariable_type :: Lens' EnvironmentVariable (Maybe EnvironmentVariableType) Source #
The type of environment variable. Valid values include:
PARAMETER_STORE: An environment variable stored in Systems Manager Parameter Store. To learn how to specify a parameter store environment variable, see env/parameter-store in the CodeBuild User Guide.PLAINTEXT: An environment variable in plain text format. This is the default value.SECRETS_MANAGER: An environment variable stored in Secrets Manager. To learn how to specify a secrets manager environment variable, see env/secrets-manager in the CodeBuild User Guide.
environmentVariable_name :: Lens' EnvironmentVariable Text Source #
The name or key of the environment variable.
environmentVariable_value :: Lens' EnvironmentVariable Text Source #
The value of the environment variable.
We strongly discourage the use of PLAINTEXT environment variables to
store sensitive values, especially Amazon Web Services secret key IDs
and secret access keys. PLAINTEXT environment variables can be
displayed in plain text using the CodeBuild console and the CLI. For
sensitive values, we recommend you use an environment variable of type
PARAMETER_STORE or SECRETS_MANAGER.
ExportedEnvironmentVariable
data ExportedEnvironmentVariable Source #
Contains information about an exported environment variable.
Exported environment variables are used in conjunction with CodePipeline to export environment variables from the current build stage to subsequent stages in the pipeline. For more information, see Working with variables in the CodePipeline User Guide.
During a build, the value of a variable is available starting with the
install phase. It can be updated between the start of the install
phase and the end of the post_build phase. After the post_build
phase ends, the value of exported variables cannot change.
See: newExportedEnvironmentVariable smart constructor.
Constructors
| ExportedEnvironmentVariable' | |
Instances
newExportedEnvironmentVariable :: ExportedEnvironmentVariable Source #
Create a value of ExportedEnvironmentVariable 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:name:ExportedEnvironmentVariable', exportedEnvironmentVariable_name - The name of the exported environment variable.
$sel:value:ExportedEnvironmentVariable', exportedEnvironmentVariable_value - The value assigned to the exported environment variable.
exportedEnvironmentVariable_name :: Lens' ExportedEnvironmentVariable (Maybe Text) Source #
The name of the exported environment variable.
exportedEnvironmentVariable_value :: Lens' ExportedEnvironmentVariable (Maybe Text) Source #
The value assigned to the exported environment variable.
GitSubmodulesConfig
data GitSubmodulesConfig Source #
Information about the Git submodules configuration for an CodeBuild build project.
See: newGitSubmodulesConfig smart constructor.
Constructors
| GitSubmodulesConfig' | |
Fields
| |
Instances
newGitSubmodulesConfig Source #
Create a value of GitSubmodulesConfig 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:fetchSubmodules:GitSubmodulesConfig', gitSubmodulesConfig_fetchSubmodules - Set to true to fetch Git submodules for your CodeBuild build project.
gitSubmodulesConfig_fetchSubmodules :: Lens' GitSubmodulesConfig Bool Source #
Set to true to fetch Git submodules for your CodeBuild build project.
LogsConfig
data LogsConfig Source #
Information about logs for a build project. These can be logs in CloudWatch Logs, built in a specified S3 bucket, or both.
See: newLogsConfig smart constructor.
Constructors
| LogsConfig' | |
Fields
| |
Instances
newLogsConfig :: LogsConfig Source #
Create a value of LogsConfig 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:cloudWatchLogs:LogsConfig', logsConfig_cloudWatchLogs - Information about CloudWatch Logs for a build project. CloudWatch Logs
are enabled by default.
$sel:s3Logs:LogsConfig', logsConfig_s3Logs - Information about logs built to an S3 bucket for a build project. S3
logs are not enabled by default.
logsConfig_cloudWatchLogs :: Lens' LogsConfig (Maybe CloudWatchLogsConfig) Source #
Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default.
logsConfig_s3Logs :: Lens' LogsConfig (Maybe S3LogsConfig) Source #
Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.
LogsLocation
data LogsLocation Source #
Information about build logs in CloudWatch Logs.
See: newLogsLocation smart constructor.
Constructors
| LogsLocation' | |
Fields
| |
Instances
newLogsLocation :: LogsLocation Source #
Create a value of LogsLocation 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:cloudWatchLogs:LogsLocation', logsLocation_cloudWatchLogs - Information about CloudWatch Logs for a build project.
$sel:cloudWatchLogsArn:LogsLocation', logsLocation_cloudWatchLogsArn - The ARN of CloudWatch Logs for a build project. Its format is
arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}.
For more information, see
Resources Defined by CloudWatch Logs.
$sel:deepLink:LogsLocation', logsLocation_deepLink - The URL to an individual build log in CloudWatch Logs.
LogsLocation, logsLocation_groupName - The name of the CloudWatch Logs group for the build logs.
$sel:s3DeepLink:LogsLocation', logsLocation_s3DeepLink - The URL to a build log in an S3 bucket.
$sel:s3Logs:LogsLocation', logsLocation_s3Logs - Information about S3 logs for a build project.
$sel:s3LogsArn:LogsLocation', logsLocation_s3LogsArn - The ARN of S3 logs for a build project. Its format is
arn:${Partition}:s3:::${BucketName}/${ObjectName}. For more
information, see
Resources Defined by Amazon S3.
LogsLocation, logsLocation_streamName - The name of the CloudWatch Logs stream for the build logs.
logsLocation_cloudWatchLogs :: Lens' LogsLocation (Maybe CloudWatchLogsConfig) Source #
Information about CloudWatch Logs for a build project.
logsLocation_cloudWatchLogsArn :: Lens' LogsLocation (Maybe Text) Source #
The ARN of CloudWatch Logs for a build project. Its format is
arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}.
For more information, see
Resources Defined by CloudWatch Logs.
logsLocation_deepLink :: Lens' LogsLocation (Maybe Text) Source #
The URL to an individual build log in CloudWatch Logs.
logsLocation_groupName :: Lens' LogsLocation (Maybe Text) Source #
The name of the CloudWatch Logs group for the build logs.
logsLocation_s3DeepLink :: Lens' LogsLocation (Maybe Text) Source #
The URL to a build log in an S3 bucket.
logsLocation_s3Logs :: Lens' LogsLocation (Maybe S3LogsConfig) Source #
Information about S3 logs for a build project.
logsLocation_s3LogsArn :: Lens' LogsLocation (Maybe Text) Source #
The ARN of S3 logs for a build project. Its format is
arn:${Partition}:s3:::${BucketName}/${ObjectName}. For more
information, see
Resources Defined by Amazon S3.
logsLocation_streamName :: Lens' LogsLocation (Maybe Text) Source #
The name of the CloudWatch Logs stream for the build logs.
NetworkInterface
data NetworkInterface Source #
Describes a network interface.
See: newNetworkInterface smart constructor.
Constructors
| NetworkInterface' | |
Instances
newNetworkInterface :: NetworkInterface Source #
Create a value of NetworkInterface 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:networkInterfaceId:NetworkInterface', networkInterface_networkInterfaceId - The ID of the network interface.
$sel:subnetId:NetworkInterface', networkInterface_subnetId - The ID of the subnet.
networkInterface_networkInterfaceId :: Lens' NetworkInterface (Maybe Text) Source #
The ID of the network interface.
networkInterface_subnetId :: Lens' NetworkInterface (Maybe Text) Source #
The ID of the subnet.
PhaseContext
data PhaseContext Source #
Additional information about a build phase that has an error. You can use this information for troubleshooting.
See: newPhaseContext smart constructor.
Constructors
| PhaseContext' | |
Instances
newPhaseContext :: PhaseContext Source #
Create a value of PhaseContext 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:message:PhaseContext', phaseContext_message - An explanation of the build phase's context. This might include a
command ID and an exit code.
$sel:statusCode:PhaseContext', phaseContext_statusCode - The status code for the context of the build phase.
phaseContext_message :: Lens' PhaseContext (Maybe Text) Source #
An explanation of the build phase's context. This might include a command ID and an exit code.
phaseContext_statusCode :: Lens' PhaseContext (Maybe Text) Source #
The status code for the context of the build phase.
Project
Information about a build project.
See: newProject smart constructor.
Constructors
| Project' | |
Fields
| |
Instances
newProject :: Project Source #
Create a value of Project 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:arn:Project', project_arn - The Amazon Resource Name (ARN) of the build project.
$sel:artifacts:Project', project_artifacts - Information about the build output artifacts for the build project.
$sel:badge:Project', project_badge - Information about the build badge for the build project.
$sel:buildBatchConfig:Project', project_buildBatchConfig - A ProjectBuildBatchConfig object that defines the batch build options
for the project.
$sel:cache:Project', project_cache - Information about the cache for the build project.
$sel:concurrentBuildLimit:Project', project_concurrentBuildLimit - The maximum number of concurrent builds that are allowed for this
project.
New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.
$sel:created:Project', project_created - When the build project was created, expressed in Unix time format.
$sel:description:Project', project_description - A description that makes the build project easy to identify.
$sel:encryptionKey:Project', project_encryptionKey - The Key Management Service customer master key (CMK) to be used for
encrypting the build output artifacts.
You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.
You can specify either the Amazon Resource Name (ARN) of the CMK or, if
available, the CMK's alias (using the format alias/<alias-name>).
If you don't specify a value, CodeBuild uses the managed CMK for Amazon
Simple Storage Service (Amazon S3).
$sel:environment:Project', project_environment - Information about the build environment for this build project.
$sel:fileSystemLocations:Project', project_fileSystemLocations - An array of ProjectFileSystemLocation objects for a CodeBuild build
project. A ProjectFileSystemLocation object specifies the
identifier, location, mountOptions, mountPoint, and type of a
file system created using Amazon Elastic File System.
$sel:lastModified:Project', project_lastModified - When the build project's settings were last modified, expressed in Unix
time format.
$sel:logsConfig:Project', project_logsConfig - Information about logs for the build project. A project can create logs
in CloudWatch Logs, an S3 bucket, or both.
Project, project_name - The name of the build project.
$sel:projectVisibility:Project', project_projectVisibility - Undocumented member.
$sel:publicProjectAlias:Project', project_publicProjectAlias - Contains the project identifier used with the public build APIs.
$sel:queuedTimeoutInMinutes:Project', project_queuedTimeoutInMinutes - The number of minutes a build is allowed to be queued before it times
out.
$sel:resourceAccessRole:Project', project_resourceAccessRole - The ARN of the IAM role that enables CodeBuild to access the CloudWatch
Logs and Amazon S3 artifacts for the project's builds.
$sel:secondaryArtifacts:Project', project_secondaryArtifacts - An array of ProjectArtifacts objects.
$sel:secondarySourceVersions:Project', project_secondarySourceVersions - An array of ProjectSourceVersion objects. If secondarySourceVersions
is specified at the build level, then they take over these
secondarySourceVersions (at the project level).
$sel:secondarySources:Project', project_secondarySources - An array of ProjectSource objects.
Project, project_serviceRole - The ARN of the IAM role that enables CodeBuild to interact with
dependent Amazon Web Services services on behalf of the Amazon Web
Services account.
$sel:source:Project', project_source - Information about the build input source code for this build project.
Project, project_sourceVersion - A version of the build input to be built for this project. If not
specified, the latest version is used. If specified, it must be one of:
- For CodeCommit: the commit ID, branch, or Git tag to use.
- For GitHub: the commit ID, pull request ID, branch name, or tag name
that corresponds to the version of the source code you want to
build. If a pull request ID is specified, it must use the format
pr/pull-request-ID(for examplepr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. - For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
- For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
If sourceVersion is specified at the build level, then that version
takes precedence over this sourceVersion (at the project level).
For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
$sel:tags:Project', project_tags - A list of tag key and value pairs associated with this build project.
These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.
$sel:timeoutInMinutes:Project', project_timeoutInMinutes - How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait
before timing out any related build that did not get marked as
completed. The default is 60 minutes.
$sel:vpcConfig:Project', project_vpcConfig - Information about the VPC configuration that CodeBuild accesses.
$sel:webhook:Project', project_webhook - Information about a webhook that connects repository events to a build
project in CodeBuild.
project_arn :: Lens' Project (Maybe Text) Source #
The Amazon Resource Name (ARN) of the build project.
project_artifacts :: Lens' Project (Maybe ProjectArtifacts) Source #
Information about the build output artifacts for the build project.
project_badge :: Lens' Project (Maybe ProjectBadge) Source #
Information about the build badge for the build project.
project_buildBatchConfig :: Lens' Project (Maybe ProjectBuildBatchConfig) Source #
A ProjectBuildBatchConfig object that defines the batch build options for the project.
project_cache :: Lens' Project (Maybe ProjectCache) Source #
Information about the cache for the build project.
project_concurrentBuildLimit :: Lens' Project (Maybe Int) Source #
The maximum number of concurrent builds that are allowed for this project.
New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.
project_created :: Lens' Project (Maybe UTCTime) Source #
When the build project was created, expressed in Unix time format.
project_description :: Lens' Project (Maybe Text) Source #
A description that makes the build project easy to identify.
project_encryptionKey :: Lens' Project (Maybe Text) Source #
The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts.
You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.
You can specify either the Amazon Resource Name (ARN) of the CMK or, if
available, the CMK's alias (using the format alias/<alias-name>).
If you don't specify a value, CodeBuild uses the managed CMK for Amazon
Simple Storage Service (Amazon S3).
project_environment :: Lens' Project (Maybe ProjectEnvironment) Source #
Information about the build environment for this build project.
project_fileSystemLocations :: Lens' Project (Maybe [ProjectFileSystemLocation]) Source #
An array of ProjectFileSystemLocation objects for a CodeBuild build
project. A ProjectFileSystemLocation object specifies the
identifier, location, mountOptions, mountPoint, and type of a
file system created using Amazon Elastic File System.
project_lastModified :: Lens' Project (Maybe UTCTime) Source #
When the build project's settings were last modified, expressed in Unix time format.
project_logsConfig :: Lens' Project (Maybe LogsConfig) Source #
Information about logs for the build project. A project can create logs in CloudWatch Logs, an S3 bucket, or both.
project_projectVisibility :: Lens' Project (Maybe ProjectVisibilityType) Source #
Undocumented member.
project_publicProjectAlias :: Lens' Project (Maybe Text) Source #
Contains the project identifier used with the public build APIs.
project_queuedTimeoutInMinutes :: Lens' Project (Maybe Natural) Source #
The number of minutes a build is allowed to be queued before it times out.
project_resourceAccessRole :: Lens' Project (Maybe Text) Source #
The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds.
project_secondaryArtifacts :: Lens' Project (Maybe [ProjectArtifacts]) Source #
An array of ProjectArtifacts objects.
project_secondarySourceVersions :: Lens' Project (Maybe [ProjectSourceVersion]) Source #
An array of ProjectSourceVersion objects. If secondarySourceVersions
is specified at the build level, then they take over these
secondarySourceVersions (at the project level).
project_secondarySources :: Lens' Project (Maybe [ProjectSource]) Source #
An array of ProjectSource objects.
project_serviceRole :: Lens' Project (Maybe Text) Source #
The ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.
project_source :: Lens' Project (Maybe ProjectSource) Source #
Information about the build input source code for this build project.
project_sourceVersion :: Lens' Project (Maybe Text) Source #
A version of the build input to be built for this project. If not specified, the latest version is used. If specified, it must be one of:
- For CodeCommit: the commit ID, branch, or Git tag to use.
- For GitHub: the commit ID, pull request ID, branch name, or tag name
that corresponds to the version of the source code you want to
build. If a pull request ID is specified, it must use the format
pr/pull-request-ID(for examplepr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. - For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
- For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
If sourceVersion is specified at the build level, then that version
takes precedence over this sourceVersion (at the project level).
For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
project_tags :: Lens' Project (Maybe [Tag]) Source #
A list of tag key and value pairs associated with this build project.
These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.
project_timeoutInMinutes :: Lens' Project (Maybe Natural) Source #
How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait before timing out any related build that did not get marked as completed. The default is 60 minutes.
project_vpcConfig :: Lens' Project (Maybe VpcConfig) Source #
Information about the VPC configuration that CodeBuild accesses.
project_webhook :: Lens' Project (Maybe Webhook) Source #
Information about a webhook that connects repository events to a build project in CodeBuild.
ProjectArtifacts
data ProjectArtifacts Source #
Information about the build output artifacts for the build project.
See: newProjectArtifacts smart constructor.
Constructors
| ProjectArtifacts' | |
Fields
| |
Instances
Arguments
| :: ArtifactsType | |
| -> ProjectArtifacts |
Create a value of ProjectArtifacts 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:artifactIdentifier:ProjectArtifacts', projectArtifacts_artifactIdentifier - An identifier for this artifact definition.
$sel:bucketOwnerAccess:ProjectArtifacts', projectArtifacts_bucketOwnerAccess - Undocumented member.
$sel:encryptionDisabled:ProjectArtifacts', projectArtifacts_encryptionDisabled - Set to true if you do not want your output artifacts encrypted. This
option is valid only if your artifacts type is Amazon S3. If this is set
with another artifacts type, an invalidInputException is thrown.
$sel:location:ProjectArtifacts', projectArtifacts_location - Information about the build output artifact location:
- If
typeis set toCODEPIPELINE, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output locations instead of CodeBuild. - If
typeis set toNO_ARTIFACTS, this value is ignored if specified, because no build output is produced. - If
typeis set toS3, this is the name of the output bucket.
$sel:name:ProjectArtifacts', projectArtifacts_name - Along with path and namespaceType, the pattern that CodeBuild uses
to name and store the output artifact:
- If
typeis set toCODEPIPELINE, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of CodeBuild. - If
typeis set toNO_ARTIFACTS, this value is ignored if specified, because no build output is produced. - If
typeis set toS3, this is the name of the output artifact object. If you set the name to be a forward slash ("/"), the artifact is stored in the root of the output bucket.
For example:
- If
pathis set toMyArtifacts,namespaceTypeis set toBUILD_ID, andnameis set toMyArtifact.zip, then the output artifact is stored inMyArtifacts/<build-ID>/MyArtifact.zip. - If
pathis empty,namespaceTypeis set toNONE, andnameis set to "/", the output artifact is stored in the root of the output bucket. - If
pathis set toMyArtifacts,namespaceTypeis set toBUILD_ID, andnameis set to "/", the output artifact is stored inMyArtifacts/<build-ID>.
$sel:namespaceType:ProjectArtifacts', projectArtifacts_namespaceType - Along with path and name, the pattern that CodeBuild uses to
determine the name and location to store the output artifact:
- If
typeis set toCODEPIPELINE, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of CodeBuild. - If
typeis set toNO_ARTIFACTS, this value is ignored if specified, because no build output is produced. If
typeis set toS3, valid values include:BUILD_ID: Include the build ID in the location of the build output artifact.NONE: Do not include the build ID. This is the default ifnamespaceTypeis not specified.
For example, if path is set to MyArtifacts, namespaceType is set
to BUILD_ID, and name is set to MyArtifact.zip, the output
artifact is stored in MyArtifacts/<build-ID>/MyArtifact.zip.
$sel:overrideArtifactName:ProjectArtifacts', projectArtifacts_overrideArtifactName - If this flag is set, a name specified in the buildspec file overrides
the artifact name. The name specified in a buildspec file is calculated
at build time and uses the Shell Command Language. For example, you can
append a date and time to your artifact name so that it is always
unique.
$sel:packaging:ProjectArtifacts', projectArtifacts_packaging - The type of build output artifact to create:
- If
typeis set toCODEPIPELINE, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output artifacts instead of CodeBuild. - If
typeis set toNO_ARTIFACTS, this value is ignored if specified, because no build output is produced. If
typeis set toS3, valid values include:NONE: CodeBuild creates in the output bucket a folder that contains the build output. This is the default ifpackagingis not specified.ZIP: CodeBuild creates in the output bucket a ZIP file that contains the build output.
$sel:path:ProjectArtifacts', projectArtifacts_path - Along with namespaceType and name, the pattern that CodeBuild uses
to name and store the output artifact:
- If
typeis set toCODEPIPELINE, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of CodeBuild. - If
typeis set toNO_ARTIFACTS, this value is ignored if specified, because no build output is produced. - If
typeis set toS3, this is the path to the output artifact. Ifpathis not specified,pathis not used.
For example, if path is set to MyArtifacts, namespaceType is set
to NONE, and name is set to MyArtifact.zip, the output artifact is
stored in the output bucket at MyArtifacts/MyArtifact.zip.
$sel:type':ProjectArtifacts', projectArtifacts_type - The type of build output artifact. Valid values include:
CODEPIPELINE: The build project has build output generated through CodePipeline.The
CODEPIPELINEtype is not supported forsecondaryArtifacts.NO_ARTIFACTS: The build project does not produce any build output.S3: The build project stores build output in Amazon S3.
projectArtifacts_artifactIdentifier :: Lens' ProjectArtifacts (Maybe Text) Source #
An identifier for this artifact definition.
projectArtifacts_bucketOwnerAccess :: Lens' ProjectArtifacts (Maybe BucketOwnerAccess) Source #
Undocumented member.
projectArtifacts_encryptionDisabled :: Lens' ProjectArtifacts (Maybe Bool) Source #
Set to true if you do not want your output artifacts encrypted. This option is valid only if your artifacts type is Amazon S3. If this is set with another artifacts type, an invalidInputException is thrown.
projectArtifacts_location :: Lens' ProjectArtifacts (Maybe Text) Source #
Information about the build output artifact location:
- If
typeis set toCODEPIPELINE, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output locations instead of CodeBuild. - If
typeis set toNO_ARTIFACTS, this value is ignored if specified, because no build output is produced. - If
typeis set toS3, this is the name of the output bucket.
projectArtifacts_name :: Lens' ProjectArtifacts (Maybe Text) Source #
Along with path and namespaceType, the pattern that CodeBuild uses
to name and store the output artifact:
- If
typeis set toCODEPIPELINE, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of CodeBuild. - If
typeis set toNO_ARTIFACTS, this value is ignored if specified, because no build output is produced. - If
typeis set toS3, this is the name of the output artifact object. If you set the name to be a forward slash ("/"), the artifact is stored in the root of the output bucket.
For example:
- If
pathis set toMyArtifacts,namespaceTypeis set toBUILD_ID, andnameis set toMyArtifact.zip, then the output artifact is stored inMyArtifacts/<build-ID>/MyArtifact.zip. - If
pathis empty,namespaceTypeis set toNONE, andnameis set to "/", the output artifact is stored in the root of the output bucket. - If
pathis set toMyArtifacts,namespaceTypeis set toBUILD_ID, andnameis set to "/", the output artifact is stored inMyArtifacts/<build-ID>.
projectArtifacts_namespaceType :: Lens' ProjectArtifacts (Maybe ArtifactNamespace) Source #
Along with path and name, the pattern that CodeBuild uses to
determine the name and location to store the output artifact:
- If
typeis set toCODEPIPELINE, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of CodeBuild. - If
typeis set toNO_ARTIFACTS, this value is ignored if specified, because no build output is produced. If
typeis set toS3, valid values include:BUILD_ID: Include the build ID in the location of the build output artifact.NONE: Do not include the build ID. This is the default ifnamespaceTypeis not specified.
For example, if path is set to MyArtifacts, namespaceType is set
to BUILD_ID, and name is set to MyArtifact.zip, the output
artifact is stored in MyArtifacts/<build-ID>/MyArtifact.zip.
projectArtifacts_overrideArtifactName :: Lens' ProjectArtifacts (Maybe Bool) Source #
If this flag is set, a name specified in the buildspec file overrides the artifact name. The name specified in a buildspec file is calculated at build time and uses the Shell Command Language. For example, you can append a date and time to your artifact name so that it is always unique.
projectArtifacts_packaging :: Lens' ProjectArtifacts (Maybe ArtifactPackaging) Source #
The type of build output artifact to create:
- If
typeis set toCODEPIPELINE, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output artifacts instead of CodeBuild. - If
typeis set toNO_ARTIFACTS, this value is ignored if specified, because no build output is produced. If
typeis set toS3, valid values include:NONE: CodeBuild creates in the output bucket a folder that contains the build output. This is the default ifpackagingis not specified.ZIP: CodeBuild creates in the output bucket a ZIP file that contains the build output.
projectArtifacts_path :: Lens' ProjectArtifacts (Maybe Text) Source #
Along with namespaceType and name, the pattern that CodeBuild uses
to name and store the output artifact:
- If
typeis set toCODEPIPELINE, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of CodeBuild. - If
typeis set toNO_ARTIFACTS, this value is ignored if specified, because no build output is produced. - If
typeis set toS3, this is the path to the output artifact. Ifpathis not specified,pathis not used.
For example, if path is set to MyArtifacts, namespaceType is set
to NONE, and name is set to MyArtifact.zip, the output artifact is
stored in the output bucket at MyArtifacts/MyArtifact.zip.
projectArtifacts_type :: Lens' ProjectArtifacts ArtifactsType Source #
The type of build output artifact. Valid values include:
CODEPIPELINE: The build project has build output generated through CodePipeline.The
CODEPIPELINEtype is not supported forsecondaryArtifacts.NO_ARTIFACTS: The build project does not produce any build output.S3: The build project stores build output in Amazon S3.
ProjectBadge
data ProjectBadge Source #
Information about the build badge for the build project.
See: newProjectBadge smart constructor.
Constructors
| ProjectBadge' | |
Fields
| |
Instances
newProjectBadge :: ProjectBadge Source #
Create a value of ProjectBadge 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:badgeEnabled:ProjectBadge', projectBadge_badgeEnabled - Set this to true to generate a publicly accessible URL for your
project's build badge.
$sel:badgeRequestUrl:ProjectBadge', projectBadge_badgeRequestUrl - The publicly-accessible URL through which you can access the build badge
for your project.
projectBadge_badgeEnabled :: Lens' ProjectBadge (Maybe Bool) Source #
Set this to true to generate a publicly accessible URL for your project's build badge.
projectBadge_badgeRequestUrl :: Lens' ProjectBadge (Maybe Text) Source #
The publicly-accessible URL through which you can access the build badge for your project.
ProjectBuildBatchConfig
data ProjectBuildBatchConfig Source #
Contains configuration information about a batch build project.
See: newProjectBuildBatchConfig smart constructor.
Constructors
| ProjectBuildBatchConfig' | |
Fields
| |
Instances
newProjectBuildBatchConfig :: ProjectBuildBatchConfig Source #
Create a value of ProjectBuildBatchConfig 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:batchReportMode:ProjectBuildBatchConfig', projectBuildBatchConfig_batchReportMode - Specifies how build status reports are sent to the source provider for
the batch build. This property is only used when the source provider for
your project is Bitbucket, GitHub, or GitHub Enterprise, and your
project is configured to report build statuses to the source provider.
REPORT_AGGREGATED_BATCH Aggregate all of the build statuses into a single status report.
- REPORT_INDIVIDUAL_BUILDS
- Send a separate status report for each individual build.
$sel:combineArtifacts:ProjectBuildBatchConfig', projectBuildBatchConfig_combineArtifacts - Specifies if the build artifacts for the batch build should be combined
into a single artifact location.
$sel:restrictions:ProjectBuildBatchConfig', projectBuildBatchConfig_restrictions - A BatchRestrictions object that specifies the restrictions for the
batch build.
$sel:serviceRole:ProjectBuildBatchConfig', projectBuildBatchConfig_serviceRole - Specifies the service role ARN for the batch build project.
$sel:timeoutInMins:ProjectBuildBatchConfig', projectBuildBatchConfig_timeoutInMins - Specifies the maximum amount of time, in minutes, that the batch build
must be completed in.
projectBuildBatchConfig_batchReportMode :: Lens' ProjectBuildBatchConfig (Maybe BatchReportModeType) Source #
Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.
REPORT_AGGREGATED_BATCH Aggregate all of the build statuses into a single status report.
- REPORT_INDIVIDUAL_BUILDS
- Send a separate status report for each individual build.
projectBuildBatchConfig_combineArtifacts :: Lens' ProjectBuildBatchConfig (Maybe Bool) Source #
Specifies if the build artifacts for the batch build should be combined into a single artifact location.
projectBuildBatchConfig_restrictions :: Lens' ProjectBuildBatchConfig (Maybe BatchRestrictions) Source #
A BatchRestrictions object that specifies the restrictions for the
batch build.
projectBuildBatchConfig_serviceRole :: Lens' ProjectBuildBatchConfig (Maybe Text) Source #
Specifies the service role ARN for the batch build project.
projectBuildBatchConfig_timeoutInMins :: Lens' ProjectBuildBatchConfig (Maybe Int) Source #
Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
ProjectCache
data ProjectCache Source #
Information about the cache for the build project.
See: newProjectCache smart constructor.
Constructors
| ProjectCache' | |
Fields
| |
Instances
Arguments
| :: CacheType | |
| -> ProjectCache |
Create a value of ProjectCache 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:location:ProjectCache', projectCache_location - Information about the cache location:
NO_CACHEorLOCAL: This value is ignored.S3: This is the S3 bucket name/prefix.
$sel:modes:ProjectCache', projectCache_modes - An array of strings that specify the local cache modes. You can use one
or more local cache modes at the same time. This is only used for
LOCAL cache types.
Possible values are:
- LOCAL_SOURCE_CACHE
- Caches Git metadata for primary and secondary sources. After the cache is created, subsequent builds pull only the change between commits. This mode is a good choice for projects with a clean working directory and a source that is a large Git repository. If you choose this option and your project does not use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the option is ignored.
- LOCAL_DOCKER_LAYER_CACHE
- Caches existing Docker layers. This mode is a good choice for
projects that build or pull large Docker images. It can prevent the
performance issues caused by pulling large Docker images down from
the network.
- You can use a Docker layer cache in the Linux environment only.
- The
privilegedflag must be set so that your project has the required Docker permissions. - You should consider the security implications before you use a Docker layer cache.
- LOCAL_CUSTOM_CACHE
- Caches directories you specify in the buildspec file. This mode is a
good choice if your build scenario is not suited to one of the other
three local cache modes. If you use a custom cache:
- Only directories can be specified for caching. You cannot specify individual files.
- Symlinks are used to reference cached directories.
- Cached directories are linked to your build before it downloads its project sources. Cached items are overridden if a source item has the same name. Directories are specified using cache paths in the buildspec file.
$sel:type':ProjectCache', projectCache_type - The type of cache used by the build project. Valid values include:
NO_CACHE: The build project does not use any cache.S3: The build project reads and writes from and to S3.LOCAL: The build project stores a cache locally on a build host that is only available to that build host.
projectCache_location :: Lens' ProjectCache (Maybe Text) Source #
Information about the cache location:
NO_CACHEorLOCAL: This value is ignored.S3: This is the S3 bucket name/prefix.
projectCache_modes :: Lens' ProjectCache (Maybe [CacheMode]) Source #
An array of strings that specify the local cache modes. You can use one
or more local cache modes at the same time. This is only used for
LOCAL cache types.
Possible values are:
- LOCAL_SOURCE_CACHE
- Caches Git metadata for primary and secondary sources. After the cache is created, subsequent builds pull only the change between commits. This mode is a good choice for projects with a clean working directory and a source that is a large Git repository. If you choose this option and your project does not use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the option is ignored.
- LOCAL_DOCKER_LAYER_CACHE
- Caches existing Docker layers. This mode is a good choice for
projects that build or pull large Docker images. It can prevent the
performance issues caused by pulling large Docker images down from
the network.
- You can use a Docker layer cache in the Linux environment only.
- The
privilegedflag must be set so that your project has the required Docker permissions. - You should consider the security implications before you use a Docker layer cache.
- LOCAL_CUSTOM_CACHE
- Caches directories you specify in the buildspec file. This mode is a
good choice if your build scenario is not suited to one of the other
three local cache modes. If you use a custom cache:
- Only directories can be specified for caching. You cannot specify individual files.
- Symlinks are used to reference cached directories.
- Cached directories are linked to your build before it downloads its project sources. Cached items are overridden if a source item has the same name. Directories are specified using cache paths in the buildspec file.
projectCache_type :: Lens' ProjectCache CacheType Source #
The type of cache used by the build project. Valid values include:
NO_CACHE: The build project does not use any cache.S3: The build project reads and writes from and to S3.LOCAL: The build project stores a cache locally on a build host that is only available to that build host.
ProjectEnvironment
data ProjectEnvironment Source #
Information about the build environment of the build project.
See: newProjectEnvironment smart constructor.
Constructors
| ProjectEnvironment' | |
Fields
| |
Instances
newProjectEnvironment Source #
Arguments
| :: EnvironmentType | |
| -> Text | |
| -> ComputeType | |
| -> ProjectEnvironment |
Create a value of ProjectEnvironment 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:certificate:ProjectEnvironment', projectEnvironment_certificate - The ARN of the Amazon S3 bucket, path prefix, and object key that
contains the PEM-encoded certificate for the build project. For more
information, see
certificate
in the CodeBuild User Guide.
$sel:environmentVariables:ProjectEnvironment', projectEnvironment_environmentVariables - A set of environment variables to make available to builds for this
build project.
$sel:imagePullCredentialsType:ProjectEnvironment', projectEnvironment_imagePullCredentialsType - The type of credentials CodeBuild uses to pull images in your build.
There are two valid values:
CODEBUILDspecifies that CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust CodeBuild service principal.SERVICE_ROLEspecifies that CodeBuild uses your build project's service role.
When you use a cross-account or private registry image, you must use SERVICE_ROLE credentials. When you use an CodeBuild curated image, you must use CODEBUILD credentials.
$sel:privilegedMode:ProjectEnvironment', projectEnvironment_privilegedMode - Enables running the Docker daemon inside a Docker container. Set to true
only if the build project is used to build Docker images. Otherwise, a
build that attempts to interact with the Docker daemon fails. The
default setting is false.
You can initialize the Docker daemon during the install phase of your build by adding one of the following sets of commands to the install phase of your buildspec file:
If the operating system's base image is Ubuntu Linux:
- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
- timeout 15 sh -c "until docker info; do echo .; sleep 1; done"
If the operating system's base image is Alpine Linux and the previous
command does not work, add the -t argument to timeout:
- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
- timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done"
$sel:registryCredential:ProjectEnvironment', projectEnvironment_registryCredential - The credentials for access to a private registry.
ProjectEnvironment, projectEnvironment_type - The type of build environment to use for related builds.
- The environment type
ARM_CONTAINERis available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Sydney), and EU (Frankfurt). - The environment type
LINUX_CONTAINERwith compute typebuild.general1.2xlargeis available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney), China (Beijing), and China (Ningxia). - The environment type
LINUX_GPU_CONTAINERis available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney) , China (Beijing), and China (Ningxia). - The environment types
WINDOWS_CONTAINERandWINDOWS_SERVER_2019_CONTAINERare available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), and EU (Ireland).
For more information, see Build environment compute types in the CodeBuild user guide.
$sel:image:ProjectEnvironment', projectEnvironment_image - The image tag or image digest that identifies the Docker image to use
for this build project. Use the following formats:
- For an image tag:
<registry>/<repository>:<tag>. For example, in the Docker repository that CodeBuild uses to manage its Docker images, this would beaws/codebuild/standard:4.0. - For an image digest:
<registry>/<repository>@<digest>. For example, to specify an image with the digest "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf," use<registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf.
For more information, see Docker images provided by CodeBuild in the CodeBuild user guide.
$sel:computeType:ProjectEnvironment', projectEnvironment_computeType - Information about the compute resources the build project uses.
Available values include:
BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds.BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds.BUILD_GENERAL1_LARGE: Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment type.BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed.
If you use BUILD_GENERAL1_LARGE:
- For environment type
LINUX_CONTAINER, you can use up to 15 GB memory and 8 vCPUs for builds. - For environment type
LINUX_GPU_CONTAINER, you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. - For environment type
ARM_CONTAINER, you can use up to 16 GB memory and 8 vCPUs on ARM-based processors for builds.
For more information, see Build Environment Compute Types in the CodeBuild User Guide.
projectEnvironment_certificate :: Lens' ProjectEnvironment (Maybe Text) Source #
The ARN of the Amazon S3 bucket, path prefix, and object key that contains the PEM-encoded certificate for the build project. For more information, see certificate in the CodeBuild User Guide.
projectEnvironment_environmentVariables :: Lens' ProjectEnvironment (Maybe [EnvironmentVariable]) Source #
A set of environment variables to make available to builds for this build project.
projectEnvironment_imagePullCredentialsType :: Lens' ProjectEnvironment (Maybe ImagePullCredentialsType) Source #
The type of credentials CodeBuild uses to pull images in your build. There are two valid values:
CODEBUILDspecifies that CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust CodeBuild service principal.SERVICE_ROLEspecifies that CodeBuild uses your build project's service role.
When you use a cross-account or private registry image, you must use SERVICE_ROLE credentials. When you use an CodeBuild curated image, you must use CODEBUILD credentials.
projectEnvironment_privilegedMode :: Lens' ProjectEnvironment (Maybe Bool) Source #
Enables running the Docker daemon inside a Docker container. Set to true
only if the build project is used to build Docker images. Otherwise, a
build that attempts to interact with the Docker daemon fails. The
default setting is false.
You can initialize the Docker daemon during the install phase of your build by adding one of the following sets of commands to the install phase of your buildspec file:
If the operating system's base image is Ubuntu Linux:
- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
- timeout 15 sh -c "until docker info; do echo .; sleep 1; done"
If the operating system's base image is Alpine Linux and the previous
command does not work, add the -t argument to timeout:
- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
- timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done"
projectEnvironment_registryCredential :: Lens' ProjectEnvironment (Maybe RegistryCredential) Source #
The credentials for access to a private registry.
projectEnvironment_type :: Lens' ProjectEnvironment EnvironmentType Source #
The type of build environment to use for related builds.
- The environment type
ARM_CONTAINERis available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Sydney), and EU (Frankfurt). - The environment type
LINUX_CONTAINERwith compute typebuild.general1.2xlargeis available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney), China (Beijing), and China (Ningxia). - The environment type
LINUX_GPU_CONTAINERis available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney) , China (Beijing), and China (Ningxia). - The environment types
WINDOWS_CONTAINERandWINDOWS_SERVER_2019_CONTAINERare available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), and EU (Ireland).
For more information, see Build environment compute types in the CodeBuild user guide.
projectEnvironment_image :: Lens' ProjectEnvironment Text Source #
The image tag or image digest that identifies the Docker image to use for this build project. Use the following formats:
- For an image tag:
<registry>/<repository>:<tag>. For example, in the Docker repository that CodeBuild uses to manage its Docker images, this would beaws/codebuild/standard:4.0. - For an image digest:
<registry>/<repository>@<digest>. For example, to specify an image with the digest "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf," use<registry>/<repository>@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf.
For more information, see Docker images provided by CodeBuild in the CodeBuild user guide.
projectEnvironment_computeType :: Lens' ProjectEnvironment ComputeType Source #
Information about the compute resources the build project uses. Available values include:
BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds.BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds.BUILD_GENERAL1_LARGE: Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment type.BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed.
If you use BUILD_GENERAL1_LARGE:
- For environment type
LINUX_CONTAINER, you can use up to 15 GB memory and 8 vCPUs for builds. - For environment type
LINUX_GPU_CONTAINER, you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. - For environment type
ARM_CONTAINER, you can use up to 16 GB memory and 8 vCPUs on ARM-based processors for builds.
For more information, see Build Environment Compute Types in the CodeBuild User Guide.
ProjectFileSystemLocation
data ProjectFileSystemLocation Source #
Information about a file system created by Amazon Elastic File System (EFS). For more information, see What Is Amazon Elastic File System?
See: newProjectFileSystemLocation smart constructor.
Constructors
| ProjectFileSystemLocation' | |
Fields
| |
Instances
newProjectFileSystemLocation :: ProjectFileSystemLocation Source #
Create a value of ProjectFileSystemLocation 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:identifier:ProjectFileSystemLocation', projectFileSystemLocation_identifier - The name used to access a file system created by Amazon EFS. CodeBuild
creates an environment variable by appending the identifier in all
capital letters to CODEBUILD_. For example, if you specify my_efs
for identifier, a new environment variable is create named
CODEBUILD_MY_EFS.
The identifier is used to mount your file system.
$sel:location:ProjectFileSystemLocation', projectFileSystemLocation_location - A string that specifies the location of the file system created by
Amazon EFS. Its format is efs-dns-name:/directory-path. You can find
the DNS name of file system when you view it in the Amazon EFS console.
The directory path is a path to a directory in the file system that
CodeBuild mounts. For example, if the DNS name of a file system is
fs-abcd1234.efs.us-west-2.amazonaws.com, and its mount directory is
my-efs-mount-directory, then the location is
fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory.
The directory path in the format efs-dns-name:/directory-path is
optional. If you do not specify a directory path, the location is only
the DNS name and CodeBuild mounts the entire file system.
$sel:mountOptions:ProjectFileSystemLocation', projectFileSystemLocation_mountOptions - The mount options for a file system created by Amazon EFS. The default
mount options used by CodeBuild are
nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2. For
more information, see
Recommended NFS Mount Options.
$sel:mountPoint:ProjectFileSystemLocation', projectFileSystemLocation_mountPoint - The location in the container where you mount the file system.
$sel:type':ProjectFileSystemLocation', projectFileSystemLocation_type - The type of the file system. The one supported type is EFS.
projectFileSystemLocation_identifier :: Lens' ProjectFileSystemLocation (Maybe Text) Source #
The name used to access a file system created by Amazon EFS. CodeBuild
creates an environment variable by appending the identifier in all
capital letters to CODEBUILD_. For example, if you specify my_efs
for identifier, a new environment variable is create named
CODEBUILD_MY_EFS.
The identifier is used to mount your file system.
projectFileSystemLocation_location :: Lens' ProjectFileSystemLocation (Maybe Text) Source #
A string that specifies the location of the file system created by
Amazon EFS. Its format is efs-dns-name:/directory-path. You can find
the DNS name of file system when you view it in the Amazon EFS console.
The directory path is a path to a directory in the file system that
CodeBuild mounts. For example, if the DNS name of a file system is
fs-abcd1234.efs.us-west-2.amazonaws.com, and its mount directory is
my-efs-mount-directory, then the location is
fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory.
The directory path in the format efs-dns-name:/directory-path is
optional. If you do not specify a directory path, the location is only
the DNS name and CodeBuild mounts the entire file system.
projectFileSystemLocation_mountOptions :: Lens' ProjectFileSystemLocation (Maybe Text) Source #
The mount options for a file system created by Amazon EFS. The default
mount options used by CodeBuild are
nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2. For
more information, see
Recommended NFS Mount Options.
projectFileSystemLocation_mountPoint :: Lens' ProjectFileSystemLocation (Maybe Text) Source #
The location in the container where you mount the file system.
projectFileSystemLocation_type :: Lens' ProjectFileSystemLocation (Maybe FileSystemType) Source #
The type of the file system. The one supported type is EFS.
ProjectSource
data ProjectSource Source #
Information about the build input source code for the build project.
See: newProjectSource smart constructor.
Constructors
| ProjectSource' | |
Fields
| |
Instances
Arguments
| :: SourceType | |
| -> ProjectSource |
Create a value of ProjectSource 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:auth:ProjectSource', projectSource_auth - Information about the authorization settings for CodeBuild to access the
source code to be built.
This information is for the CodeBuild console's use only. Your code should not get or set this information directly.
$sel:buildStatusConfig:ProjectSource', projectSource_buildStatusConfig - Contains information that defines how the build project reports the
build status to the source provider. This option is only used when the
source provider is GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
$sel:buildspec:ProjectSource', projectSource_buildspec - The buildspec file declaration to use for the builds in this build
project.
If this value is set, it can be either an inline buildspec definition,
the path to an alternate buildspec file relative to the value of the
built-in CODEBUILD_SRC_DIR environment variable, or the path to an S3
bucket. The bucket must be in the same Amazon Web Services Region as the
build project. Specify the buildspec file using its ARN (for example,
arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this value is
not provided or is set to an empty string, the source code must contain
a buildspec file in its root directory. For more information, see
Buildspec File Name and Storage Location.
$sel:gitCloneDepth:ProjectSource', projectSource_gitCloneDepth - Information about the Git clone depth for the build project.
$sel:gitSubmodulesConfig:ProjectSource', projectSource_gitSubmodulesConfig - Information about the Git submodules configuration for the build
project.
$sel:insecureSsl:ProjectSource', projectSource_insecureSsl - Enable this flag to ignore SSL warnings while connecting to the project
source code.
$sel:location:ProjectSource', projectSource_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,
locationshould 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 buildspec file
(for example,
https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>). For source code in an Amazon S3 input bucket, one of the following.
- The path to the ZIP file that contains the source code (for
example,
<bucket-name>/<path>/<object-name>.zip). - The path to the folder that contains the source code (for
example,
<bucket-name>/<path-to-source-code>/<folder>/).
- The path to the ZIP file that contains the source code (for
example,
- For source code in a GitHub repository, the HTTPS clone URL to the
repository that contains the source and the buildspec file. You must
connect your Amazon Web Services account to your GitHub account. Use
the CodeBuild console to start creating a build project. When you
use the console to connect (or reconnect) with GitHub, on the GitHub
Authorize application page, for Organization access, choose
Request access next to each repository you want to allow
CodeBuild to have access to, and then choose __Authorize
application__. (After you have connected to your GitHub account, you
do not need to finish creating the build project. You can leave the
CodeBuild console.) To instruct CodeBuild to use this connection, in
the
sourceobject, set theauthobject'stypevalue toOAUTH. - For source code in a Bitbucket repository, the HTTPS clone URL to
the repository that contains the source and the buildspec file. You
must connect your Amazon Web Services account to your Bitbucket
account. Use the CodeBuild console to start creating a build
project. When you use the console to connect (or reconnect) with
Bitbucket, on the Bitbucket Confirm access to your account page,
choose Grant access. (After you have connected to your Bitbucket
account, you do not need to finish creating the build project. You
can leave the CodeBuild console.) To instruct CodeBuild to use this
connection, in the
sourceobject, set theauthobject'stypevalue toOAUTH.
If you specify CODEPIPELINE for the Type property, don't specify
this property. For all of the other types, you must specify Location.
$sel:reportBuildStatus:ProjectSource', projectSource_reportBuildStatus - Set to true to report the status of a build's start and finish to your
source provider. This option is valid only when your source provider is
GitHub, GitHub Enterprise, or Bitbucket. If this is set and you use a
different source provider, an invalidInputException is thrown.
To be able to report the build status to the source provider, the user associated with the source provider must have write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see Source provider access in the CodeBuild User Guide.
The status of a build triggered by a webhook is always reported to your source provider.
If your project's builds are triggered by a webhook, you must push a new commit to the repo for a change to this property to take effect.
$sel:sourceIdentifier:ProjectSource', projectSource_sourceIdentifier - An identifier for this project source. The identifier can only contain
alphanumeric characters and underscores, and must be less than 128
characters in length.
ProjectSource, projectSource_type - The type of repository that contains the source code to be built. Valid
values include:
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 or GitHub Enterprise Cloud repository.GITHUB_ENTERPRISE: The source code is in a GitHub Enterprise Server repository.NO_SOURCE: The project does not have input source code.S3: The source code is in an Amazon S3 bucket.
projectSource_auth :: Lens' ProjectSource (Maybe SourceAuth) Source #
Information about the authorization settings for CodeBuild to access the source code to be built.
This information is for the CodeBuild console's use only. Your code should not get or set this information directly.
projectSource_buildStatusConfig :: Lens' ProjectSource (Maybe BuildStatusConfig) Source #
Contains information that defines how the build project reports the
build status to the source provider. This option is only used when the
source provider is GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
projectSource_buildspec :: Lens' ProjectSource (Maybe Text) Source #
The buildspec file declaration to use for the builds in this build project.
If this value is set, it can be either an inline buildspec definition,
the path to an alternate buildspec file relative to the value of the
built-in CODEBUILD_SRC_DIR environment variable, or the path to an S3
bucket. The bucket must be in the same Amazon Web Services Region as the
build project. Specify the buildspec file using its ARN (for example,
arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this value is
not provided or is set to an empty string, the source code must contain
a buildspec file in its root directory. For more information, see
Buildspec File Name and Storage Location.
projectSource_gitCloneDepth :: Lens' ProjectSource (Maybe Natural) Source #
Information about the Git clone depth for the build project.
projectSource_gitSubmodulesConfig :: Lens' ProjectSource (Maybe GitSubmodulesConfig) Source #
Information about the Git submodules configuration for the build project.
projectSource_insecureSsl :: Lens' ProjectSource (Maybe Bool) Source #
Enable this flag to ignore SSL warnings while connecting to the project source code.
projectSource_location :: Lens' ProjectSource (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,
locationshould 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 buildspec file
(for example,
https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>). For source code in an Amazon S3 input bucket, one of the following.
- The path to the ZIP file that contains the source code (for
example,
<bucket-name>/<path>/<object-name>.zip). - The path to the folder that contains the source code (for
example,
<bucket-name>/<path-to-source-code>/<folder>/).
- The path to the ZIP file that contains the source code (for
example,
- For source code in a GitHub repository, the HTTPS clone URL to the
repository that contains the source and the buildspec file. You must
connect your Amazon Web Services account to your GitHub account. Use
the CodeBuild console to start creating a build project. When you
use the console to connect (or reconnect) with GitHub, on the GitHub
Authorize application page, for Organization access, choose
Request access next to each repository you want to allow
CodeBuild to have access to, and then choose __Authorize
application__. (After you have connected to your GitHub account, you
do not need to finish creating the build project. You can leave the
CodeBuild console.) To instruct CodeBuild to use this connection, in
the
sourceobject, set theauthobject'stypevalue toOAUTH. - For source code in a Bitbucket repository, the HTTPS clone URL to
the repository that contains the source and the buildspec file. You
must connect your Amazon Web Services account to your Bitbucket
account. Use the CodeBuild console to start creating a build
project. When you use the console to connect (or reconnect) with
Bitbucket, on the Bitbucket Confirm access to your account page,
choose Grant access. (After you have connected to your Bitbucket
account, you do not need to finish creating the build project. You
can leave the CodeBuild console.) To instruct CodeBuild to use this
connection, in the
sourceobject, set theauthobject'stypevalue toOAUTH.
If you specify CODEPIPELINE for the Type property, don't specify
this property. For all of the other types, you must specify Location.
projectSource_reportBuildStatus :: Lens' ProjectSource (Maybe Bool) Source #
Set to true to report the status of a build's start and finish to your
source provider. This option is valid only when your source provider is
GitHub, GitHub Enterprise, or Bitbucket. If this is set and you use a
different source provider, an invalidInputException is thrown.
To be able to report the build status to the source provider, the user associated with the source provider must have write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see Source provider access in the CodeBuild User Guide.
The status of a build triggered by a webhook is always reported to your source provider.
If your project's builds are triggered by a webhook, you must push a new commit to the repo for a change to this property to take effect.
projectSource_sourceIdentifier :: Lens' ProjectSource (Maybe Text) Source #
An identifier for this project source. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
projectSource_type :: Lens' ProjectSource SourceType Source #
The type of repository that contains the source code to be built. Valid values include:
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 or GitHub Enterprise Cloud repository.GITHUB_ENTERPRISE: The source code is in a GitHub Enterprise Server repository.NO_SOURCE: The project does not have input source code.S3: The source code is in an Amazon S3 bucket.
ProjectSourceVersion
data ProjectSourceVersion Source #
A source identifier and its corresponding version.
See: newProjectSourceVersion smart constructor.
Constructors
| ProjectSourceVersion' | |
Fields
| |
Instances
newProjectSourceVersion Source #
Arguments
| :: Text | |
| -> Text | |
| -> ProjectSourceVersion |
Create a value of ProjectSourceVersion 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:sourceIdentifier:ProjectSourceVersion', projectSourceVersion_sourceIdentifier - An identifier for a source in the build project. The identifier can only
contain alphanumeric characters and underscores, and must be less than
128 characters in length.
$sel:sourceVersion:ProjectSourceVersion', projectSourceVersion_sourceVersion - The source version for the corresponding source identifier. If
specified, must be one of:
- For CodeCommit: the commit ID, branch, or Git tag to use.
- For GitHub: the commit ID, pull request ID, branch name, or tag name
that corresponds to the version of the source code you want to
build. If a pull request ID is specified, it must use the format
pr/pull-request-ID(for example,pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. - For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
- For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
projectSourceVersion_sourceIdentifier :: Lens' ProjectSourceVersion Text Source #
An identifier for a source in the build project. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
projectSourceVersion_sourceVersion :: Lens' ProjectSourceVersion Text Source #
The source version for the corresponding source identifier. If specified, must be one of:
- For CodeCommit: the commit ID, branch, or Git tag to use.
- For GitHub: the commit ID, pull request ID, branch name, or tag name
that corresponds to the version of the source code you want to
build. If a pull request ID is specified, it must use the format
pr/pull-request-ID(for example,pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. - For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
- For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
RegistryCredential
data RegistryCredential Source #
Information about credentials that provide access to a private Docker registry. When this is set:
imagePullCredentialsTypemust be set toSERVICE_ROLE.- images cannot be curated or an Amazon ECR image.
For more information, see Private Registry with Secrets Manager Sample for CodeBuild.
See: newRegistryCredential smart constructor.
Constructors
| RegistryCredential' | |
Fields
| |
Instances
newRegistryCredential Source #
Arguments
| :: Text | |
| -> CredentialProviderType | |
| -> RegistryCredential |
Create a value of RegistryCredential 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:credential:RegistryCredential', registryCredential_credential - The Amazon Resource Name (ARN) or name of credentials created using
Secrets Manager.
The credential can use the name of the credentials only if they exist
in your current Amazon Web Services Region.
$sel:credentialProvider:RegistryCredential', registryCredential_credentialProvider - The service that created the credentials to access a private Docker
registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
registryCredential_credential :: Lens' RegistryCredential Text Source #
The Amazon Resource Name (ARN) or name of credentials created using Secrets Manager.
The credential can use the name of the credentials only if they exist
in your current Amazon Web Services Region.
registryCredential_credentialProvider :: Lens' RegistryCredential CredentialProviderType Source #
The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
Report
Information about the results from running a series of test cases during the run of a build project. The test cases are specified in the buildspec for the build project using one or more paths to the test case files. You can specify any type of tests you want, such as unit tests, integration tests, and functional tests.
See: newReport smart constructor.
Constructors
| Report' | |
Fields
| |
Instances
Create a value of Report 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:arn:Report', report_arn - The ARN of the report run.
$sel:codeCoverageSummary:Report', report_codeCoverageSummary - A CodeCoverageReportSummary object that contains a code coverage
summary for this report.
$sel:created:Report', report_created - The date and time this report run occurred.
$sel:executionId:Report', report_executionId - The ARN of the build run that generated this report.
$sel:expired:Report', report_expired - The date and time a report expires. A report expires 30 days after it is
created. An expired report is not available to view in CodeBuild.
$sel:exportConfig:Report', report_exportConfig - Information about where the raw data used to generate this report was
exported.
$sel:name:Report', report_name - The name of the report that was run.
$sel:reportGroupArn:Report', report_reportGroupArn - The ARN of the report group associated with this report.
$sel:status:Report', report_status - The status of this report.
$sel:testSummary:Report', report_testSummary - A TestReportSummary object that contains information about this test
report.
$sel:truncated:Report', report_truncated - A boolean that specifies if this report run is truncated. The list of
test cases is truncated after the maximum number of test cases is
reached.
$sel:type':Report', report_type - The type of the report that was run.
- CODE_COVERAGE
- A code coverage report.
- TEST
- A test report.
report_codeCoverageSummary :: Lens' Report (Maybe CodeCoverageReportSummary) Source #
A CodeCoverageReportSummary object that contains a code coverage
summary for this report.
report_executionId :: Lens' Report (Maybe Text) Source #
The ARN of the build run that generated this report.
report_expired :: Lens' Report (Maybe UTCTime) Source #
The date and time a report expires. A report expires 30 days after it is created. An expired report is not available to view in CodeBuild.
report_exportConfig :: Lens' Report (Maybe ReportExportConfig) Source #
Information about where the raw data used to generate this report was exported.
report_reportGroupArn :: Lens' Report (Maybe Text) Source #
The ARN of the report group associated with this report.
report_status :: Lens' Report (Maybe ReportStatusType) Source #
The status of this report.
report_testSummary :: Lens' Report (Maybe TestReportSummary) Source #
A TestReportSummary object that contains information about this test
report.
report_truncated :: Lens' Report (Maybe Bool) Source #
A boolean that specifies if this report run is truncated. The list of test cases is truncated after the maximum number of test cases is reached.
report_type :: Lens' Report (Maybe ReportType) Source #
The type of the report that was run.
- CODE_COVERAGE
- A code coverage report.
- TEST
- A test report.
ReportExportConfig
data ReportExportConfig Source #
Information about the location where the run of a report is exported.
See: newReportExportConfig smart constructor.
Constructors
| ReportExportConfig' | |
Fields
| |
Instances
newReportExportConfig :: ReportExportConfig Source #
Create a value of ReportExportConfig 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:exportConfigType:ReportExportConfig', reportExportConfig_exportConfigType - The export configuration type. Valid values are:
S3: The report results are exported to an S3 bucket.NO_EXPORT: The report results are not exported.
$sel:s3Destination:ReportExportConfig', reportExportConfig_s3Destination - A S3ReportExportConfig object that contains information about the S3
bucket where the run of a report is exported.
reportExportConfig_exportConfigType :: Lens' ReportExportConfig (Maybe ReportExportConfigType) Source #
The export configuration type. Valid values are:
S3: The report results are exported to an S3 bucket.NO_EXPORT: The report results are not exported.
reportExportConfig_s3Destination :: Lens' ReportExportConfig (Maybe S3ReportExportConfig) Source #
A S3ReportExportConfig object that contains information about the S3
bucket where the run of a report is exported.
ReportFilter
data ReportFilter Source #
A filter used to return reports with the status specified by the input
status parameter.
See: newReportFilter smart constructor.
Constructors
| ReportFilter' | |
Fields
| |
Instances
newReportFilter :: ReportFilter Source #
Create a value of ReportFilter 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:status:ReportFilter', reportFilter_status - The status used to filter reports. You can filter using one status only.
reportFilter_status :: Lens' ReportFilter (Maybe ReportStatusType) Source #
The status used to filter reports. You can filter using one status only.
ReportGroup
data ReportGroup Source #
A series of reports. Each report contains information about the results from running a series of test cases. You specify the test cases for a report group in the buildspec for a build project using one or more paths to the test case files.
See: newReportGroup smart constructor.
Constructors
| ReportGroup' | |
Fields
| |
Instances
newReportGroup :: ReportGroup Source #
Create a value of ReportGroup 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:arn:ReportGroup', reportGroup_arn - The ARN of the ReportGroup.
$sel:created:ReportGroup', reportGroup_created - The date and time this ReportGroup was created.
$sel:exportConfig:ReportGroup', reportGroup_exportConfig - Information about the destination where the raw data of this
ReportGroup is exported.
$sel:lastModified:ReportGroup', reportGroup_lastModified - The date and time this ReportGroup was last modified.
$sel:name:ReportGroup', reportGroup_name - The name of the ReportGroup.
$sel:status:ReportGroup', reportGroup_status - The status of the report group. This property is read-only.
This can be one of the following values:
- ACTIVE
- The report group is active.
- DELETING
- The report group is in the process of being deleted.
$sel:tags:ReportGroup', reportGroup_tags - A list of tag key and value pairs associated with this report group.
These tags are available for use by Amazon Web Services services that support CodeBuild report group tags.
$sel:type':ReportGroup', reportGroup_type - The type of the ReportGroup. This can be one of the following values:
- CODE_COVERAGE
- The report group contains code coverage reports.
- TEST
- The report group contains test reports.
reportGroup_arn :: Lens' ReportGroup (Maybe Text) Source #
The ARN of the ReportGroup.
reportGroup_created :: Lens' ReportGroup (Maybe UTCTime) Source #
The date and time this ReportGroup was created.
reportGroup_exportConfig :: Lens' ReportGroup (Maybe ReportExportConfig) Source #
Information about the destination where the raw data of this
ReportGroup is exported.
reportGroup_lastModified :: Lens' ReportGroup (Maybe UTCTime) Source #
The date and time this ReportGroup was last modified.
reportGroup_name :: Lens' ReportGroup (Maybe Text) Source #
The name of the ReportGroup.
reportGroup_status :: Lens' ReportGroup (Maybe ReportGroupStatusType) Source #
The status of the report group. This property is read-only.
This can be one of the following values:
- ACTIVE
- The report group is active.
- DELETING
- The report group is in the process of being deleted.
reportGroup_tags :: Lens' ReportGroup (Maybe [Tag]) Source #
A list of tag key and value pairs associated with this report group.
These tags are available for use by Amazon Web Services services that support CodeBuild report group tags.
reportGroup_type :: Lens' ReportGroup (Maybe ReportType) Source #
The type of the ReportGroup. This can be one of the following values:
- CODE_COVERAGE
- The report group contains code coverage reports.
- TEST
- The report group contains test reports.
ReportGroupTrendStats
data ReportGroupTrendStats Source #
Contains trend statistics for a set of reports. The actual values depend on the type of trend being collected. For more information, see .
See: newReportGroupTrendStats smart constructor.
Constructors
| ReportGroupTrendStats' | |
Instances
newReportGroupTrendStats :: ReportGroupTrendStats Source #
Create a value of ReportGroupTrendStats 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:average:ReportGroupTrendStats', reportGroupTrendStats_average - Contains the average of all values analyzed.
$sel:max:ReportGroupTrendStats', reportGroupTrendStats_max - Contains the maximum value analyzed.
$sel:min:ReportGroupTrendStats', reportGroupTrendStats_min - Contains the minimum value analyzed.
reportGroupTrendStats_average :: Lens' ReportGroupTrendStats (Maybe Text) Source #
Contains the average of all values analyzed.
reportGroupTrendStats_max :: Lens' ReportGroupTrendStats (Maybe Text) Source #
Contains the maximum value analyzed.
reportGroupTrendStats_min :: Lens' ReportGroupTrendStats (Maybe Text) Source #
Contains the minimum value analyzed.
ReportWithRawData
data ReportWithRawData Source #
Contains the unmodified data for the report. For more information, see .
See: newReportWithRawData smart constructor.
Constructors
| ReportWithRawData' | |
Instances
newReportWithRawData :: ReportWithRawData Source #
Create a value of ReportWithRawData 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:data':ReportWithRawData', reportWithRawData_data - The value of the requested data field from the report.
$sel:reportArn:ReportWithRawData', reportWithRawData_reportArn - The ARN of the report.
reportWithRawData_data :: Lens' ReportWithRawData (Maybe Text) Source #
The value of the requested data field from the report.
reportWithRawData_reportArn :: Lens' ReportWithRawData (Maybe Text) Source #
The ARN of the report.
ResolvedArtifact
data ResolvedArtifact Source #
Represents a resolved build artifact. A resolved artifact is an artifact that is built and deployed to the destination, such as Amazon S3.
See: newResolvedArtifact smart constructor.
Constructors
| ResolvedArtifact' | |
Fields
| |
Instances
newResolvedArtifact :: ResolvedArtifact Source #
Create a value of ResolvedArtifact 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:identifier:ResolvedArtifact', resolvedArtifact_identifier - The identifier of the artifact.
$sel:location:ResolvedArtifact', resolvedArtifact_location - The location of the artifact.
$sel:type':ResolvedArtifact', resolvedArtifact_type - Specifies the type of artifact.
resolvedArtifact_identifier :: Lens' ResolvedArtifact (Maybe Text) Source #
The identifier of the artifact.
resolvedArtifact_location :: Lens' ResolvedArtifact (Maybe Text) Source #
The location of the artifact.
resolvedArtifact_type :: Lens' ResolvedArtifact (Maybe ArtifactsType) Source #
Specifies the type of artifact.
S3LogsConfig
data S3LogsConfig Source #
Information about S3 logs for a build project.
See: newS3LogsConfig smart constructor.
Constructors
| S3LogsConfig' | |
Fields
| |
Instances
Arguments
| :: LogsConfigStatusType | |
| -> S3LogsConfig |
Create a value of S3LogsConfig 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:bucketOwnerAccess:S3LogsConfig', s3LogsConfig_bucketOwnerAccess - Undocumented member.
$sel:encryptionDisabled:S3LogsConfig', s3LogsConfig_encryptionDisabled - Set to true if you do not want your S3 build log output encrypted. By
default S3 build logs are encrypted.
$sel:location:S3LogsConfig', s3LogsConfig_location - The ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon
S3 bucket name is my-bucket, and your path prefix is build-log, then
acceptable formats are my-bucket/build-log or
arn:aws:s3:::my-bucket/build-log.
$sel:status:S3LogsConfig', s3LogsConfig_status - The current status of the S3 build logs. Valid values are:
ENABLED: S3 build logs are enabled for this build project.DISABLED: S3 build logs are not enabled for this build project.
s3LogsConfig_bucketOwnerAccess :: Lens' S3LogsConfig (Maybe BucketOwnerAccess) Source #
Undocumented member.
s3LogsConfig_encryptionDisabled :: Lens' S3LogsConfig (Maybe Bool) Source #
Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.
s3LogsConfig_location :: Lens' S3LogsConfig (Maybe Text) Source #
The ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon
S3 bucket name is my-bucket, and your path prefix is build-log, then
acceptable formats are my-bucket/build-log or
arn:aws:s3:::my-bucket/build-log.
s3LogsConfig_status :: Lens' S3LogsConfig LogsConfigStatusType Source #
The current status of the S3 build logs. Valid values are:
ENABLED: S3 build logs are enabled for this build project.DISABLED: S3 build logs are not enabled for this build project.
S3ReportExportConfig
data S3ReportExportConfig Source #
Information about the S3 bucket where the raw data of a report are exported.
See: newS3ReportExportConfig smart constructor.
Constructors
| S3ReportExportConfig' | |
Fields
| |
Instances
newS3ReportExportConfig :: S3ReportExportConfig Source #
Create a value of S3ReportExportConfig 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:bucket:S3ReportExportConfig', s3ReportExportConfig_bucket - The name of the S3 bucket where the raw data of a report are exported.
$sel:bucketOwner:S3ReportExportConfig', s3ReportExportConfig_bucketOwner - The Amazon Web Services account identifier of the owner of the Amazon S3
bucket. This allows report data to be exported to an Amazon S3 bucket
that is owned by an account other than the account running the build.
$sel:encryptionDisabled:S3ReportExportConfig', s3ReportExportConfig_encryptionDisabled - A boolean value that specifies if the results of a report are encrypted.
$sel:encryptionKey:S3ReportExportConfig', s3ReportExportConfig_encryptionKey - The encryption key for the report's encrypted raw data.
$sel:packaging:S3ReportExportConfig', s3ReportExportConfig_packaging - The type of build output artifact to create. Valid values include:
NONE: CodeBuild creates the raw data in the output bucket. This is the default if packaging is not specified.ZIP: CodeBuild creates a ZIP file with the raw data in the output bucket.
$sel:path:S3ReportExportConfig', s3ReportExportConfig_path - The path to the exported report's raw data results.
s3ReportExportConfig_bucket :: Lens' S3ReportExportConfig (Maybe Text) Source #
The name of the S3 bucket where the raw data of a report are exported.
s3ReportExportConfig_bucketOwner :: Lens' S3ReportExportConfig (Maybe Text) Source #
The Amazon Web Services account identifier of the owner of the Amazon S3 bucket. This allows report data to be exported to an Amazon S3 bucket that is owned by an account other than the account running the build.
s3ReportExportConfig_encryptionDisabled :: Lens' S3ReportExportConfig (Maybe Bool) Source #
A boolean value that specifies if the results of a report are encrypted.
s3ReportExportConfig_encryptionKey :: Lens' S3ReportExportConfig (Maybe Text) Source #
The encryption key for the report's encrypted raw data.
s3ReportExportConfig_packaging :: Lens' S3ReportExportConfig (Maybe ReportPackagingType) Source #
The type of build output artifact to create. Valid values include:
NONE: CodeBuild creates the raw data in the output bucket. This is the default if packaging is not specified.ZIP: CodeBuild creates a ZIP file with the raw data in the output bucket.
s3ReportExportConfig_path :: Lens' S3ReportExportConfig (Maybe Text) Source #
The path to the exported report's raw data results.
SourceAuth
data SourceAuth Source #
Information about the authorization settings for CodeBuild to access the source code to be built.
This information is for the CodeBuild console's use only. Your code should not get or set this information directly.
See: newSourceAuth smart constructor.
Constructors
| SourceAuth' | |
Fields
| |
Instances
Arguments
| :: SourceAuthType | |
| -> SourceAuth |
Create a value of SourceAuth 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:resource:SourceAuth', sourceAuth_resource - The resource value that applies to the specified authorization type.
$sel:type':SourceAuth', sourceAuth_type - This data type is deprecated and is no longer accurate or used.
The authorization type to use. The only valid value is OAUTH, which
represents the OAuth authorization type.
sourceAuth_resource :: Lens' SourceAuth (Maybe Text) Source #
The resource value that applies to the specified authorization type.
sourceAuth_type :: Lens' SourceAuth SourceAuthType Source #
This data type is deprecated and is no longer accurate or used.
The authorization type to use. The only valid value is OAUTH, which
represents the OAuth authorization type.
SourceCredentialsInfo
data SourceCredentialsInfo Source #
Information about the credentials for a GitHub, GitHub Enterprise, or Bitbucket repository.
See: newSourceCredentialsInfo smart constructor.
Constructors
| SourceCredentialsInfo' | |
Fields
| |
Instances
newSourceCredentialsInfo :: SourceCredentialsInfo Source #
Create a value of SourceCredentialsInfo 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:arn:SourceCredentialsInfo', sourceCredentialsInfo_arn - The Amazon Resource Name (ARN) of the token.
$sel:authType:SourceCredentialsInfo', sourceCredentialsInfo_authType - The type of authentication used by the credentials. Valid options are
OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.
$sel:serverType:SourceCredentialsInfo', sourceCredentialsInfo_serverType - The type of source provider. The valid options are GITHUB,
GITHUB_ENTERPRISE, or BITBUCKET.
sourceCredentialsInfo_arn :: Lens' SourceCredentialsInfo (Maybe Text) Source #
The Amazon Resource Name (ARN) of the token.
sourceCredentialsInfo_authType :: Lens' SourceCredentialsInfo (Maybe AuthType) Source #
The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.
sourceCredentialsInfo_serverType :: Lens' SourceCredentialsInfo (Maybe ServerType) Source #
The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
Tag
A tag, consisting of a key and a value.
This tag is available for use by Amazon Web Services services that support tags in CodeBuild.
See: newTag smart constructor.
Instances
| FromJSON Tag Source # | |
| ToJSON Tag Source # | |
Defined in Amazonka.CodeBuild.Types.Tag | |
| Generic Tag Source # | |
| Read Tag Source # | |
| Show Tag Source # | |
| NFData Tag Source # | |
Defined in Amazonka.CodeBuild.Types.Tag | |
| Eq Tag Source # | |
| Hashable Tag Source # | |
Defined in Amazonka.CodeBuild.Types.Tag | |
| type Rep Tag Source # | |
Defined in Amazonka.CodeBuild.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.CodeBuild.Types.Tag" "amazonka-codebuild-2.0-3KpZspRk9Ul8Wu4D0cM13Q" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |
Create a value of Tag 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:key:Tag', tag_key - The tag's key.
$sel:value:Tag', tag_value - The tag's value.
TestCase
Information about a test case created using a framework such as NUnit or Cucumber. A test case might be a unit test or a configuration test.
See: newTestCase smart constructor.
Constructors
| TestCase' | |
Fields
| |
Instances
newTestCase :: TestCase Source #
Create a value of TestCase 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:durationInNanoSeconds:TestCase', testCase_durationInNanoSeconds - The number of nanoseconds it took to run this test case.
$sel:expired:TestCase', testCase_expired - The date and time a test case expires. A test case expires 30 days after
it is created. An expired test case is not available to view in
CodeBuild.
$sel:message:TestCase', testCase_message - A message associated with a test case. For example, an error message or
stack trace.
$sel:name:TestCase', testCase_name - The name of the test case.
$sel:prefix:TestCase', testCase_prefix - A string that is applied to a series of related test cases. CodeBuild
generates the prefix. The prefix depends on the framework used to
generate the tests.
$sel:reportArn:TestCase', testCase_reportArn - The ARN of the report to which the test case belongs.
$sel:status:TestCase', testCase_status - The status returned by the test case after it was run. Valid statuses
are SUCCEEDED, FAILED, ERROR, SKIPPED, and UNKNOWN.
$sel:testRawDataPath:TestCase', testCase_testRawDataPath - The path to the raw data file that contains the test result.
testCase_durationInNanoSeconds :: Lens' TestCase (Maybe Integer) Source #
The number of nanoseconds it took to run this test case.
testCase_expired :: Lens' TestCase (Maybe UTCTime) Source #
The date and time a test case expires. A test case expires 30 days after it is created. An expired test case is not available to view in CodeBuild.
testCase_message :: Lens' TestCase (Maybe Text) Source #
A message associated with a test case. For example, an error message or stack trace.
testCase_prefix :: Lens' TestCase (Maybe Text) Source #
A string that is applied to a series of related test cases. CodeBuild generates the prefix. The prefix depends on the framework used to generate the tests.
testCase_reportArn :: Lens' TestCase (Maybe Text) Source #
The ARN of the report to which the test case belongs.
testCase_status :: Lens' TestCase (Maybe Text) Source #
The status returned by the test case after it was run. Valid statuses
are SUCCEEDED, FAILED, ERROR, SKIPPED, and UNKNOWN.
testCase_testRawDataPath :: Lens' TestCase (Maybe Text) Source #
The path to the raw data file that contains the test result.
TestCaseFilter
data TestCaseFilter Source #
A filter used to return specific types of test cases. In order to pass the filter, the report must meet all of the filter properties.
See: newTestCaseFilter smart constructor.
Constructors
| TestCaseFilter' | |
Fields
| |
Instances
newTestCaseFilter :: TestCaseFilter Source #
Create a value of TestCaseFilter 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:keyword:TestCaseFilter', testCaseFilter_keyword - A keyword that is used to filter on the name or the prefix of the
test cases. Only test cases where the keyword is a substring of the
name or the prefix will be returned.
$sel:status:TestCaseFilter', testCaseFilter_status - The status used to filter test cases. A TestCaseFilter can have one
status. Valid values are:
SUCCEEDED
FAILED
ERROR
SKIPPED
UNKNOWN
testCaseFilter_keyword :: Lens' TestCaseFilter (Maybe Text) Source #
A keyword that is used to filter on the name or the prefix of the
test cases. Only test cases where the keyword is a substring of the
name or the prefix will be returned.
testCaseFilter_status :: Lens' TestCaseFilter (Maybe Text) Source #
The status used to filter test cases. A TestCaseFilter can have one
status. Valid values are:
SUCCEEDED
FAILED
ERROR
SKIPPED
UNKNOWN
TestReportSummary
data TestReportSummary Source #
Information about a test report.
See: newTestReportSummary smart constructor.
Constructors
| TestReportSummary' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> Integer | |
| -> TestReportSummary |
Create a value of TestReportSummary 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:total:TestReportSummary', testReportSummary_total - The number of test cases in this TestReportSummary. The total includes
truncated test cases.
$sel:statusCounts:TestReportSummary', testReportSummary_statusCounts - A map that contains the number of each type of status returned by the
test results in this TestReportSummary.
$sel:durationInNanoSeconds:TestReportSummary', testReportSummary_durationInNanoSeconds - The number of nanoseconds it took to run all of the test cases in this
report.
testReportSummary_total :: Lens' TestReportSummary Int Source #
The number of test cases in this TestReportSummary. The total includes
truncated test cases.
testReportSummary_statusCounts :: Lens' TestReportSummary (HashMap Text Int) Source #
A map that contains the number of each type of status returned by the
test results in this TestReportSummary.
testReportSummary_durationInNanoSeconds :: Lens' TestReportSummary Integer Source #
The number of nanoseconds it took to run all of the test cases in this report.
VpcConfig
Information about the VPC configuration that CodeBuild accesses.
See: newVpcConfig smart constructor.
Constructors
| VpcConfig' | |
Instances
| FromJSON VpcConfig Source # | |
| ToJSON VpcConfig Source # | |
Defined in Amazonka.CodeBuild.Types.VpcConfig | |
| Generic VpcConfig Source # | |
| Read VpcConfig Source # | |
| Show VpcConfig Source # | |
| NFData VpcConfig Source # | |
Defined in Amazonka.CodeBuild.Types.VpcConfig | |
| Eq VpcConfig Source # | |
| Hashable VpcConfig Source # | |
Defined in Amazonka.CodeBuild.Types.VpcConfig | |
| type Rep VpcConfig Source # | |
Defined in Amazonka.CodeBuild.Types.VpcConfig type Rep VpcConfig = D1 ('MetaData "VpcConfig" "Amazonka.CodeBuild.Types.VpcConfig" "amazonka-codebuild-2.0-3KpZspRk9Ul8Wu4D0cM13Q" 'False) (C1 ('MetaCons "VpcConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "securityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "subnets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) | |
newVpcConfig :: VpcConfig Source #
Create a value of VpcConfig 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:securityGroupIds:VpcConfig', vpcConfig_securityGroupIds - A list of one or more security groups IDs in your Amazon VPC.
$sel:subnets:VpcConfig', vpcConfig_subnets - A list of one or more subnet IDs in your Amazon VPC.
$sel:vpcId:VpcConfig', vpcConfig_vpcId - The ID of the Amazon VPC.
vpcConfig_securityGroupIds :: Lens' VpcConfig (Maybe [Text]) Source #
A list of one or more security groups IDs in your Amazon VPC.
vpcConfig_subnets :: Lens' VpcConfig (Maybe [Text]) Source #
A list of one or more subnet IDs in your Amazon VPC.
Webhook
Information about a webhook that connects repository events to a build project in CodeBuild.
See: newWebhook smart constructor.
Constructors
| Webhook' | |
Fields
| |
Instances
newWebhook :: Webhook Source #
Create a value of Webhook 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:branchFilter:Webhook', webhook_branchFilter - A regular expression used to determine which repository branches are
built when a webhook is triggered. If the name of a branch matches the
regular expression, then it is built. If branchFilter is empty, then
all branches are built.
It is recommended that you use filterGroups instead of branchFilter.
$sel:buildType:Webhook', webhook_buildType - Specifies the type of build this webhook will trigger.
$sel:filterGroups:Webhook', webhook_filterGroups - An array of arrays of WebhookFilter objects used to determine which
webhooks are triggered. At least one WebhookFilter in the array must
specify EVENT as its type.
For a build to be triggered, at least one filter group in the
filterGroups array must pass. For a filter group to pass, each of its
filters must pass.
$sel:lastModifiedSecret:Webhook', webhook_lastModifiedSecret - A timestamp that indicates the last time a repository's secret token
was modified.
$sel:payloadUrl:Webhook', webhook_payloadUrl - The CodeBuild endpoint where webhook events are sent.
$sel:secret:Webhook', webhook_secret - The secret token of the associated repository.
A Bitbucket webhook does not support secret.
$sel:url:Webhook', webhook_url - The URL to the webhook.
webhook_branchFilter :: Lens' Webhook (Maybe Text) Source #
A regular expression used to determine which repository branches are
built when a webhook is triggered. If the name of a branch matches the
regular expression, then it is built. If branchFilter is empty, then
all branches are built.
It is recommended that you use filterGroups instead of branchFilter.
webhook_buildType :: Lens' Webhook (Maybe WebhookBuildType) Source #
Specifies the type of build this webhook will trigger.
webhook_filterGroups :: Lens' Webhook (Maybe [[WebhookFilter]]) Source #
An array of arrays of WebhookFilter objects used to determine which
webhooks are triggered. At least one WebhookFilter in the array must
specify EVENT as its type.
For a build to be triggered, at least one filter group in the
filterGroups array must pass. For a filter group to pass, each of its
filters must pass.
webhook_lastModifiedSecret :: Lens' Webhook (Maybe UTCTime) Source #
A timestamp that indicates the last time a repository's secret token was modified.
webhook_payloadUrl :: Lens' Webhook (Maybe Text) Source #
The CodeBuild endpoint where webhook events are sent.
webhook_secret :: Lens' Webhook (Maybe Text) Source #
The secret token of the associated repository.
A Bitbucket webhook does not support secret.
WebhookFilter
data WebhookFilter Source #
A filter used to determine which webhooks trigger a build.
See: newWebhookFilter smart constructor.
Constructors
| WebhookFilter' | |
Fields
| |
Instances
Arguments
| :: WebhookFilterType | |
| -> Text | |
| -> WebhookFilter |
Create a value of WebhookFilter 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:excludeMatchedPattern:WebhookFilter', webhookFilter_excludeMatchedPattern - Used to indicate that the pattern determines which webhook events do
not trigger a build. If true, then a webhook event that does not match
the pattern triggers a build. If false, then a webhook event that
matches the pattern triggers a build.
$sel:type':WebhookFilter', webhookFilter_type - The type of webhook filter. There are six webhook filter types: EVENT,
ACTOR_ACCOUNT_ID, HEAD_REF, BASE_REF, FILE_PATH, and
COMMIT_MESSAGE.
- EVENT
- A webhook event triggers a build when the provided
patternmatches one of five event types:PUSH,PULL_REQUEST_CREATED,PULL_REQUEST_UPDATED,PULL_REQUEST_REOPENED, andPULL_REQUEST_MERGED. TheEVENTpatterns are specified as a comma-separated string. For example,PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATEDfilters all push, pull request created, and pull request updated events.The
PULL_REQUEST_REOPENEDworks with GitHub and GitHub Enterprise only. - ACTOR_ACCOUNT_ID
- A webhook event triggers a build when a GitHub, GitHub Enterprise,
or Bitbucket account ID matches the regular expression
pattern. - HEAD_REF
- A webhook event triggers a build when the head reference matches the
regular expression
pattern. For example,refs/heads/branch-nameandrefs/tags/tag-name.Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events.
- BASE_REF
- A webhook event triggers a build when the base reference matches the
regular expression
pattern. For example,refs/heads/branch-name.Works with pull request events only.
- FILE_PATH
- A webhook triggers a build when the path of a changed file matches
the regular expression
pattern.Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events.
- COMMIT_MESSAGE
- A webhook triggers a build when the head commit message matches the
regular expression
pattern.Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events.
$sel:pattern':WebhookFilter', webhookFilter_pattern - For a WebHookFilter that uses EVENT type, a comma-separated string
that specifies one or more events. For example, the webhook filter
PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED allows all push, pull
request created, and pull request updated events to trigger a build.
For a WebHookFilter that uses any of the other filter types, a regular
expression pattern. For example, a WebHookFilter that uses HEAD_REF
for its type and the pattern ^refs/heads/ triggers a build when
the head reference is a branch with a reference name
refs/heads/branch-name.
webhookFilter_excludeMatchedPattern :: Lens' WebhookFilter (Maybe Bool) Source #
Used to indicate that the pattern determines which webhook events do
not trigger a build. If true, then a webhook event that does not match
the pattern triggers a build. If false, then a webhook event that
matches the pattern triggers a build.
webhookFilter_type :: Lens' WebhookFilter WebhookFilterType Source #
The type of webhook filter. There are six webhook filter types: EVENT,
ACTOR_ACCOUNT_ID, HEAD_REF, BASE_REF, FILE_PATH, and
COMMIT_MESSAGE.
- EVENT
- A webhook event triggers a build when the provided
patternmatches one of five event types:PUSH,PULL_REQUEST_CREATED,PULL_REQUEST_UPDATED,PULL_REQUEST_REOPENED, andPULL_REQUEST_MERGED. TheEVENTpatterns are specified as a comma-separated string. For example,PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATEDfilters all push, pull request created, and pull request updated events.The
PULL_REQUEST_REOPENEDworks with GitHub and GitHub Enterprise only. - ACTOR_ACCOUNT_ID
- A webhook event triggers a build when a GitHub, GitHub Enterprise,
or Bitbucket account ID matches the regular expression
pattern. - HEAD_REF
- A webhook event triggers a build when the head reference matches the
regular expression
pattern. For example,refs/heads/branch-nameandrefs/tags/tag-name.Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events.
- BASE_REF
- A webhook event triggers a build when the base reference matches the
regular expression
pattern. For example,refs/heads/branch-name.Works with pull request events only.
- FILE_PATH
- A webhook triggers a build when the path of a changed file matches
the regular expression
pattern.Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events.
- COMMIT_MESSAGE
- A webhook triggers a build when the head commit message matches the
regular expression
pattern.Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events.
webhookFilter_pattern :: Lens' WebhookFilter Text Source #
For a WebHookFilter that uses EVENT type, a comma-separated string
that specifies one or more events. For example, the webhook filter
PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED allows all push, pull
request created, and pull request updated events to trigger a build.
For a WebHookFilter that uses any of the other filter types, a regular
expression pattern. For example, a WebHookFilter that uses HEAD_REF
for its type and the pattern ^refs/heads/ triggers a build when
the head reference is a branch with a reference name
refs/heads/branch-name.