Interface ICustomResourceProviderBaseProps
Initialization properties for CustomResourceProviderBase
.
Inherited Members
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICustomResourceProviderBaseProps : ICustomResourceProviderOptions
Syntax (vb)
Public Interface ICustomResourceProviderBaseProps
Inherits ICustomResourceProviderOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
var policyStatements;
Size size;
var customResourceProviderBaseProps = new CustomResourceProviderBaseProps {
CodeDirectory = "codeDirectory",
RuntimeName = "runtimeName",
// the properties below are optional
Description = "description",
Environment = new Dictionary<string, string> {
{ "environmentKey", "environment" }
},
MemorySize = size,
PolicyStatements = new [] { policyStatements },
Timeout = Duration.Minutes(30),
UseCfnResponseWrapper = false
};
Synopsis
Properties
CodeDirectory | A local file system directory with the provider's code. |
RuntimeName | The AWS Lambda runtime and version name to use for the provider. |
Properties
CodeDirectory
A local file system directory with the provider's code.
string CodeDirectory { get; }
Property Value
System.String
Remarks
The code will be bundled into a zip asset and wired to the provider's AWS Lambda function.
RuntimeName
The AWS Lambda runtime and version name to use for the provider.
string RuntimeName { get; }
Property Value
System.String