Constructor

Constructor #

This method is used to instantiate the class.


Import parameters #

  • i_user_name

    The IAM user of AWS account.


Example #

DATA: lo_lambda_function TYPE REF TO /lnkaws/cl_aws_lambda_function,
      lo_cx_aws_s3       TYPE REF TO /lnkaws/cx_aws_s3.
TRY.
    CREATE OBJECT lo_lambda_function
      EXPORTING
        i_user_name = 'userawsconnector'.
  CATCH /lnkaws/cx_aws_s3 INTO lo_cx_aws_s3.
    RAISE EXCEPTION lo_cx_aws_s3.
ENDTRY.