ProjectArgs constructor
- required Input<
ProjectArtifacts> artifacts, - Input<
int?> ? autoRetryLimit, - Input<
bool?> ? badgeEnabled, - Input<
ProjectBuildBatchConfig?> ? buildBatchConfig, - Input<
int?> ? buildTimeout, - Input<
ProjectCache?> ? cache, - Input<
int?> ? concurrentBuildLimit, - Input<
String?> ? description, - Input<
String?> ? encryptionKey, - required Input<
ProjectEnvironment> environment, - Input<
List< ? fileSystemLocations,ProjectFileSystemLocation> ?> - Input<
ProjectLogsConfig?> ? logsConfig, - Input<
String?> ? name, - Input<
String?> ? projectVisibility, - Input<
int?> ? queuedTimeout, - Input<
String?> ? region, - Input<
String?> ? resourceAccessRole, - Input<
List< ? secondaryArtifacts,ProjectSecondaryArtifact> ?> - Input<
List< ? secondarySourceVersions,ProjectSecondarySourceVersion> ?> - Input<
List< ? secondarySources,ProjectSecondarySource> ?> - required Input<
String> serviceRole, - required Input<
ProjectSource> source, - Input<
String?> ? sourceVersion, - Input<
Map< ? tags,String, String> ?> - Input<
ProjectVpcConfig?> ? vpcConfig,
Creates a new ProjectArgs.
artifacts Configuration block. Detailed below.
autoRetryLimit Specify a maximum number of additional automatic retries after a failed build.
badgeEnabled Generates a publicly-accessible URL for the projects build badge. Available as
buildBatchConfig Defines the batch build options for the project.
buildTimeout Number of minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait until timing out
cache Configuration block. Detailed below.
concurrentBuildLimit Specify a maximum number of concurrent builds for the project. The value
description Short description of the project.
encryptionKey KMS customer master key (CMK) to be used for encrypting
environment Configuration block. Detailed below.
fileSystemLocations A set of file system locations to mount inside the build. File system locations
logsConfig Configuration block. Detailed below.
name Project's name.
projectVisibility Specifies the visibility of the project's builds. Possible values are: PUBLIC_READ
queuedTimeout Number of minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
resourceAccessRole The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and
secondaryArtifacts Configuration block. Detailed below.
secondarySourceVersions Configuration block. Detailed below.
secondarySources Configuration block. Detailed below.
serviceRole ARN of the AWS Identity and Access Management (IAM) role that
source Configuration block. Detailed below.
sourceVersion Version of the build input to be built for this project. If not specified, the latest
tags Map of tags to assign to the resource. If configured with a provider
vpcConfig Configuration block. Detailed below.
Implementation
const ProjectArgs({
required this.artifacts,
this.autoRetryLimit,
this.badgeEnabled,
this.buildBatchConfig,
this.buildTimeout,
this.cache,
this.concurrentBuildLimit,
this.description,
this.encryptionKey,
required this.environment,
this.fileSystemLocations,
this.logsConfig,
this.name,
this.projectVisibility,
this.queuedTimeout,
this.region,
this.resourceAccessRole,
this.secondaryArtifacts,
this.secondarySourceVersions,
this.secondarySources,
required this.serviceRole,
required this.source,
this.sourceVersion,
this.tags,
this.vpcConfig,
});