public static final class CfnFunctionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnFunctionProps
CfnFunctionProps
CfnFunctionProps.Builder, CfnFunctionProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.util.List<java.lang.String> |
getArchitectures()
The instruction set architecture that the function supports.
|
java.lang.Object |
getCode()
The code for the function.
|
java.lang.String |
getCodeSigningConfigArn()
To enable code signing for this function, specify the ARN of a code-signing configuration.
|
java.lang.Object |
getDeadLetterConfig()
A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing.
|
java.lang.String |
getDescription()
A description of the function.
|
java.lang.Object |
getEnvironment()
Environment variables that are accessible from function code during execution.
|
java.lang.Object |
getEphemeralStorage()
The size of the function's `/tmp` directory in MB.
|
java.lang.Object |
getFileSystemConfigs()
Connection settings for an Amazon EFS file system.
|
java.lang.String |
getFunctionName()
The name of the Lambda function, up to 64 characters in length.
|
java.lang.String |
getHandler()
The name of the method within your code that Lambda calls to run your function.
|
java.lang.Object |
getImageConfig()
Configuration values that override the container image Dockerfile settings.
|
java.lang.String |
getKmsKeyArn()
The ARN of the AWS Key Management Service ( AWS KMS ) customer managed key that's used to encrypt your function's [environment variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption) .
|
java.util.List<java.lang.String> |
getLayers()
A list of [function layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) to add to the function's execution environment.
|
java.lang.Number |
getMemorySize()
The amount of [memory available to the function](https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console) at runtime.
|
java.lang.String |
getPackageType()
The type of deployment package.
|
java.lang.Number |
getReservedConcurrentExecutions()
The number of simultaneous executions to reserve for the function.
|
java.lang.String |
getRole()
The Amazon Resource Name (ARN) of the function's execution role.
|
java.lang.String |
getRuntime()
The identifier of the function's [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html) .
|
java.lang.Object |
getRuntimeManagementConfig()
Sets the runtime management configuration for a function's version.
|
java.lang.Object |
getSnapStart()
The function's [AWS Lambda SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) setting.
|
java.util.List<CfnTag> |
getTags()
A list of [tags](https://docs.aws.amazon.com/lambda/latest/dg/tagging.html) to apply to the function.
|
java.lang.Number |
getTimeout()
The amount of time (in seconds) that Lambda allows a function to run before stopping it.
|
java.lang.Object |
getTracingConfig()
Set `Mode` to `Active` to sample and trace a subset of incoming requests with [X-Ray](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html) .
|
java.lang.Object |
getVpcConfig()
For network connectivity to AWS resources in a [VPC](https://docs.aws.amazon.com/lambda/latest/dg/configuration-network.html) , specify a list of security groups and subnets in the VPC.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Object getCode()
CfnFunctionProps
getCode
in interface CfnFunctionProps
public final java.lang.String getRole()
CfnFunctionProps
getRole
in interface CfnFunctionProps
public final java.util.List<java.lang.String> getArchitectures()
CfnFunctionProps
Enter a string array with one of the valid values (arm64 or x86_64). The default value is x86_64
.
getArchitectures
in interface CfnFunctionProps
public final java.lang.String getCodeSigningConfigArn()
CfnFunctionProps
A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.
getCodeSigningConfigArn
in interface CfnFunctionProps
public final java.lang.Object getDeadLetterConfig()
CfnFunctionProps
For more information, see Dead-letter queues .
getDeadLetterConfig
in interface CfnFunctionProps
public final java.lang.String getDescription()
CfnFunctionProps
getDescription
in interface CfnFunctionProps
public final java.lang.Object getEnvironment()
CfnFunctionProps
getEnvironment
in interface CfnFunctionProps
public final java.lang.Object getEphemeralStorage()
CfnFunctionProps
The default value is 512, but it can be any whole number between 512 and 10,240 MB.
getEphemeralStorage
in interface CfnFunctionProps
public final java.lang.Object getFileSystemConfigs()
CfnFunctionProps
To connect a function to a file system, a mount target must be available in every Availability Zone that your function connects to. If your template contains an AWS::EFS::MountTarget resource, you must also specify a DependsOn
attribute to ensure that the mount target is created or updated before the function.
For more information about using the DependsOn
attribute, see DependsOn Attribute .
getFileSystemConfigs
in interface CfnFunctionProps
public final java.lang.String getFunctionName()
CfnFunctionProps
If you don't specify a name, AWS CloudFormation generates one.
If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
getFunctionName
in interface CfnFunctionProps
public final java.lang.String getHandler()
CfnFunctionProps
Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Lambda programming model .
getHandler
in interface CfnFunctionProps
public final java.lang.Object getImageConfig()
CfnFunctionProps
For more information, see Container image settings .
getImageConfig
in interface CfnFunctionProps
public final java.lang.String getKmsKeyArn()
CfnFunctionProps
getKmsKeyArn
in interface CfnFunctionProps
public final java.util.List<java.lang.String> getLayers()
CfnFunctionProps
getLayers
in interface CfnFunctionProps
public final java.lang.Number getMemorySize()
CfnFunctionProps
getMemorySize
in interface CfnFunctionProps
public final java.lang.String getPackageType()
CfnFunctionProps
Set to Image
for container image and set Zip
for .zip file archive.
getPackageType
in interface CfnFunctionProps
public final java.lang.Number getReservedConcurrentExecutions()
CfnFunctionProps
getReservedConcurrentExecutions
in interface CfnFunctionProps
public final java.lang.String getRuntime()
CfnFunctionProps
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy .
getRuntime
in interface CfnFunctionProps
public final java.lang.Object getRuntimeManagementConfig()
CfnFunctionProps
For more information, see Runtime updates .
getRuntimeManagementConfig
in interface CfnFunctionProps
public final java.lang.Object getSnapStart()
CfnFunctionProps
getSnapStart
in interface CfnFunctionProps
public final java.util.List<CfnTag> getTags()
CfnFunctionProps
getTags
in interface CfnFunctionProps
public final java.lang.Number getTimeout()
CfnFunctionProps
The default is 3 seconds. The maximum allowed value is 900 seconds. For more information, see Lambda execution environment .
getTimeout
in interface CfnFunctionProps
public final java.lang.Object getTracingConfig()
CfnFunctionProps
getTracingConfig
in interface CfnFunctionProps
public final java.lang.Object getVpcConfig()
CfnFunctionProps
getVpcConfig
in interface CfnFunctionProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()