@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.364Z") @Stability(value=Stable) public interface ProjectProps extends software.amazon.jsii.JsiiSerializable, CommonProjectProps
Bucket bucket;
Project project = Project.Builder.create(this, "MyProject")
.buildSpec(BuildSpec.fromObject(Map.of(
"version", "0.2")))
.artifacts(Artifacts.s3(S3ArtifactsProps.builder()
.bucket(bucket)
.includeBuildId(false)
.packageZip(true)
.path("another/path")
.identifier("AddArtifact1")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ProjectProps.Builder
A builder for
ProjectProps |
static class |
ProjectProps.Jsii$Proxy
An implementation for
ProjectProps |
| Modifier and Type | Method and Description |
|---|---|
static ProjectProps.Builder |
builder() |
default IArtifacts |
getArtifacts()
Defines where build artifacts will be stored.
|
default List<IArtifacts> |
getSecondaryArtifacts()
The secondary artifacts for the Project.
|
default List<ISource> |
getSecondarySources()
The secondary sources for the Project.
|
default ISource |
getSource()
The source of the build.
|
getAllowAllOutbound, getBadge, getBuildSpec, getCache, getCheckSecretsInPlainTextEnvVariables, getConcurrentBuildLimit, getDescription, getEncryptionKey, getEnvironment, getEnvironmentVariables, getFileSystemLocations, getGrantReportGroupPermissions, getLogging, getProjectName, getQueuedTimeout, getRole, getSecurityGroups, getSubnetSelection, getTimeout, getVpc@Stability(value=Stable) @Nullable default IArtifacts getArtifacts()
Could be: PipelineBuildArtifacts, NoArtifacts and S3Artifacts.
Default: NoArtifacts
@Stability(value=Stable) @Nullable default List<IArtifacts> getSecondaryArtifacts()
Can also be added after the Project has been created by using the {@link Project#addSecondaryArtifact} method.
Default: - No secondary artifacts.
@Stability(value=Stable) @Nullable default List<ISource> getSecondarySources()
Can be also added after the Project has been created by using the {@link Project#addSecondarySource} method.
Default: - No secondary sources.
@Stability(value=Stable) @Nullable default ISource getSource()
Note: if {@link NoSource} is given as the source,
then you need to provide an explicit buildSpec.
Default: - NoSource
@Stability(value=Stable) static ProjectProps.Builder builder()
builder in interface CommonProjectPropsProjectProps.Builder of ProjectPropsCopyright © 2022. All rights reserved.