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
  • 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

      protected Jsii$Proxy(CfnFunction.CodeProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnFunction.CodeProperty.Builder.
  • Method Details

    • getImageUri

      public final String getImageUri()
      Description copied from interface: CfnFunction.CodeProperty
      URI of a container image in the Amazon ECR registry.
      Specified by:
      getImageUri in interface CfnFunction.CodeProperty
    • getS3Bucket

      public final String 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 interface CfnFunction.CodeProperty
    • getS3Key

      public final String getS3Key()
      Description copied from interface: CfnFunction.CodeProperty
      The Amazon S3 key of the deployment package.
      Specified by:
      getS3Key in interface CfnFunction.CodeProperty
    • getS3ObjectVersion

      public final String getS3ObjectVersion()
      Description copied from interface: CfnFunction.CodeProperty
      For versioned objects, the version of the deployment package object to use.
      Specified by:
      getS3ObjectVersion in interface CfnFunction.CodeProperty
    • getZipFile

      public final String 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 named index and zips it to create a deployment package . This zip file cannot exceed 4MB. For the Handler property, the first part of the handler identifier must be index . 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 interface CfnFunction.CodeProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object