Class: Aws::Greengrass::Types::ResourceAccessPolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::Greengrass::Types::ResourceAccessPolicy
- Defined in:
- gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb
Overview
A policy used by the function to access a resource.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#permission ⇒ String
The permissions that the Lambda function has to the resource.
-
#resource_id ⇒ String
The ID of the resource.
Instance Attribute Details
#permission ⇒ String
The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only).
4084 4085 4086 4087 4088 4089 |
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 4084 class ResourceAccessPolicy < Struct.new( :permission, :resource_id) SENSITIVE = [] include Aws::Structure end |
#resource_id ⇒ String
The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)
4084 4085 4086 4087 4088 4089 |
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 4084 class ResourceAccessPolicy < Struct.new( :permission, :resource_id) SENSITIVE = [] include Aws::Structure end |