@Generated(value="jsii-pacmak/1.5.0 (build 46538f8)", date="2020-05-20T13:23:04.635Z") @Stability(value=Experimental) public interface CustomResourceProviderProps extends software.amazon.jsii.JsiiSerializable
EXPERIMENTAL
| 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 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=Experimental) @NotNull String getCodeDirectory()
The code will be bundled into a zip asset and wired to the provider's AWS Lambda function.
EXPERIMENTAL
@Stability(value=Experimental) @NotNull CustomResourceProviderRuntime getRuntime()
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default Size getMemorySize()
Increasing the function's memory also increases its CPU allocation.
Default: Size.mebibytes(128)
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default List<Object> getPolicyStatements()
Default: - no additional inline policy
Example:
// Example automatically generated. See https://github.com/aws/jsii/issues/826 policyStatements: [ { Effect: 'Allow', Action: 's3:PutObject*', Resource: '*' } ]
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default Duration getTimeout()
Default: Duration.minutes(15)
EXPERIMENTAL
@Stability(value=Experimental) static CustomResourceProviderProps.Builder builder()
Copyright © 2020. All rights reserved.