Class FunctionProps.Jsii$Proxy
- All Implemented Interfaces:
FunctionProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
FunctionProps
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
ModifierConstructorDescriptionprotected
Jsii$Proxy
(FunctionProps.Builder builder) Constructor that initializes the object based on literal property values passed by theFunctionProps.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 Boolean
A flag that determines whether to automatically publish the function to the LIVE stage when it’s created.final FunctionCode
getCode()
The source code of the function.final String
A comment to describe the function.final String
A name to identify the function.final IKeyValueStore
The Key Value Store to associate with this function.final FunctionRuntime
The runtime environment for the 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 theFunctionProps.Builder
.
-
-
Method Details
-
getCode
Description copied from interface:FunctionProps
The source code of the function.- Specified by:
getCode
in interfaceFunctionProps
-
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 interfaceFunctionProps
-
getComment
Description copied from interface:FunctionProps
A comment to describe the function.Default: - same as `functionName`
- Specified by:
getComment
in interfaceFunctionProps
-
getFunctionName
Description copied from interface:FunctionProps
A name to identify the function.Default: - generated from the `id`
- Specified by:
getFunctionName
in interfaceFunctionProps
-
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 becloudfront-js-2.0
or newer.Default: - no key value store is associated
- Specified by:
getKeyValueStore
in interfaceFunctionProps
-
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 interfaceFunctionProps
-
$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()
-