Skip to content

Updates the data access role used for vending access to the given (registered) resource in Lake Formation

Description

Updates the data access role used for vending access to the given (registered) resource in Lake Formation.

Usage

lakeformation_update_resource(RoleArn, ResourceArn, WithFederation,
  HybridAccessEnabled, ExpectedResourceOwnerAccount)

Arguments

  • RoleArn

    [required] The new role to use for the given resource registered in Lake Formation.

  • ResourceArn

    [required] The resource ARN.

  • WithFederation

    Whether or not the resource is a federated resource.

  • HybridAccessEnabled

    Specifies whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies.

  • ExpectedResourceOwnerAccount

    The Amazon Web Services account that owns the Glue tables associated with specific Amazon S3 locations.

Value

An empty list.

Request syntax

svc$update_resource(
  RoleArn = "string",
  ResourceArn = "string",
  WithFederation = TRUE|FALSE,
  HybridAccessEnabled = TRUE|FALSE,
  ExpectedResourceOwnerAccount = "string"
)