Interface SourceConfig

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
SourceConfig.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:13.296Z") @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();
 
  • Method Details

    • getBucket

      @Stability(Stable) @NotNull IBucket getBucket()
      The source bucket to deploy from.
    • getZipObjectKey

      @Stability(Stable) @NotNull String getZipObjectKey()
      An S3 object key in the source bucket that points to a zip file.
    • getMarkers

      @Stability(Stable) @Nullable default Map<String,Object> getMarkers()
      A set of markers to substitute in the source content.

      Default: - no markers

    • builder

      @Stability(Stable) static SourceConfig.Builder builder()
      Returns:
      a SourceConfig.Builder of SourceConfig