Show / Hide Table of Contents

Interface ICustomResourceProviderBaseProps

Initialization properties for CustomResourceProviderBase.

Inherited Members
ICustomResourceProviderOptions.Description
ICustomResourceProviderOptions.Environment
ICustomResourceProviderOptions.MemorySize
ICustomResourceProviderOptions.PolicyStatements
ICustomResourceProviderOptions.Timeout
ICustomResourceProviderOptions.UseCfnResponseWrapper
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

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

string

Remarks

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX