Class CfnFunction.CodeProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnFunction.CodeProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnFunction.CodeProperty
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
ConstructorsModifierConstructorDescriptionprotected
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
The ARN of the AWS Key Management Service ( AWS KMS ) customer managed key that's used to encrypt your function's .zip deployment package.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
- See Also:
-
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
- See Also:
-
getS3Key
Description copied from interface:CfnFunction.CodeProperty
The Amazon S3 key of the deployment package.- Specified by:
getS3Key
in interfaceCfnFunction.CodeProperty
- See Also:
-
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
- See Also:
-
getSourceKmsKeyArn
Description copied from interface:CfnFunction.CodeProperty
The ARN of the AWS Key Management Service ( AWS KMS ) customer managed key that's used to encrypt your function's .zip deployment package. If you don't provide a customer managed key, Lambda uses an AWS owned key .- Specified by:
getSourceKmsKeyArn
in interfaceCfnFunction.CodeProperty
- See Also:
-
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
.When you specify source code inline for a Node.js function, the
index
file that AWS CloudFormation creates uses the extension.js
. This means that Lambda treats the file as a CommonJS module. ES modules aren't supported for inline functions.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
- See Also:
-
$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()
-