ResourceAccessPolicy class
A policy used by the function to access a resource.
Constructors
- ResourceAccessPolicy.new({required String resourceId, Permission? permission})
-
ResourceAccessPolicy.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- permission → Permission?
-
The permissions that the Lambda function has to the resource. Can be one of
''rw'' (read/write) or ''ro'' (read-only).
final
- resourceId → String
-
The ID of the resource. (This ID is assigned to the resource when you create
the resource definiton.)
final
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited