@Stability(value=Stable) @Internal public static final class CfnFunctionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnFunctionProps
CfnFunctionPropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnFunctionProps.Builder, CfnFunctionProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnFunctionProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnFunctionProps.Builder. |
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(Object o) |
List<String> |
getArchitectures()
The instruction set architecture that the function supports.
|
Object |
getCode()
The code for the function.
|
String |
getCodeSigningConfigArn()
To enable code signing for this function, specify the ARN of a code-signing configuration.
|
Object |
getDeadLetterConfig()
A dead letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing.
|
String |
getDescription()
A description of the function.
|
Object |
getEnvironment()
Environment variables that are accessible from function code during execution.
|
Object |
getEphemeralStorage()
The size of the function’s /tmp directory in MB.
|
Object |
getFileSystemConfigs()
Connection settings for an Amazon EFS file system.
|
String |
getFunctionName()
The name of the Lambda function, up to 64 characters in length.
|
String |
getHandler()
The name of the method within your code that Lambda calls to execute your function.
|
Object |
getImageConfig()
Configuration values that override the container image Dockerfile settings.
|
String |
getKmsKeyArn()
The ARN of the AWS Key Management Service ( AWS KMS ) key that's used to encrypt your function's environment variables.
|
List<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.
|
Number |
getMemorySize()
The amount of [memory available to the function](https://docs.aws.amazon.com/lambda/latest/dg/configuration-memory.html) at runtime.
|
String |
getPackageType()
The type of deployment package.
|
Number |
getReservedConcurrentExecutions()
The number of simultaneous executions to reserve for the function.
|
String |
getRole()
The Amazon Resource Name (ARN) of the function's execution role.
|
String |
getRuntime()
The identifier of the function's [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html) .
|
List<CfnTag> |
getTags()
A list of [tags](https://docs.aws.amazon.com/lambda/latest/dg/tagging.html) to apply to the function.
|
Number |
getTimeout()
The amount of time (in seconds) that Lambda allows a function to run before stopping it.
|
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) .
|
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() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnFunctionProps.Builder builder)
CfnFunctionProps.Builder.public final Object getCode()
CfnFunctionPropsgetCode in interface CfnFunctionPropspublic final String getRole()
CfnFunctionPropsgetRole in interface CfnFunctionPropspublic final List<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 CfnFunctionPropspublic final String getCodeSigningConfigArn()
CfnFunctionPropsA code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.
getCodeSigningConfigArn in interface CfnFunctionPropspublic final Object getDeadLetterConfig()
CfnFunctionPropsFor more information, see Dead Letter Queues .
getDeadLetterConfig in interface CfnFunctionPropspublic final String getDescription()
CfnFunctionPropsgetDescription in interface CfnFunctionPropspublic final Object getEnvironment()
CfnFunctionPropsgetEnvironment in interface CfnFunctionPropspublic final Object getEphemeralStorage()
CfnFunctionPropsThe default value is 512, but can be any whole number between 512 and 10240 MB.
getEphemeralStorage in interface CfnFunctionPropspublic final 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 CfnFunctionPropspublic final String getFunctionName()
CfnFunctionPropsIf 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 CfnFunctionPropspublic final String getHandler()
CfnFunctionPropsHandler 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 Programming Model .
getHandler in interface CfnFunctionPropspublic final Object getImageConfig()
CfnFunctionPropsSee Container settings .
getImageConfig in interface CfnFunctionPropspublic final String getKmsKeyArn()
CfnFunctionPropsIf it's not provided, AWS Lambda uses a default service key.
getKmsKeyArn in interface CfnFunctionPropspublic final List<String> getLayers()
CfnFunctionPropsgetLayers in interface CfnFunctionPropspublic final Number getMemorySize()
CfnFunctionPropsgetMemorySize in interface CfnFunctionPropspublic final String getPackageType()
CfnFunctionProps
Set to Image for container image and set Zip for .zip file archive.
getPackageType in interface CfnFunctionPropspublic final Number getReservedConcurrentExecutions()
CfnFunctionPropsgetReservedConcurrentExecutions in interface CfnFunctionPropspublic final String getRuntime()
CfnFunctionPropsgetRuntime in interface CfnFunctionPropspublic final List<CfnTag> getTags()
CfnFunctionPropsgetTags in interface CfnFunctionPropspublic final Number getTimeout()
CfnFunctionPropsThe default is 3 seconds. The maximum allowed value is 900 seconds. For additional information, see Lambda execution environment .
getTimeout in interface CfnFunctionPropspublic final Object getTracingConfig()
CfnFunctionPropsgetTracingConfig in interface CfnFunctionPropspublic final Object getVpcConfig()
CfnFunctionPropsgetVpcConfig in interface CfnFunctionProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.