Class: Aws::Greengrass::Types::ResourceAccessPolicy

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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

Instance Attribute Details

#permissionString

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

Returns:

  • (String)


4084
4085
4086
4087
4088
4089
# File 'lib/aws-sdk-greengrass/types.rb', line 4084

class ResourceAccessPolicy < Struct.new(
  :permission,
  :resource_id)
  SENSITIVE = []
  include Aws::Structure
end

#resource_idString

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

Returns:

  • (String)


4084
4085
4086
4087
4088
4089
# File 'lib/aws-sdk-greengrass/types.rb', line 4084

class ResourceAccessPolicy < Struct.new(
  :permission,
  :resource_id)
  SENSITIVE = []
  include Aws::Structure
end