BuildBatch
public struct BuildBatch : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The ARN of the batch build.
Declaration
Swift
public let arn: String?
-
A BuildArtifacts object the defines the build artifacts for this batch build.
Declaration
Swift
public let artifacts: BuildArtifacts?
-
Undocumented
Declaration
Swift
public let buildBatchConfig: ProjectBuildBatchConfig?
-
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.
Declaration
Swift
public let buildBatchNumber: Int64?
-
The status of the batch build.
Declaration
Swift
public let buildBatchStatus: StatusType?
-
An array of BuildGroup objects that define the build groups for the batch build.
Declaration
Swift
public let buildGroups: [BuildGroup]?
-
Specifies the maximum amount of time, in minutes, that the build in a batch must be completed in.
Declaration
Swift
public let buildTimeoutInMinutes: Int?
-
Undocumented
Declaration
Swift
public let cache: ProjectCache?
-
Indicates if the batch build is complete.
Declaration
Swift
public let complete: Bool?
-
The current phase of the batch build.
Declaration
Swift
public let 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>).
Declaration
Swift
public let encryptionKey: String?
-
The date and time that the batch build ended.
Declaration
Swift
public let endTime: TimeStamp?
-
Undocumented
Declaration
Swift
public let environment: ProjectEnvironment?
-
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.
Declaration
Swift
public let fileSystemLocations: [ProjectFileSystemLocation]?
-
The identifier of the batch build.
Declaration
Swift
public let id: String?
-
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.
Declaration
Swift
public let initiator: String?
-
Undocumented
Declaration
Swift
public let logConfig: LogsConfig?
-
An array of BuildBatchPhase objects the specify the phases of the batch build.
Declaration
Swift
public let phases: [BuildBatchPhase]?
-
The name of the batch build project.
Declaration
Swift
public let projectName: String?
-
Specifies the amount of time, in minutes, that the batch build is allowed to be queued before it times out.
Declaration
Swift
public let queuedTimeoutInMinutes: Int?
-
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.
Declaration
Swift
public let resolvedSourceVersion: String?
-
An array of BuildArtifacts objects the define the build artifacts for this batch build.
Declaration
Swift
public let secondaryArtifacts: [BuildArtifacts]?
-
An array of ProjectSource objects that define the sources for the batch build.
Declaration
Swift
public let secondarySources: [ProjectSource]?
-
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.
Declaration
Swift
public let secondarySourceVersions: [ProjectSourceVersion]?
-
The name of a service role used for builds in the batch.
Declaration
Swift
public let serviceRole: String?
-
Undocumented
Declaration
Swift
public let source: ProjectSource?
-
The identifier of the version of the source code to be built.
Declaration
Swift
public let sourceVersion: String?
-
The date and time that the batch build started.
Declaration
Swift
public let startTime: TimeStamp?
-
Undocumented
Declaration
Swift
public let vpcConfig: VpcConfig?
-
init(arn:artifacts:buildBatchConfig:buildBatchNumber:buildBatchStatus:buildGroups:buildTimeoutInMinutes:cache:complete:currentPhase:encryptionKey:endTime:environment:fileSystemLocations:id:initiator:logConfig:phases:projectName:queuedTimeoutInMinutes:resolvedSourceVersion:secondaryArtifacts:secondarySources:secondarySourceVersions:serviceRole:source:sourceVersion:startTime:vpcConfig:)
Undocumented
Declaration
Swift
public init(arn: String? = nil, artifacts: BuildArtifacts? = nil, buildBatchConfig: ProjectBuildBatchConfig? = nil, buildBatchNumber: Int64? = nil, buildBatchStatus: StatusType? = nil, buildGroups: [BuildGroup]? = nil, buildTimeoutInMinutes: Int? = nil, cache: ProjectCache? = nil, complete: Bool? = nil, currentPhase: String? = nil, encryptionKey: String? = nil, endTime: TimeStamp? = nil, environment: ProjectEnvironment? = nil, fileSystemLocations: [ProjectFileSystemLocation]? = nil, id: String? = nil, initiator: String? = nil, logConfig: LogsConfig? = nil, phases: [BuildBatchPhase]? = nil, projectName: String? = nil, queuedTimeoutInMinutes: Int? = nil, resolvedSourceVersion: String? = nil, secondaryArtifacts: [BuildArtifacts]? = nil, secondarySources: [ProjectSource]? = nil, secondarySourceVersions: [ProjectSourceVersion]? = nil, serviceRole: String? = nil, source: ProjectSource? = nil, sourceVersion: String? = nil, startTime: TimeStamp? = nil, vpcConfig: VpcConfig? = nil)