UpdateProjectInput

public struct UpdateProjectInput : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Information to be changed about the build output artifacts for the build project.

    Declaration

    Swift

    public let artifacts: ProjectArtifacts?
  • Set this to true to generate a publicly accessible URL for your project’s build badge.

    Declaration

    Swift

    public let badgeEnabled: Bool?
  • Undocumented

    Declaration

    Swift

    public let buildBatchConfig: ProjectBuildBatchConfig?
  • Stores recently used information so that it can be quickly accessed at a later time.

    Declaration

    Swift

    public let cache: ProjectCache?
  • A new or replacement description of the build project.

    Declaration

    Swift

    public let description: 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>).

    Declaration

    Swift

    public let encryptionKey: String?
  • Information to be changed about the build environment for the build project.

    Declaration

    Swift

    public let environment: ProjectEnvironment?
  • 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.

    Declaration

    Swift

    public let fileSystemLocations: [ProjectFileSystemLocation]?
  • Information about logs for the build project. A project can create logs in Amazon CloudWatch Logs, logs in an S3 bucket, or both.

    Declaration

    Swift

    public let logsConfig: LogsConfig?
  • The name of the build project. You cannot change a build project’s name.

    Declaration

    Swift

    public let name: String
  • The number of minutes a build is allowed to be queued before it times out.

    Declaration

    Swift

    public let queuedTimeoutInMinutes: Int?
  • An array of ProjectSource objects.

    Declaration

    Swift

    public let secondaryArtifacts: [ProjectArtifacts]?
  • An array of ProjectSource objects.

    Declaration

    Swift

    public let secondarySources: [ProjectSource]?
  • An array of ProjectSourceVersion objects. If secondarySourceVersions is specified at the build level, then they take over these secondarySourceVersions (at the project level).

    Declaration

    Swift

    public let secondarySourceVersions: [ProjectSourceVersion]?
  • The replacement 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.

    Declaration

    Swift

    public let serviceRole: String?
  • Information to be changed about the build input source code for the build project.

    Declaration

    Swift

    public let source: ProjectSource?
  • 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 in the AWS CodeBuild User Guide.

    Declaration

    Swift

    public let sourceVersion: String?
  • An updated 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.

    Declaration

    Swift

    public let tags: [Tag]?
  • The replacement value 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.

    Declaration

    Swift

    public let timeoutInMinutes: Int?
  • VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.

    Declaration

    Swift

    public let vpcConfig: VpcConfig?
  • Undocumented

    Declaration

    Swift

    public init(artifacts: ProjectArtifacts? = nil, badgeEnabled: Bool? = nil, buildBatchConfig: ProjectBuildBatchConfig? = nil, cache: ProjectCache? = nil, description: String? = nil, encryptionKey: String? = nil, environment: ProjectEnvironment? = nil, fileSystemLocations: [ProjectFileSystemLocation]? = nil, logsConfig: LogsConfig? = nil, name: String, queuedTimeoutInMinutes: Int? = nil, secondaryArtifacts: [ProjectArtifacts]? = nil, secondarySources: [ProjectSource]? = nil, secondarySourceVersions: [ProjectSourceVersion]? = nil, serviceRole: String? = nil, source: ProjectSource? = nil, sourceVersion: String? = nil, tags: [Tag]? = nil, timeoutInMinutes: Int? = nil, vpcConfig: VpcConfig? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws