import * as core from "@terrascript/core"; export interface CreateDatabaseDefaultPermissionsArgs extends core.SchemaArgs { permissions?: core.Array | core.ArrayOut; principal?: string | core.StringOut; } export class CreateDatabaseDefaultPermissions extends core.Schema { @core.attr(String, { computed: true, kind: "array" }) public permissions?: core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public principal?: string | core.StringOut; } export interface CreateTableDefaultPermissionsArgs extends core.SchemaArgs { permissions?: core.Array | core.ArrayOut; principal?: string | core.StringOut; } export class CreateTableDefaultPermissions extends core.Schema { @core.attr(String, { computed: true, kind: "array" }) public permissions?: core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public principal?: string | core.StringOut; } export interface DataLakeSettingsArgs extends core.ResourceArgs { admins?: core.Array | core.ArrayOut; catalogId?: string | core.StringOut; /** * (Optional) Up to three configuration blocks of principal permissions for default create database per * missions. Detailed below. */ createDatabaseDefaultPermissions?: | core.Array | core.ArrayOut; /** * (Optional) Up to three configuration blocks of principal permissions for default create table permis * sions. Detailed below. */ createTableDefaultPermissions?: | core.Array | core.ArrayOut; trustedResourceOwners?: core.Array | core.ArrayOut; } export class DataLakeSettings extends core.Resource { @core.attr(String, { computed: true, kind: "array" }) public admins?: core.Array | core.ArrayOut; @core.attr(String) public catalogId?: string | core.StringOut; /** * (Optional) Up to three configuration blocks of principal permissions for default create database per * missions. Detailed below. */ @core.attr(CreateDatabaseDefaultPermissions, { computed: true, kind: "array", }) public createDatabaseDefaultPermissions?: | core.Array | core.ArrayOut; /** * (Optional) Up to three configuration blocks of principal permissions for default create table permis * sions. Detailed below. */ @core.attr(CreateTableDefaultPermissions, { computed: true, kind: "array" }) public createTableDefaultPermissions?: | core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; @core.attr(String, { computed: true, kind: "array" }) public trustedResourceOwners?: | core.Array | core.ArrayOut; constructor(name: string, args?: DataLakeSettingsArgs) { super(name, "aws_lakeformation_data_lake_settings", args); } public override getNamespace(): string { return "aws_lakeformation"; } }