Package software.amazon.awscdk
Interface CustomResourceProviderProps
- All Superinterfaces:
CustomResourceProviderOptions
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CustomResourceProviderProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.94.0 (build b380f01)",
date="2024-02-23T02:06:27.072Z")
@Stability(Stable)
public interface CustomResourceProviderProps
extends software.amazon.jsii.JsiiSerializable, CustomResourceProviderOptions
Initialization properties for
CustomResourceProvider
.
Example:
CustomResourceProvider provider = CustomResourceProvider.getOrCreateProvider(this, "Custom::MyCustomResourceType", CustomResourceProviderProps.builder() .codeDirectory(String.format("%s/my-handler", __dirname)) .runtime(CustomResourceProviderRuntime.NODEJS_18_X) .build()); provider.addToRolePolicy(Map.of( "Effect", "Allow", "Action", "s3:GetObject", "Resource", "*"));
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCustomResourceProviderProps
static final class
An implementation forCustomResourceProviderProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
A local file system directory with the provider's code.The AWS Lambda runtime and version to use for the provider.Methods inherited from interface software.amazon.awscdk.CustomResourceProviderOptions
getDescription, getEnvironment, getMemorySize, getPolicyStatements, getTimeout, getUseCfnResponseWrapper
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCodeDirectory
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.
-
getRuntime
The AWS Lambda runtime and version to use for the provider. -
builder
-