CodePathOptions class
Options to control which paths/packages should be included or excluded in the zip file containing the code for the AWS lambda.
Constructors
-
CodePathOptions({Input<
List< ? extraExcludePackages, Input<String> ?>List< ? extraIncludePackages, Input<String> ?>List< ? extraIncludePaths})String> ?> -
Creates a new CodePathOptions.
extraExcludePackagesPackages to explicitly exclude from the Assets for a serialized closure. This can be used when clients want to trim down the size of a closure, and they know that some package won't ever actually be needed at runtime, but is still a dependency of some package that is being used at runtime.extraIncludePackagesExtra packages to include when producing the Assets for a serialized closure. This can be useful if the packages are acquired in a way that the serialization code does not understand. For example, if there was some sort of module that was pulled in based off of a computed string.extraIncludePathsLocal file/directory paths that should be included when producing the Assets for a serialized closure.const -
CodePathOptions.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
extraExcludePackages
→ Input<
List< ?String> ?> -
Packages to explicitly exclude from the Assets for a serialized closure. This can be used when clients want to trim down the size of a closure, and they know that some package won't ever actually be needed at runtime, but is still a dependency of some package that is being used at runtime.
final
-
extraIncludePackages
→ Input<
List< ?String> ?> -
Extra packages to include when producing the Assets for a serialized closure. This can be useful if the packages are acquired in a way that the serialization code does not understand. For example, if there was some sort of module that was pulled in based off of a computed string.
final
-
extraIncludePaths
→ Input<
List< ?String> ?> -
Local file/directory paths that should be included when producing the Assets for a serialized closure.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited