Class AWSLambdaDestinationImpl
- All Implemented Interfaces:
AWSLambdaDestination
,ExtensionDestination
,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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Partially hidden on retrieval for security reasons.Partially hidden on retrieval for security reasons.getArn()
Amazon Resource Name (ARN) of the Lambda function in the formatarn:aws:lambda:<region>:<accountid>:function:<functionName>
.getType()
int
hashCode()
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 formatarn: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
- Specified by:
getType
in interfaceExtensionDestination
- Returns:
- type
-
getArn
Amazon Resource Name (ARN) of the Lambda function in the format
arn:aws:lambda:<region>:<accountid>:function:<functionName>
. Use the formatarn:aws:lambda:<region>:<accountid>:function:<functionName>:<functionAlias/version>
to point to a specific version of the function.- Specified by:
getArn
in interfaceAWSLambdaDestination
- Returns:
- arn
-
getAccessKey
Partially hidden on retrieval for security reasons.
- Specified by:
getAccessKey
in interfaceAWSLambdaDestination
- Returns:
- accessKey
-
getAccessSecret
Partially hidden on retrieval for security reasons.
- Specified by:
getAccessSecret
in interfaceAWSLambdaDestination
- Returns:
- accessSecret
-
setArn
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 formatarn:aws:lambda:<region>:<accountid>:function:<functionName>:<functionAlias/version>
to point to a specific version of the function.- Specified by:
setArn
in interfaceAWSLambdaDestination
- Parameters:
arn
- value to be set
-
setAccessKey
Description copied from interface:AWSLambdaDestination
Partially hidden on retrieval for security reasons.
- Specified by:
setAccessKey
in interfaceAWSLambdaDestination
- Parameters:
accessKey
- value to be set
-
setAccessSecret
Description copied from interface:AWSLambdaDestination
Partially hidden on retrieval for security reasons.
- Specified by:
setAccessSecret
in interfaceAWSLambdaDestination
- Parameters:
accessSecret
- value to be set
-
equals
-
hashCode
public int hashCode()
-