Class: Aws::LakeFormation::Types::RegisterResourceRequest

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

Overview

Note:

When making an API call, you may pass RegisterResourceRequest data as a hash:

{
  resource_arn: "ResourceArnString", # required
  use_service_linked_role: false,
  role_arn: "IAMRoleArn",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) of the resource that you want to register.

Returns:

  • (String)


1163
1164
1165
1166
1167
1168
1169
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 1163

class RegisterResourceRequest < Struct.new(
  :resource_arn,
  :use_service_linked_role,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The identifier for the role that registers the resource.

Returns:

  • (String)


1163
1164
1165
1166
1167
1168
1169
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 1163

class RegisterResourceRequest < Struct.new(
  :resource_arn,
  :use_service_linked_role,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#use_service_linked_roleBoolean

Designates an AWS Identity and Access Management (IAM) service-linked role by registering this role with the Data Catalog. A service-linked role is a unique type of IAM role that is linked directly to Lake Formation.

For more information, see Using Service-Linked Roles for Lake Formation.

Returns:

  • (Boolean)


1163
1164
1165
1166
1167
1168
1169
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 1163

class RegisterResourceRequest < Struct.new(
  :resource_arn,
  :use_service_linked_role,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end