@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.829Z") @Stability(value=Stable) public interface SourceConfig extends software.amazon.jsii.JsiiSerializable
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.s3.*;
import software.amazon.awscdk.services.s3.deployment.*;
Bucket bucket;
Object markers;
SourceConfig sourceConfig = SourceConfig.builder()
.bucket(bucket)
.zipObjectKey("zipObjectKey")
// the properties below are optional
.markers(Map.of(
"markersKey", markers))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
SourceConfig.Builder
A builder for
SourceConfig |
static class |
SourceConfig.Jsii$Proxy
An implementation for
SourceConfig |
| Modifier and Type | Method and Description |
|---|---|
static SourceConfig.Builder |
builder() |
IBucket |
getBucket()
The source bucket to deploy from.
|
default Map<String,Object> |
getMarkers()
A set of markers to substitute in the source content.
|
String |
getZipObjectKey()
An S3 object key in the source bucket that points to a zip file.
|
@Stability(value=Stable) @NotNull IBucket getBucket()
@Stability(value=Stable) @NotNull String getZipObjectKey()
@Stability(value=Stable) @Nullable default Map<String,Object> getMarkers()
Default: - no markers
@Stability(value=Stable) static SourceConfig.Builder builder()
SourceConfig.Builder of SourceConfigCopyright © 2022. All rights reserved.