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",
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

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

Returns:

  • (String)


1027
1028
1029
1030
1031
1032
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 1027

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

#role_arnString

The identifier for the role.

Returns:

  • (String)


1027
1028
1029
1030
1031
1032
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 1027

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

#use_service_linked_roleBoolean

Designates a trusted caller, an IAM principal, by registering this caller with the Data Catalog.

Returns:

  • (Boolean)


1027
1028
1029
1030
1031
1032
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 1027

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