Class CfnProject
- All Implemented Interfaces:
IInspectable,ITaggable,IProjectRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
AWS::CodeBuild::Project resource configures how AWS CodeBuild builds your source code.
For example, it tells CodeBuild where to get the source code and which build environment to use.
To unset or remove a project value via CFN, explicitly provide the attribute with value as empty input.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codebuild.*;
CfnProject cfnProject = CfnProject.Builder.create(this, "MyCfnProject")
.artifacts(ArtifactsProperty.builder()
.type("type")
// the properties below are optional
.artifactIdentifier("artifactIdentifier")
.encryptionDisabled(false)
.location("location")
.name("name")
.namespaceType("namespaceType")
.overrideArtifactName(false)
.packaging("packaging")
.path("path")
.build())
.environment(EnvironmentProperty.builder()
.computeType("computeType")
.image("image")
.type("type")
// the properties below are optional
.certificate("certificate")
.dockerServer(DockerServerProperty.builder()
.computeType("computeType")
// the properties below are optional
.securityGroupIds(List.of("securityGroupIds"))
.build())
.environmentVariables(List.of(EnvironmentVariableProperty.builder()
.name("name")
.value("value")
// the properties below are optional
.type("type")
.build()))
.fleet(ProjectFleetProperty.builder()
.fleetArn("fleetArn")
.build())
.imagePullCredentialsType("imagePullCredentialsType")
.privilegedMode(false)
.registryCredential(RegistryCredentialProperty.builder()
.credential("credential")
.credentialProvider("credentialProvider")
.build())
.build())
.serviceRole("serviceRole")
.source(SourceProperty.builder()
.type("type")
// the properties below are optional
.auth(SourceAuthProperty.builder()
.type("type")
// the properties below are optional
.resource("resource")
.build())
.buildSpec("buildSpec")
.buildStatusConfig(BuildStatusConfigProperty.builder()
.context("context")
.targetUrl("targetUrl")
.build())
.gitCloneDepth(123)
.gitSubmodulesConfig(GitSubmodulesConfigProperty.builder()
.fetchSubmodules(false)
.build())
.insecureSsl(false)
.location("location")
.reportBuildStatus(false)
.sourceIdentifier("sourceIdentifier")
.build())
// the properties below are optional
.autoRetryLimit(123)
.badgeEnabled(false)
.buildBatchConfig(ProjectBuildBatchConfigProperty.builder()
.batchReportMode("batchReportMode")
.combineArtifacts(false)
.restrictions(BatchRestrictionsProperty.builder()
.computeTypesAllowed(List.of("computeTypesAllowed"))
.maximumBuildsAllowed(123)
.build())
.serviceRole("serviceRole")
.timeoutInMins(123)
.build())
.cache(ProjectCacheProperty.builder()
.type("type")
// the properties below are optional
.cacheNamespace("cacheNamespace")
.location("location")
.modes(List.of("modes"))
.build())
.concurrentBuildLimit(123)
.description("description")
.encryptionKey("encryptionKey")
.fileSystemLocations(List.of(ProjectFileSystemLocationProperty.builder()
.identifier("identifier")
.location("location")
.mountPoint("mountPoint")
.type("type")
// the properties below are optional
.mountOptions("mountOptions")
.build()))
.logsConfig(LogsConfigProperty.builder()
.cloudWatchLogs(CloudWatchLogsConfigProperty.builder()
.status("status")
// the properties below are optional
.groupName("groupName")
.streamName("streamName")
.build())
.s3Logs(S3LogsConfigProperty.builder()
.status("status")
// the properties below are optional
.encryptionDisabled(false)
.location("location")
.build())
.build())
.name("name")
.queuedTimeoutInMinutes(123)
.resourceAccessRole("resourceAccessRole")
.secondaryArtifacts(List.of(ArtifactsProperty.builder()
.type("type")
// the properties below are optional
.artifactIdentifier("artifactIdentifier")
.encryptionDisabled(false)
.location("location")
.name("name")
.namespaceType("namespaceType")
.overrideArtifactName(false)
.packaging("packaging")
.path("path")
.build()))
.secondarySources(List.of(SourceProperty.builder()
.type("type")
// the properties below are optional
.auth(SourceAuthProperty.builder()
.type("type")
// the properties below are optional
.resource("resource")
.build())
.buildSpec("buildSpec")
.buildStatusConfig(BuildStatusConfigProperty.builder()
.context("context")
.targetUrl("targetUrl")
.build())
.gitCloneDepth(123)
.gitSubmodulesConfig(GitSubmodulesConfigProperty.builder()
.fetchSubmodules(false)
.build())
.insecureSsl(false)
.location("location")
.reportBuildStatus(false)
.sourceIdentifier("sourceIdentifier")
.build()))
.secondarySourceVersions(List.of(ProjectSourceVersionProperty.builder()
.sourceIdentifier("sourceIdentifier")
// the properties below are optional
.sourceVersion("sourceVersion")
.build()))
.sourceVersion("sourceVersion")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.timeoutInMinutes(123)
.triggers(ProjectTriggersProperty.builder()
.buildType("buildType")
.filterGroups(List.of(List.of(WebhookFilterProperty.builder()
.pattern("pattern")
.type("type")
// the properties below are optional
.excludeMatchedPattern(false)
.build())))
.pullRequestBuildPolicy(PullRequestBuildPolicyProperty.builder()
.requiresCommentApproval("requiresCommentApproval")
// the properties below are optional
.approverRoles(List.of("approverRoles"))
.build())
.scopeConfiguration(ScopeConfigurationProperty.builder()
.name("name")
// the properties below are optional
.domain("domain")
.scope("scope")
.build())
.webhook(false)
.build())
.visibility("visibility")
.vpcConfig(VpcConfigProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnets(List.of("subnets"))
.vpcId("vpcId")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceArtifactsis a property of the AWS::CodeBuild::Project resource that specifies output settings for artifacts generated by an AWS CodeBuild build.static interfaceSpecifies restrictions for the batch build.static final classA fluent builder forCfnProject.static interfaceContains information that defines how the AWS CodeBuild build project reports the build status to the source provider.static interfaceCloudWatchLogsis a property of the AWS CodeBuild Project LogsConfig property type that specifies settings for CloudWatch logs generated by an AWS CodeBuild build.static interfaceExample:static interfaceEnvironmentis a property of the AWS::CodeBuild::Project resource that specifies the environment for an AWS CodeBuild project.static interfaceEnvironmentVariableis a property of the AWS CodeBuild Project Environment property type that specifies the name and value of an environment variable for an AWS CodeBuild project environment.static interfaceGitSubmodulesConfigis a property of the AWS CodeBuild Project Source property type that specifies information about the Git submodules configuration for the build project.static interfaceLogsConfigis a property of the AWS CodeBuild Project resource that specifies information about logs for a build project.static interfaceContains configuration information about a batch build project.static interfaceProjectCacheis a property of the AWS CodeBuild Project resource that specifies information about the cache for the build project.static interfaceInformation about a file system created by Amazon Elastic File System (EFS).static interfaceInformation about the compute fleet of the build project.static interfaceA source identifier and its corresponding version.static interfaceProjectTriggersis a property of the AWS CodeBuild Project resource that specifies webhooks that trigger an AWS CodeBuild build.static interfaceExample:static interfaceRegistryCredentialis a property of the AWS CodeBuild Project Environment property type that specifies information about credentials that provide access to a private Docker registry.static interfaceS3Logsis a property of the AWS CodeBuild Project LogsConfig property type that specifies settings for logs generated by an AWS CodeBuild build in an S3 bucket.static interfaceContains configuration information about the scope for a webhook.static interfaceSourceAuthis a property of the AWS CodeBuild Project Source property type that specifies authorization settings for AWS CodeBuild to access the source code to be built.static interfaceSourceis a property of the AWS::CodeBuild::Project resource that specifies the source code settings for the project, such as the source code's repository type and location.static interfaceVpcConfigis a property of the AWS::CodeBuild::Project resource that enable AWS CodeBuild to access resources in an Amazon VPC.static interfaceWebhookFilteris a structure of theFilterGroupsproperty on the AWS CodeBuild Project ProjectTriggers property type that specifies which webhooks trigger an AWS CodeBuild build.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.codebuild.IProjectRef
IProjectRef.Jsii$Default, IProjectRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnProject(software.amazon.jsii.JsiiObjectRef objRef) CfnProject(software.constructs.Construct scope, String id, CfnProjectProps props) -
Method Summary
Modifier and TypeMethodDescriptionArtifactsis a property of the AWS::CodeBuild::Project resource that specifies output settings for artifacts generated by an AWS CodeBuild build.The ARN of the AWS CodeBuild project, such asarn:aws:codebuild:us-west-2:123456789012:project/myProjectName.Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge.AProjectBuildBatchConfigobject that defines the batch build options for the project.getCache()Settings that AWS CodeBuild uses to store and reuse build dependencies.The maximum number of concurrent builds that are allowed for this project.A description that makes the build project easy to identify.The AWS Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts.The build environment settings for the project, such as the environment type or the environment variables to use for the build environment.An array ofProjectFileSystemLocationobjects for a CodeBuild build project.Information about logs for the build project.getName()The name of the build project.A reference to a Project resource.The number of minutes a build is allowed to be queued before it times out.The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds.A list ofArtifactsobjects.An array ofProjectSourceobjects.An array ofProjectSourceVersionobjects.The ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.The source code settings for the project, such as the source code's repository type and location.A version of the build input to be built for this project.getTags()Tag Manager which manages the tags for this resource.An arbitrary set of tags (key-value pairs) for the AWS CodeBuild project.How long, in minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed.For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.Specifies the visibility of the project's builds.VpcConfigspecifies settings that enable AWS CodeBuild to access resources in an Amazon VPC.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetArtifacts(IResolvable value) Artifactsis a property of the AWS::CodeBuild::Project resource that specifies output settings for artifacts generated by an AWS CodeBuild build.voidArtifactsis a property of the AWS::CodeBuild::Project resource that specifies output settings for artifacts generated by an AWS CodeBuild build.voidsetAutoRetryLimit(Number value) voidsetBadgeEnabled(Boolean value) Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge.voidsetBadgeEnabled(IResolvable value) Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge.voidsetBuildBatchConfig(IResolvable value) AProjectBuildBatchConfigobject that defines the batch build options for the project.voidAProjectBuildBatchConfigobject that defines the batch build options for the project.voidsetCache(IResolvable value) Settings that AWS CodeBuild uses to store and reuse build dependencies.voidSettings that AWS CodeBuild uses to store and reuse build dependencies.voidsetConcurrentBuildLimit(Number value) The maximum number of concurrent builds that are allowed for this project.voidsetDescription(String value) A description that makes the build project easy to identify.voidsetEncryptionKey(String value) The AWS Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts.voidsetEnvironment(IResolvable value) The build environment settings for the project, such as the environment type or the environment variables to use for the build environment.voidThe build environment settings for the project, such as the environment type or the environment variables to use for the build environment.voidsetFileSystemLocations(List<Object> value) An array ofProjectFileSystemLocationobjects for a CodeBuild build project.voidAn array ofProjectFileSystemLocationobjects for a CodeBuild build project.voidsetLogsConfig(IResolvable value) Information about logs for the build project.voidInformation about logs for the build project.voidThe name of the build project.voidsetQueuedTimeoutInMinutes(Number value) The number of minutes a build is allowed to be queued before it times out.voidsetResourceAccessRole(String value) The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds.voidsetSecondaryArtifacts(List<Object> value) A list ofArtifactsobjects.voidsetSecondaryArtifacts(IResolvable value) A list ofArtifactsobjects.voidsetSecondarySources(List<Object> value) An array ofProjectSourceobjects.voidsetSecondarySources(IResolvable value) An array ofProjectSourceobjects.voidsetSecondarySourceVersions(List<Object> value) An array ofProjectSourceVersionobjects.voidAn array ofProjectSourceVersionobjects.voidsetServiceRole(String value) The ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.voidsetSource(IResolvable value) The source code settings for the project, such as the source code's repository type and location.voidThe source code settings for the project, such as the source code's repository type and location.voidsetSourceVersion(String value) A version of the build input to be built for this project.voidsetTagsRaw(List<CfnTag> value) An arbitrary set of tags (key-value pairs) for the AWS CodeBuild project.voidsetTimeoutInMinutes(Number value) How long, in minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed.voidsetTriggers(IResolvable value) For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.voidFor an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.voidsetVisibility(String value) Specifies the visibility of the project's builds.voidsetVpcConfig(IResolvable value) VpcConfigspecifies settings that enable AWS CodeBuild to access resources in an Amazon VPC.voidVpcConfigspecifies settings that enable AWS CodeBuild to access resources in an Amazon VPC.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnProject
protected CfnProject(software.amazon.jsii.JsiiObjectRef objRef) -
CfnProject
protected CfnProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnProject
@Stability(Stable) public CfnProject(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnProjectProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The ARN of the AWS CodeBuild project, such asarn:aws:codebuild:us-west-2:123456789012:project/myProjectName. -
getAttrId
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getProjectRef
A reference to a Project resource.- Specified by:
getProjectRefin interfaceIProjectRef
-
getTags
Tag Manager which manages the tags for this resource. -
getArtifacts
Artifactsis a property of the AWS::CodeBuild::Project resource that specifies output settings for artifacts generated by an AWS CodeBuild build.Returns union: either
IResolvableorCfnProject.ArtifactsProperty -
setArtifacts
Artifactsis a property of the AWS::CodeBuild::Project resource that specifies output settings for artifacts generated by an AWS CodeBuild build. -
setArtifacts
Artifactsis a property of the AWS::CodeBuild::Project resource that specifies output settings for artifacts generated by an AWS CodeBuild build. -
getEnvironment
The build environment settings for the project, such as the environment type or the environment variables to use for the build environment.Returns union: either
IResolvableorCfnProject.EnvironmentProperty -
setEnvironment
The build environment settings for the project, such as the environment type or the environment variables to use for the build environment. -
setEnvironment
The build environment settings for the project, such as the environment type or the environment variables to use for the build environment. -
getServiceRole
The ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account. -
setServiceRole
The ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account. -
getSource
The source code settings for the project, such as the source code's repository type and location.Returns union: either
IResolvableorCfnProject.SourceProperty -
setSource
The source code settings for the project, such as the source code's repository type and location. -
setSource
The source code settings for the project, such as the source code's repository type and location. -
getAutoRetryLimit
-
setAutoRetryLimit
-
getBadgeEnabled
Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge.Returns union: either
BooleanorIResolvable -
setBadgeEnabled
Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge. -
setBadgeEnabled
Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge. -
getBuildBatchConfig
AProjectBuildBatchConfigobject that defines the batch build options for the project.Returns union: either
IResolvableorCfnProject.ProjectBuildBatchConfigProperty -
setBuildBatchConfig
AProjectBuildBatchConfigobject that defines the batch build options for the project. -
setBuildBatchConfig
@Stability(Stable) public void setBuildBatchConfig(@Nullable CfnProject.ProjectBuildBatchConfigProperty value) AProjectBuildBatchConfigobject that defines the batch build options for the project. -
getCache
Settings that AWS CodeBuild uses to store and reuse build dependencies.Returns union: either
IResolvableorCfnProject.ProjectCacheProperty -
setCache
Settings that AWS CodeBuild uses to store and reuse build dependencies. -
setCache
Settings that AWS CodeBuild uses to store and reuse build dependencies. -
getConcurrentBuildLimit
The maximum number of concurrent builds that are allowed for this project. -
setConcurrentBuildLimit
The maximum number of concurrent builds that are allowed for this project. -
getDescription
A description that makes the build project easy to identify. -
setDescription
A description that makes the build project easy to identify. -
getEncryptionKey
The AWS Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts. -
setEncryptionKey
The AWS Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts. -
getFileSystemLocations
An array ofProjectFileSystemLocationobjects for a CodeBuild build project.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnProject.ProjectFileSystemLocationProperty> -
setFileSystemLocations
An array ofProjectFileSystemLocationobjects for a CodeBuild build project. -
setFileSystemLocations
An array ofProjectFileSystemLocationobjects for a CodeBuild build project. -
getLogsConfig
Information about logs for the build project.Returns union: either
IResolvableorCfnProject.LogsConfigProperty -
setLogsConfig
Information about logs for the build project. -
setLogsConfig
Information about logs for the build project. -
getName
The name of the build project. -
setName
The name of the build project. -
getQueuedTimeoutInMinutes
The number of minutes a build is allowed to be queued before it times out. -
setQueuedTimeoutInMinutes
The number of minutes a build is allowed to be queued before it times out. -
getResourceAccessRole
The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds. -
setResourceAccessRole
The ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds. -
getSecondaryArtifacts
A list ofArtifactsobjects.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnProject.ArtifactsProperty> -
setSecondaryArtifacts
A list ofArtifactsobjects. -
setSecondaryArtifacts
A list ofArtifactsobjects. -
getSecondarySources
An array ofProjectSourceobjects.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnProject.SourceProperty> -
setSecondarySources
An array ofProjectSourceobjects. -
setSecondarySources
An array ofProjectSourceobjects. -
getSecondarySourceVersions
An array ofProjectSourceVersionobjects.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnProject.ProjectSourceVersionProperty> -
setSecondarySourceVersions
An array ofProjectSourceVersionobjects. -
setSecondarySourceVersions
An array ofProjectSourceVersionobjects. -
getSourceVersion
A version of the build input to be built for this project. -
setSourceVersion
A version of the build input to be built for this project. -
getTagsRaw
An arbitrary set of tags (key-value pairs) for the AWS CodeBuild project. -
setTagsRaw
An arbitrary set of tags (key-value pairs) for the AWS CodeBuild project. -
getTimeoutInMinutes
How long, in minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed. -
setTimeoutInMinutes
How long, in minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed. -
getTriggers
For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.Returns union: either
IResolvableorCfnProject.ProjectTriggersProperty -
setTriggers
For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository. -
setTriggers
For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository. -
getVisibility
Specifies the visibility of the project's builds.Possible values are:.
-
setVisibility
Specifies the visibility of the project's builds.Possible values are:.
-
getVpcConfig
VpcConfigspecifies settings that enable AWS CodeBuild to access resources in an Amazon VPC.Returns union: either
IResolvableorCfnProject.VpcConfigProperty -
setVpcConfig
VpcConfigspecifies settings that enable AWS CodeBuild to access resources in an Amazon VPC. -
setVpcConfig
VpcConfigspecifies settings that enable AWS CodeBuild to access resources in an Amazon VPC.
-