@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.291Z") @Stability(value=Stable) public abstract class Artifacts extends software.amazon.jsii.JsiiObject implements IArtifacts
Example:
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();
software.amazon.jsii.JsiiObject.InitializationModeIArtifacts.Jsii$Default| Modifier | Constructor and Description |
|---|---|
protected |
Artifacts(ArtifactsProps props) |
protected |
Artifacts(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Artifacts(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
ArtifactsConfig |
bind(software.constructs.Construct _scope,
IProject _project)
Callback when an Artifacts class is used in a CodeBuild Project.
|
String |
getIdentifier()
The artifact identifier.
|
abstract String |
getType()
The CodeBuild type of this artifact.
|
static IArtifacts |
s3(S3ArtifactsProps props) |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Artifacts(software.amazon.jsii.JsiiObjectRef objRef)
protected Artifacts(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
protected Artifacts(@NotNull
ArtifactsProps props)
props - This parameter is required.@Stability(value=Stable) @NotNull public static IArtifacts s3(@NotNull S3ArtifactsProps props)
props - This parameter is required.@Stability(value=Stable) @NotNull public ArtifactsConfig bind(@NotNull software.constructs.Construct _scope, @NotNull IProject _project)
bind in interface IArtifacts_scope - This parameter is required._project - This parameter is required.@Stability(value=Stable) @NotNull public abstract String getType()
getType in interface IArtifacts@Stability(value=Stable) @Nullable public String getIdentifier()
This property is required on secondary artifacts.
getIdentifier in interface IArtifactsCopyright © 2022. All rights reserved.