Class: Aws::LakeFormation::Types::PrincipalResourcePermissions

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb

Overview

The permissions granted or revoked on a resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#additional_detailsTypes::DetailsMap

This attribute can be used to return any additional details of PrincipalResourcePermissions. Currently returns only as a RAM resource share ARN.

Returns:



2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 2639

class PrincipalResourcePermissions < Struct.new(
  :principal,
  :resource,
  :permissions,
  :permissions_with_grant_option,
  :additional_details,
  :last_updated,
  :last_updated_by)
  SENSITIVE = []
  include Aws::Structure
end

#last_updatedTime

The date and time when the resource was last updated.

Returns:

  • (Time)


2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 2639

class PrincipalResourcePermissions < Struct.new(
  :principal,
  :resource,
  :permissions,
  :permissions_with_grant_option,
  :additional_details,
  :last_updated,
  :last_updated_by)
  SENSITIVE = []
  include Aws::Structure
end

#last_updated_byString

The user who updated the record.

Returns:

  • (String)


2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 2639

class PrincipalResourcePermissions < Struct.new(
  :principal,
  :resource,
  :permissions,
  :permissions_with_grant_option,
  :additional_details,
  :last_updated,
  :last_updated_by)
  SENSITIVE = []
  include Aws::Structure
end

#permissionsArray<String>

The permissions to be granted or revoked on the resource.

Returns:

  • (Array<String>)


2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 2639

class PrincipalResourcePermissions < Struct.new(
  :principal,
  :resource,
  :permissions,
  :permissions_with_grant_option,
  :additional_details,
  :last_updated,
  :last_updated_by)
  SENSITIVE = []
  include Aws::Structure
end

#permissions_with_grant_optionArray<String>

Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).

Returns:

  • (Array<String>)


2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 2639

class PrincipalResourcePermissions < Struct.new(
  :principal,
  :resource,
  :permissions,
  :permissions_with_grant_option,
  :additional_details,
  :last_updated,
  :last_updated_by)
  SENSITIVE = []
  include Aws::Structure
end

#principalTypes::DataLakePrincipal

The Data Lake principal to be granted or revoked permissions.



2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 2639

class PrincipalResourcePermissions < Struct.new(
  :principal,
  :resource,
  :permissions,
  :permissions_with_grant_option,
  :additional_details,
  :last_updated,
  :last_updated_by)
  SENSITIVE = []
  include Aws::Structure
end

#resourceTypes::Resource

The resource where permissions are to be granted or revoked.

Returns:



2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 2639

class PrincipalResourcePermissions < Struct.new(
  :principal,
  :resource,
  :permissions,
  :permissions_with_grant_option,
  :additional_details,
  :last_updated,
  :last_updated_by)
  SENSITIVE = []
  include Aws::Structure
end