@Stability(value=Experimental) public static final class CustomResourceProviderProps.Builder extends Object implements software.amazon.jsii.Builder<CustomResourceProviderProps>
CustomResourceProviderProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CustomResourceProviderProps |
build()
Builds the configured instance.
|
CustomResourceProviderProps.Builder |
codeDirectory(String codeDirectory)
Sets the value of
CustomResourceProviderProps.getCodeDirectory() |
CustomResourceProviderProps.Builder |
environment(Map<String,String> environment)
Sets the value of
CustomResourceProviderProps.getEnvironment() |
CustomResourceProviderProps.Builder |
memorySize(Size memorySize)
Sets the value of
CustomResourceProviderProps.getMemorySize() |
CustomResourceProviderProps.Builder |
policyStatements(List<? extends Object> policyStatements)
Sets the value of
CustomResourceProviderProps.getPolicyStatements() |
CustomResourceProviderProps.Builder |
runtime(CustomResourceProviderRuntime runtime)
Sets the value of
CustomResourceProviderProps.getRuntime() |
CustomResourceProviderProps.Builder |
timeout(Duration timeout)
Sets the value of
CustomResourceProviderProps.getTimeout() |
@Stability(value=Experimental) public CustomResourceProviderProps.Builder codeDirectory(String codeDirectory)
CustomResourceProviderProps.getCodeDirectory()codeDirectory - A local file system directory with the provider's code. This parameter is required.
The code will be
bundled into a zip asset and wired to the provider's AWS Lambda function.this@Stability(value=Experimental) public CustomResourceProviderProps.Builder runtime(CustomResourceProviderRuntime runtime)
CustomResourceProviderProps.getRuntime()runtime - The AWS Lambda runtime and version to use for the provider. This parameter is required.this@Stability(value=Experimental) public CustomResourceProviderProps.Builder environment(Map<String,String> environment)
CustomResourceProviderProps.getEnvironment()environment - Key-value pairs that are passed to Lambda as Environment.this@Stability(value=Experimental) public CustomResourceProviderProps.Builder memorySize(Size memorySize)
CustomResourceProviderProps.getMemorySize()memorySize - The amount of memory that your function has access to.
Increasing the
function's memory also increases its CPU allocation.this@Stability(value=Experimental) public CustomResourceProviderProps.Builder policyStatements(List<? extends Object> policyStatements)
CustomResourceProviderProps.getPolicyStatements()policyStatements - A set of IAM policy statements to include in the inline policy of the provider's lambda function.this@Stability(value=Experimental) public CustomResourceProviderProps.Builder timeout(Duration timeout)
CustomResourceProviderProps.getTimeout()timeout - AWS Lambda timeout for the provider.this@Stability(value=Experimental) public CustomResourceProviderProps build()
build in interface software.amazon.jsii.Builder<CustomResourceProviderProps>CustomResourceProviderPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.