| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Greengrass.Types.ResourceAccessPolicy
Description
Documentation
data ResourceAccessPolicy Source #
A policy used by the function to access a resource.
See: newResourceAccessPolicy smart constructor.
Constructors
| ResourceAccessPolicy' | |
Fields
| |
Instances
newResourceAccessPolicy Source #
Create a value of ResourceAccessPolicy with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:permission:ResourceAccessPolicy', resourceAccessPolicy_permission - The permissions that the Lambda function has to the resource. Can be one
of ''rw'' (read/write) or ''ro'' (read-only).
$sel:resourceId:ResourceAccessPolicy', resourceAccessPolicy_resourceId - The ID of the resource. (This ID is assigned to the resource when you
create the resource definiton.)
resourceAccessPolicy_permission :: Lens' ResourceAccessPolicy (Maybe Permission) Source #
The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only).
resourceAccessPolicy_resourceId :: Lens' ResourceAccessPolicy Text Source #
The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)