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 Object
config
Custom configuration to bundle with the package.private String
configFile
Filename for the injected configuration.private static String
DEFAULT_CONFIG_FILE
Lambda configuration filename.private String
functionDescription
Lambda function description.private String
functionName
Lambda function stackSetName.private String
handler
Lambda entry point.private int
memory
Memory size (in MB) for the Lambda.private String
packageBucket
Package S3 bucket.private String
packageKey
Package S3 key.private String
roleArn
ARN of Lambda execution role.private com.amazonaws.services.lambda.model.Runtime
runtime
Runtime for running the Lambda (note that Lambda@Edge has reduced set of supported runtimes).private int
timeout
Lambda timeout (in seconds).private com.amazonaws.services.lambda.model.TracingMode
tracingMode
Lambda X-Ray tracing mode.
-
Constructor Summary
Constructors Constructor Description EdgeDeployRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
Object
getConfig()
Custom configuration to bundle with the package.String
getConfigFile()
Filename for the injected configuration.String
getFunctionDescription()
Lambda function description.String
getFunctionName()
Lambda function stackSetName.String
getHandler()
Lambda entry point.int
getMemory()
Memory size (in MB) for the Lambda.String
getPackageBucket()
Package S3 bucket.String
getPackageKey()
Package S3 key.String
getRoleArn()
ARN of Lambda execution role.com.amazonaws.services.lambda.model.Runtime
getRuntime()
Runtime for running the Lambda (note that Lambda@Edge has reduced set of supported runtimes).int
getTimeout()
Lambda timeout (in seconds).com.amazonaws.services.lambda.model.TracingMode
getTracingMode()
Lambda X-Ray tracing mode.int
hashCode()
void
setConfig(Object config)
Custom configuration to bundle with the package.void
setConfigFile(String configFile)
Filename for the injected configuration.void
setFunctionDescription(String functionDescription)
Lambda function description.void
setFunctionName(String functionName)
Lambda function stackSetName.void
setHandler(String handler)
Lambda entry point.void
setMemory(int memory)
Memory size (in MB) for the Lambda.void
setPackageBucket(String packageBucket)
Package S3 bucket.void
setPackageKey(String packageKey)
Package S3 key.void
setRoleArn(String roleArn)
ARN of Lambda execution role.void
setRuntime(com.amazonaws.services.lambda.model.Runtime runtime)
Runtime for running the Lambda (note that Lambda@Edge has reduced set of supported runtimes).void
setTimeout(int timeout)
Lambda timeout (in seconds).void
setTracingMode(com.amazonaws.services.lambda.model.TracingMode tracingMode)
Lambda X-Ray tracing mode.String
toString()
-
-
-
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)
-
-