types

package
v0.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2020 License: Apache-2.0 Imports: 3 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountLimitExceededException

type AccountLimitExceededException struct {
	Message *string
}

An AWS service limit was exceeded for the calling AWS account.

func (*AccountLimitExceededException) Error

func (*AccountLimitExceededException) ErrorCode

func (e *AccountLimitExceededException) ErrorCode() string

func (*AccountLimitExceededException) ErrorFault

func (*AccountLimitExceededException) ErrorMessage

func (e *AccountLimitExceededException) ErrorMessage() string

type ArtifactNamespace

type ArtifactNamespace string
const (
	ArtifactNamespaceNone     ArtifactNamespace = "NONE"
	ArtifactNamespaceBuild_id ArtifactNamespace = "BUILD_ID"
)

Enum values for ArtifactNamespace

type ArtifactPackaging

type ArtifactPackaging string
const (
	ArtifactPackagingNone ArtifactPackaging = "NONE"
	ArtifactPackagingZip  ArtifactPackaging = "ZIP"
)

Enum values for ArtifactPackaging

type ArtifactsType

type ArtifactsType string
const (
	ArtifactsTypeCodepipeline ArtifactsType = "CODEPIPELINE"
	ArtifactsTypeS3           ArtifactsType = "S3"
	ArtifactsTypeNo_artifacts ArtifactsType = "NO_ARTIFACTS"
)

Enum values for ArtifactsType

type AuthType

type AuthType string
const (
	AuthTypeOauth                 AuthType = "OAUTH"
	AuthTypeBasic_auth            AuthType = "BASIC_AUTH"
	AuthTypePersonal_access_token AuthType = "PERSONAL_ACCESS_TOKEN"
)

Enum values for AuthType

type BatchRestrictions

type BatchRestrictions struct {

	// Specifies the maximum number of builds allowed.
	MaximumBuildsAllowed *int32

	// An array of strings that specify the compute types that are allowed for the
	// batch build. See Build environment compute types
	// (https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html)
	// in the AWS CodeBuild User Guide for these values.
	ComputeTypesAllowed []*string
}

Specifies restrictions for the batch build.

type Build

type Build struct {

	// Information about the build's logs in Amazon CloudWatch Logs.
	Logs *LogsLocation

	// 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.
	FileSystemLocations []*ProjectFileSystemLocation

	// When the build process started, expressed in Unix time format.
	StartTime *time.Time

	// The name of a service role used for this build.
	ServiceRole *string

	// The AWS Key Management Service (AWS KMS) 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 ).
	EncryptionKey *string

	// Information about the build environment for this build.
	Environment *ProjectEnvironment

	// 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.
	BuildNumber *int64

	// 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.
	BuildStatus StatusType

	// The name of the AWS CodeBuild project.
	ProjectName *string

	// Whether the build is complete. True if complete; otherwise, false.
	BuildComplete *bool

	// If your AWS 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.
	VpcConfig *VpcConfig

	// The current build phase.
	CurrentPhase *string

	// Describes a network interface.
	NetworkInterface *NetworkInterface

	// When the build process ended, expressed in Unix time format.
	EndTime *time.Time

	// The number of minutes a build is allowed to be queued before it times out.
	QueuedTimeoutInMinutes *int32

	// The unique ID for the build.
	Id *string

	// The Amazon Resource Name (ARN) of the build.
	Arn *string

	// An array of ProjectSource objects.
	SecondarySources []*ProjectSource

	// How long, in minutes, for AWS CodeBuild to wait before timing out this build if
	// it does not get marked as completed.
	TimeoutInMinutes *int32

	// A list of exported environment variables for this build.
	ExportedEnvironmentVariables []*ExportedEnvironmentVariable

	// Contains information about the debug session for this build.
	DebugSession *DebugSession

	// An identifier for the version of this build's source code.
	//
	//     * For AWS
	// CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.
	//
	//     * For
	// AWS CodePipeline, the source revision provided by AWS CodePipeline.
	//
	//     * For
	// Amazon Simple Storage Service (Amazon S3), this does not apply.
	ResolvedSourceVersion *string

	// The ARN of the batch build that this build is a member of, if applicable.
	BuildBatchArn *string

	// 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
	// (https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html)
	// in the AWS CodeBuild User Guide.
	SourceVersion *string

	// An array of ProjectSourceVersion objects. Each ProjectSourceVersion must be one
	// of:
	//
	//     * For AWS 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 Simple Storage Service (Amazon S3): the
	// version ID of the object that represents the build input ZIP file to use.
	SecondarySourceVersions []*ProjectSourceVersion

	// An array of ProjectArtifacts objects.
	SecondaryArtifacts []*BuildArtifacts

	// Information about the source code to be built.
	Source *ProjectSource

	// The entity that started the build. Valid values include:
	//
	//     * If AWS
	// CodePipeline started the build, the pipeline's name (for example,
	// codepipeline/my-demo-pipeline).
	//
	//     * If an AWS Identity and Access Management
	// (IAM) user started the build, the user's name (for example, MyUserName).
	//
	//     *
	// If the Jenkins plugin for AWS CodeBuild started the build, the string
	// CodeBuild-Jenkins-Plugin.
	Initiator *string

	// Information about the cache for the build.
	Cache *ProjectCache

	// Information about all previous build phases that are complete and information
	// about any current build phase that is not yet complete.
	Phases []*BuildPhase

	// Information about the output artifacts for the build.
	Artifacts *BuildArtifacts

	// An array of the ARNs associated with this build's reports.
	ReportArns []*string
}

Information about a build.

type BuildArtifacts

type BuildArtifacts struct {

	// 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.
	Sha256sum *string

	// Information that tells you if encryption for build artifacts is disabled.
	EncryptionDisabled *bool

	// 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.
	Md5sum *string

	// 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.
	OverrideArtifactName *bool

	// An identifier for this artifact definition.
	ArtifactIdentifier *string

	// Information about the location of the build artifacts.
	Location *string
}

Information about build output artifacts.

type BuildBatch

type BuildBatch struct {

	// Information about the build input source code for the build project.
	Source *ProjectSource

	// The name of the batch build project.
	ProjectName *string

	// An array of BuildBatchPhase objects the specify the phases of the batch build.
	Phases []*BuildBatchPhase

	// Information about the VPC configuration that AWS CodeBuild accesses.
	VpcConfig *VpcConfig

	// Specifies the amount of time, in minutes, that the batch build is allowed to be
	// queued before it times out.
	QueuedTimeoutInMinutes *int32

	// 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.
	FileSystemLocations []*ProjectFileSystemLocation

	// Information about logs for a build project. These can be logs in Amazon
	// CloudWatch Logs, built in a specified S3 bucket, or both.
	LogConfig *LogsConfig

	// The date and time that the batch build ended.
	EndTime *time.Time

	// An array of ProjectSource objects that define the sources for the batch build.
	SecondarySources []*ProjectSource

	// The identifier of the resolved version of this batch build's source code.
	//
	//     *
	// For AWS CodeCommit, GitHub, GitHub Enterprise, and BitBucket, the commit ID.
	//
	//
	// * For AWS CodePipeline, the source revision provided by AWS CodePipeline.
	//
	//     *
	// For Amazon Simple Storage Service (Amazon S3), this does not apply.
	ResolvedSourceVersion *string

	// Specifies the maximum amount of time, in minutes, that the build in a batch must
	// be completed in.
	BuildTimeoutInMinutes *int32

	// An array of ProjectSourceVersion objects. Each ProjectSourceVersion must be one
	// of:
	//
	//     * For AWS 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 Simple Storage Service (Amazon S3): the
	// version ID of the object that represents the build input ZIP file to use.
	SecondarySourceVersions []*ProjectSourceVersion

	// The current phase of the batch build.
	CurrentPhase *string

	// The AWS Key Management Service (AWS KMS) 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 ).
	EncryptionKey *string

	// Information about the build environment of the build project.
	Environment *ProjectEnvironment

	// An array of BuildArtifacts objects the define the build artifacts for this batch
	// build.
	SecondaryArtifacts []*BuildArtifacts

	// 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.
	BuildBatchNumber *int64

	// An array of BuildGroup objects that define the build groups for the batch build.
	BuildGroups []*BuildGroup

	// A BuildArtifacts object the defines the build artifacts for this batch build.
	Artifacts *BuildArtifacts

	// Information about the cache for the build project.
	Cache *ProjectCache

	// Indicates if the batch build is complete.
	Complete *bool

	// The date and time that the batch build started.
	StartTime *time.Time

	// The identifier of the batch build.
	Id *string

	// The ARN of the batch build.
	Arn *string

	// The name of a service role used for builds in the batch.
	ServiceRole *string

	// Contains configuration information about a batch build project.
	BuildBatchConfig *ProjectBuildBatchConfig

	// The status of the batch build.
	BuildBatchStatus StatusType

	// The entity that started the batch build. Valid values include:
	//
	//     * If AWS
	// CodePipeline started the build, the pipeline's name (for example,
	// codepipeline/my-demo-pipeline).
	//
	//     * If an AWS Identity and Access Management
	// (IAM) user started the build, the user's name.
	//
	//     * If the Jenkins plugin for
	// AWS CodeBuild started the build, the string CodeBuild-Jenkins-Plugin.
	Initiator *string

	// The identifier of the version of the source code to be built.
	SourceVersion *string
}

Contains information about a batch build.

type BuildBatchFilter

type BuildBatchFilter struct {

	// The status of the batch builds to retrieve. Only batch builds that have this
	// status will be retrieved.
	Status StatusType
}

Specifies filters when retrieving batch builds.

type BuildBatchPhase

type BuildBatchPhase struct {

	// 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. QUEUED The build has been submitted and is queued behind
	// other submitted builds. STOPPED The build phase stopped. SUCCEEDED The build
	// phase succeeded. TIMED_OUT The build phase timed out.
	PhaseStatus StatusType

	// 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.
	PhaseType BuildBatchPhaseType

	// When the batch build phase started, expressed in Unix time format.
	StartTime *time.Time

	// How long, in seconds, between the starting and ending times of the batch build's
	// phase.
	DurationInSeconds *int64

	// Additional information about the batch build phase. Especially to help
	// troubleshoot a failed btach build.
	Contexts []*PhaseContext

	// When the batch build phase ended, expressed in Unix time format.
	EndTime *time.Time
}

Contains information about a stage for a batch build.

type BuildBatchPhaseType

type BuildBatchPhaseType string
const (
	BuildBatchPhaseTypeSubmitted          BuildBatchPhaseType = "SUBMITTED"
	BuildBatchPhaseTypeDownload_batchspec BuildBatchPhaseType = "DOWNLOAD_BATCHSPEC"
	BuildBatchPhaseTypeIn_progress        BuildBatchPhaseType = "IN_PROGRESS"
	BuildBatchPhaseTypeCombine_artifacts  BuildBatchPhaseType = "COMBINE_ARTIFACTS"
	BuildBatchPhaseTypeSucceeded          BuildBatchPhaseType = "SUCCEEDED"
	BuildBatchPhaseTypeFailed             BuildBatchPhaseType = "FAILED"
	BuildBatchPhaseTypeStopped            BuildBatchPhaseType = "STOPPED"
)

Enum values for BuildBatchPhaseType

type BuildGroup

type BuildGroup struct {

	// A BuildSummary object that contains a summary of the current build group.
	CurrentBuildSummary *BuildSummary

	// An array of BuildSummary objects that contain summaries of previous build
	// groups.
	PriorBuildSummaryList []*BuildSummary

	// An array of strings that contain the identifiers of the build groups that this
	// build group depends on.
	DependsOn []*string

	// Specifies if failures in this build group can be ignored.
	IgnoreFailure *bool

	// Contains the identifier of the build group.
	Identifier *string
}

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.

type BuildNotDeleted

type BuildNotDeleted struct {

	// The ID of the build that could not be successfully deleted.
	Id *string

	// Additional information about the build that could not be successfully deleted.
	StatusCode *string
}

Information about a build that could not be successfully deleted.

type BuildPhase

type BuildPhase struct {

	// When the build phase ended, expressed in Unix time format.
	EndTime *time.Time

	// Additional information about a build phase, especially to help troubleshoot a
	// failed build.
	Contexts []*PhaseContext

	// 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.
	PhaseType BuildPhaseType

	// 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. QUEUED The build has been submitted and is queued behind
	// other submitted builds. STOPPED The build phase stopped. SUCCEEDED The build
	// phase succeeded. TIMED_OUT The build phase timed out.
	PhaseStatus StatusType

	// When the build phase started, expressed in Unix time format.
	StartTime *time.Time

	// How long, in seconds, between the starting and ending times of the build's
	// phase.
	DurationInSeconds *int64
}

Information about a stage for a build.

type BuildPhaseType

type BuildPhaseType string
const (
	BuildPhaseTypeSubmitted        BuildPhaseType = "SUBMITTED"
	BuildPhaseTypeQueued           BuildPhaseType = "QUEUED"
	BuildPhaseTypeProvisioning     BuildPhaseType = "PROVISIONING"
	BuildPhaseTypeDownload_source  BuildPhaseType = "DOWNLOAD_SOURCE"
	BuildPhaseTypeInstall          BuildPhaseType = "INSTALL"
	BuildPhaseTypePre_build        BuildPhaseType = "PRE_BUILD"
	BuildPhaseTypeBuild            BuildPhaseType = "BUILD"
	BuildPhaseTypePost_build       BuildPhaseType = "POST_BUILD"
	BuildPhaseTypeUpload_artifacts BuildPhaseType = "UPLOAD_ARTIFACTS"
	BuildPhaseTypeFinalizing       BuildPhaseType = "FINALIZING"
	BuildPhaseTypeCompleted        BuildPhaseType = "COMPLETED"
)

Enum values for BuildPhaseType

type BuildStatusConfig

type BuildStatusConfig struct {

	// 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 name parameter in the Bitbucket commit status.
	// For more information, see build
	// (https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/commit/%7Bnode%7D/statuses/build)
	// in the Bitbucket API documentation. GitHub/GitHub Enterprise Server This
	// parameter is used for the context parameter in the GitHub commit status. For
	// more information, see Create a commit status
	// (https://developer.github.com/v3/repos/statuses/#create-a-commit-status) in the
	// GitHub developer guide.
	Context *string

	// 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 url parameter in the Bitbucket commit status. For
	// more information, see build
	// (https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/commit/%7Bnode%7D/statuses/build)
	// in the Bitbucket API documentation. GitHub/GitHub Enterprise Server This
	// parameter is used for the target_url parameter in the GitHub commit status. For
	// more information, see Create a commit status
	// (https://developer.github.com/v3/repos/statuses/#create-a-commit-status) in the
	// GitHub developer guide.
	TargetUrl *string
}

Contains information that defines how the AWS CodeBuild build project reports the build status to the source provider.

type BuildSummary

type BuildSummary struct {

	// A ResolvedArtifact object that represents the primary build artifacts for the
	// build group.
	PrimaryArtifact *ResolvedArtifact

	// The batch build ARN.
	Arn *string

	// An array of ResolvedArtifact objects that represents the secondary build
	// artifacts for the build group.
	SecondaryArtifacts []*ResolvedArtifact

	// 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.
	BuildStatus StatusType

	// When the build was started, expressed in Unix time format.
	RequestedOn *time.Time
}

Contains summary information about a batch build group.

type CacheMode

type CacheMode string
const (
	CacheModeLocal_docker_layer_cache CacheMode = "LOCAL_DOCKER_LAYER_CACHE"
	CacheModeLocal_source_cache       CacheMode = "LOCAL_SOURCE_CACHE"
	CacheModeLocal_custom_cache       CacheMode = "LOCAL_CUSTOM_CACHE"
)

Enum values for CacheMode

type CacheType

type CacheType string
const (
	CacheTypeNo_cache CacheType = "NO_CACHE"
	CacheTypeS3       CacheType = "S3"
	CacheTypeLocal    CacheType = "LOCAL"
)

Enum values for CacheType

type CloudWatchLogsConfig

type CloudWatchLogsConfig struct {

	// The group name of the logs in Amazon CloudWatch Logs. For more information, see
	// Working with Log Groups and Log Streams
	// (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html).
	GroupName *string

	// The prefix of the stream name of the Amazon CloudWatch Logs. For more
	// information, see Working with Log Groups and Log Streams
	// (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html).
	StreamName *string

	// The current status of the logs in Amazon CloudWatch Logs for a build project.
	// Valid values are:
	//
	//     * ENABLED: Amazon CloudWatch Logs are enabled for this
	// build project.
	//
	//     * DISABLED: Amazon CloudWatch Logs are not enabled for this
	// build project.
	//
	// This member is required.
	Status LogsConfigStatusType
}

Information about Amazon CloudWatch Logs for a build project.

type CodeCoverage

type CodeCoverage struct {

	// The percentage of branches that are covered by your tests.
	BranchCoveragePercentage *float64

	// The number of lines that are not covered by your tests.
	LinesMissed *int32

	// The path of the test report file.
	FilePath *string

	// The ARN of the report.
	ReportARN *string

	// The percentage of lines that are covered by your tests.
	LineCoveragePercentage *float64

	// The number of lines that are covered by your tests.
	LinesCovered *int32

	// The date and time that the tests were run.
	Expired *time.Time

	// The number of conditional branches that are not covered by your tests.
	BranchesMissed *int32

	// The number of conditional branches that are covered by your tests.
	BranchesCovered *int32

	// The identifier of the code coverage report.
	Id *string
}

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.

type CodeCoverageReportSummary

type CodeCoverageReportSummary struct {

	// The number of lines that are covered by your tests.
	LinesCovered *int32

	// The percentage of lines that are covered by your tests.
	LineCoveragePercentage *float64

	// The number of conditional branches that are covered by your tests.
	BranchesCovered *int32

	// The number of conditional branches that are not covered by your tests.
	BranchesMissed *int32

	// The percentage of branches that are covered by your tests.
	BranchCoveragePercentage *float64

	// The number of lines that are not covered by your tests.
	LinesMissed *int32
}

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.

type ComputeType

type ComputeType string
const (
	ComputeTypeBuild_general1_small   ComputeType = "BUILD_GENERAL1_SMALL"
	ComputeTypeBuild_general1_medium  ComputeType = "BUILD_GENERAL1_MEDIUM"
	ComputeTypeBuild_general1_large   ComputeType = "BUILD_GENERAL1_LARGE"
	ComputeTypeBuild_general1_2xlarge ComputeType = "BUILD_GENERAL1_2XLARGE"
)

Enum values for ComputeType

type CredentialProviderType

type CredentialProviderType string
const (
	CredentialProviderTypeSecrets_manager CredentialProviderType = "SECRETS_MANAGER"
)

Enum values for CredentialProviderType

type DebugSession

type DebugSession struct {

	// Specifies if session debugging is enabled for this build.
	SessionEnabled *bool

	// 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.
	SessionTarget *string
}

Contains information about the debug session for a build. For more information, see Viewing a running build in Session Manager (https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html).

type EnvironmentImage

type EnvironmentImage struct {

	// The name of the Docker image.
	Name *string

	// A list of environment image versions.
	Versions []*string

	// The description of the Docker image.
	Description *string
}

Information about a Docker image that is managed by AWS CodeBuild.

type EnvironmentLanguage

type EnvironmentLanguage struct {

	// The programming language for the Docker images.
	Language LanguageType

	// The list of Docker images that are related by the specified programming
	// language.
	Images []*EnvironmentImage
}

A set of Docker images that are related by programming language and are managed by AWS CodeBuild.

type EnvironmentPlatform

type EnvironmentPlatform struct {

	// The list of programming languages that are available for the specified platform.
	Languages []*EnvironmentLanguage

	// The platform's name.
	Platform PlatformType
}

A set of Docker images that are related by platform and are managed by AWS CodeBuild.

type EnvironmentType

type EnvironmentType string
const (
	EnvironmentTypeWindows_container             EnvironmentType = "WINDOWS_CONTAINER"
	EnvironmentTypeLinux_container               EnvironmentType = "LINUX_CONTAINER"
	EnvironmentTypeLinux_gpu_container           EnvironmentType = "LINUX_GPU_CONTAINER"
	EnvironmentTypeArm_container                 EnvironmentType = "ARM_CONTAINER"
	EnvironmentTypeWindows_server_2019_container EnvironmentType = "WINDOWS_SERVER_2019_CONTAINER"
)

Enum values for EnvironmentType

type EnvironmentVariable

type EnvironmentVariable struct {

	// The value of the environment variable. We strongly discourage the use of
	// PLAINTEXT environment variables to store sensitive values, especially AWS secret
	// key IDs and secret access keys. PLAINTEXT environment variables can be displayed
	// in plain text using the AWS CodeBuild console and the AWS Command Line Interface
	// (AWS CLI). For sensitive values, we recommend you use an environment variable of
	// type PARAMETER_STORE or SECRETS_MANAGER.
	//
	// This member is required.
	Value *string

	// The type of environment variable. Valid values include:
	//
	//     * PARAMETER_STORE:
	// An environment variable stored in Amazon EC2 Systems Manager Parameter Store. To
	// learn how to specify a parameter store environment variable, see  parameter
	// store reference-key in the buildspec file
	// (https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#parameter-store-build-spec).
	//
	//
	// * PLAINTEXT: An environment variable in plain text format. This is the default
	// value.
	//
	//     * SECRETS_MANAGER: An environment variable stored in AWS Secrets
	// Manager. To learn how to specify a secrets manager environment variable, see
	// secrets manager reference-key in the buildspec file
	// (https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#secrets-manager-build-spec).
	Type EnvironmentVariableType

	// The name or key of the environment variable.
	//
	// This member is required.
	Name *string
}

Information about an environment variable for a build project or a build.

type EnvironmentVariableType

type EnvironmentVariableType string
const (
	EnvironmentVariableTypePlaintext       EnvironmentVariableType = "PLAINTEXT"
	EnvironmentVariableTypeParameter_store EnvironmentVariableType = "PARAMETER_STORE"
	EnvironmentVariableTypeSecrets_manager EnvironmentVariableType = "SECRETS_MANAGER"
)

Enum values for EnvironmentVariableType

type ExportedEnvironmentVariable

type ExportedEnvironmentVariable struct {

	// The name of this exported environment variable.
	Name *string

	// The value assigned to this exported environment variable. 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.
	Value *string
}

Information about an exported environment variable.

type FileSystemType

type FileSystemType string
const (
	FileSystemTypeEfs FileSystemType = "EFS"
)

Enum values for FileSystemType

type GitSubmodulesConfig

type GitSubmodulesConfig struct {

	// Set to true to fetch Git submodules for your AWS CodeBuild build project.
	//
	// This member is required.
	FetchSubmodules *bool
}

Information about the Git submodules configuration for an AWS CodeBuild build project.

type ImagePullCredentialsType

type ImagePullCredentialsType string
const (
	ImagePullCredentialsTypeCodebuild    ImagePullCredentialsType = "CODEBUILD"
	ImagePullCredentialsTypeService_role ImagePullCredentialsType = "SERVICE_ROLE"
)

Enum values for ImagePullCredentialsType

type InvalidInputException

type InvalidInputException struct {
	Message *string
}

The input value that was provided is not valid.

func (*InvalidInputException) Error

func (e *InvalidInputException) Error() string

func (*InvalidInputException) ErrorCode

func (e *InvalidInputException) ErrorCode() string

func (*InvalidInputException) ErrorFault

func (e *InvalidInputException) ErrorFault() smithy.ErrorFault

func (*InvalidInputException) ErrorMessage

func (e *InvalidInputException) ErrorMessage() string

type LanguageType

type LanguageType string
const (
	LanguageTypeJava    LanguageType = "JAVA"
	LanguageTypePython  LanguageType = "PYTHON"
	LanguageTypeNode_js LanguageType = "NODE_JS"
	LanguageTypeRuby    LanguageType = "RUBY"
	LanguageTypeGolang  LanguageType = "GOLANG"
	LanguageTypeDocker  LanguageType = "DOCKER"
	LanguageTypeAndroid LanguageType = "ANDROID"
	LanguageTypeDotnet  LanguageType = "DOTNET"
	LanguageTypeBase    LanguageType = "BASE"
	LanguageTypePhp     LanguageType = "PHP"
)

Enum values for LanguageType

type LogsConfig

type LogsConfig struct {

	// Information about Amazon CloudWatch Logs for a build project. Amazon CloudWatch
	// Logs are enabled by default.
	CloudWatchLogs *CloudWatchLogsConfig

	// Information about logs built to an S3 bucket for a build project. S3 logs are
	// not enabled by default.
	S3Logs *S3LogsConfig
}

Information about logs for a build project. These can be logs in Amazon CloudWatch Logs, built in a specified S3 bucket, or both.

type LogsConfigStatusType

type LogsConfigStatusType string
const (
	LogsConfigStatusTypeEnabled  LogsConfigStatusType = "ENABLED"
	LogsConfigStatusTypeDisabled LogsConfigStatusType = "DISABLED"
)

Enum values for LogsConfigStatusType

type LogsLocation

type LogsLocation struct {

	// The URL to a build log in an S3 bucket.
	S3DeepLink *string

	// The ARN of Amazon 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 Amazon CloudWatch Logs
	// (https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatchlogs.html#amazoncloudwatchlogs-resources-for-iam-policies).
	CloudWatchLogsArn *string

	// Information about S3 logs for a build project.
	S3Logs *S3LogsConfig

	// 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
	// (https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazons3.html#amazons3-resources-for-iam-policies).
	S3LogsArn *string

	// The name of the Amazon CloudWatch Logs group for the build logs.
	GroupName *string

	// The URL to an individual build log in Amazon CloudWatch Logs.
	DeepLink *string

	// The name of the Amazon CloudWatch Logs stream for the build logs.
	StreamName *string

	// Information about Amazon CloudWatch Logs for a build project.
	CloudWatchLogs *CloudWatchLogsConfig
}

Information about build logs in Amazon CloudWatch Logs.

type NetworkInterface

type NetworkInterface struct {

	// The ID of the network interface.
	NetworkInterfaceId *string

	// The ID of the subnet.
	SubnetId *string
}

Describes a network interface.

type OAuthProviderException

type OAuthProviderException struct {
	Message *string
}

There was a problem with the underlying OAuth provider.

func (*OAuthProviderException) Error

func (e *OAuthProviderException) Error() string

func (*OAuthProviderException) ErrorCode

func (e *OAuthProviderException) ErrorCode() string

func (*OAuthProviderException) ErrorFault

func (e *OAuthProviderException) ErrorFault() smithy.ErrorFault

func (*OAuthProviderException) ErrorMessage

func (e *OAuthProviderException) ErrorMessage() string

type PhaseContext

type PhaseContext struct {

	// An explanation of the build phase's context. This might include a command ID and
	// an exit code.
	Message *string

	// The status code for the context of the build phase.
	StatusCode *string
}

Additional information about a build phase that has an error. You can use this information for troubleshooting.

type PlatformType

type PlatformType string
const (
	PlatformTypeDebian         PlatformType = "DEBIAN"
	PlatformTypeAmazon_linux   PlatformType = "AMAZON_LINUX"
	PlatformTypeUbuntu         PlatformType = "UBUNTU"
	PlatformTypeWindows_server PlatformType = "WINDOWS_SERVER"
)

Enum values for PlatformType

type Project

type Project struct {

	// Information about the build badge for the build project.
	Badge *ProjectBadge

	// Information about the VPC configuration that AWS CodeBuild accesses.
	VpcConfig *VpcConfig

	// Information about the build input source code for this build project.
	Source *ProjectSource

	// The name of the build project.
	Name *string

	// The number of minutes a build is allowed to be queued before it times out.
	QueuedTimeoutInMinutes *int32

	// When the build project's settings were last modified, expressed in Unix time
	// format.
	LastModified *time.Time

	// Information about logs for the build project. A project can create logs in
	// Amazon CloudWatch Logs, an S3 bucket, or both.
	LogsConfig *LogsConfig

	// Information about the cache for the build project.
	Cache *ProjectCache

	// A list of tag key and value pairs associated with this build project. These tags
	// are available for use by AWS services that support AWS CodeBuild build project
	// tags.
	Tags []*Tag

	// Information about the build output artifacts for the build project.
	Artifacts *ProjectArtifacts

	// An array of ProjectSourceVersion objects. If secondarySourceVersions is
	// specified at the build level, then they take over these secondarySourceVersions
	// (at the project level).
	SecondarySourceVersions []*ProjectSourceVersion

	// The ARN of the AWS Identity and Access Management (IAM) role that enables AWS
	// CodeBuild to interact with dependent AWS services on behalf of the AWS account.
	ServiceRole *string

	// 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.
	FileSystemLocations []*ProjectFileSystemLocation

	// The Amazon Resource Name (ARN) of the build project.
	Arn *string

	// An array of ProjectSource objects.
	SecondarySources []*ProjectSource

	// Information about a webhook that connects repository events to a build project
	// in AWS CodeBuild.
	Webhook *Webhook

	// A ProjectBuildBatchConfig () object that defines the batch build options for the
	// project.
	BuildBatchConfig *ProjectBuildBatchConfig

	// When the build project was created, expressed in Unix time format.
	Created *time.Time

	// How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before
	// timing out any related build that did not get marked as completed. The default
	// is 60 minutes.
	TimeoutInMinutes *int32

	// A description that makes the build project easy to identify.
	Description *string

	// An array of ProjectArtifacts objects.
	SecondaryArtifacts []*ProjectArtifacts

	// 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 AWS
	// 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
	// Simple Storage Service (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
	// (https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html)
	// in the AWS CodeBuild User Guide.
	SourceVersion *string

	// The AWS Key Management Service (AWS KMS) 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 ).
	EncryptionKey *string

	// Information about the build environment for this build project.
	Environment *ProjectEnvironment
}

Information about a build project.

type ProjectArtifacts

type ProjectArtifacts struct {

	// The type of build output artifact. Valid values include:
	//
	//     * CODEPIPELINE:
	// The build project has build output generated through AWS CodePipeline. The
	// CODEPIPELINE type is not supported for secondaryArtifacts.
	//
	//     * NO_ARTIFACTS:
	// The build project does not produce any build output.
	//
	//     * S3: The build
	// project stores build output in Amazon Simple Storage Service (Amazon S3).
	//
	// This member is required.
	Type ArtifactsType

	// An identifier for this artifact definition.
	ArtifactIdentifier *string

	// 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.
	OverrideArtifactName *bool

	// Along with path and namespaceType, the pattern that AWS CodeBuild uses to name
	// and store the output artifact:
	//
	//     * If type is set to CODEPIPELINE, AWS
	// CodePipeline ignores this value if specified. This is because AWS CodePipeline
	// manages its build output names instead of AWS CodeBuild.
	//
	//     * If type is set
	// to NO_ARTIFACTS, this value is ignored if specified, because no build output is
	// produced.
	//
	//     * If type is set to S3, 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 path is set to
	// MyArtifacts, namespaceType is set to BUILD_ID, and name is set to
	// MyArtifact.zip, then the output artifact is stored in
	// MyArtifacts/build-ID/MyArtifact.zip.
	//
	//     * If path is empty, namespaceType is
	// set to NONE, and name is set to "/", the output artifact is stored in the root
	// of the output bucket.
	//
	//     * If path is set to MyArtifacts, namespaceType is set
	// to BUILD_ID, and name is set to "/", the output artifact is stored in
	// MyArtifacts/build-ID .
	Name *string

	// Along with namespaceType and name, the pattern that AWS CodeBuild uses to name
	// and store the output artifact:
	//
	//     * If type is set to CODEPIPELINE, AWS
	// CodePipeline ignores this value if specified. This is because AWS CodePipeline
	// manages its build output names instead of AWS CodeBuild.
	//
	//     * If type is set
	// to NO_ARTIFACTS, this value is ignored if specified, because no build output is
	// produced.
	//
	//     * If type is set to S3, this is the path to the output artifact.
	// If path is not specified, path is 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.
	Path *string

	// The type of build output artifact to create:
	//
	//     * If type is set to
	// CODEPIPELINE, AWS CodePipeline ignores this value if specified. This is because
	// AWS CodePipeline manages its build output artifacts instead of AWS CodeBuild.
	//
	//
	// * If type is set to NO_ARTIFACTS, this value is ignored if specified, because no
	// build output is produced.
	//
	//     * If type is set to S3, valid values include:
	//
	//
	// * NONE: AWS CodeBuild creates in the output bucket a folder that contains the
	// build output. This is the default if packaging is not specified.
	//
	//         * ZIP:
	// AWS CodeBuild creates in the output bucket a ZIP file that contains the build
	// output.
	Packaging ArtifactPackaging

	// Set to true if you do not want your output artifacts encrypted. This option is
	// valid only if your artifacts type is Amazon Simple Storage Service (Amazon S3).
	// If this is set with another artifacts type, an invalidInputException is thrown.
	EncryptionDisabled *bool

	// Along with path and name, the pattern that AWS CodeBuild uses to determine the
	// name and location to store the output artifact:
	//
	//     * If type is set to
	// CODEPIPELINE, AWS CodePipeline ignores this value if specified. This is because
	// AWS CodePipeline manages its build output names instead of AWS CodeBuild.
	//
	//     *
	// If type is set to NO_ARTIFACTS, this value is ignored if specified, because no
	// build output is produced.
	//
	//     * If type is set to S3, 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 if namespaceType is 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.
	NamespaceType ArtifactNamespace

	// Information about the build output artifact location:
	//
	//     * If type is set to
	// CODEPIPELINE, AWS CodePipeline ignores this value if specified. This is because
	// AWS CodePipeline manages its build output locations instead of AWS CodeBuild.
	//
	//
	// * If type is set to NO_ARTIFACTS, this value is ignored if specified, because no
	// build output is produced.
	//
	//     * If type is set to S3, this is the name of the
	// output bucket.
	Location *string
}

Information about the build output artifacts for the build project.

type ProjectBadge

type ProjectBadge struct {

	// The publicly-accessible URL through which you can access the build badge for
	// your project. The publicly accessible URL through which you can access the build
	// badge for your project.
	BadgeRequestUrl *string

	// Set this to true to generate a publicly accessible URL for your project's build
	// badge.
	BadgeEnabled *bool
}

Information about the build badge for the build project.

type ProjectBuildBatchConfig

type ProjectBuildBatchConfig struct {

	// A BatchRestrictions object that specifies the restrictions for the batch build.
	Restrictions *BatchRestrictions

	// Specifies the service role ARN for the batch build project.
	ServiceRole *string

	// Specifies the maximum amount of time, in minutes, that the batch build must be
	// completed in.
	TimeoutInMins *int32

	// Specifies if the build artifacts for the batch build should be combined into a
	// single artifact location.
	CombineArtifacts *bool
}

Contains configuration information about a batch build project.

type ProjectCache

type ProjectCache struct {

	// 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.
	//
	// This member is required.
	Type CacheType

	// If you use a LOCAL cache, the local cache mode. You can use one or more local
	// cache modes at the same time.
	//
	//     * LOCAL_SOURCE_CACHE mode 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 mode 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 privileged flag 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 mode
	// 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.
	Modes []CacheMode

	// Information about the cache location:
	//
	//     * NO_CACHE or LOCAL: This value is
	// ignored.
	//
	//     * S3: This is the S3 bucket name/prefix.
	Location *string
}

Information about the cache for the build project.

type ProjectEnvironment

type ProjectEnvironment struct {

	// 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
	// (https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html)
	// in the AWS CodeBuild User Guide.
	//
	// This member is required.
	ComputeType ComputeType

	// The type of credentials AWS CodeBuild uses to pull images in your build. There
	// are two valid values:
	//
	//     * CODEBUILD specifies that AWS CodeBuild uses its own
	// credentials. This requires that you modify your ECR repository policy to trust
	// AWS CodeBuild's service principal.
	//
	//     * SERVICE_ROLE specifies that AWS
	// 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 AWS CodeBuild curated image, you must use CODEBUILD credentials.
	ImagePullCredentialsType ImagePullCredentialsType

	// The type of build environment to use for related builds.
	//
	//     * The environment
	// type ARM_CONTAINER is 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_CONTAINER with compute type build.general1.2xlarge is 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_CONTAINER
	// is 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).
	//
	// This member is required.
	Type EnvironmentType

	// 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, to specify an image with the tag "latest,"
	// use registry/repository:latest.
	//
	//     * For an image digest:
	// registry/repository@digest. For example, to specify an image with the digest
	// "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf," use
	// registry/repository@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf.
	//
	// This member is required.
	Image *string

	// The certificate to use with this build project.
	Certificate *string

	// The credentials for access to a private registry.
	RegistryCredential *RegistryCredential

	// 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"
	PrivilegedMode *bool

	// A set of environment variables to make available to builds for this build
	// project.
	EnvironmentVariables []*EnvironmentVariable
}

Information about the build environment of the build project.

type ProjectFileSystemLocation

type ProjectFileSystemLocation struct {

	// 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 AWS 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.
	Location *string

	// The location in the container where you mount the file system.
	MountPoint *string

	// 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.
	Identifier *string

	// The mount options for a file system created by AWS 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
	// (https://docs.aws.amazon.com/efs/latest/ug/mounting-fs-nfs-mount-settings.html).
	MountOptions *string

	// The type of the file system. The one supported type is EFS.
	Type FileSystemType
}

Information about a file system created by Amazon Elastic File System (EFS). For more information, see What Is Amazon Elastic File System? (https://docs.aws.amazon.com/efs/latest/ug/whatisefs.html)

type ProjectSortByType

type ProjectSortByType string
const (
	ProjectSortByTypeName               ProjectSortByType = "NAME"
	ProjectSortByTypeCreated_time       ProjectSortByType = "CREATED_TIME"
	ProjectSortByTypeLast_modified_time ProjectSortByType = "LAST_MODIFIED_TIME"
)

Enum values for ProjectSortByType

type ProjectSource

type ProjectSource struct {

	// 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. The status of a build triggered by
	// a webhook is always reported to your source provider.
	ReportBuildStatus *bool

	// 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 AWS 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
	// (https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage).
	Buildspec *string

	// Information about the location of the source code to be built. Valid values
	// include:
	//
	//     * For source code settings that are specified in the source action
	// of a pipeline in AWS CodePipeline, location should not be specified. If it is
	// specified, AWS CodePipeline ignores it. This is because AWS CodePipeline uses
	// the settings in a pipeline's source action instead of this value.
	//
	//     * For
	// source code in an AWS CodeCommit repository, the HTTPS clone URL to the
	// repository that contains the source code and the buildspec file (for example,
	// https://git-codecommit.region-ID.amazonaws.com/v1/repos/repo-name ).
	//
	//     * For
	// source code in an Amazon Simple Storage Service (Amazon S3) input bucket, one of
	// the following.
	//
	//         * The path to the ZIP file that contains the source code
	// (for example,  bucket-name/path/to/object-name.zip).
	//
	//         * The path to the
	// folder that contains the source code (for example,
	// bucket-name/path/to/source-code/folder/).
	//
	//     * For source code in a GitHub
	// repository, the HTTPS clone URL to the repository that contains the source and
	// the buildspec file. You must connect your AWS account to your GitHub account.
	// Use the AWS 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 AWS 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 AWS CodeBuild
	// console.) To instruct AWS CodeBuild to use this connection, in the source
	// object, set the auth object's type value to OAUTH.
	//
	//     * 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 AWS account to your
	// Bitbucket account. Use the AWS 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 AWS CodeBuild console.) To instruct AWS
	// CodeBuild to use this connection, in the source object, set the auth object's
	// type value to OAUTH.
	Location *string

	// Information about the authorization settings for AWS CodeBuild to access the
	// source code to be built. This information is for the AWS CodeBuild console's use
	// only. Your code should not get or set this information directly.
	Auth *SourceAuth

	// Enable this flag to ignore SSL warnings while connecting to the project source
	// code.
	InsecureSsl *bool

	// Information about the Git submodules configuration for the build project.
	GitSubmodulesConfig *GitSubmodulesConfig

	// 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.
	BuildStatusConfig *BuildStatusConfig

	// An identifier for this project source.
	SourceIdentifier *string

	// Information about the Git clone depth for the build project.
	GitCloneDepth *int32

	// 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 AWS CodeCommit repository.
	//
	//     *
	// CODEPIPELINE: The source code settings are specified in the source action of a
	// pipeline in AWS CodePipeline.
	//
	//     * GITHUB: The source code is in a GitHub 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 Simple
	// Storage Service (Amazon S3) input bucket.
	//
	// This member is required.
	Type SourceType
}

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

type ProjectSourceVersion

type ProjectSourceVersion struct {

	// The source version for the corresponding source identifier. If specified, must
	// be one of:
	//
	//     * For AWS 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 Simple Storage Service (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
	// (https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html)
	// in the AWS CodeBuild User Guide.
	//
	// This member is required.
	SourceVersion *string

	// An identifier for a source in the build project.
	//
	// This member is required.
	SourceIdentifier *string
}

A source identifier and its corresponding version.

type RegistryCredential

type RegistryCredential struct {

	// The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets
	// Manager. The credential can use the name of the credentials only if they exist
	// in your current AWS Region.
	//
	// This member is required.
	Credential *string

	// The service that created the credentials to access a private Docker registry.
	// The valid value, SECRETS_MANAGER, is for AWS Secrets Manager.
	//
	// This member is required.
	CredentialProvider CredentialProviderType
}

Information about credentials that provide access to a private Docker registry. When this is set:

  • imagePullCredentialsType must be set to SERVICE_ROLE.

* images cannot be curated or an Amazon ECR image.

For more information, see Private Registry with AWS Secrets Manager Sample for AWS CodeBuild (https://docs.aws.amazon.com/codebuild/latest/userguide/sample-private-registry.html).

type Report

type Report struct {

	// A TestReportSummary object that contains information about this test report.
	TestSummary *TestReportSummary

	// The status of this report.
	Status ReportStatusType

	// The type of the report that was run. CODE_COVERAGE A code coverage report. TEST
	// A test report.
	Type ReportType

	// The ARN of the build run that generated this report.
	ExecutionId *string

	// 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.
	Truncated *bool

	// The ARN of the report run.
	Arn *string

	// The ARN of the report group associated with this report.
	ReportGroupArn *string

	// The date and time this report run occurred.
	Created *time.Time

	// A CodeCoverageReportSummary object that contains a code coverage summary for
	// this report.
	CodeCoverageSummary *CodeCoverageReportSummary

	// The name of the report that was run.
	Name *string

	// 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.
	Expired *time.Time

	// Information about where the raw data used to generate this report was exported.
	ExportConfig *ReportExportConfig
}

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.

type ReportCodeCoverageSortByType

type ReportCodeCoverageSortByType string
const (
	ReportCodeCoverageSortByTypeLine_coverage_percentage ReportCodeCoverageSortByType = "LINE_COVERAGE_PERCENTAGE"
	ReportCodeCoverageSortByTypeFile_path                ReportCodeCoverageSortByType = "FILE_PATH"
)

Enum values for ReportCodeCoverageSortByType

type ReportExportConfig

type ReportExportConfig struct {

	// 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.
	ExportConfigType ReportExportConfigType

	// A S3ReportExportConfig object that contains information about the S3 bucket
	// where the run of a report is exported.
	S3Destination *S3ReportExportConfig
}

Information about the location where the run of a report is exported.

type ReportExportConfigType

type ReportExportConfigType string
const (
	ReportExportConfigTypeS3        ReportExportConfigType = "S3"
	ReportExportConfigTypeNo_export ReportExportConfigType = "NO_EXPORT"
)

Enum values for ReportExportConfigType

type ReportFilter

type ReportFilter struct {

	// The status used to filter reports. You can filter using one status only.
	Status ReportStatusType
}

A filter used to return reports with the status specified by the input status parameter.

type ReportGroup

type ReportGroup struct {

	// The type of the ReportGroup. The one valid value is TEST.
	Type ReportType

	// A list of tag key and value pairs associated with this report group. These tags
	// are available for use by AWS services that support AWS CodeBuild report group
	// tags.
	Tags []*Tag

	// The date and time this ReportGroup was created.
	Created *time.Time

	// The ARN of a ReportGroup.
	Arn *string

	// The date and time this ReportGroup was last modified.
	LastModified *time.Time

	// The name of a ReportGroup.
	Name *string

	// Information about the destination where the raw data of this ReportGroup is
	// exported.
	ExportConfig *ReportExportConfig
}

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.

type ReportGroupSortByType

type ReportGroupSortByType string
const (
	ReportGroupSortByTypeName               ReportGroupSortByType = "NAME"
	ReportGroupSortByTypeCreated_time       ReportGroupSortByType = "CREATED_TIME"
	ReportGroupSortByTypeLast_modified_time ReportGroupSortByType = "LAST_MODIFIED_TIME"
)

Enum values for ReportGroupSortByType

type ReportPackagingType

type ReportPackagingType string
const (
	ReportPackagingTypeZip  ReportPackagingType = "ZIP"
	ReportPackagingTypeNone ReportPackagingType = "NONE"
)

Enum values for ReportPackagingType

type ReportStatusType

type ReportStatusType string
const (
	ReportStatusTypeGenerating ReportStatusType = "GENERATING"
	ReportStatusTypeSucceeded  ReportStatusType = "SUCCEEDED"
	ReportStatusTypeFailed     ReportStatusType = "FAILED"
	ReportStatusTypeIncomplete ReportStatusType = "INCOMPLETE"
	ReportStatusTypeDeleting   ReportStatusType = "DELETING"
)

Enum values for ReportStatusType

type ReportType

type ReportType string
const (
	ReportTypeTest          ReportType = "TEST"
	ReportTypeCode_coverage ReportType = "CODE_COVERAGE"
)

Enum values for ReportType

type ResolvedArtifact

type ResolvedArtifact struct {

	// The identifier of the artifact.
	Identifier *string

	// The location of the artifact.
	Location *string

	// Specifies the type of artifact.
	Type ArtifactsType
}

Represents a resolved build artifact. A resolve artifact is an artifact that is built and deployed to the destination, such as Amazon Simple Storage Service (Amazon S3).

type ResourceAlreadyExistsException

type ResourceAlreadyExistsException struct {
	Message *string
}

The specified AWS resource cannot be created, because an AWS resource with the same settings already exists.

func (*ResourceAlreadyExistsException) Error

func (*ResourceAlreadyExistsException) ErrorCode

func (e *ResourceAlreadyExistsException) ErrorCode() string

func (*ResourceAlreadyExistsException) ErrorFault

func (*ResourceAlreadyExistsException) ErrorMessage

func (e *ResourceAlreadyExistsException) ErrorMessage() string

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string
}

The specified AWS resource cannot be found.

func (*ResourceNotFoundException) Error

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault

func (*ResourceNotFoundException) ErrorMessage

func (e *ResourceNotFoundException) ErrorMessage() string

type RetryBuildBatchType

type RetryBuildBatchType string
const (
	RetryBuildBatchTypeRetry_all_builds    RetryBuildBatchType = "RETRY_ALL_BUILDS"
	RetryBuildBatchTypeRetry_failed_builds RetryBuildBatchType = "RETRY_FAILED_BUILDS"
)

Enum values for RetryBuildBatchType

type S3LogsConfig

type S3LogsConfig struct {

	// Set to true if you do not want your S3 build log output encrypted. By default S3
	// build logs are encrypted.
	EncryptionDisabled *bool

	// 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.
	//
	// This member is required.
	Status LogsConfigStatusType

	// 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.
	Location *string
}

Information about S3 logs for a build project.

type S3ReportExportConfig

type S3ReportExportConfig struct {

	// The type of build output artifact to create. Valid values include:
	//
	//     * NONE:
	// AWS CodeBuild creates the raw data in the output bucket. This is the default if
	// packaging is not specified.
	//
	//     * ZIP: AWS CodeBuild creates a ZIP file with
	// the raw data in the output bucket.
	Packaging ReportPackagingType

	// The encryption key for the report's encrypted raw data.
	EncryptionKey *string

	// The name of the S3 bucket where the raw data of a report are exported.
	Bucket *string

	// A boolean value that specifies if the results of a report are encrypted.
	EncryptionDisabled *bool

	// The path to the exported report's raw data results.
	Path *string
}

Information about the S3 bucket where the raw data of a report are exported.

type ServerType

type ServerType string
const (
	ServerTypeGithub            ServerType = "GITHUB"
	ServerTypeBitbucket         ServerType = "BITBUCKET"
	ServerTypeGithub_enterprise ServerType = "GITHUB_ENTERPRISE"
)

Enum values for ServerType

type SharedResourceSortByType

type SharedResourceSortByType string
const (
	SharedResourceSortByTypeArn           SharedResourceSortByType = "ARN"
	SharedResourceSortByTypeModified_time SharedResourceSortByType = "MODIFIED_TIME"
)

Enum values for SharedResourceSortByType

type SortOrderType

type SortOrderType string
const (
	SortOrderTypeAscending  SortOrderType = "ASCENDING"
	SortOrderTypeDescending SortOrderType = "DESCENDING"
)

Enum values for SortOrderType

type SourceAuth

type SourceAuth struct {

	// The resource value that applies to the specified authorization type.
	Resource *string

	// 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.
	//
	// This member is required.
	Type SourceAuthType
}

Information about the authorization settings for AWS CodeBuild to access the source code to be built. This information is for the AWS CodeBuild console's use only. Your code should not get or set this information directly.

type SourceAuthType

type SourceAuthType string
const (
	SourceAuthTypeOauth SourceAuthType = "OAUTH"
)

Enum values for SourceAuthType

type SourceCredentialsInfo

type SourceCredentialsInfo struct {

	// The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, or
	// BITBUCKET.
	ServerType ServerType

	// The Amazon Resource Name (ARN) of the token.
	Arn *string

	// The type of authentication used by the credentials. Valid options are OAUTH,
	// BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.
	AuthType AuthType
}

Information about the credentials for a GitHub, GitHub Enterprise, or Bitbucket repository.

type SourceType

type SourceType string
const (
	SourceTypeCodecommit        SourceType = "CODECOMMIT"
	SourceTypeCodepipeline      SourceType = "CODEPIPELINE"
	SourceTypeGithub            SourceType = "GITHUB"
	SourceTypeS3                SourceType = "S3"
	SourceTypeBitbucket         SourceType = "BITBUCKET"
	SourceTypeGithub_enterprise SourceType = "GITHUB_ENTERPRISE"
	SourceTypeNo_source         SourceType = "NO_SOURCE"
)

Enum values for SourceType

type StatusType

type StatusType string
const (
	StatusTypeSucceeded   StatusType = "SUCCEEDED"
	StatusTypeFailed      StatusType = "FAILED"
	StatusTypeFault       StatusType = "FAULT"
	StatusTypeTimed_out   StatusType = "TIMED_OUT"
	StatusTypeIn_progress StatusType = "IN_PROGRESS"
	StatusTypeStopped     StatusType = "STOPPED"
)

Enum values for StatusType

type Tag

type Tag struct {

	// The tag's key.
	Key *string

	// The tag's value.
	Value *string
}

A tag, consisting of a key and a value. This tag is available for use by AWS services that support tags in AWS CodeBuild.

type TestCase

type TestCase struct {

	// The ARN of the report to which the test case belongs.
	ReportArn *string

	// The name of the test case.
	Name *string

	// The status returned by the test case after it was run. Valid statuses are
	// SUCCEEDED, FAILED, ERROR, SKIPPED, and UNKNOWN.
	Status *string

	// The number of nanoseconds it took to run this test case.
	DurationInNanoSeconds *int64

	// A message associated with a test case. For example, an error message or stack
	// trace.
	Message *string

	// 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.
	Prefix *string

	// The path to the raw data file that contains the test result.
	TestRawDataPath *string

	// 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.
	Expired *time.Time
}

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.

type TestCaseFilter

type TestCaseFilter struct {

	// The status used to filter test cases. Valid statuses are SUCCEEDED, FAILED,
	// ERROR, SKIPPED, and UNKNOWN. A TestCaseFilter can have one status.
	Status *string
}

A filter used to return specific types of test cases.

type TestReportSummary

type TestReportSummary struct {

	// The number of nanoseconds it took to run all of the test cases in this report.
	//
	// This member is required.
	DurationInNanoSeconds *int64

	// A map that contains the number of each type of status returned by the test
	// results in this TestReportSummary.
	//
	// This member is required.
	StatusCounts map[string]*int32

	// The number of test cases in this TestReportSummary. The total includes truncated
	// test cases.
	//
	// This member is required.
	Total *int32
}

Information about a test report.

type VpcConfig

type VpcConfig struct {

	// A list of one or more subnet IDs in your Amazon VPC.
	Subnets []*string

	// A list of one or more security groups IDs in your Amazon VPC.
	SecurityGroupIds []*string

	// The ID of the Amazon VPC.
	VpcId *string
}

Information about the VPC configuration that AWS CodeBuild accesses.

type Webhook

type Webhook struct {

	// A timestamp that indicates the last time a repository's secret token was
	// modified.
	LastModifiedSecret *time.Time

	// The secret token of the associated repository. A Bitbucket webhook does not
	// support secret.
	Secret *string

	// The URL to the webhook.
	Url *string

	// 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.
	FilterGroups [][]*WebhookFilter

	// The AWS CodeBuild endpoint where webhook events are sent.
	PayloadUrl *string

	// 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.
	BranchFilter *string

	// Specifies the type of build this webhook will trigger.
	BuildType WebhookBuildType
}

Information about a webhook that connects repository events to a build project in AWS CodeBuild.

type WebhookBuildType

type WebhookBuildType string
const (
	WebhookBuildTypeBuild       WebhookBuildType = "BUILD"
	WebhookBuildTypeBuild_batch WebhookBuildType = "BUILD_BATCH"
)

Enum values for WebhookBuildType

type WebhookFilter

type WebhookFilter struct {

	// 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.
	//
	// This member is required.
	Pattern *string

	// 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 pattern matches one of five
	// event types: PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED,
	// PULL_REQUEST_REOPENED, and PULL_REQUEST_MERGED. The EVENT patterns are specified
	// as a comma-separated string. For example, PUSH, PULL_REQUEST_CREATED,
	// PULL_REQUEST_UPDATED filters all push, pull request created, and pull request
	// updated events. The PULL_REQUEST_REOPENED works 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-name and refs/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.
	//
	// This member is required.
	Type WebhookFilterType

	// 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.
	ExcludeMatchedPattern *bool
}

A filter used to determine which webhooks trigger a build.

type WebhookFilterType

type WebhookFilterType string
const (
	WebhookFilterTypeEvent            WebhookFilterType = "EVENT"
	WebhookFilterTypeBase_ref         WebhookFilterType = "BASE_REF"
	WebhookFilterTypeHead_ref         WebhookFilterType = "HEAD_REF"
	WebhookFilterTypeActor_account_id WebhookFilterType = "ACTOR_ACCOUNT_ID"
	WebhookFilterTypeFile_path        WebhookFilterType = "FILE_PATH"
	WebhookFilterTypeCommit_message   WebhookFilterType = "COMMIT_MESSAGE"
)

Enum values for WebhookFilterType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL