Class AWSLambdaDestinationImpl

java.lang.Object
com.commercetools.api.models.extension.AWSLambdaDestinationImpl
All Implemented Interfaces:
AWSLambdaDestination, ExtensionDestination, io.vrap.rmf.base.client.ModelBase

public class AWSLambdaDestinationImpl extends Object implements AWSLambdaDestination, io.vrap.rmf.base.client.ModelBase

We recommend creating an Identify and Access Management (IAM) user with an accessKey and accessSecret pair, specifically for each Extension that only has the lambda:InvokeFunction permission on this function.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase

    io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
  • Field Summary

    Fields inherited from interface com.commercetools.api.models.extension.AWSLambdaDestination

    AWS_LAMBDA
  • Constructor Summary

    Constructors
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Partially hidden on retrieval for security reasons.
    Partially hidden on retrieval for security reasons.
    Amazon Resource Name (ARN) of the Lambda function in the format arn:aws:lambda:<region>:<accountid>:function:<functionName>.
     
    int
     
    void
    setAccessKey(String accessKey)
    Partially hidden on retrieval for security reasons.
    void
    setAccessSecret(String accessSecret)
    Partially hidden on retrieval for security reasons.
    void
    Amazon Resource Name (ARN) of the Lambda function in the format arn:aws:lambda:<region>:<accountid>:function:<functionName>.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.commercetools.api.models.extension.AWSLambdaDestination

    withAWSLambdaDestination

    Methods inherited from interface com.commercetools.api.models.extension.ExtensionDestination

    withExtensionDestination

    Methods inherited from interface io.vrap.rmf.base.client.ModelBase

    reflectionString, reflectionString
  • Constructor Details

    • AWSLambdaDestinationImpl

      public AWSLambdaDestinationImpl()
      create empty instance
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in interface ExtensionDestination
      Returns:
      type
    • getArn

      public String getArn()

      Amazon Resource Name (ARN) of the Lambda function in the format arn:aws:lambda:<region>:<accountid>:function:<functionName>. Use the format arn:aws:lambda:<region>:<accountid>:function:<functionName>:<functionAlias/version> to point to a specific version of the function.

      Specified by:
      getArn in interface AWSLambdaDestination
      Returns:
      arn
    • getAccessKey

      public String getAccessKey()

      Partially hidden on retrieval for security reasons.

      Specified by:
      getAccessKey in interface AWSLambdaDestination
      Returns:
      accessKey
    • getAccessSecret

      public String getAccessSecret()

      Partially hidden on retrieval for security reasons.

      Specified by:
      getAccessSecret in interface AWSLambdaDestination
      Returns:
      accessSecret
    • setArn

      public void setArn(String arn)
      Description copied from interface: AWSLambdaDestination

      Amazon Resource Name (ARN) of the Lambda function in the format arn:aws:lambda:<region>:<accountid>:function:<functionName>. Use the format arn:aws:lambda:<region>:<accountid>:function:<functionName>:<functionAlias/version> to point to a specific version of the function.

      Specified by:
      setArn in interface AWSLambdaDestination
      Parameters:
      arn - value to be set
    • setAccessKey

      public void setAccessKey(String accessKey)
      Description copied from interface: AWSLambdaDestination

      Partially hidden on retrieval for security reasons.

      Specified by:
      setAccessKey in interface AWSLambdaDestination
      Parameters:
      accessKey - value to be set
    • setAccessSecret

      public void setAccessSecret(String accessSecret)
      Description copied from interface: AWSLambdaDestination

      Partially hidden on retrieval for security reasons.

      Specified by:
      setAccessSecret in interface AWSLambdaDestination
      Parameters:
      accessSecret - value to be set
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object