Package software.amazon.awscdk
Class CustomResourceProviderOptions.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.CustomResourceProviderOptions.Jsii$Proxy
- All Implemented Interfaces:
CustomResourceProviderOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CustomResourceProviderOptions
@Stability(Stable)
@Internal
public static final class CustomResourceProviderOptions.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CustomResourceProviderOptions
An implementation for
CustomResourceProviderOptions-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.CustomResourceProviderOptions
CustomResourceProviderOptions.Builder, CustomResourceProviderOptions.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCustomResourceProviderOptions.Builder.protectedJsii$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.JsonNodefinal booleanfinal StringA description of the function.Key-value pairs that are passed to Lambda as Environment.final SizeThe amount of memory that your function has access to.A set of IAM policy statements to include in the inline policy of the provider's lambda function.final DurationAWS Lambda timeout for the provider.final BooleanWhether or not the cloudformation response wrapper (nodejs-entrypoint.ts) is used.final inthashCode()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 theCustomResourceProviderOptions.Builder.
-
-
Method Details
-
getDescription
Description copied from interface:CustomResourceProviderOptionsA description of the function.Default: - No description.
- Specified by:
getDescriptionin interfaceCustomResourceProviderOptions
-
getEnvironment
Description copied from interface:CustomResourceProviderOptionsKey-value pairs that are passed to Lambda as Environment.Default: - No environment variables.
- Specified by:
getEnvironmentin interfaceCustomResourceProviderOptions
-
getMemorySize
Description copied from interface:CustomResourceProviderOptionsThe amount of memory that your function has access to.Increasing the function's memory also increases its CPU allocation.
Default: Size.mebibytes(128)
- Specified by:
getMemorySizein interfaceCustomResourceProviderOptions
-
getPolicyStatements
Description copied from interface:CustomResourceProviderOptionsA set of IAM policy statements to include in the inline policy of the provider's lambda function.Please note: these are direct IAM JSON policy blobs, not
iam.PolicyStatementobjects like you will see in the rest of the CDK.Default: - no additional inline policy
Example:
CustomResourceProvider provider = CustomResourceProvider.getOrCreateProvider(this, "Custom::MyCustomResourceType", CustomResourceProviderProps.builder() .codeDirectory(String.format("%s/my-handler", __dirname)) .runtime(CustomResourceProviderRuntime.NODEJS_18_X) .policyStatements(List.of(Map.of( "Effect", "Allow", "Action", "s3:PutObject*", "Resource", "*"))) .build());- Specified by:
getPolicyStatementsin interfaceCustomResourceProviderOptions
-
getTimeout
Description copied from interface:CustomResourceProviderOptionsAWS Lambda timeout for the provider.Default: Duration.minutes(15)
- Specified by:
getTimeoutin interfaceCustomResourceProviderOptions
-
getUseCfnResponseWrapper
Description copied from interface:CustomResourceProviderOptionsWhether or not the cloudformation response wrapper (nodejs-entrypoint.ts) is used. If set totrue,nodejs-entrypoint.jsis bundled in the same asset as the custom resource and set as the entrypoint. If set tofalse, the custom resource provided is the entrypoint.Default: - `true` if `inlineCode: false` and `false` otherwise.
- Specified by:
getUseCfnResponseWrapperin interfaceCustomResourceProviderOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-