Skip to content

ResourceAccessPolicy

Source code in docs_src/capo_greengrass/types/resource_access_policy.py
class ResourceAccessPolicy(TypedDict, closed=True):
    permission: NotRequired["capo_greengrass.types.permission.Permission"]
    """The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only)."""
    resource_id: NotRequired["capo_greengrass.types.__string.__string"]
    """The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)"""

permission instance-attribute

permission: NotRequired[Permission]

The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only).

resource_id instance-attribute

resource_id: NotRequired[__string]

The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)