Interface SourceConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SourceConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:45.561Z")
@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))
.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.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
-
builder
- Returns:
- a
SourceConfig.BuilderofSourceConfig
-