Interface S3SourceProps

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:41.847Z") @Stability(Stable) public interface S3SourceProps extends software.amazon.jsii.JsiiSerializable, SourceProps
Construction properties for
invalid @link
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