@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:42.446Z") @Stability(value=Experimental) public interface CustomResourceProviderProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
CustomResourceProviderProps.Builder
A builder for
CustomResourceProviderProps |
static class |
CustomResourceProviderProps.Jsii$Proxy
An implementation for
CustomResourceProviderProps |
| Modifier and Type | Method and Description |
|---|---|
static CustomResourceProviderProps.Builder |
builder() |
String |
getCodeDirectory()
(experimental) A local file system directory with the provider's code.
|
default String |
getDescription()
(experimental) A description of the function.
|
default Map<String,String> |
getEnvironment()
(experimental) Key-value pairs that are passed to Lambda as Environment.
|
default Size |
getMemorySize()
(experimental) The amount of memory that your function has access to.
|
default 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.
|
default Duration |
getTimeout()
(experimental) AWS Lambda timeout for the provider.
|
@Stability(value=Experimental) @NotNull String getCodeDirectory()
The code will be bundled into a zip asset and wired to the provider's AWS Lambda function.
@Stability(value=Experimental) @NotNull CustomResourceProviderRuntime getRuntime()
@Stability(value=Experimental) @Nullable default String getDescription()
Default: - No description.
@Stability(value=Experimental) @Nullable default Map<String,String> getEnvironment()
Default: - No environment variables.
@Stability(value=Experimental) @Nullable default Size getMemorySize()
Increasing the function's memory also increases its CPU allocation.
Default: Size.mebibytes(128)
@Stability(value=Experimental) @Nullable default List<Object> getPolicyStatements()
Default: - 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", "*"));
@Stability(value=Experimental) @Nullable default Duration getTimeout()
Default: Duration.minutes(15)
@Stability(value=Experimental) static CustomResourceProviderProps.Builder builder()
Copyright © 2021. All rights reserved.