Package software.amazon.awscdk.core
Class CustomResourceProviderProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.core.CustomResourceProviderProps.Jsii$Proxy
- All Implemented Interfaces:
CustomResourceProviderProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CustomResourceProviderProps
@Stability(Stable)
@Internal
public static final class CustomResourceProviderProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CustomResourceProviderProps
An implementation for
CustomResourceProviderProps-
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.core.CustomResourceProviderProps
CustomResourceProviderProps.Builder, CustomResourceProviderProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCustomResourceProviderProps.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 local file system directory with the provider's code.final 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.The AWS Lambda runtime and version to use for the provider.final DurationAWS Lambda timeout for the provider.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 theCustomResourceProviderProps.Builder.
-
-
Method Details
-
getCodeDirectory
Description copied from interface:CustomResourceProviderPropsA 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:
getCodeDirectoryin interfaceCustomResourceProviderProps
-
getRuntime
Description copied from interface:CustomResourceProviderPropsThe AWS Lambda runtime and version to use for the provider.- Specified by:
getRuntimein interfaceCustomResourceProviderProps
-
getDescription
Description copied from interface:CustomResourceProviderPropsA description of the function.Default: - No description.
- Specified by:
getDescriptionin interfaceCustomResourceProviderProps
-
getEnvironment
Description copied from interface:CustomResourceProviderPropsKey-value pairs that are passed to Lambda as Environment.Default: - No environment variables.
- Specified by:
getEnvironmentin interfaceCustomResourceProviderProps
-
getMemorySize
Description copied from interface:CustomResourceProviderPropsThe 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 interfaceCustomResourceProviderProps
-
getPolicyStatements
Description copied from interface:CustomResourceProviderPropsA 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_14_X) .policyStatements(List.of(Map.of( "Effect", "Allow", "Action", "s3:PutObject*", "Resource", "*"))) .build());- Specified by:
getPolicyStatementsin interfaceCustomResourceProviderProps
-
getTimeout
Description copied from interface:CustomResourceProviderPropsAWS Lambda timeout for the provider.Default: Duration.minutes(15)
- Specified by:
getTimeoutin interfaceCustomResourceProviderProps
-
$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()
-