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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.CfnFunction.CodeProperty
CfnFunction.CodeProperty.Builder, CfnFunction.CodeProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnFunction.CodeProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal StringURI of a container image in the Amazon ECR registry.final StringAn Amazon S3 bucket in the same AWS Region as your function.final StringgetS3Key()The Amazon S3 key of the deployment package.final StringFor versioned objects, the version of the deployment package object to use.final StringThe 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 inthashCode()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.CodePropertyURI of a container image in the Amazon ECR registry.- Specified by:
getImageUriin interfaceCfnFunction.CodeProperty- See Also:
-
getS3Bucket
Description copied from interface:CfnFunction.CodePropertyAn Amazon S3 bucket in the same AWS Region as your function.The bucket can be in a different AWS account .
- Specified by:
getS3Bucketin interfaceCfnFunction.CodeProperty- See Also:
-
getS3Key
Description copied from interface:CfnFunction.CodePropertyThe Amazon S3 key of the deployment package.- Specified by:
getS3Keyin interfaceCfnFunction.CodeProperty- See Also:
-
getS3ObjectVersion
Description copied from interface:CfnFunction.CodePropertyFor versioned objects, the version of the deployment package object to use.- Specified by:
getS3ObjectVersionin interfaceCfnFunction.CodeProperty- See Also:
-
getSourceKmsKeyArn
Description copied from interface:CfnFunction.CodePropertyThe 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:
getSourceKmsKeyArnin 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 namedindexand zips it to create a deployment package . This zip file cannot exceed 4MB. For theHandlerproperty, 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
indexfile 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:
getZipFilein interfaceCfnFunction.CodeProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-