@Stability(value=Experimental) @Internal public static final class CustomResourceProviderProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CustomResourceProviderProps
CustomResourceProviderPropssoftware.amazon.jsii.JsiiObject.InitializationModeCustomResourceProviderProps.Builder, CustomResourceProviderProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String codeDirectory,
CustomResourceProviderRuntime runtime,
String description,
Map<String,String> environment,
Size memorySize,
List<? extends Object> policyStatements,
Duration timeout)
Constructor that initializes the object based on literal property values passed by the
CustomResourceProviderProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getCodeDirectory()
(experimental) A local file system directory with the provider's code.
|
String |
getDescription()
(experimental) A description of the function.
|
Map<String,String> |
getEnvironment()
(experimental) Key-value pairs that are passed to Lambda as Environment.
|
Size |
getMemorySize()
(experimental) The amount of memory that your function has access to.
|
List<Object> |
getPolicyStatements()
(experimental) A set of IAM policy statements to include in the inline policy of the provider's lambda function.
|
CustomResourceProviderRuntime |
getRuntime()
(experimental) The AWS Lambda runtime and version to use for the provider.
|
Duration |
getTimeout()
(experimental) AWS Lambda timeout for the provider.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(String codeDirectory, CustomResourceProviderRuntime runtime, String description, Map<String,String> environment, Size memorySize, List<? extends Object> policyStatements, Duration timeout)
CustomResourceProviderProps.Builder.public final String getCodeDirectory()
CustomResourceProviderPropsThe code will be bundled into a zip asset and wired to the provider's AWS Lambda function.
getCodeDirectory in interface CustomResourceProviderPropspublic final CustomResourceProviderRuntime getRuntime()
CustomResourceProviderPropsgetRuntime in interface CustomResourceProviderPropspublic final String getDescription()
CustomResourceProviderPropsDefault: - No description.
getDescription in interface CustomResourceProviderPropspublic final Map<String,String> getEnvironment()
CustomResourceProviderPropsDefault: - No environment variables.
getEnvironment in interface CustomResourceProviderPropspublic final Size getMemorySize()
CustomResourceProviderPropsIncreasing the function's memory also increases its CPU allocation.
Default: Size.mebibytes(128)
getMemorySize in interface CustomResourceProviderPropspublic final List<Object> getPolicyStatements()
CustomResourceProviderPropsDefault: - no additional inline policy
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 asList(Map.of("Effect", "Allow", "Action", "s3:PutObject*", "Resource", "*"));
getPolicyStatements in interface CustomResourceProviderPropspublic final Duration getTimeout()
CustomResourceProviderPropsDefault: Duration.minutes(15)
getTimeout in interface CustomResourceProviderProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.