Interface AccessPointProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:41.200Z") @Stability(Experimental) public interface AccessPointProps extends
(experimental) The S3 object lambda access point configuration.


 Stack stack = new Stack();
 Bucket bucket = new Bucket(stack, "MyBucket");
 Function handler = Function.Builder.create(stack, "MyFunction")
 AccessPoint.Builder.create(stack, "MyObjectLambda")
                 "prop", "value"))
  • Method Details

    • getBucket

      @Stability(Experimental) @NotNull IBucket getBucket()
      (experimental) The bucket to which this access point belongs.
    • getHandler

      @Stability(Experimental) @NotNull IFunction getHandler()
      (experimental) The Lambda function used to transform objects.
    • getAccessPointName

      @Stability(Experimental) @Nullable default String getAccessPointName()
      (experimental) The name of the S3 object lambda access point.

      Default: a unique name will be generated

    • getCloudWatchMetricsEnabled

      @Stability(Experimental) @Nullable default Boolean getCloudWatchMetricsEnabled()
      (experimental) Whether CloudWatch metrics are enabled for the access point.

      Default: false

    • getPayload

      @Stability(Experimental) @Nullable default Map<String,Object> getPayload()
      (experimental) Additional JSON that provides supplemental data passed to the Lambda function on every request.

      Default: - No data.

    • getSupportsGetObjectPartNumber

      @Stability(Experimental) @Nullable default Boolean getSupportsGetObjectPartNumber()
      (experimental) Whether the Lambda function can process GetObject-PartNumber requests.

      Default: false

    • getSupportsGetObjectRange

      @Stability(Experimental) @Nullable default Boolean getSupportsGetObjectRange()
      (experimental) Whether the Lambda function can process GetObject-Range requests.

      Default: false

    • builder

      @Stability(Experimental) static AccessPointProps.Builder builder()
      a AccessPointProps.Builder of AccessPointProps