ProjectState class
Input properties used for looking up and filtering Project resources.
Constructors
-
ProjectState({Input<
String?> ? arn, Input<ProjectArtifacts?> ? artifacts, Input<int?> ? autoRetryLimit, Input<bool?> ? badgeEnabled, Input<String?> ? badgeUrl, Input<ProjectBuildBatchConfig?> ? buildBatchConfig, Input<int?> ? buildTimeout, Input<ProjectCache?> ? cache, Input<int?> ? concurrentBuildLimit, Input<String?> ? description, Input<String?> ? encryptionKey, Input<ProjectEnvironment?> ? environment, Input<List< ? fileSystemLocations, Input<ProjectFileSystemLocation> ?>ProjectLogsConfig?> ? logsConfig, Input<String?> ? name, Input<String?> ? projectVisibility, Input<String?> ? publicProjectAlias, Input<int?> ? queuedTimeout, Input<String?> ? region, Input<String?> ? resourceAccessRole, Input<List< ? secondaryArtifacts, Input<ProjectSecondaryArtifact> ?>List< ? secondarySourceVersions, Input<ProjectSecondarySourceVersion> ?>List< ? secondarySources, Input<ProjectSecondarySource> ?>String?> ? serviceRole, Input<ProjectSource?> ? source, Input<String?> ? sourceVersion, Input<Map< ? tags, Input<String, String> ?>Map< ? tagsAll, Input<String, String> ?>ProjectVpcConfig?> ? vpcConfig}) -
Creates a new ProjectState.
arnARN of the CodeBuild project.artifactsConfiguration block. Detailed below.autoRetryLimitSpecify a maximum number of additional automatic retries after a failed build.badgeEnabledGenerates a publicly-accessible URL for the projects build badge. Available asbadgeUrlURL of the build badge whenbadgeEnabledis enabled.buildBatchConfigDefines the batch build options for the project.buildTimeoutNumber of minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait until timing outcacheConfiguration block. Detailed below.concurrentBuildLimitSpecify a maximum number of concurrent builds for the project. The valuedescriptionShort description of the project.encryptionKeyKMS customer master key (CMK) to be used for encryptingenvironmentConfiguration block. Detailed below.fileSystemLocationsA set of file system locations to mount inside the build. File system locationslogsConfigConfiguration block. Detailed below.nameProject's name.projectVisibilitySpecifies the visibility of the project's builds. Possible values are:PUBLIC_READpublicProjectAliasThe project identifier used with the public build APIs.queuedTimeoutNumber of minutes, from 5 to 480 (8 hours), a build is allowed to be queued before itregionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.resourceAccessRoleThe ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs andsecondaryArtifactsConfiguration block. Detailed below.secondarySourceVersionsConfiguration block. Detailed below.secondarySourcesConfiguration block. Detailed below.serviceRoleARN of the AWS Identity and Access Management (IAM) role thatsourceConfiguration block. Detailed below.sourceVersionVersion of the build input to be built for this project. If not specified, the latesttagsMap of tags to assign to the resource. If configured with a providertagsAllA map of tags assigned to the resource, including those inherited from the providervpcConfigConfiguration block. Detailed below.const -
ProjectState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
arn
→ Input<
String?> ? -
ARN of the CodeBuild project.
final
-
artifacts
→ Input<
ProjectArtifacts?> ? -
Configuration block. Detailed below.
final
-
autoRetryLimit
→ Input<
int?> ? -
Specify a maximum number of additional automatic retries after a failed build.
The default is 0.
final
-
badgeEnabled
→ Input<
bool?> ? -
Generates a publicly-accessible URL for the projects build badge. Available as
badgeUrlattribute when enabled.final -
badgeUrl
→ Input<
String?> ? -
URL of the build badge when
badgeEnabledis enabled.final -
buildBatchConfig
→ Input<
ProjectBuildBatchConfig?> ? -
Defines the batch build options for the project.
final
-
buildTimeout
→ Input<
int?> ? -
Number of minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait until timing out
any related build that does not get marked as completed. The default is 60 minutes. The
buildTimeoutproperty is not available on theLambdacompute type.final -
cache
→ Input<
ProjectCache?> ? -
Configuration block. Detailed below.
final
-
concurrentBuildLimit
→ Input<
int?> ? -
Specify a maximum number of concurrent builds for the project. The value
specified must be greater than 0 and less than the account concurrent running builds limit.
final
-
description
→ Input<
String?> ? -
Short description of the project.
final
-
encryptionKey
→ Input<
String?> ? -
KMS customer master key (CMK) to be used for encrypting
the build project's build output artifacts.
final
-
environment
→ Input<
ProjectEnvironment?> ? -
Configuration block. Detailed below.
final
-
fileSystemLocations
→ Input<
List< ?ProjectFileSystemLocation> ?> -
A set of file system locations to mount inside the build. File system locations
are documented below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
logsConfig
→ Input<
ProjectLogsConfig?> ? -
Configuration block. Detailed below.
final
-
name
→ Input<
String?> ? -
Project's name.
final
-
projectVisibility
→ Input<
String?> ? -
Specifies the visibility of the project's builds. Possible values are:
PUBLIC_READandPRIVATE. Default value isPRIVATE.final -
publicProjectAlias
→ Input<
String?> ? -
The project identifier used with the public build APIs.
final
-
queuedTimeout
→ Input<
int?> ? -
Number of minutes, from 5 to 480 (8 hours), a build is allowed to be queued before it
times out. The default is 8 hours. The
queuedTimeoutproperty is not available on theLambdacompute type.final -
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
-
resourceAccessRole
→ Input<
String?> ? -
The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and
Amazon S3 artifacts for the project's builds in order to display them publicly. Only applicable if
projectVisibilityisPUBLIC_READ.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secondaryArtifacts
→ Input<
List< ?ProjectSecondaryArtifact> ?> -
Configuration block. Detailed below.
final
-
secondarySources
→ Input<
List< ?ProjectSecondarySource> ?> -
Configuration block. Detailed below.
final
-
secondarySourceVersions
→ Input<
List< ?ProjectSecondarySourceVersion> ?> -
Configuration block. Detailed below.
final
-
serviceRole
→ Input<
String?> ? -
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.
final
-
source
→ Input<
ProjectSource?> ? -
Configuration block. Detailed below.
final
-
sourceVersion
→ Input<
String?> ? -
Version of the build input to be built for this project. If not specified, the latest
version is used.
final
-
Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.final -
vpcConfig
→ Input<
ProjectVpcConfig?> ? -
Configuration block. Detailed below.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited