Class EdgeDeployRequest
- java.lang.Object
-
- pl.wrzasq.lambda.edgedeploy.model.EdgeDeployRequest
-
public class EdgeDeployRequest extends Object
Lambda@Edge deploy CloudFormation request.
-
-
Field Summary
Fields Modifier and Type Field Description private ObjectconfigCustom configuration to bundle with the package.private StringconfigFileFilename for the injected configuration.private static StringDEFAULT_CONFIG_FILELambda configuration filename.private StringfunctionDescriptionLambda function description.private StringfunctionNameLambda function stackSetName.private StringhandlerLambda entry point.private intmemoryMemory size (in MB) for the Lambda.private StringpackageBucketPackage S3 bucket.private StringpackageKeyPackage S3 key.private StringroleArnARN of Lambda execution role.private com.amazonaws.services.lambda.model.RuntimeruntimeRuntime for running the Lambda (note that Lambda@Edge has reduced set of supported runtimes).private inttimeoutLambda timeout (in seconds).private com.amazonaws.services.lambda.model.TracingModetracingModeLambda X-Ray tracing mode.
-
Constructor Summary
Constructors Constructor Description EdgeDeployRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)ObjectgetConfig()Custom configuration to bundle with the package.StringgetConfigFile()Filename for the injected configuration.StringgetFunctionDescription()Lambda function description.StringgetFunctionName()Lambda function stackSetName.StringgetHandler()Lambda entry point.intgetMemory()Memory size (in MB) for the Lambda.StringgetPackageBucket()Package S3 bucket.StringgetPackageKey()Package S3 key.StringgetRoleArn()ARN of Lambda execution role.com.amazonaws.services.lambda.model.RuntimegetRuntime()Runtime for running the Lambda (note that Lambda@Edge has reduced set of supported runtimes).intgetTimeout()Lambda timeout (in seconds).com.amazonaws.services.lambda.model.TracingModegetTracingMode()Lambda X-Ray tracing mode.inthashCode()voidsetConfig(Object config)Custom configuration to bundle with the package.voidsetConfigFile(String configFile)Filename for the injected configuration.voidsetFunctionDescription(String functionDescription)Lambda function description.voidsetFunctionName(String functionName)Lambda function stackSetName.voidsetHandler(String handler)Lambda entry point.voidsetMemory(int memory)Memory size (in MB) for the Lambda.voidsetPackageBucket(String packageBucket)Package S3 bucket.voidsetPackageKey(String packageKey)Package S3 key.voidsetRoleArn(String roleArn)ARN of Lambda execution role.voidsetRuntime(com.amazonaws.services.lambda.model.Runtime runtime)Runtime for running the Lambda (note that Lambda@Edge has reduced set of supported runtimes).voidsetTimeout(int timeout)Lambda timeout (in seconds).voidsetTracingMode(com.amazonaws.services.lambda.model.TracingMode tracingMode)Lambda X-Ray tracing mode.StringtoString()
-
-
-
Field Detail
-
DEFAULT_CONFIG_FILE
private static final String DEFAULT_CONFIG_FILE
Lambda configuration filename.- See Also:
- Constant Field Values
-
functionName
private String functionName
Lambda function stackSetName.
-
functionDescription
private String functionDescription
Lambda function description.
-
roleArn
private String roleArn
ARN of Lambda execution role.
-
runtime
private com.amazonaws.services.lambda.model.Runtime runtime
Runtime for running the Lambda (note that Lambda@Edge has reduced set of supported runtimes).
-
handler
private String handler
Lambda entry point.
-
memory
private int memory
Memory size (in MB) for the Lambda.
-
timeout
private int timeout
Lambda timeout (in seconds).
-
tracingMode
private com.amazonaws.services.lambda.model.TracingMode tracingMode
Lambda X-Ray tracing mode.
-
packageBucket
private String packageBucket
Package S3 bucket.
-
packageKey
private String packageKey
Package S3 key.
-
configFile
private String configFile
Filename for the injected configuration.
-
config
private Object config
Custom configuration to bundle with the package.
-
-
Method Detail
-
getFunctionName
public String getFunctionName()
Lambda function stackSetName.
-
getFunctionDescription
public String getFunctionDescription()
Lambda function description.
-
getRoleArn
public String getRoleArn()
ARN of Lambda execution role.
-
getRuntime
public com.amazonaws.services.lambda.model.Runtime getRuntime()
Runtime for running the Lambda (note that Lambda@Edge has reduced set of supported runtimes).
-
getHandler
public String getHandler()
Lambda entry point.
-
getMemory
public int getMemory()
Memory size (in MB) for the Lambda.
-
getTimeout
public int getTimeout()
Lambda timeout (in seconds).
-
getTracingMode
public com.amazonaws.services.lambda.model.TracingMode getTracingMode()
Lambda X-Ray tracing mode.
-
getPackageBucket
public String getPackageBucket()
Package S3 bucket.
-
getPackageKey
public String getPackageKey()
Package S3 key.
-
getConfigFile
public String getConfigFile()
Filename for the injected configuration.
-
getConfig
public Object getConfig()
Custom configuration to bundle with the package.
-
setFunctionName
public void setFunctionName(String functionName)
Lambda function stackSetName.
-
setFunctionDescription
public void setFunctionDescription(String functionDescription)
Lambda function description.
-
setRoleArn
public void setRoleArn(String roleArn)
ARN of Lambda execution role.
-
setRuntime
public void setRuntime(com.amazonaws.services.lambda.model.Runtime runtime)
Runtime for running the Lambda (note that Lambda@Edge has reduced set of supported runtimes).
-
setHandler
public void setHandler(String handler)
Lambda entry point.
-
setMemory
public void setMemory(int memory)
Memory size (in MB) for the Lambda.
-
setTimeout
public void setTimeout(int timeout)
Lambda timeout (in seconds).
-
setTracingMode
public void setTracingMode(com.amazonaws.services.lambda.model.TracingMode tracingMode)
Lambda X-Ray tracing mode.
-
setPackageBucket
public void setPackageBucket(String packageBucket)
Package S3 bucket.
-
setPackageKey
public void setPackageKey(String packageKey)
Package S3 key.
-
setConfigFile
public void setConfigFile(String configFile)
Filename for the injected configuration.
-
setConfig
public void setConfig(Object config)
Custom configuration to bundle with the package.
-
canEqual
protected boolean canEqual(Object other)
-
-