@Stability(value=Experimental) public static final class CustomResourceProviderProps.Builder extends Object implements software.amazon.jsii.Builder<CustomResourceProviderProps>
CustomResourceProviderProps
Constructor and Description |
---|
Builder() |
@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 description(String description)
CustomResourceProviderProps.getDescription()
description
- A description of the function.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>
CustomResourceProviderProps
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.