Class CfnFunction.CodeProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lambda.CfnFunction.CodeProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnFunction.CodeProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnFunction.CodeProperty
@Stability(Stable)
@Internal
public static final class CfnFunction.CodeProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnFunction.CodeProperty
An implementation for
CfnFunction.CodeProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.CfnFunction.CodeProperty
CfnFunction.CodeProperty.Builder, CfnFunction.CodeProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnFunction.CodeProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
URI of a container image in the Amazon ECR registry.final String
An Amazon S3 bucket in the same AWS Region as your function.final String
getS3Key()
The Amazon S3 key of the deployment package.final String
For versioned objects, the version of the deployment package object to use.final String
(Node.js and Python) The source code of your Lambda function.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnFunction.CodeProperty.Builder
.
-
-
Method Details
-
getImageUri
Description copied from interface:CfnFunction.CodeProperty
URI of a container image in the Amazon ECR registry.- Specified by:
getImageUri
in interfaceCfnFunction.CodeProperty
-
getS3Bucket
Description copied from interface:CfnFunction.CodeProperty
An Amazon S3 bucket in the same AWS Region as your function.The bucket can be in a different AWS account .
- Specified by:
getS3Bucket
in interfaceCfnFunction.CodeProperty
-
getS3Key
Description copied from interface:CfnFunction.CodeProperty
The Amazon S3 key of the deployment package.- Specified by:
getS3Key
in interfaceCfnFunction.CodeProperty
-
getS3ObjectVersion
Description copied from interface:CfnFunction.CodeProperty
For versioned objects, the version of the deployment package object to use.- Specified by:
getS3ObjectVersion
in interfaceCfnFunction.CodeProperty
-
getZipFile
Description copied from interface:CfnFunction.CodeProperty
(Node.js and Python) The source code of your Lambda function. If you include your function source inline with this parameter, AWS CloudFormation places it in a file namedindex
and zips it to create a deployment package . This zip file cannot exceed 4MB. For theHandler
property, the first part of the handler identifier must beindex
. For example,index.handler
.For JSON, you must escape quotes and special characters such as newline (
\n
) with a backslash.If you specify a function that interacts with an AWS CloudFormation custom resource, you don't have to write your own functions to send responses to the custom resource that invoked the function. AWS CloudFormation provides a response module ( cfn-response ) that simplifies sending responses. See Using AWS Lambda with AWS CloudFormation for details.
- Specified by:
getZipFile
in interfaceCfnFunction.CodeProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-