Interface SourceConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SourceConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:46.291Z")
@Stability(Stable)
public interface SourceConfig
extends software.amazon.jsii.JsiiSerializable
Source information.
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))
.markersConfig(MarkersConfig.builder()
.jsonEscape(false)
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forSourceConfigstatic final classAn implementation forSourceConfig -
Method Summary
Modifier and TypeMethodDescriptionstatic SourceConfig.Builderbuilder()The source bucket to deploy from.A set of markers to substitute in the source content.default MarkersConfigA configuration for markers substitution strategy.An S3 object key in the source bucket that points to a zip file.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucket
The source bucket to deploy from. -
getZipObjectKey
An S3 object key in the source bucket that points to a zip file. -
getMarkers
A set of markers to substitute in the source content.Default: - no markers
-
getMarkersConfig
A configuration for markers substitution strategy.Default: - no configuration
-
builder
- Returns:
- a
SourceConfig.BuilderofSourceConfig
-