Class FunctionProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudfront.FunctionProps.Jsii$Proxy
All Implemented Interfaces:
FunctionProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
FunctionProps

@Stability(Stable) @Internal public static final class FunctionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FunctionProps
An implementation for FunctionProps
  • 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(FunctionProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the FunctionProps.Builder.
  • Method Details

    • getCode

      public final FunctionCode getCode()
      Description copied from interface: FunctionProps
      The source code of the function.
      Specified by:
      getCode in interface FunctionProps
    • getComment

      public final String getComment()
      Description copied from interface: FunctionProps
      A comment to describe the function.

      Default: - same as `functionName`

      Specified by:
      getComment in interface FunctionProps
    • getFunctionName

      public final String getFunctionName()
      Description copied from interface: FunctionProps
      A name to identify the function.

      Default: - generated from the `id`

      Specified by:
      getFunctionName in interface FunctionProps
    • getKeyValueStore

      public final IKeyValueStore getKeyValueStore()
      Description copied from interface: FunctionProps
      The Key Value Store to associate with this function.

      In order to associate a Key Value Store, the runtime must be cloudfront-js-2.0 or newer.

      Default: - no key value store is associated

      Specified by:
      getKeyValueStore in interface FunctionProps
    • getRuntime

      public final FunctionRuntime getRuntime()
      Description copied from interface: FunctionProps
      The runtime environment for the function.

      Default: FunctionRuntime.JS_1_0 (unless `keyValueStore` is specified, then `FunctionRuntime.JS_2_0`)

      Specified by:
      getRuntime in interface FunctionProps
    • $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