@Generated(value="jsii-pacmak/1.34.0 (build 9b72778)", date="2021-09-29T20:30:17.098Z") @Stability(value=Stable) 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()
A local file system directory with the provider's code.
|
default String |
getDescription()
A description of the function.
|
default Map<String,String> |
getEnvironment()
Key-value pairs that are passed to Lambda as Environment.
|
default Size |
getMemorySize()
The amount of memory that your function has access to.
|
default List<Object> |
getPolicyStatements()
A set of IAM policy statements to include in the inline policy of the provider's lambda function.
|
CustomResourceProviderRuntime |
getRuntime()
The AWS Lambda runtime and version to use for the provider.
|
default Duration |
getTimeout()
AWS Lambda timeout for the provider.
|
@Stability(value=Stable) @NotNull String getCodeDirectory()
The code will be bundled into a zip asset and wired to the provider's AWS Lambda function.
@Stability(value=Stable) @NotNull CustomResourceProviderRuntime getRuntime()
@Stability(value=Stable) @Nullable default String getDescription()
Default: - No description.
@Stability(value=Stable) @Nullable default Map<String,String> getEnvironment()
Default: - No environment variables.
@Stability(value=Stable) @Nullable default Size getMemorySize()
Increasing the function's memory also increases its CPU allocation.
Default: Size.mebibytes(128)
@Stability(value=Stable) @Nullable default List<Object> getPolicyStatements()
Default: - no additional inline policy
Example:
// Example automatically generated. See https://github.com/aws/jsii/issues/826 asList(Map.of("Effect", "Allow", "Action", "s3:PutObject*", "Resource", "*"));
@Stability(value=Stable) @Nullable default Duration getTimeout()
Default: Duration.minutes(15)
@Stability(value=Stable) static CustomResourceProviderProps.Builder builder()
Copyright © 2021. All rights reserved.