Interface S3SourceProps

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

@Generated(value="jsii-pacmak/1.92.0 (build db7f27d)", date="2023-12-06T04:49:36.069Z") @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