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
  • 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.cloudfront.FunctionProps

    FunctionProps.Builder, FunctionProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the FunctionProps.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 Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Boolean
    A flag that determines whether to automatically publish the function to the LIVE stage when it’s created.
    The source code of the function.
    final String
    A comment to describe the function.
    final String
    A name to identify the function.
    The Key Value Store to associate with this function.
    The runtime environment for the function.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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
    • getAutoPublish

      public final Boolean getAutoPublish()
      Description copied from interface: FunctionProps
      A flag that determines whether to automatically publish the function to the LIVE stage when it’s created.

      Default: - true

      Specified by:
      getAutoPublish 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