Package software.amazon.awscdk
Class CustomResourceProviderBaseProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.CustomResourceProviderBaseProps.Jsii$Proxy
- All Implemented Interfaces:
CustomResourceProviderBaseProps
,CustomResourceProviderOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CustomResourceProviderBaseProps
@Stability(Stable)
@Internal
public static final class CustomResourceProviderBaseProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CustomResourceProviderBaseProps
An implementation for
CustomResourceProviderBaseProps
-
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.CustomResourceProviderBaseProps
CustomResourceProviderBaseProps.Builder, CustomResourceProviderBaseProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCustomResourceProviderBaseProps.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 String
A local file system directory with the provider's code.final String
A description of the function.Key-value pairs that are passed to Lambda as Environment.final Size
The 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 String
The AWS Lambda runtime and version name to use for the provider.final Duration
AWS Lambda timeout for the provider.final Boolean
Whether or not the cloudformation response wrapper (nodejs-entrypoint.ts
) is used.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 theCustomResourceProviderBaseProps.Builder
.
-
-
Method Details
-
getCodeDirectory
Description copied from interface:CustomResourceProviderBaseProps
A local file system directory with the provider's code.The code will be bundled into a zip asset and wired to the provider's AWS Lambda function.
- Specified by:
getCodeDirectory
in interfaceCustomResourceProviderBaseProps
-
getRuntimeName
Description copied from interface:CustomResourceProviderBaseProps
The AWS Lambda runtime and version name to use for the provider.- Specified by:
getRuntimeName
in interfaceCustomResourceProviderBaseProps
-
getDescription
Description copied from interface:CustomResourceProviderOptions
A description of the function.Default: - No description.
- Specified by:
getDescription
in interfaceCustomResourceProviderOptions
-
getEnvironment
Description copied from interface:CustomResourceProviderOptions
Key-value pairs that are passed to Lambda as Environment.Default: - No environment variables.
- Specified by:
getEnvironment
in interfaceCustomResourceProviderOptions
-
getMemorySize
Description copied from interface:CustomResourceProviderOptions
The 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:
getMemorySize
in interfaceCustomResourceProviderOptions
-
getPolicyStatements
Description copied from interface:CustomResourceProviderOptions
A 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.PolicyStatement
objects 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:
getPolicyStatements
in interfaceCustomResourceProviderOptions
-
getTimeout
Description copied from interface:CustomResourceProviderOptions
AWS Lambda timeout for the provider.Default: Duration.minutes(15)
- Specified by:
getTimeout
in interfaceCustomResourceProviderOptions
-
getUseCfnResponseWrapper
Description copied from interface:CustomResourceProviderOptions
Whether or not the cloudformation response wrapper (nodejs-entrypoint.ts
) is used. If set totrue
,nodejs-entrypoint.js
is 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:
getUseCfnResponseWrapper
in interfaceCustomResourceProviderOptions
-
$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()
-