aws.lakeformation.getPermissions
Explore with Pulumi AI
Get permissions for a principal to access metadata in the Data Catalog and data organized in underlying data storage such as Amazon S3. Permissions are granted to a principal, in a Data Catalog, relative to a Lake Formation resource, which includes the Data Catalog, databases, tables, LF-tags, and LF-tag policies. For more information, see Security and Access Control to Metadata and Data in Lake Formation.
NOTE: This data source deals with explicitly granted permissions. Lake Formation grants implicit permissions to data lake administrators, database creators, and table creators. For more information, see Implicit Lake Formation Permissions.
Example Usage
Permissions For A Lake Formation S3 Resource
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = aws.lakeformation.getPermissions({
    principal: workflowRole.arn,
    dataLocation: {
        arn: testAwsLakeformationResource.arn,
    },
});
import pulumi
import pulumi_aws as aws
test = aws.lakeformation.get_permissions(principal=workflow_role["arn"],
    data_location={
        "arn": test_aws_lakeformation_resource["arn"],
    })
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lakeformation"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lakeformation.LookupPermissions(ctx, &lakeformation.LookupPermissionsArgs{
			Principal: workflowRole.Arn,
			DataLocation: lakeformation.GetPermissionsDataLocation{
				Arn: testAwsLakeformationResource.Arn,
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var test = Aws.LakeFormation.GetPermissions.Invoke(new()
    {
        Principal = workflowRole.Arn,
        DataLocation = new Aws.LakeFormation.Inputs.GetPermissionsDataLocationInputArgs
        {
            Arn = testAwsLakeformationResource.Arn,
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.lakeformation.LakeformationFunctions;
import com.pulumi.aws.lakeformation.inputs.GetPermissionsArgs;
import com.pulumi.aws.lakeformation.inputs.GetPermissionsDataLocationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var test = LakeformationFunctions.getPermissions(GetPermissionsArgs.builder()
            .principal(workflowRole.arn())
            .dataLocation(GetPermissionsDataLocationArgs.builder()
                .arn(testAwsLakeformationResource.arn())
                .build())
            .build());
    }
}
variables:
  test:
    fn::invoke:
      function: aws:lakeformation:getPermissions
      arguments:
        principal: ${workflowRole.arn}
        dataLocation:
          arn: ${testAwsLakeformationResource.arn}
Permissions For A Glue Catalog Database
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = aws.lakeformation.getPermissions({
    principal: workflowRole.arn,
    database: {
        name: testAwsGlueCatalogDatabase.name,
        catalogId: "110376042874",
    },
});
import pulumi
import pulumi_aws as aws
test = aws.lakeformation.get_permissions(principal=workflow_role["arn"],
    database={
        "name": test_aws_glue_catalog_database["name"],
        "catalog_id": "110376042874",
    })
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lakeformation"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lakeformation.LookupPermissions(ctx, &lakeformation.LookupPermissionsArgs{
			Principal: workflowRole.Arn,
			Database: lakeformation.GetPermissionsDatabase{
				Name:      testAwsGlueCatalogDatabase.Name,
				CatalogId: "110376042874",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var test = Aws.LakeFormation.GetPermissions.Invoke(new()
    {
        Principal = workflowRole.Arn,
        Database = new Aws.LakeFormation.Inputs.GetPermissionsDatabaseInputArgs
        {
            Name = testAwsGlueCatalogDatabase.Name,
            CatalogId = "110376042874",
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.lakeformation.LakeformationFunctions;
import com.pulumi.aws.lakeformation.inputs.GetPermissionsArgs;
import com.pulumi.aws.lakeformation.inputs.GetPermissionsDatabaseArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var test = LakeformationFunctions.getPermissions(GetPermissionsArgs.builder()
            .principal(workflowRole.arn())
            .database(GetPermissionsDatabaseArgs.builder()
                .name(testAwsGlueCatalogDatabase.name())
                .catalogId("110376042874")
                .build())
            .build());
    }
}
variables:
  test:
    fn::invoke:
      function: aws:lakeformation:getPermissions
      arguments:
        principal: ${workflowRole.arn}
        database:
          name: ${testAwsGlueCatalogDatabase.name}
          catalogId: '110376042874'
Permissions For Tag-Based Access Control
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = aws.lakeformation.getPermissions({
    principal: workflowRole.arn,
    lfTagPolicy: {
        resourceType: "DATABASE",
        expressions: [
            {
                key: "Team",
                values: ["Sales"],
            },
            {
                key: "Environment",
                values: [
                    "Dev",
                    "Production",
                ],
            },
        ],
    },
});
import pulumi
import pulumi_aws as aws
test = aws.lakeformation.get_permissions(principal=workflow_role["arn"],
    lf_tag_policy={
        "resource_type": "DATABASE",
        "expressions": [
            {
                "key": "Team",
                "values": ["Sales"],
            },
            {
                "key": "Environment",
                "values": [
                    "Dev",
                    "Production",
                ],
            },
        ],
    })
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/lakeformation"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lakeformation.LookupPermissions(ctx, &lakeformation.LookupPermissionsArgs{
			Principal: workflowRole.Arn,
			LfTagPolicy: lakeformation.GetPermissionsLfTagPolicy{
				ResourceType: "DATABASE",
				Expressions: []lakeformation.GetPermissionsLfTagPolicyExpression{
					{
						Key: "Team",
						Values: []string{
							"Sales",
						},
					},
					{
						Key: "Environment",
						Values: []string{
							"Dev",
							"Production",
						},
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var test = Aws.LakeFormation.GetPermissions.Invoke(new()
    {
        Principal = workflowRole.Arn,
        LfTagPolicy = new Aws.LakeFormation.Inputs.GetPermissionsLfTagPolicyInputArgs
        {
            ResourceType = "DATABASE",
            Expressions = new[]
            {
                new Aws.LakeFormation.Inputs.GetPermissionsLfTagPolicyExpressionInputArgs
                {
                    Key = "Team",
                    Values = new[]
                    {
                        "Sales",
                    },
                },
                new Aws.LakeFormation.Inputs.GetPermissionsLfTagPolicyExpressionInputArgs
                {
                    Key = "Environment",
                    Values = new[]
                    {
                        "Dev",
                        "Production",
                    },
                },
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.lakeformation.LakeformationFunctions;
import com.pulumi.aws.lakeformation.inputs.GetPermissionsArgs;
import com.pulumi.aws.lakeformation.inputs.GetPermissionsLfTagPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var test = LakeformationFunctions.getPermissions(GetPermissionsArgs.builder()
            .principal(workflowRole.arn())
            .lfTagPolicy(GetPermissionsLfTagPolicyArgs.builder()
                .resourceType("DATABASE")
                .expressions(                
                    GetPermissionsLfTagPolicyExpressionArgs.builder()
                        .key("Team")
                        .values("Sales")
                        .build(),
                    GetPermissionsLfTagPolicyExpressionArgs.builder()
                        .key("Environment")
                        .values(                        
                            "Dev",
                            "Production")
                        .build())
                .build())
            .build());
    }
}
variables:
  test:
    fn::invoke:
      function: aws:lakeformation:getPermissions
      arguments:
        principal: ${workflowRole.arn}
        lfTagPolicy:
          resourceType: DATABASE
          expressions:
            - key: Team
              values:
                - Sales
            - key: Environment
              values:
                - Dev
                - Production
Using getPermissions
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPermissions(args: GetPermissionsArgs, opts?: InvokeOptions): Promise<GetPermissionsResult>
function getPermissionsOutput(args: GetPermissionsOutputArgs, opts?: InvokeOptions): Output<GetPermissionsResult>def get_permissions(catalog_id: Optional[str] = None,
                    catalog_resource: Optional[bool] = None,
                    data_cells_filter: Optional[GetPermissionsDataCellsFilter] = None,
                    data_location: Optional[GetPermissionsDataLocation] = None,
                    database: Optional[GetPermissionsDatabase] = None,
                    lf_tag: Optional[GetPermissionsLfTag] = None,
                    lf_tag_policy: Optional[GetPermissionsLfTagPolicy] = None,
                    principal: Optional[str] = None,
                    table: Optional[GetPermissionsTable] = None,
                    table_with_columns: Optional[GetPermissionsTableWithColumns] = None,
                    opts: Optional[InvokeOptions] = None) -> GetPermissionsResult
def get_permissions_output(catalog_id: Optional[pulumi.Input[str]] = None,
                    catalog_resource: Optional[pulumi.Input[bool]] = None,
                    data_cells_filter: Optional[pulumi.Input[GetPermissionsDataCellsFilterArgs]] = None,
                    data_location: Optional[pulumi.Input[GetPermissionsDataLocationArgs]] = None,
                    database: Optional[pulumi.Input[GetPermissionsDatabaseArgs]] = None,
                    lf_tag: Optional[pulumi.Input[GetPermissionsLfTagArgs]] = None,
                    lf_tag_policy: Optional[pulumi.Input[GetPermissionsLfTagPolicyArgs]] = None,
                    principal: Optional[pulumi.Input[str]] = None,
                    table: Optional[pulumi.Input[GetPermissionsTableArgs]] = None,
                    table_with_columns: Optional[pulumi.Input[GetPermissionsTableWithColumnsArgs]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetPermissionsResult]func LookupPermissions(ctx *Context, args *LookupPermissionsArgs, opts ...InvokeOption) (*LookupPermissionsResult, error)
func LookupPermissionsOutput(ctx *Context, args *LookupPermissionsOutputArgs, opts ...InvokeOption) LookupPermissionsResultOutput> Note: This function is named LookupPermissions in the Go SDK.
public static class GetPermissions 
{
    public static Task<GetPermissionsResult> InvokeAsync(GetPermissionsArgs args, InvokeOptions? opts = null)
    public static Output<GetPermissionsResult> Invoke(GetPermissionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPermissionsResult> getPermissions(GetPermissionsArgs args, InvokeOptions options)
public static Output<GetPermissionsResult> getPermissions(GetPermissionsArgs args, InvokeOptions options)
fn::invoke:
  function: aws:lakeformation/getPermissions:getPermissions
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Principal string
- Principal to be granted the permissions on the resource. Supported principals are IAM users or IAM roles. - One of the following is required: 
- CatalogId string
- 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.
- CatalogResource bool
- Whether the permissions are to be granted for the Data Catalog. Defaults to false.
- DataCells GetFilter Permissions Data Cells Filter 
- Configuration block for a data cells filter resource. Detailed below.
- DataLocation GetPermissions Data Location 
- Configuration block for a data location resource. Detailed below.
- Database
GetPermissions Database 
- Configuration block for a database resource. Detailed below.
- LfTag GetPermissions Lf Tag 
- Configuration block for an LF-tag resource. Detailed below.
- LfTag GetPolicy Permissions Lf Tag Policy 
- Configuration block for an LF-tag policy resource. Detailed below.
- Table
GetPermissions Table 
- Configuration block for a table resource. Detailed below.
- TableWith GetColumns Permissions Table With Columns 
- Configuration block for a table with columns resource. Detailed below. - The following arguments are optional: 
- Principal string
- Principal to be granted the permissions on the resource. Supported principals are IAM users or IAM roles. - One of the following is required: 
- CatalogId string
- 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.
- CatalogResource bool
- Whether the permissions are to be granted for the Data Catalog. Defaults to false.
- DataCells GetFilter Permissions Data Cells Filter 
- Configuration block for a data cells filter resource. Detailed below.
- DataLocation GetPermissions Data Location 
- Configuration block for a data location resource. Detailed below.
- Database
GetPermissions Database 
- Configuration block for a database resource. Detailed below.
- LfTag GetPermissions Lf Tag 
- Configuration block for an LF-tag resource. Detailed below.
- LfTag GetPolicy Permissions Lf Tag Policy 
- Configuration block for an LF-tag policy resource. Detailed below.
- Table
GetPermissions Table 
- Configuration block for a table resource. Detailed below.
- TableWith GetColumns Permissions Table With Columns 
- Configuration block for a table with columns resource. Detailed below. - The following arguments are optional: 
- principal String
- Principal to be granted the permissions on the resource. Supported principals are IAM users or IAM roles. - One of the following is required: 
- catalogId String
- 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.
- catalogResource Boolean
- Whether the permissions are to be granted for the Data Catalog. Defaults to false.
- dataCells GetFilter Permissions Data Cells Filter 
- Configuration block for a data cells filter resource. Detailed below.
- dataLocation GetPermissions Data Location 
- Configuration block for a data location resource. Detailed below.
- database
GetPermissions Database 
- Configuration block for a database resource. Detailed below.
- lfTag GetPermissions Lf Tag 
- Configuration block for an LF-tag resource. Detailed below.
- lfTag GetPolicy Permissions Lf Tag Policy 
- Configuration block for an LF-tag policy resource. Detailed below.
- table
GetPermissions Table 
- Configuration block for a table resource. Detailed below.
- tableWith GetColumns Permissions Table With Columns 
- Configuration block for a table with columns resource. Detailed below. - The following arguments are optional: 
- principal string
- Principal to be granted the permissions on the resource. Supported principals are IAM users or IAM roles. - One of the following is required: 
- catalogId string
- 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.
- catalogResource boolean
- Whether the permissions are to be granted for the Data Catalog. Defaults to false.
- dataCells GetFilter Permissions Data Cells Filter 
- Configuration block for a data cells filter resource. Detailed below.
- dataLocation GetPermissions Data Location 
- Configuration block for a data location resource. Detailed below.
- database
GetPermissions Database 
- Configuration block for a database resource. Detailed below.
- lfTag GetPermissions Lf Tag 
- Configuration block for an LF-tag resource. Detailed below.
- lfTag GetPolicy Permissions Lf Tag Policy 
- Configuration block for an LF-tag policy resource. Detailed below.
- table
GetPermissions Table 
- Configuration block for a table resource. Detailed below.
- tableWith GetColumns Permissions Table With Columns 
- Configuration block for a table with columns resource. Detailed below. - The following arguments are optional: 
- principal str
- Principal to be granted the permissions on the resource. Supported principals are IAM users or IAM roles. - One of the following is required: 
- catalog_id str
- 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.
- catalog_resource bool
- Whether the permissions are to be granted for the Data Catalog. Defaults to false.
- data_cells_ Getfilter Permissions Data Cells Filter 
- Configuration block for a data cells filter resource. Detailed below.
- data_location GetPermissions Data Location 
- Configuration block for a data location resource. Detailed below.
- database
GetPermissions Database 
- Configuration block for a database resource. Detailed below.
- lf_tag GetPermissions Lf Tag 
- Configuration block for an LF-tag resource. Detailed below.
- lf_tag_ Getpolicy Permissions Lf Tag Policy 
- Configuration block for an LF-tag policy resource. Detailed below.
- table
GetPermissions Table 
- Configuration block for a table resource. Detailed below.
- table_with_ Getcolumns Permissions Table With Columns 
- Configuration block for a table with columns resource. Detailed below. - The following arguments are optional: 
- principal String
- Principal to be granted the permissions on the resource. Supported principals are IAM users or IAM roles. - One of the following is required: 
- catalogId String
- 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.
- catalogResource Boolean
- Whether the permissions are to be granted for the Data Catalog. Defaults to false.
- dataCells Property MapFilter 
- Configuration block for a data cells filter resource. Detailed below.
- dataLocation Property Map
- Configuration block for a data location resource. Detailed below.
- database Property Map
- Configuration block for a database resource. Detailed below.
- lfTag Property Map
- Configuration block for an LF-tag resource. Detailed below.
- lfTag Property MapPolicy 
- Configuration block for an LF-tag policy resource. Detailed below.
- table Property Map
- Configuration block for a table resource. Detailed below.
- tableWith Property MapColumns 
- Configuration block for a table with columns resource. Detailed below. - The following arguments are optional: 
getPermissions Result
The following output properties are available:
- DataCells GetFilter Permissions Data Cells Filter 
- DataLocation GetPermissions Data Location 
- Database
GetPermissions Database 
- Id string
- The provider-assigned unique ID for this managed resource.
- LfTag GetPermissions Lf Tag 
- LfTag GetPolicy Permissions Lf Tag Policy 
- Permissions List<string>
- List of permissions granted to the principal. For details on permissions, see Lake Formation Permissions Reference.
- PermissionsWith List<string>Grant Options 
- Subset of permissionswhich the principal can pass.
- Principal string
- Table
GetPermissions Table 
- TableWith GetColumns Permissions Table With Columns 
- CatalogId string
- CatalogResource bool
- DataCells GetFilter Permissions Data Cells Filter 
- DataLocation GetPermissions Data Location 
- Database
GetPermissions Database 
- Id string
- The provider-assigned unique ID for this managed resource.
- LfTag GetPermissions Lf Tag 
- LfTag GetPolicy Permissions Lf Tag Policy 
- Permissions []string
- List of permissions granted to the principal. For details on permissions, see Lake Formation Permissions Reference.
- PermissionsWith []stringGrant Options 
- Subset of permissionswhich the principal can pass.
- Principal string
- Table
GetPermissions Table 
- TableWith GetColumns Permissions Table With Columns 
- CatalogId string
- CatalogResource bool
- dataCells GetFilter Permissions Data Cells Filter 
- dataLocation GetPermissions Data Location 
- database
GetPermissions Database 
- id String
- The provider-assigned unique ID for this managed resource.
- lfTag GetPermissions Lf Tag 
- lfTag GetPolicy Permissions Lf Tag Policy 
- permissions List<String>
- List of permissions granted to the principal. For details on permissions, see Lake Formation Permissions Reference.
- permissionsWith List<String>Grant Options 
- Subset of permissionswhich the principal can pass.
- principal String
- table
GetPermissions Table 
- tableWith GetColumns Permissions Table With Columns 
- catalogId String
- catalogResource Boolean
- dataCells GetFilter Permissions Data Cells Filter 
- dataLocation GetPermissions Data Location 
- database
GetPermissions Database 
- id string
- The provider-assigned unique ID for this managed resource.
- lfTag GetPermissions Lf Tag 
- lfTag GetPolicy Permissions Lf Tag Policy 
- permissions string[]
- List of permissions granted to the principal. For details on permissions, see Lake Formation Permissions Reference.
- permissionsWith string[]Grant Options 
- Subset of permissionswhich the principal can pass.
- principal string
- table
GetPermissions Table 
- tableWith GetColumns Permissions Table With Columns 
- catalogId string
- catalogResource boolean
- data_cells_ Getfilter Permissions Data Cells Filter 
- data_location GetPermissions Data Location 
- database
GetPermissions Database 
- id str
- The provider-assigned unique ID for this managed resource.
- lf_tag GetPermissions Lf Tag 
- lf_tag_ Getpolicy Permissions Lf Tag Policy 
- permissions Sequence[str]
- List of permissions granted to the principal. For details on permissions, see Lake Formation Permissions Reference.
- permissions_with_ Sequence[str]grant_ options 
- Subset of permissionswhich the principal can pass.
- principal str
- table
GetPermissions Table 
- table_with_ Getcolumns Permissions Table With Columns 
- catalog_id str
- catalog_resource bool
- dataCells Property MapFilter 
- dataLocation Property Map
- database Property Map
- id String
- The provider-assigned unique ID for this managed resource.
- lfTag Property Map
- lfTag Property MapPolicy 
- permissions List<String>
- List of permissions granted to the principal. For details on permissions, see Lake Formation Permissions Reference.
- permissionsWith List<String>Grant Options 
- Subset of permissionswhich the principal can pass.
- principal String
- table Property Map
- tableWith Property MapColumns 
- catalogId String
- catalogResource Boolean
Supporting Types
GetPermissionsDataCellsFilter    
- DatabaseName string
- The name of the database.
- Name string
- The name of the data cells filter.
- TableCatalog stringId 
- The ID of the Data Catalog.
- TableName string
- The name of the table.
- DatabaseName string
- The name of the database.
- Name string
- The name of the data cells filter.
- TableCatalog stringId 
- The ID of the Data Catalog.
- TableName string
- The name of the table.
- databaseName String
- The name of the database.
- name String
- The name of the data cells filter.
- tableCatalog StringId 
- The ID of the Data Catalog.
- tableName String
- The name of the table.
- databaseName string
- The name of the database.
- name string
- The name of the data cells filter.
- tableCatalog stringId 
- The ID of the Data Catalog.
- tableName string
- The name of the table.
- database_name str
- The name of the database.
- name str
- The name of the data cells filter.
- table_catalog_ strid 
- The ID of the Data Catalog.
- table_name str
- The name of the table.
- databaseName String
- The name of the database.
- name String
- The name of the data cells filter.
- tableCatalog StringId 
- The ID of the Data Catalog.
- tableName String
- The name of the table.
GetPermissionsDataLocation   
- arn str
- ARN that uniquely identifies the data location resource. - The following argument is optional: 
- catalog_id str
- Identifier for the Data Catalog where the location is registered with Lake Formation. By default, it is the account ID of the caller.
GetPermissionsDatabase  
- catalog_id str
- Identifier for the Data Catalog. By default, it is the account ID of the caller.
- name str
- Name of the database resource. Unique to the Data Catalog. - The following argument is optional: 
GetPermissionsLfTag   
- catalog_id str
- Identifier for the Data Catalog. By default, it is the account ID of the caller.
- key str
- Key-name for the tag.
- values Sequence[str]
- List of possible values an attribute can take. - The following argument is optional: 
GetPermissionsLfTagPolicy    
- CatalogId string
- Identifier for the Data Catalog. By default, it is the account ID of the caller.
- Expressions
List<GetPermissions Lf Tag Policy Expression> 
- List of tag conditions that apply to the resource's tag policy. Configuration block for tag conditions that apply to the policy. See - expressionbelow.- The following argument is optional: 
- ResourceType string
- Resource type for which the tag policy applies. Valid values are DATABASEandTABLE.
- CatalogId string
- Identifier for the Data Catalog. By default, it is the account ID of the caller.
- Expressions
[]GetPermissions Lf Tag Policy Expression 
- List of tag conditions that apply to the resource's tag policy. Configuration block for tag conditions that apply to the policy. See - expressionbelow.- The following argument is optional: 
- ResourceType string
- Resource type for which the tag policy applies. Valid values are DATABASEandTABLE.
- catalogId String
- Identifier for the Data Catalog. By default, it is the account ID of the caller.
- expressions
List<GetPermissions Lf Tag Policy Expression> 
- List of tag conditions that apply to the resource's tag policy. Configuration block for tag conditions that apply to the policy. See - expressionbelow.- The following argument is optional: 
- resourceType String
- Resource type for which the tag policy applies. Valid values are DATABASEandTABLE.
- catalogId string
- Identifier for the Data Catalog. By default, it is the account ID of the caller.
- expressions
GetPermissions Lf Tag Policy Expression[] 
- List of tag conditions that apply to the resource's tag policy. Configuration block for tag conditions that apply to the policy. See - expressionbelow.- The following argument is optional: 
- resourceType string
- Resource type for which the tag policy applies. Valid values are DATABASEandTABLE.
- catalog_id str
- Identifier for the Data Catalog. By default, it is the account ID of the caller.
- expressions
Sequence[GetPermissions Lf Tag Policy Expression] 
- List of tag conditions that apply to the resource's tag policy. Configuration block for tag conditions that apply to the policy. See - expressionbelow.- The following argument is optional: 
- resource_type str
- Resource type for which the tag policy applies. Valid values are DATABASEandTABLE.
- catalogId String
- Identifier for the Data Catalog. By default, it is the account ID of the caller.
- expressions List<Property Map>
- List of tag conditions that apply to the resource's tag policy. Configuration block for tag conditions that apply to the policy. See - expressionbelow.- The following argument is optional: 
- resourceType String
- Resource type for which the tag policy applies. Valid values are DATABASEandTABLE.
GetPermissionsLfTagPolicyExpression     
GetPermissionsTable  
- CatalogId string
- Identifier for the Data Catalog. By default, it is the account ID of the caller.
- DatabaseName string
- Name of the database for the table. Unique to a Data Catalog. - The following arguments are optional: 
- Name string
- Name of the table. At least one of nameorwildcardis required.
- Wildcard bool
- Whether to use a wildcard representing every table under a database. At least one of nameorwildcardis required. Defaults tofalse.
- CatalogId string
- Identifier for the Data Catalog. By default, it is the account ID of the caller.
- DatabaseName string
- Name of the database for the table. Unique to a Data Catalog. - The following arguments are optional: 
- Name string
- Name of the table. At least one of nameorwildcardis required.
- Wildcard bool
- Whether to use a wildcard representing every table under a database. At least one of nameorwildcardis required. Defaults tofalse.
- catalogId String
- Identifier for the Data Catalog. By default, it is the account ID of the caller.
- databaseName String
- Name of the database for the table. Unique to a Data Catalog. - The following arguments are optional: 
- name String
- Name of the table. At least one of nameorwildcardis required.
- wildcard Boolean
- Whether to use a wildcard representing every table under a database. At least one of nameorwildcardis required. Defaults tofalse.
- catalogId string
- Identifier for the Data Catalog. By default, it is the account ID of the caller.
- databaseName string
- Name of the database for the table. Unique to a Data Catalog. - The following arguments are optional: 
- name string
- Name of the table. At least one of nameorwildcardis required.
- wildcard boolean
- Whether to use a wildcard representing every table under a database. At least one of nameorwildcardis required. Defaults tofalse.
- catalog_id str
- Identifier for the Data Catalog. By default, it is the account ID of the caller.
- database_name str
- Name of the database for the table. Unique to a Data Catalog. - The following arguments are optional: 
- name str
- Name of the table. At least one of nameorwildcardis required.
- wildcard bool
- Whether to use a wildcard representing every table under a database. At least one of nameorwildcardis required. Defaults tofalse.
- catalogId String
- Identifier for the Data Catalog. By default, it is the account ID of the caller.
- databaseName String
- Name of the database for the table. Unique to a Data Catalog. - The following arguments are optional: 
- name String
- Name of the table. At least one of nameorwildcardis required.
- wildcard Boolean
- Whether to use a wildcard representing every table under a database. At least one of nameorwildcardis required. Defaults tofalse.
GetPermissionsTableWithColumns    
- CatalogId string
- Identifier for the Data Catalog. By default, it is the account ID of the caller.
- DatabaseName string
- Name of the database for the table with columns resource. Unique to the Data Catalog.
- Name string
- Name of the table resource. - The following arguments are optional: 
- ColumnNames List<string>
- Set of column names for the table. At least one of column_namesorexcluded_column_namesis required.
- ExcludedColumn List<string>Names 
- Set of column names for the table to exclude. At least one of column_namesorexcluded_column_namesis required.
- Wildcard bool
- Whether to use a wildcard representing every table under a database. At least one of nameorwildcardis required. Defaults tofalse.
- CatalogId string
- Identifier for the Data Catalog. By default, it is the account ID of the caller.
- DatabaseName string
- Name of the database for the table with columns resource. Unique to the Data Catalog.
- Name string
- Name of the table resource. - The following arguments are optional: 
- ColumnNames []string
- Set of column names for the table. At least one of column_namesorexcluded_column_namesis required.
- ExcludedColumn []stringNames 
- Set of column names for the table to exclude. At least one of column_namesorexcluded_column_namesis required.
- Wildcard bool
- Whether to use a wildcard representing every table under a database. At least one of nameorwildcardis required. Defaults tofalse.
- catalogId String
- Identifier for the Data Catalog. By default, it is the account ID of the caller.
- databaseName String
- Name of the database for the table with columns resource. Unique to the Data Catalog.
- name String
- Name of the table resource. - The following arguments are optional: 
- columnNames List<String>
- Set of column names for the table. At least one of column_namesorexcluded_column_namesis required.
- excludedColumn List<String>Names 
- Set of column names for the table to exclude. At least one of column_namesorexcluded_column_namesis required.
- wildcard Boolean
- Whether to use a wildcard representing every table under a database. At least one of nameorwildcardis required. Defaults tofalse.
- catalogId string
- Identifier for the Data Catalog. By default, it is the account ID of the caller.
- databaseName string
- Name of the database for the table with columns resource. Unique to the Data Catalog.
- name string
- Name of the table resource. - The following arguments are optional: 
- columnNames string[]
- Set of column names for the table. At least one of column_namesorexcluded_column_namesis required.
- excludedColumn string[]Names 
- Set of column names for the table to exclude. At least one of column_namesorexcluded_column_namesis required.
- wildcard boolean
- Whether to use a wildcard representing every table under a database. At least one of nameorwildcardis required. Defaults tofalse.
- catalog_id str
- Identifier for the Data Catalog. By default, it is the account ID of the caller.
- database_name str
- Name of the database for the table with columns resource. Unique to the Data Catalog.
- name str
- Name of the table resource. - The following arguments are optional: 
- column_names Sequence[str]
- Set of column names for the table. At least one of column_namesorexcluded_column_namesis required.
- excluded_column_ Sequence[str]names 
- Set of column names for the table to exclude. At least one of column_namesorexcluded_column_namesis required.
- wildcard bool
- Whether to use a wildcard representing every table under a database. At least one of nameorwildcardis required. Defaults tofalse.
- catalogId String
- Identifier for the Data Catalog. By default, it is the account ID of the caller.
- databaseName String
- Name of the database for the table with columns resource. Unique to the Data Catalog.
- name String
- Name of the table resource. - The following arguments are optional: 
- columnNames List<String>
- Set of column names for the table. At least one of column_namesorexcluded_column_namesis required.
- excludedColumn List<String>Names 
- Set of column names for the table to exclude. At least one of column_namesorexcluded_column_namesis required.
- wildcard Boolean
- Whether to use a wildcard representing every table under a database. At least one of nameorwildcardis required. Defaults tofalse.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.