Class: Aws::LakeFormation::Types::GrantPermissionsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::LakeFormation::Types::GrantPermissionsRequest
- Defined in:
- gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#catalog_id ⇒ String
The identifier for the Data Catalog.
-
#condition ⇒ Types::Condition
A Lake Formation condition, which applies to permissions and opt-ins that contain an expression.
-
#permissions ⇒ Array<String>
The permissions granted to the principal on the resource.
-
#permissions_with_grant_option ⇒ Array<String>
Indicates a list of the granted permissions that the principal may pass to other users.
-
#principal ⇒ Types::DataLakePrincipal
The principal to be granted the permissions on the resource.
-
#resource ⇒ Types::Resource
The resource to which permissions are to be granted.
Instance Attribute Details
#catalog_id ⇒ String
The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.
2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 |
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 2094 class GrantPermissionsRequest < Struct.new( :catalog_id, :principal, :resource, :permissions, :condition, :permissions_with_grant_option) SENSITIVE = [] include Aws::Structure end |
#condition ⇒ Types::Condition
A Lake Formation condition, which applies to permissions and opt-ins that contain an expression.
2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 |
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 2094 class GrantPermissionsRequest < Struct.new( :catalog_id, :principal, :resource, :permissions, :condition, :permissions_with_grant_option) SENSITIVE = [] include Aws::Structure end |
#permissions ⇒ Array<String>
The permissions granted to the principal on the resource. Lake Formation defines privileges to grant and revoke access to metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3. Lake Formation requires that each principal be authorized to perform a specific task on Lake Formation resources.
2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 |
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 2094 class GrantPermissionsRequest < Struct.new( :catalog_id, :principal, :resource, :permissions, :condition, :permissions_with_grant_option) SENSITIVE = [] include Aws::Structure end |
#permissions_with_grant_option ⇒ Array<String>
Indicates a list of the granted permissions that the principal may
pass to other users. These permissions may only be a subset of the
permissions granted in the Privileges
.
2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 |
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 2094 class GrantPermissionsRequest < Struct.new( :catalog_id, :principal, :resource, :permissions, :condition, :permissions_with_grant_option) SENSITIVE = [] include Aws::Structure end |
#principal ⇒ Types::DataLakePrincipal
The principal to be granted the permissions on the resource. Supported principals are IAM users or IAM roles, and they are defined by their principal type and their ARN.
Note that if you define a resource with a particular ARN, then later delete, and recreate a resource with that same ARN, the resource maintains the permissions already granted.
2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 |
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 2094 class GrantPermissionsRequest < Struct.new( :catalog_id, :principal, :resource, :permissions, :condition, :permissions_with_grant_option) SENSITIVE = [] include Aws::Structure end |
#resource ⇒ Types::Resource
The resource to which permissions are to be granted. Resources in Lake Formation are the Data Catalog, databases, and tables.
2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 |
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 2094 class GrantPermissionsRequest < Struct.new( :catalog_id, :principal, :resource, :permissions, :condition, :permissions_with_grant_option) SENSITIVE = [] include Aws::Structure end |