Interface S3SourceProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, SourceProps
All Known Implementing Classes:
S3SourceProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-04-10T22:22:25.173Z") @Stability(Stable) public interface S3SourceProps extends software.amazon.jsii.JsiiSerializable, SourceProps
Construction properties for S3Source.

Example:

 Bucket bucket = new Bucket(this, "MyBucket");
 Project.Builder.create(this, "MyProject")
         .source(Source.s3(S3SourceProps.builder()
                 .bucket(bucket)
                 .path("path/to/file.zip")
                 .build()))
         .build();
 
  • Method Details

    • getBucket

      @Stability(Stable) @NotNull IBucket getBucket()
    • getPath

      @Stability(Stable) @NotNull String getPath()
    • getVersion

      @Stability(Stable) @Nullable default String getVersion()
      The version ID of the object that represents the build input ZIP file to use.

      Default: latest

    • builder

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