Interface SourceConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SourceConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-09-10T01:10:15.673Z")
@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 class
A builder forSourceConfig
static final class
An implementation forSourceConfig
-
Method Summary
Modifier and TypeMethodDescriptionstatic SourceConfig.Builder
builder()
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.Builder
ofSourceConfig
-