Documentation ¶
Index ¶
- type DataLakeSettings
- func (*DataLakeSettings) ElementType() reflect.Type
- func (i *DataLakeSettings) ToDataLakeSettingsOutput() DataLakeSettingsOutput
- func (i *DataLakeSettings) ToDataLakeSettingsOutputWithContext(ctx context.Context) DataLakeSettingsOutput
- func (i *DataLakeSettings) ToDataLakeSettingsPtrOutput() DataLakeSettingsPtrOutput
- func (i *DataLakeSettings) ToDataLakeSettingsPtrOutputWithContext(ctx context.Context) DataLakeSettingsPtrOutput
- type DataLakeSettingsArgs
- type DataLakeSettingsArray
- type DataLakeSettingsArrayInput
- type DataLakeSettingsArrayOutput
- func (DataLakeSettingsArrayOutput) ElementType() reflect.Type
- func (o DataLakeSettingsArrayOutput) Index(i pulumi.IntInput) DataLakeSettingsOutput
- func (o DataLakeSettingsArrayOutput) ToDataLakeSettingsArrayOutput() DataLakeSettingsArrayOutput
- func (o DataLakeSettingsArrayOutput) ToDataLakeSettingsArrayOutputWithContext(ctx context.Context) DataLakeSettingsArrayOutput
- type DataLakeSettingsCreateDatabaseDefaultPermission
- type DataLakeSettingsCreateDatabaseDefaultPermissionArgs
- func (DataLakeSettingsCreateDatabaseDefaultPermissionArgs) ElementType() reflect.Type
- func (i DataLakeSettingsCreateDatabaseDefaultPermissionArgs) ToDataLakeSettingsCreateDatabaseDefaultPermissionOutput() DataLakeSettingsCreateDatabaseDefaultPermissionOutput
- func (i DataLakeSettingsCreateDatabaseDefaultPermissionArgs) ToDataLakeSettingsCreateDatabaseDefaultPermissionOutputWithContext(ctx context.Context) DataLakeSettingsCreateDatabaseDefaultPermissionOutput
- type DataLakeSettingsCreateDatabaseDefaultPermissionArray
- func (DataLakeSettingsCreateDatabaseDefaultPermissionArray) ElementType() reflect.Type
- func (i DataLakeSettingsCreateDatabaseDefaultPermissionArray) ToDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput() DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput
- func (i DataLakeSettingsCreateDatabaseDefaultPermissionArray) ToDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutputWithContext(ctx context.Context) DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput
- type DataLakeSettingsCreateDatabaseDefaultPermissionArrayInput
- type DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput
- func (DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput) ElementType() reflect.Type
- func (o DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput) Index(i pulumi.IntInput) DataLakeSettingsCreateDatabaseDefaultPermissionOutput
- func (o DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput) ToDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput() DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput
- func (o DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput) ToDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutputWithContext(ctx context.Context) DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput
- type DataLakeSettingsCreateDatabaseDefaultPermissionInput
- type DataLakeSettingsCreateDatabaseDefaultPermissionOutput
- func (DataLakeSettingsCreateDatabaseDefaultPermissionOutput) ElementType() reflect.Type
- func (o DataLakeSettingsCreateDatabaseDefaultPermissionOutput) Permissions() pulumi.StringArrayOutput
- func (o DataLakeSettingsCreateDatabaseDefaultPermissionOutput) Principal() pulumi.StringPtrOutput
- func (o DataLakeSettingsCreateDatabaseDefaultPermissionOutput) ToDataLakeSettingsCreateDatabaseDefaultPermissionOutput() DataLakeSettingsCreateDatabaseDefaultPermissionOutput
- func (o DataLakeSettingsCreateDatabaseDefaultPermissionOutput) ToDataLakeSettingsCreateDatabaseDefaultPermissionOutputWithContext(ctx context.Context) DataLakeSettingsCreateDatabaseDefaultPermissionOutput
- type DataLakeSettingsCreateTableDefaultPermission
- type DataLakeSettingsCreateTableDefaultPermissionArgs
- func (DataLakeSettingsCreateTableDefaultPermissionArgs) ElementType() reflect.Type
- func (i DataLakeSettingsCreateTableDefaultPermissionArgs) ToDataLakeSettingsCreateTableDefaultPermissionOutput() DataLakeSettingsCreateTableDefaultPermissionOutput
- func (i DataLakeSettingsCreateTableDefaultPermissionArgs) ToDataLakeSettingsCreateTableDefaultPermissionOutputWithContext(ctx context.Context) DataLakeSettingsCreateTableDefaultPermissionOutput
- type DataLakeSettingsCreateTableDefaultPermissionArray
- func (DataLakeSettingsCreateTableDefaultPermissionArray) ElementType() reflect.Type
- func (i DataLakeSettingsCreateTableDefaultPermissionArray) ToDataLakeSettingsCreateTableDefaultPermissionArrayOutput() DataLakeSettingsCreateTableDefaultPermissionArrayOutput
- func (i DataLakeSettingsCreateTableDefaultPermissionArray) ToDataLakeSettingsCreateTableDefaultPermissionArrayOutputWithContext(ctx context.Context) DataLakeSettingsCreateTableDefaultPermissionArrayOutput
- type DataLakeSettingsCreateTableDefaultPermissionArrayInput
- type DataLakeSettingsCreateTableDefaultPermissionArrayOutput
- func (DataLakeSettingsCreateTableDefaultPermissionArrayOutput) ElementType() reflect.Type
- func (o DataLakeSettingsCreateTableDefaultPermissionArrayOutput) Index(i pulumi.IntInput) DataLakeSettingsCreateTableDefaultPermissionOutput
- func (o DataLakeSettingsCreateTableDefaultPermissionArrayOutput) ToDataLakeSettingsCreateTableDefaultPermissionArrayOutput() DataLakeSettingsCreateTableDefaultPermissionArrayOutput
- func (o DataLakeSettingsCreateTableDefaultPermissionArrayOutput) ToDataLakeSettingsCreateTableDefaultPermissionArrayOutputWithContext(ctx context.Context) DataLakeSettingsCreateTableDefaultPermissionArrayOutput
- type DataLakeSettingsCreateTableDefaultPermissionInput
- type DataLakeSettingsCreateTableDefaultPermissionOutput
- func (DataLakeSettingsCreateTableDefaultPermissionOutput) ElementType() reflect.Type
- func (o DataLakeSettingsCreateTableDefaultPermissionOutput) Permissions() pulumi.StringArrayOutput
- func (o DataLakeSettingsCreateTableDefaultPermissionOutput) Principal() pulumi.StringPtrOutput
- func (o DataLakeSettingsCreateTableDefaultPermissionOutput) ToDataLakeSettingsCreateTableDefaultPermissionOutput() DataLakeSettingsCreateTableDefaultPermissionOutput
- func (o DataLakeSettingsCreateTableDefaultPermissionOutput) ToDataLakeSettingsCreateTableDefaultPermissionOutputWithContext(ctx context.Context) DataLakeSettingsCreateTableDefaultPermissionOutput
- type DataLakeSettingsInput
- type DataLakeSettingsMap
- type DataLakeSettingsMapInput
- type DataLakeSettingsMapOutput
- func (DataLakeSettingsMapOutput) ElementType() reflect.Type
- func (o DataLakeSettingsMapOutput) MapIndex(k pulumi.StringInput) DataLakeSettingsOutput
- func (o DataLakeSettingsMapOutput) ToDataLakeSettingsMapOutput() DataLakeSettingsMapOutput
- func (o DataLakeSettingsMapOutput) ToDataLakeSettingsMapOutputWithContext(ctx context.Context) DataLakeSettingsMapOutput
- type DataLakeSettingsOutput
- func (DataLakeSettingsOutput) ElementType() reflect.Type
- func (o DataLakeSettingsOutput) ToDataLakeSettingsOutput() DataLakeSettingsOutput
- func (o DataLakeSettingsOutput) ToDataLakeSettingsOutputWithContext(ctx context.Context) DataLakeSettingsOutput
- func (o DataLakeSettingsOutput) ToDataLakeSettingsPtrOutput() DataLakeSettingsPtrOutput
- func (o DataLakeSettingsOutput) ToDataLakeSettingsPtrOutputWithContext(ctx context.Context) DataLakeSettingsPtrOutput
- type DataLakeSettingsPtrInput
- type DataLakeSettingsPtrOutput
- type DataLakeSettingsState
- type GetDataLakeSettingsCreateDatabaseDefaultPermission
- type GetDataLakeSettingsCreateDatabaseDefaultPermissionArgs
- func (GetDataLakeSettingsCreateDatabaseDefaultPermissionArgs) ElementType() reflect.Type
- func (i GetDataLakeSettingsCreateDatabaseDefaultPermissionArgs) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionOutput() GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput
- func (i GetDataLakeSettingsCreateDatabaseDefaultPermissionArgs) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionOutputWithContext(ctx context.Context) GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput
- type GetDataLakeSettingsCreateDatabaseDefaultPermissionArray
- func (GetDataLakeSettingsCreateDatabaseDefaultPermissionArray) ElementType() reflect.Type
- func (i GetDataLakeSettingsCreateDatabaseDefaultPermissionArray) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput() GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput
- func (i GetDataLakeSettingsCreateDatabaseDefaultPermissionArray) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutputWithContext(ctx context.Context) GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput
- type GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayInput
- type GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput
- func (GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput) ElementType() reflect.Type
- func (o GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput) Index(i pulumi.IntInput) GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput
- func (o GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput() GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput
- func (o GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutputWithContext(ctx context.Context) GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput
- type GetDataLakeSettingsCreateDatabaseDefaultPermissionInput
- type GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput
- func (GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput) ElementType() reflect.Type
- func (o GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput) Permissions() pulumi.StringArrayOutput
- func (o GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput) Principal() pulumi.StringOutput
- func (o GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionOutput() GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput
- func (o GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionOutputWithContext(ctx context.Context) GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput
- type GetDataLakeSettingsCreateTableDefaultPermission
- type GetDataLakeSettingsCreateTableDefaultPermissionArgs
- func (GetDataLakeSettingsCreateTableDefaultPermissionArgs) ElementType() reflect.Type
- func (i GetDataLakeSettingsCreateTableDefaultPermissionArgs) ToGetDataLakeSettingsCreateTableDefaultPermissionOutput() GetDataLakeSettingsCreateTableDefaultPermissionOutput
- func (i GetDataLakeSettingsCreateTableDefaultPermissionArgs) ToGetDataLakeSettingsCreateTableDefaultPermissionOutputWithContext(ctx context.Context) GetDataLakeSettingsCreateTableDefaultPermissionOutput
- type GetDataLakeSettingsCreateTableDefaultPermissionArray
- func (GetDataLakeSettingsCreateTableDefaultPermissionArray) ElementType() reflect.Type
- func (i GetDataLakeSettingsCreateTableDefaultPermissionArray) ToGetDataLakeSettingsCreateTableDefaultPermissionArrayOutput() GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput
- func (i GetDataLakeSettingsCreateTableDefaultPermissionArray) ToGetDataLakeSettingsCreateTableDefaultPermissionArrayOutputWithContext(ctx context.Context) GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput
- type GetDataLakeSettingsCreateTableDefaultPermissionArrayInput
- type GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput
- func (GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput) ElementType() reflect.Type
- func (o GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput) Index(i pulumi.IntInput) GetDataLakeSettingsCreateTableDefaultPermissionOutput
- func (o GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput) ToGetDataLakeSettingsCreateTableDefaultPermissionArrayOutput() GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput
- func (o GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput) ToGetDataLakeSettingsCreateTableDefaultPermissionArrayOutputWithContext(ctx context.Context) GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput
- type GetDataLakeSettingsCreateTableDefaultPermissionInput
- type GetDataLakeSettingsCreateTableDefaultPermissionOutput
- func (GetDataLakeSettingsCreateTableDefaultPermissionOutput) ElementType() reflect.Type
- func (o GetDataLakeSettingsCreateTableDefaultPermissionOutput) Permissions() pulumi.StringArrayOutput
- func (o GetDataLakeSettingsCreateTableDefaultPermissionOutput) Principal() pulumi.StringOutput
- func (o GetDataLakeSettingsCreateTableDefaultPermissionOutput) ToGetDataLakeSettingsCreateTableDefaultPermissionOutput() GetDataLakeSettingsCreateTableDefaultPermissionOutput
- func (o GetDataLakeSettingsCreateTableDefaultPermissionOutput) ToGetDataLakeSettingsCreateTableDefaultPermissionOutputWithContext(ctx context.Context) GetDataLakeSettingsCreateTableDefaultPermissionOutput
- type GetPermissionsDataLocation
- type GetPermissionsDataLocationArgs
- func (GetPermissionsDataLocationArgs) ElementType() reflect.Type
- func (i GetPermissionsDataLocationArgs) ToGetPermissionsDataLocationOutput() GetPermissionsDataLocationOutput
- func (i GetPermissionsDataLocationArgs) ToGetPermissionsDataLocationOutputWithContext(ctx context.Context) GetPermissionsDataLocationOutput
- type GetPermissionsDataLocationInput
- type GetPermissionsDataLocationOutput
- func (o GetPermissionsDataLocationOutput) Arn() pulumi.StringOutput
- func (o GetPermissionsDataLocationOutput) CatalogId() pulumi.StringOutput
- func (GetPermissionsDataLocationOutput) ElementType() reflect.Type
- func (o GetPermissionsDataLocationOutput) ToGetPermissionsDataLocationOutput() GetPermissionsDataLocationOutput
- func (o GetPermissionsDataLocationOutput) ToGetPermissionsDataLocationOutputWithContext(ctx context.Context) GetPermissionsDataLocationOutput
- type GetPermissionsDatabase
- type GetPermissionsDatabaseArgs
- type GetPermissionsDatabaseInput
- type GetPermissionsDatabaseOutput
- func (o GetPermissionsDatabaseOutput) CatalogId() pulumi.StringOutput
- func (GetPermissionsDatabaseOutput) ElementType() reflect.Type
- func (o GetPermissionsDatabaseOutput) Name() pulumi.StringOutput
- func (o GetPermissionsDatabaseOutput) ToGetPermissionsDatabaseOutput() GetPermissionsDatabaseOutput
- func (o GetPermissionsDatabaseOutput) ToGetPermissionsDatabaseOutputWithContext(ctx context.Context) GetPermissionsDatabaseOutput
- type GetPermissionsTable
- type GetPermissionsTableArgs
- type GetPermissionsTableInput
- type GetPermissionsTableOutput
- func (o GetPermissionsTableOutput) CatalogId() pulumi.StringOutput
- func (o GetPermissionsTableOutput) DatabaseName() pulumi.StringOutput
- func (GetPermissionsTableOutput) ElementType() reflect.Type
- func (o GetPermissionsTableOutput) Name() pulumi.StringOutput
- func (o GetPermissionsTableOutput) ToGetPermissionsTableOutput() GetPermissionsTableOutput
- func (o GetPermissionsTableOutput) ToGetPermissionsTableOutputWithContext(ctx context.Context) GetPermissionsTableOutput
- func (o GetPermissionsTableOutput) Wildcard() pulumi.BoolPtrOutput
- type GetPermissionsTableWithColumns
- type GetPermissionsTableWithColumnsArgs
- func (GetPermissionsTableWithColumnsArgs) ElementType() reflect.Type
- func (i GetPermissionsTableWithColumnsArgs) ToGetPermissionsTableWithColumnsOutput() GetPermissionsTableWithColumnsOutput
- func (i GetPermissionsTableWithColumnsArgs) ToGetPermissionsTableWithColumnsOutputWithContext(ctx context.Context) GetPermissionsTableWithColumnsOutput
- type GetPermissionsTableWithColumnsInput
- type GetPermissionsTableWithColumnsOutput
- func (o GetPermissionsTableWithColumnsOutput) CatalogId() pulumi.StringOutput
- func (o GetPermissionsTableWithColumnsOutput) ColumnNames() pulumi.StringArrayOutput
- func (o GetPermissionsTableWithColumnsOutput) DatabaseName() pulumi.StringOutput
- func (GetPermissionsTableWithColumnsOutput) ElementType() reflect.Type
- func (o GetPermissionsTableWithColumnsOutput) ExcludedColumnNames() pulumi.StringArrayOutput
- func (o GetPermissionsTableWithColumnsOutput) Name() pulumi.StringOutput
- func (o GetPermissionsTableWithColumnsOutput) ToGetPermissionsTableWithColumnsOutput() GetPermissionsTableWithColumnsOutput
- func (o GetPermissionsTableWithColumnsOutput) ToGetPermissionsTableWithColumnsOutputWithContext(ctx context.Context) GetPermissionsTableWithColumnsOutput
- func (o GetPermissionsTableWithColumnsOutput) Wildcard() pulumi.BoolPtrOutput
- type LookupDataLakeSettingsArgs
- type LookupDataLakeSettingsResult
- type LookupPermissionsArgs
- type LookupPermissionsResult
- type LookupResourceArgs
- type LookupResourceResult
- type Permissions
- func (*Permissions) ElementType() reflect.Type
- func (i *Permissions) ToPermissionsOutput() PermissionsOutput
- func (i *Permissions) ToPermissionsOutputWithContext(ctx context.Context) PermissionsOutput
- func (i *Permissions) ToPermissionsPtrOutput() PermissionsPtrOutput
- func (i *Permissions) ToPermissionsPtrOutputWithContext(ctx context.Context) PermissionsPtrOutput
- type PermissionsArgs
- type PermissionsArray
- type PermissionsArrayInput
- type PermissionsArrayOutput
- func (PermissionsArrayOutput) ElementType() reflect.Type
- func (o PermissionsArrayOutput) Index(i pulumi.IntInput) PermissionsOutput
- func (o PermissionsArrayOutput) ToPermissionsArrayOutput() PermissionsArrayOutput
- func (o PermissionsArrayOutput) ToPermissionsArrayOutputWithContext(ctx context.Context) PermissionsArrayOutput
- type PermissionsDataLocation
- type PermissionsDataLocationArgs
- func (PermissionsDataLocationArgs) ElementType() reflect.Type
- func (i PermissionsDataLocationArgs) ToPermissionsDataLocationOutput() PermissionsDataLocationOutput
- func (i PermissionsDataLocationArgs) ToPermissionsDataLocationOutputWithContext(ctx context.Context) PermissionsDataLocationOutput
- func (i PermissionsDataLocationArgs) ToPermissionsDataLocationPtrOutput() PermissionsDataLocationPtrOutput
- func (i PermissionsDataLocationArgs) ToPermissionsDataLocationPtrOutputWithContext(ctx context.Context) PermissionsDataLocationPtrOutput
- type PermissionsDataLocationInput
- type PermissionsDataLocationOutput
- func (o PermissionsDataLocationOutput) Arn() pulumi.StringOutput
- func (o PermissionsDataLocationOutput) CatalogId() pulumi.StringPtrOutput
- func (PermissionsDataLocationOutput) ElementType() reflect.Type
- func (o PermissionsDataLocationOutput) ToPermissionsDataLocationOutput() PermissionsDataLocationOutput
- func (o PermissionsDataLocationOutput) ToPermissionsDataLocationOutputWithContext(ctx context.Context) PermissionsDataLocationOutput
- func (o PermissionsDataLocationOutput) ToPermissionsDataLocationPtrOutput() PermissionsDataLocationPtrOutput
- func (o PermissionsDataLocationOutput) ToPermissionsDataLocationPtrOutputWithContext(ctx context.Context) PermissionsDataLocationPtrOutput
- type PermissionsDataLocationPtrInput
- type PermissionsDataLocationPtrOutput
- func (o PermissionsDataLocationPtrOutput) Arn() pulumi.StringPtrOutput
- func (o PermissionsDataLocationPtrOutput) CatalogId() pulumi.StringPtrOutput
- func (o PermissionsDataLocationPtrOutput) Elem() PermissionsDataLocationOutput
- func (PermissionsDataLocationPtrOutput) ElementType() reflect.Type
- func (o PermissionsDataLocationPtrOutput) ToPermissionsDataLocationPtrOutput() PermissionsDataLocationPtrOutput
- func (o PermissionsDataLocationPtrOutput) ToPermissionsDataLocationPtrOutputWithContext(ctx context.Context) PermissionsDataLocationPtrOutput
- type PermissionsDatabase
- type PermissionsDatabaseArgs
- func (PermissionsDatabaseArgs) ElementType() reflect.Type
- func (i PermissionsDatabaseArgs) ToPermissionsDatabaseOutput() PermissionsDatabaseOutput
- func (i PermissionsDatabaseArgs) ToPermissionsDatabaseOutputWithContext(ctx context.Context) PermissionsDatabaseOutput
- func (i PermissionsDatabaseArgs) ToPermissionsDatabasePtrOutput() PermissionsDatabasePtrOutput
- func (i PermissionsDatabaseArgs) ToPermissionsDatabasePtrOutputWithContext(ctx context.Context) PermissionsDatabasePtrOutput
- type PermissionsDatabaseInput
- type PermissionsDatabaseOutput
- func (o PermissionsDatabaseOutput) CatalogId() pulumi.StringPtrOutput
- func (PermissionsDatabaseOutput) ElementType() reflect.Type
- func (o PermissionsDatabaseOutput) Name() pulumi.StringOutput
- func (o PermissionsDatabaseOutput) ToPermissionsDatabaseOutput() PermissionsDatabaseOutput
- func (o PermissionsDatabaseOutput) ToPermissionsDatabaseOutputWithContext(ctx context.Context) PermissionsDatabaseOutput
- func (o PermissionsDatabaseOutput) ToPermissionsDatabasePtrOutput() PermissionsDatabasePtrOutput
- func (o PermissionsDatabaseOutput) ToPermissionsDatabasePtrOutputWithContext(ctx context.Context) PermissionsDatabasePtrOutput
- type PermissionsDatabasePtrInput
- type PermissionsDatabasePtrOutput
- func (o PermissionsDatabasePtrOutput) CatalogId() pulumi.StringPtrOutput
- func (o PermissionsDatabasePtrOutput) Elem() PermissionsDatabaseOutput
- func (PermissionsDatabasePtrOutput) ElementType() reflect.Type
- func (o PermissionsDatabasePtrOutput) Name() pulumi.StringPtrOutput
- func (o PermissionsDatabasePtrOutput) ToPermissionsDatabasePtrOutput() PermissionsDatabasePtrOutput
- func (o PermissionsDatabasePtrOutput) ToPermissionsDatabasePtrOutputWithContext(ctx context.Context) PermissionsDatabasePtrOutput
- type PermissionsInput
- type PermissionsMap
- type PermissionsMapInput
- type PermissionsMapOutput
- func (PermissionsMapOutput) ElementType() reflect.Type
- func (o PermissionsMapOutput) MapIndex(k pulumi.StringInput) PermissionsOutput
- func (o PermissionsMapOutput) ToPermissionsMapOutput() PermissionsMapOutput
- func (o PermissionsMapOutput) ToPermissionsMapOutputWithContext(ctx context.Context) PermissionsMapOutput
- type PermissionsOutput
- func (PermissionsOutput) ElementType() reflect.Type
- func (o PermissionsOutput) ToPermissionsOutput() PermissionsOutput
- func (o PermissionsOutput) ToPermissionsOutputWithContext(ctx context.Context) PermissionsOutput
- func (o PermissionsOutput) ToPermissionsPtrOutput() PermissionsPtrOutput
- func (o PermissionsOutput) ToPermissionsPtrOutputWithContext(ctx context.Context) PermissionsPtrOutput
- type PermissionsPtrInput
- type PermissionsPtrOutput
- type PermissionsState
- type PermissionsTable
- type PermissionsTableArgs
- func (PermissionsTableArgs) ElementType() reflect.Type
- func (i PermissionsTableArgs) ToPermissionsTableOutput() PermissionsTableOutput
- func (i PermissionsTableArgs) ToPermissionsTableOutputWithContext(ctx context.Context) PermissionsTableOutput
- func (i PermissionsTableArgs) ToPermissionsTablePtrOutput() PermissionsTablePtrOutput
- func (i PermissionsTableArgs) ToPermissionsTablePtrOutputWithContext(ctx context.Context) PermissionsTablePtrOutput
- type PermissionsTableInput
- type PermissionsTableOutput
- func (o PermissionsTableOutput) CatalogId() pulumi.StringPtrOutput
- func (o PermissionsTableOutput) DatabaseName() pulumi.StringOutput
- func (PermissionsTableOutput) ElementType() reflect.Type
- func (o PermissionsTableOutput) Name() pulumi.StringPtrOutput
- func (o PermissionsTableOutput) ToPermissionsTableOutput() PermissionsTableOutput
- func (o PermissionsTableOutput) ToPermissionsTableOutputWithContext(ctx context.Context) PermissionsTableOutput
- func (o PermissionsTableOutput) ToPermissionsTablePtrOutput() PermissionsTablePtrOutput
- func (o PermissionsTableOutput) ToPermissionsTablePtrOutputWithContext(ctx context.Context) PermissionsTablePtrOutput
- func (o PermissionsTableOutput) Wildcard() pulumi.BoolPtrOutput
- type PermissionsTablePtrInput
- type PermissionsTablePtrOutput
- func (o PermissionsTablePtrOutput) CatalogId() pulumi.StringPtrOutput
- func (o PermissionsTablePtrOutput) DatabaseName() pulumi.StringPtrOutput
- func (o PermissionsTablePtrOutput) Elem() PermissionsTableOutput
- func (PermissionsTablePtrOutput) ElementType() reflect.Type
- func (o PermissionsTablePtrOutput) Name() pulumi.StringPtrOutput
- func (o PermissionsTablePtrOutput) ToPermissionsTablePtrOutput() PermissionsTablePtrOutput
- func (o PermissionsTablePtrOutput) ToPermissionsTablePtrOutputWithContext(ctx context.Context) PermissionsTablePtrOutput
- func (o PermissionsTablePtrOutput) Wildcard() pulumi.BoolPtrOutput
- type PermissionsTableWithColumns
- type PermissionsTableWithColumnsArgs
- func (PermissionsTableWithColumnsArgs) ElementType() reflect.Type
- func (i PermissionsTableWithColumnsArgs) ToPermissionsTableWithColumnsOutput() PermissionsTableWithColumnsOutput
- func (i PermissionsTableWithColumnsArgs) ToPermissionsTableWithColumnsOutputWithContext(ctx context.Context) PermissionsTableWithColumnsOutput
- func (i PermissionsTableWithColumnsArgs) ToPermissionsTableWithColumnsPtrOutput() PermissionsTableWithColumnsPtrOutput
- func (i PermissionsTableWithColumnsArgs) ToPermissionsTableWithColumnsPtrOutputWithContext(ctx context.Context) PermissionsTableWithColumnsPtrOutput
- type PermissionsTableWithColumnsInput
- type PermissionsTableWithColumnsOutput
- func (o PermissionsTableWithColumnsOutput) CatalogId() pulumi.StringPtrOutput
- func (o PermissionsTableWithColumnsOutput) ColumnNames() pulumi.StringArrayOutput
- func (o PermissionsTableWithColumnsOutput) DatabaseName() pulumi.StringOutput
- func (PermissionsTableWithColumnsOutput) ElementType() reflect.Type
- func (o PermissionsTableWithColumnsOutput) ExcludedColumnNames() pulumi.StringArrayOutput
- func (o PermissionsTableWithColumnsOutput) Name() pulumi.StringOutput
- func (o PermissionsTableWithColumnsOutput) ToPermissionsTableWithColumnsOutput() PermissionsTableWithColumnsOutput
- func (o PermissionsTableWithColumnsOutput) ToPermissionsTableWithColumnsOutputWithContext(ctx context.Context) PermissionsTableWithColumnsOutput
- func (o PermissionsTableWithColumnsOutput) ToPermissionsTableWithColumnsPtrOutput() PermissionsTableWithColumnsPtrOutput
- func (o PermissionsTableWithColumnsOutput) ToPermissionsTableWithColumnsPtrOutputWithContext(ctx context.Context) PermissionsTableWithColumnsPtrOutput
- func (o PermissionsTableWithColumnsOutput) Wildcard() pulumi.BoolPtrOutput
- type PermissionsTableWithColumnsPtrInput
- type PermissionsTableWithColumnsPtrOutput
- func (o PermissionsTableWithColumnsPtrOutput) CatalogId() pulumi.StringPtrOutput
- func (o PermissionsTableWithColumnsPtrOutput) ColumnNames() pulumi.StringArrayOutput
- func (o PermissionsTableWithColumnsPtrOutput) DatabaseName() pulumi.StringPtrOutput
- func (o PermissionsTableWithColumnsPtrOutput) Elem() PermissionsTableWithColumnsOutput
- func (PermissionsTableWithColumnsPtrOutput) ElementType() reflect.Type
- func (o PermissionsTableWithColumnsPtrOutput) ExcludedColumnNames() pulumi.StringArrayOutput
- func (o PermissionsTableWithColumnsPtrOutput) Name() pulumi.StringPtrOutput
- func (o PermissionsTableWithColumnsPtrOutput) ToPermissionsTableWithColumnsPtrOutput() PermissionsTableWithColumnsPtrOutput
- func (o PermissionsTableWithColumnsPtrOutput) ToPermissionsTableWithColumnsPtrOutputWithContext(ctx context.Context) PermissionsTableWithColumnsPtrOutput
- func (o PermissionsTableWithColumnsPtrOutput) Wildcard() pulumi.BoolPtrOutput
- type Resource
- func (*Resource) ElementType() reflect.Type
- func (i *Resource) ToResourceOutput() ResourceOutput
- func (i *Resource) ToResourceOutputWithContext(ctx context.Context) ResourceOutput
- func (i *Resource) ToResourcePtrOutput() ResourcePtrOutput
- func (i *Resource) ToResourcePtrOutputWithContext(ctx context.Context) ResourcePtrOutput
- type ResourceArgs
- type ResourceArray
- type ResourceArrayInput
- type ResourceArrayOutput
- type ResourceInput
- type ResourceMap
- type ResourceMapInput
- type ResourceMapOutput
- type ResourceOutput
- func (ResourceOutput) ElementType() reflect.Type
- func (o ResourceOutput) ToResourceOutput() ResourceOutput
- func (o ResourceOutput) ToResourceOutputWithContext(ctx context.Context) ResourceOutput
- func (o ResourceOutput) ToResourcePtrOutput() ResourcePtrOutput
- func (o ResourceOutput) ToResourcePtrOutputWithContext(ctx context.Context) ResourcePtrOutput
- type ResourcePtrInput
- type ResourcePtrOutput
- type ResourceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataLakeSettings ¶
type DataLakeSettings struct { pulumi.CustomResourceState // Set of ARNs of AWS Lake Formation principals (IAM users or roles). Admins pulumi.StringArrayOutput `pulumi:"admins"` // Identifier for the Data Catalog. By default, the account ID. CatalogId pulumi.StringPtrOutput `pulumi:"catalogId"` // Up to three configuration blocks of principal permissions for default create database permissions. Detailed below. CreateDatabaseDefaultPermissions DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput `pulumi:"createDatabaseDefaultPermissions"` // Up to three configuration blocks of principal permissions for default create table permissions. Detailed below. CreateTableDefaultPermissions DataLakeSettingsCreateTableDefaultPermissionArrayOutput `pulumi:"createTableDefaultPermissions"` // List of the resource-owning account IDs that the caller's account can use to share their user access details (user ARNs). TrustedResourceOwners pulumi.StringArrayOutput `pulumi:"trustedResourceOwners"` }
Manages Lake Formation principals designated as data lake administrators and lists of principal permission entries for default create database and default create table permissions.
> **NOTE:** Lake Formation introduces fine-grained access control for data in your data lake. Part of the changes include the `IAMAllowedPrincipals` principal in order to make Lake Formation backwards compatible with existing IAM and Glue permissions. For more information, see [Changing the Default Security Settings for Your Data Lake](https://docs.aws.amazon.com/lake-formation/latest/dg/change-settings.html) and [Upgrading AWS Glue Data Permissions to the AWS Lake Formation Model](https://docs.aws.amazon.com/lake-formation/latest/dg/upgrade-glue-lake-formation.html).
## Example Usage
func GetDataLakeSettings ¶
func GetDataLakeSettings(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DataLakeSettingsState, opts ...pulumi.ResourceOption) (*DataLakeSettings, error)
GetDataLakeSettings gets an existing DataLakeSettings resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDataLakeSettings ¶
func NewDataLakeSettings(ctx *pulumi.Context, name string, args *DataLakeSettingsArgs, opts ...pulumi.ResourceOption) (*DataLakeSettings, error)
NewDataLakeSettings registers a new resource with the given unique name, arguments, and options.
func (*DataLakeSettings) ElementType ¶
func (*DataLakeSettings) ElementType() reflect.Type
func (*DataLakeSettings) ToDataLakeSettingsOutput ¶
func (i *DataLakeSettings) ToDataLakeSettingsOutput() DataLakeSettingsOutput
func (*DataLakeSettings) ToDataLakeSettingsOutputWithContext ¶
func (i *DataLakeSettings) ToDataLakeSettingsOutputWithContext(ctx context.Context) DataLakeSettingsOutput
func (*DataLakeSettings) ToDataLakeSettingsPtrOutput ¶
func (i *DataLakeSettings) ToDataLakeSettingsPtrOutput() DataLakeSettingsPtrOutput
func (*DataLakeSettings) ToDataLakeSettingsPtrOutputWithContext ¶
func (i *DataLakeSettings) ToDataLakeSettingsPtrOutputWithContext(ctx context.Context) DataLakeSettingsPtrOutput
type DataLakeSettingsArgs ¶
type DataLakeSettingsArgs struct { // Set of ARNs of AWS Lake Formation principals (IAM users or roles). Admins pulumi.StringArrayInput // Identifier for the Data Catalog. By default, the account ID. CatalogId pulumi.StringPtrInput // Up to three configuration blocks of principal permissions for default create database permissions. Detailed below. CreateDatabaseDefaultPermissions DataLakeSettingsCreateDatabaseDefaultPermissionArrayInput // Up to three configuration blocks of principal permissions for default create table permissions. Detailed below. CreateTableDefaultPermissions DataLakeSettingsCreateTableDefaultPermissionArrayInput // List of the resource-owning account IDs that the caller's account can use to share their user access details (user ARNs). TrustedResourceOwners pulumi.StringArrayInput }
The set of arguments for constructing a DataLakeSettings resource.
func (DataLakeSettingsArgs) ElementType ¶
func (DataLakeSettingsArgs) ElementType() reflect.Type
type DataLakeSettingsArray ¶
type DataLakeSettingsArray []DataLakeSettingsInput
func (DataLakeSettingsArray) ElementType ¶
func (DataLakeSettingsArray) ElementType() reflect.Type
func (DataLakeSettingsArray) ToDataLakeSettingsArrayOutput ¶
func (i DataLakeSettingsArray) ToDataLakeSettingsArrayOutput() DataLakeSettingsArrayOutput
func (DataLakeSettingsArray) ToDataLakeSettingsArrayOutputWithContext ¶
func (i DataLakeSettingsArray) ToDataLakeSettingsArrayOutputWithContext(ctx context.Context) DataLakeSettingsArrayOutput
type DataLakeSettingsArrayInput ¶
type DataLakeSettingsArrayInput interface { pulumi.Input ToDataLakeSettingsArrayOutput() DataLakeSettingsArrayOutput ToDataLakeSettingsArrayOutputWithContext(context.Context) DataLakeSettingsArrayOutput }
DataLakeSettingsArrayInput is an input type that accepts DataLakeSettingsArray and DataLakeSettingsArrayOutput values. You can construct a concrete instance of `DataLakeSettingsArrayInput` via:
DataLakeSettingsArray{ DataLakeSettingsArgs{...} }
type DataLakeSettingsArrayOutput ¶
type DataLakeSettingsArrayOutput struct{ *pulumi.OutputState }
func (DataLakeSettingsArrayOutput) ElementType ¶
func (DataLakeSettingsArrayOutput) ElementType() reflect.Type
func (DataLakeSettingsArrayOutput) Index ¶
func (o DataLakeSettingsArrayOutput) Index(i pulumi.IntInput) DataLakeSettingsOutput
func (DataLakeSettingsArrayOutput) ToDataLakeSettingsArrayOutput ¶
func (o DataLakeSettingsArrayOutput) ToDataLakeSettingsArrayOutput() DataLakeSettingsArrayOutput
func (DataLakeSettingsArrayOutput) ToDataLakeSettingsArrayOutputWithContext ¶
func (o DataLakeSettingsArrayOutput) ToDataLakeSettingsArrayOutputWithContext(ctx context.Context) DataLakeSettingsArrayOutput
type DataLakeSettingsCreateDatabaseDefaultPermission ¶
type DataLakeSettingsCreateDatabaseDefaultPermission struct { // List of permissions that are granted to the principal. Valid values may include `ALL`, `SELECT`, `ALTER`, `DROP`, `DELETE`, `INSERT`, and `DESCRIBE`. For more details, see [Lake Formation Permissions Reference](https://docs.aws.amazon.com/lake-formation/latest/dg/lf-permissions-reference.html). Permissions []string `pulumi:"permissions"` // Principal who is granted permissions. To enforce metadata and underlying data access control only by IAM on new databases and tables set `principal` to `IAM_ALLOWED_PRINCIPALS` and `permissions` to `["ALL"]`. Principal *string `pulumi:"principal"` }
type DataLakeSettingsCreateDatabaseDefaultPermissionArgs ¶
type DataLakeSettingsCreateDatabaseDefaultPermissionArgs struct { // List of permissions that are granted to the principal. Valid values may include `ALL`, `SELECT`, `ALTER`, `DROP`, `DELETE`, `INSERT`, and `DESCRIBE`. For more details, see [Lake Formation Permissions Reference](https://docs.aws.amazon.com/lake-formation/latest/dg/lf-permissions-reference.html). Permissions pulumi.StringArrayInput `pulumi:"permissions"` // Principal who is granted permissions. To enforce metadata and underlying data access control only by IAM on new databases and tables set `principal` to `IAM_ALLOWED_PRINCIPALS` and `permissions` to `["ALL"]`. Principal pulumi.StringPtrInput `pulumi:"principal"` }
func (DataLakeSettingsCreateDatabaseDefaultPermissionArgs) ElementType ¶
func (DataLakeSettingsCreateDatabaseDefaultPermissionArgs) ElementType() reflect.Type
func (DataLakeSettingsCreateDatabaseDefaultPermissionArgs) ToDataLakeSettingsCreateDatabaseDefaultPermissionOutput ¶
func (i DataLakeSettingsCreateDatabaseDefaultPermissionArgs) ToDataLakeSettingsCreateDatabaseDefaultPermissionOutput() DataLakeSettingsCreateDatabaseDefaultPermissionOutput
func (DataLakeSettingsCreateDatabaseDefaultPermissionArgs) ToDataLakeSettingsCreateDatabaseDefaultPermissionOutputWithContext ¶
func (i DataLakeSettingsCreateDatabaseDefaultPermissionArgs) ToDataLakeSettingsCreateDatabaseDefaultPermissionOutputWithContext(ctx context.Context) DataLakeSettingsCreateDatabaseDefaultPermissionOutput
type DataLakeSettingsCreateDatabaseDefaultPermissionArray ¶
type DataLakeSettingsCreateDatabaseDefaultPermissionArray []DataLakeSettingsCreateDatabaseDefaultPermissionInput
func (DataLakeSettingsCreateDatabaseDefaultPermissionArray) ElementType ¶
func (DataLakeSettingsCreateDatabaseDefaultPermissionArray) ElementType() reflect.Type
func (DataLakeSettingsCreateDatabaseDefaultPermissionArray) ToDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput ¶
func (i DataLakeSettingsCreateDatabaseDefaultPermissionArray) ToDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput() DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput
func (DataLakeSettingsCreateDatabaseDefaultPermissionArray) ToDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutputWithContext ¶
func (i DataLakeSettingsCreateDatabaseDefaultPermissionArray) ToDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutputWithContext(ctx context.Context) DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput
type DataLakeSettingsCreateDatabaseDefaultPermissionArrayInput ¶
type DataLakeSettingsCreateDatabaseDefaultPermissionArrayInput interface { pulumi.Input ToDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput() DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput ToDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutputWithContext(context.Context) DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput }
DataLakeSettingsCreateDatabaseDefaultPermissionArrayInput is an input type that accepts DataLakeSettingsCreateDatabaseDefaultPermissionArray and DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput values. You can construct a concrete instance of `DataLakeSettingsCreateDatabaseDefaultPermissionArrayInput` via:
DataLakeSettingsCreateDatabaseDefaultPermissionArray{ DataLakeSettingsCreateDatabaseDefaultPermissionArgs{...} }
type DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput ¶
type DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput struct{ *pulumi.OutputState }
func (DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput) ElementType ¶
func (DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput) ElementType() reflect.Type
func (DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput) ToDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput ¶
func (o DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput) ToDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput() DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput
func (DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput) ToDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutputWithContext ¶
func (o DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput) ToDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutputWithContext(ctx context.Context) DataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput
type DataLakeSettingsCreateDatabaseDefaultPermissionInput ¶
type DataLakeSettingsCreateDatabaseDefaultPermissionInput interface { pulumi.Input ToDataLakeSettingsCreateDatabaseDefaultPermissionOutput() DataLakeSettingsCreateDatabaseDefaultPermissionOutput ToDataLakeSettingsCreateDatabaseDefaultPermissionOutputWithContext(context.Context) DataLakeSettingsCreateDatabaseDefaultPermissionOutput }
DataLakeSettingsCreateDatabaseDefaultPermissionInput is an input type that accepts DataLakeSettingsCreateDatabaseDefaultPermissionArgs and DataLakeSettingsCreateDatabaseDefaultPermissionOutput values. You can construct a concrete instance of `DataLakeSettingsCreateDatabaseDefaultPermissionInput` via:
DataLakeSettingsCreateDatabaseDefaultPermissionArgs{...}
type DataLakeSettingsCreateDatabaseDefaultPermissionOutput ¶
type DataLakeSettingsCreateDatabaseDefaultPermissionOutput struct{ *pulumi.OutputState }
func (DataLakeSettingsCreateDatabaseDefaultPermissionOutput) ElementType ¶
func (DataLakeSettingsCreateDatabaseDefaultPermissionOutput) ElementType() reflect.Type
func (DataLakeSettingsCreateDatabaseDefaultPermissionOutput) Permissions ¶
func (o DataLakeSettingsCreateDatabaseDefaultPermissionOutput) Permissions() pulumi.StringArrayOutput
List of permissions that are granted to the principal. Valid values may include `ALL`, `SELECT`, `ALTER`, `DROP`, `DELETE`, `INSERT`, and `DESCRIBE`. For more details, see [Lake Formation Permissions Reference](https://docs.aws.amazon.com/lake-formation/latest/dg/lf-permissions-reference.html).
func (DataLakeSettingsCreateDatabaseDefaultPermissionOutput) Principal ¶
func (o DataLakeSettingsCreateDatabaseDefaultPermissionOutput) Principal() pulumi.StringPtrOutput
Principal who is granted permissions. To enforce metadata and underlying data access control only by IAM on new databases and tables set `principal` to `IAM_ALLOWED_PRINCIPALS` and `permissions` to `["ALL"]`.
func (DataLakeSettingsCreateDatabaseDefaultPermissionOutput) ToDataLakeSettingsCreateDatabaseDefaultPermissionOutput ¶
func (o DataLakeSettingsCreateDatabaseDefaultPermissionOutput) ToDataLakeSettingsCreateDatabaseDefaultPermissionOutput() DataLakeSettingsCreateDatabaseDefaultPermissionOutput
func (DataLakeSettingsCreateDatabaseDefaultPermissionOutput) ToDataLakeSettingsCreateDatabaseDefaultPermissionOutputWithContext ¶
func (o DataLakeSettingsCreateDatabaseDefaultPermissionOutput) ToDataLakeSettingsCreateDatabaseDefaultPermissionOutputWithContext(ctx context.Context) DataLakeSettingsCreateDatabaseDefaultPermissionOutput
type DataLakeSettingsCreateTableDefaultPermission ¶
type DataLakeSettingsCreateTableDefaultPermission struct { // List of permissions that are granted to the principal. Valid values may include `ALL`, `SELECT`, `ALTER`, `DROP`, `DELETE`, `INSERT`, and `DESCRIBE`. For more details, see [Lake Formation Permissions Reference](https://docs.aws.amazon.com/lake-formation/latest/dg/lf-permissions-reference.html). Permissions []string `pulumi:"permissions"` // Principal who is granted permissions. To enforce metadata and underlying data access control only by IAM on new databases and tables set `principal` to `IAM_ALLOWED_PRINCIPALS` and `permissions` to `["ALL"]`. Principal *string `pulumi:"principal"` }
type DataLakeSettingsCreateTableDefaultPermissionArgs ¶
type DataLakeSettingsCreateTableDefaultPermissionArgs struct { // List of permissions that are granted to the principal. Valid values may include `ALL`, `SELECT`, `ALTER`, `DROP`, `DELETE`, `INSERT`, and `DESCRIBE`. For more details, see [Lake Formation Permissions Reference](https://docs.aws.amazon.com/lake-formation/latest/dg/lf-permissions-reference.html). Permissions pulumi.StringArrayInput `pulumi:"permissions"` // Principal who is granted permissions. To enforce metadata and underlying data access control only by IAM on new databases and tables set `principal` to `IAM_ALLOWED_PRINCIPALS` and `permissions` to `["ALL"]`. Principal pulumi.StringPtrInput `pulumi:"principal"` }
func (DataLakeSettingsCreateTableDefaultPermissionArgs) ElementType ¶
func (DataLakeSettingsCreateTableDefaultPermissionArgs) ElementType() reflect.Type
func (DataLakeSettingsCreateTableDefaultPermissionArgs) ToDataLakeSettingsCreateTableDefaultPermissionOutput ¶
func (i DataLakeSettingsCreateTableDefaultPermissionArgs) ToDataLakeSettingsCreateTableDefaultPermissionOutput() DataLakeSettingsCreateTableDefaultPermissionOutput
func (DataLakeSettingsCreateTableDefaultPermissionArgs) ToDataLakeSettingsCreateTableDefaultPermissionOutputWithContext ¶
func (i DataLakeSettingsCreateTableDefaultPermissionArgs) ToDataLakeSettingsCreateTableDefaultPermissionOutputWithContext(ctx context.Context) DataLakeSettingsCreateTableDefaultPermissionOutput
type DataLakeSettingsCreateTableDefaultPermissionArray ¶
type DataLakeSettingsCreateTableDefaultPermissionArray []DataLakeSettingsCreateTableDefaultPermissionInput
func (DataLakeSettingsCreateTableDefaultPermissionArray) ElementType ¶
func (DataLakeSettingsCreateTableDefaultPermissionArray) ElementType() reflect.Type
func (DataLakeSettingsCreateTableDefaultPermissionArray) ToDataLakeSettingsCreateTableDefaultPermissionArrayOutput ¶
func (i DataLakeSettingsCreateTableDefaultPermissionArray) ToDataLakeSettingsCreateTableDefaultPermissionArrayOutput() DataLakeSettingsCreateTableDefaultPermissionArrayOutput
func (DataLakeSettingsCreateTableDefaultPermissionArray) ToDataLakeSettingsCreateTableDefaultPermissionArrayOutputWithContext ¶
func (i DataLakeSettingsCreateTableDefaultPermissionArray) ToDataLakeSettingsCreateTableDefaultPermissionArrayOutputWithContext(ctx context.Context) DataLakeSettingsCreateTableDefaultPermissionArrayOutput
type DataLakeSettingsCreateTableDefaultPermissionArrayInput ¶
type DataLakeSettingsCreateTableDefaultPermissionArrayInput interface { pulumi.Input ToDataLakeSettingsCreateTableDefaultPermissionArrayOutput() DataLakeSettingsCreateTableDefaultPermissionArrayOutput ToDataLakeSettingsCreateTableDefaultPermissionArrayOutputWithContext(context.Context) DataLakeSettingsCreateTableDefaultPermissionArrayOutput }
DataLakeSettingsCreateTableDefaultPermissionArrayInput is an input type that accepts DataLakeSettingsCreateTableDefaultPermissionArray and DataLakeSettingsCreateTableDefaultPermissionArrayOutput values. You can construct a concrete instance of `DataLakeSettingsCreateTableDefaultPermissionArrayInput` via:
DataLakeSettingsCreateTableDefaultPermissionArray{ DataLakeSettingsCreateTableDefaultPermissionArgs{...} }
type DataLakeSettingsCreateTableDefaultPermissionArrayOutput ¶
type DataLakeSettingsCreateTableDefaultPermissionArrayOutput struct{ *pulumi.OutputState }
func (DataLakeSettingsCreateTableDefaultPermissionArrayOutput) ElementType ¶
func (DataLakeSettingsCreateTableDefaultPermissionArrayOutput) ElementType() reflect.Type
func (DataLakeSettingsCreateTableDefaultPermissionArrayOutput) ToDataLakeSettingsCreateTableDefaultPermissionArrayOutput ¶
func (o DataLakeSettingsCreateTableDefaultPermissionArrayOutput) ToDataLakeSettingsCreateTableDefaultPermissionArrayOutput() DataLakeSettingsCreateTableDefaultPermissionArrayOutput
func (DataLakeSettingsCreateTableDefaultPermissionArrayOutput) ToDataLakeSettingsCreateTableDefaultPermissionArrayOutputWithContext ¶
func (o DataLakeSettingsCreateTableDefaultPermissionArrayOutput) ToDataLakeSettingsCreateTableDefaultPermissionArrayOutputWithContext(ctx context.Context) DataLakeSettingsCreateTableDefaultPermissionArrayOutput
type DataLakeSettingsCreateTableDefaultPermissionInput ¶
type DataLakeSettingsCreateTableDefaultPermissionInput interface { pulumi.Input ToDataLakeSettingsCreateTableDefaultPermissionOutput() DataLakeSettingsCreateTableDefaultPermissionOutput ToDataLakeSettingsCreateTableDefaultPermissionOutputWithContext(context.Context) DataLakeSettingsCreateTableDefaultPermissionOutput }
DataLakeSettingsCreateTableDefaultPermissionInput is an input type that accepts DataLakeSettingsCreateTableDefaultPermissionArgs and DataLakeSettingsCreateTableDefaultPermissionOutput values. You can construct a concrete instance of `DataLakeSettingsCreateTableDefaultPermissionInput` via:
DataLakeSettingsCreateTableDefaultPermissionArgs{...}
type DataLakeSettingsCreateTableDefaultPermissionOutput ¶
type DataLakeSettingsCreateTableDefaultPermissionOutput struct{ *pulumi.OutputState }
func (DataLakeSettingsCreateTableDefaultPermissionOutput) ElementType ¶
func (DataLakeSettingsCreateTableDefaultPermissionOutput) ElementType() reflect.Type
func (DataLakeSettingsCreateTableDefaultPermissionOutput) Permissions ¶
func (o DataLakeSettingsCreateTableDefaultPermissionOutput) Permissions() pulumi.StringArrayOutput
List of permissions that are granted to the principal. Valid values may include `ALL`, `SELECT`, `ALTER`, `DROP`, `DELETE`, `INSERT`, and `DESCRIBE`. For more details, see [Lake Formation Permissions Reference](https://docs.aws.amazon.com/lake-formation/latest/dg/lf-permissions-reference.html).
func (DataLakeSettingsCreateTableDefaultPermissionOutput) Principal ¶
func (o DataLakeSettingsCreateTableDefaultPermissionOutput) Principal() pulumi.StringPtrOutput
Principal who is granted permissions. To enforce metadata and underlying data access control only by IAM on new databases and tables set `principal` to `IAM_ALLOWED_PRINCIPALS` and `permissions` to `["ALL"]`.
func (DataLakeSettingsCreateTableDefaultPermissionOutput) ToDataLakeSettingsCreateTableDefaultPermissionOutput ¶
func (o DataLakeSettingsCreateTableDefaultPermissionOutput) ToDataLakeSettingsCreateTableDefaultPermissionOutput() DataLakeSettingsCreateTableDefaultPermissionOutput
func (DataLakeSettingsCreateTableDefaultPermissionOutput) ToDataLakeSettingsCreateTableDefaultPermissionOutputWithContext ¶
func (o DataLakeSettingsCreateTableDefaultPermissionOutput) ToDataLakeSettingsCreateTableDefaultPermissionOutputWithContext(ctx context.Context) DataLakeSettingsCreateTableDefaultPermissionOutput
type DataLakeSettingsInput ¶
type DataLakeSettingsInput interface { pulumi.Input ToDataLakeSettingsOutput() DataLakeSettingsOutput ToDataLakeSettingsOutputWithContext(ctx context.Context) DataLakeSettingsOutput }
type DataLakeSettingsMap ¶
type DataLakeSettingsMap map[string]DataLakeSettingsInput
func (DataLakeSettingsMap) ElementType ¶
func (DataLakeSettingsMap) ElementType() reflect.Type
func (DataLakeSettingsMap) ToDataLakeSettingsMapOutput ¶
func (i DataLakeSettingsMap) ToDataLakeSettingsMapOutput() DataLakeSettingsMapOutput
func (DataLakeSettingsMap) ToDataLakeSettingsMapOutputWithContext ¶
func (i DataLakeSettingsMap) ToDataLakeSettingsMapOutputWithContext(ctx context.Context) DataLakeSettingsMapOutput
type DataLakeSettingsMapInput ¶
type DataLakeSettingsMapInput interface { pulumi.Input ToDataLakeSettingsMapOutput() DataLakeSettingsMapOutput ToDataLakeSettingsMapOutputWithContext(context.Context) DataLakeSettingsMapOutput }
DataLakeSettingsMapInput is an input type that accepts DataLakeSettingsMap and DataLakeSettingsMapOutput values. You can construct a concrete instance of `DataLakeSettingsMapInput` via:
DataLakeSettingsMap{ "key": DataLakeSettingsArgs{...} }
type DataLakeSettingsMapOutput ¶
type DataLakeSettingsMapOutput struct{ *pulumi.OutputState }
func (DataLakeSettingsMapOutput) ElementType ¶
func (DataLakeSettingsMapOutput) ElementType() reflect.Type
func (DataLakeSettingsMapOutput) MapIndex ¶
func (o DataLakeSettingsMapOutput) MapIndex(k pulumi.StringInput) DataLakeSettingsOutput
func (DataLakeSettingsMapOutput) ToDataLakeSettingsMapOutput ¶
func (o DataLakeSettingsMapOutput) ToDataLakeSettingsMapOutput() DataLakeSettingsMapOutput
func (DataLakeSettingsMapOutput) ToDataLakeSettingsMapOutputWithContext ¶
func (o DataLakeSettingsMapOutput) ToDataLakeSettingsMapOutputWithContext(ctx context.Context) DataLakeSettingsMapOutput
type DataLakeSettingsOutput ¶
type DataLakeSettingsOutput struct {
*pulumi.OutputState
}
func (DataLakeSettingsOutput) ElementType ¶
func (DataLakeSettingsOutput) ElementType() reflect.Type
func (DataLakeSettingsOutput) ToDataLakeSettingsOutput ¶
func (o DataLakeSettingsOutput) ToDataLakeSettingsOutput() DataLakeSettingsOutput
func (DataLakeSettingsOutput) ToDataLakeSettingsOutputWithContext ¶
func (o DataLakeSettingsOutput) ToDataLakeSettingsOutputWithContext(ctx context.Context) DataLakeSettingsOutput
func (DataLakeSettingsOutput) ToDataLakeSettingsPtrOutput ¶
func (o DataLakeSettingsOutput) ToDataLakeSettingsPtrOutput() DataLakeSettingsPtrOutput
func (DataLakeSettingsOutput) ToDataLakeSettingsPtrOutputWithContext ¶
func (o DataLakeSettingsOutput) ToDataLakeSettingsPtrOutputWithContext(ctx context.Context) DataLakeSettingsPtrOutput
type DataLakeSettingsPtrInput ¶
type DataLakeSettingsPtrInput interface { pulumi.Input ToDataLakeSettingsPtrOutput() DataLakeSettingsPtrOutput ToDataLakeSettingsPtrOutputWithContext(ctx context.Context) DataLakeSettingsPtrOutput }
type DataLakeSettingsPtrOutput ¶
type DataLakeSettingsPtrOutput struct {
*pulumi.OutputState
}
func (DataLakeSettingsPtrOutput) ElementType ¶
func (DataLakeSettingsPtrOutput) ElementType() reflect.Type
func (DataLakeSettingsPtrOutput) ToDataLakeSettingsPtrOutput ¶
func (o DataLakeSettingsPtrOutput) ToDataLakeSettingsPtrOutput() DataLakeSettingsPtrOutput
func (DataLakeSettingsPtrOutput) ToDataLakeSettingsPtrOutputWithContext ¶
func (o DataLakeSettingsPtrOutput) ToDataLakeSettingsPtrOutputWithContext(ctx context.Context) DataLakeSettingsPtrOutput
type DataLakeSettingsState ¶
type DataLakeSettingsState struct { // Set of ARNs of AWS Lake Formation principals (IAM users or roles). Admins pulumi.StringArrayInput // Identifier for the Data Catalog. By default, the account ID. CatalogId pulumi.StringPtrInput // Up to three configuration blocks of principal permissions for default create database permissions. Detailed below. CreateDatabaseDefaultPermissions DataLakeSettingsCreateDatabaseDefaultPermissionArrayInput // Up to three configuration blocks of principal permissions for default create table permissions. Detailed below. CreateTableDefaultPermissions DataLakeSettingsCreateTableDefaultPermissionArrayInput // List of the resource-owning account IDs that the caller's account can use to share their user access details (user ARNs). TrustedResourceOwners pulumi.StringArrayInput }
func (DataLakeSettingsState) ElementType ¶
func (DataLakeSettingsState) ElementType() reflect.Type
type GetDataLakeSettingsCreateDatabaseDefaultPermissionArgs ¶
type GetDataLakeSettingsCreateDatabaseDefaultPermissionArgs struct { // List of permissions granted to the principal. Permissions pulumi.StringArrayInput `pulumi:"permissions"` // Principal who is granted permissions. Principal pulumi.StringInput `pulumi:"principal"` }
func (GetDataLakeSettingsCreateDatabaseDefaultPermissionArgs) ElementType ¶
func (GetDataLakeSettingsCreateDatabaseDefaultPermissionArgs) ElementType() reflect.Type
func (GetDataLakeSettingsCreateDatabaseDefaultPermissionArgs) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionOutput ¶
func (i GetDataLakeSettingsCreateDatabaseDefaultPermissionArgs) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionOutput() GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput
func (GetDataLakeSettingsCreateDatabaseDefaultPermissionArgs) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionOutputWithContext ¶
func (i GetDataLakeSettingsCreateDatabaseDefaultPermissionArgs) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionOutputWithContext(ctx context.Context) GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput
type GetDataLakeSettingsCreateDatabaseDefaultPermissionArray ¶
type GetDataLakeSettingsCreateDatabaseDefaultPermissionArray []GetDataLakeSettingsCreateDatabaseDefaultPermissionInput
func (GetDataLakeSettingsCreateDatabaseDefaultPermissionArray) ElementType ¶
func (GetDataLakeSettingsCreateDatabaseDefaultPermissionArray) ElementType() reflect.Type
func (GetDataLakeSettingsCreateDatabaseDefaultPermissionArray) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput ¶
func (i GetDataLakeSettingsCreateDatabaseDefaultPermissionArray) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput() GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput
func (GetDataLakeSettingsCreateDatabaseDefaultPermissionArray) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutputWithContext ¶
func (i GetDataLakeSettingsCreateDatabaseDefaultPermissionArray) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutputWithContext(ctx context.Context) GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput
type GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayInput ¶
type GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayInput interface { pulumi.Input ToGetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput() GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput ToGetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutputWithContext(context.Context) GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput }
GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayInput is an input type that accepts GetDataLakeSettingsCreateDatabaseDefaultPermissionArray and GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput values. You can construct a concrete instance of `GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayInput` via:
GetDataLakeSettingsCreateDatabaseDefaultPermissionArray{ GetDataLakeSettingsCreateDatabaseDefaultPermissionArgs{...} }
type GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput ¶
type GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput struct{ *pulumi.OutputState }
func (GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput) ElementType ¶
func (GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput) ElementType() reflect.Type
func (GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput ¶
func (o GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput() GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput
func (GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutputWithContext ¶
func (o GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutputWithContext(ctx context.Context) GetDataLakeSettingsCreateDatabaseDefaultPermissionArrayOutput
type GetDataLakeSettingsCreateDatabaseDefaultPermissionInput ¶
type GetDataLakeSettingsCreateDatabaseDefaultPermissionInput interface { pulumi.Input ToGetDataLakeSettingsCreateDatabaseDefaultPermissionOutput() GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput ToGetDataLakeSettingsCreateDatabaseDefaultPermissionOutputWithContext(context.Context) GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput }
GetDataLakeSettingsCreateDatabaseDefaultPermissionInput is an input type that accepts GetDataLakeSettingsCreateDatabaseDefaultPermissionArgs and GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput values. You can construct a concrete instance of `GetDataLakeSettingsCreateDatabaseDefaultPermissionInput` via:
GetDataLakeSettingsCreateDatabaseDefaultPermissionArgs{...}
type GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput ¶
type GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput struct{ *pulumi.OutputState }
func (GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput) ElementType ¶
func (GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput) ElementType() reflect.Type
func (GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput) Permissions ¶
func (o GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput) Permissions() pulumi.StringArrayOutput
List of permissions granted to the principal.
func (GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput) Principal ¶
func (o GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput) Principal() pulumi.StringOutput
Principal who is granted permissions.
func (GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionOutput ¶
func (o GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionOutput() GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput
func (GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionOutputWithContext ¶
func (o GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput) ToGetDataLakeSettingsCreateDatabaseDefaultPermissionOutputWithContext(ctx context.Context) GetDataLakeSettingsCreateDatabaseDefaultPermissionOutput
type GetDataLakeSettingsCreateTableDefaultPermissionArgs ¶
type GetDataLakeSettingsCreateTableDefaultPermissionArgs struct { // List of permissions granted to the principal. Permissions pulumi.StringArrayInput `pulumi:"permissions"` // Principal who is granted permissions. Principal pulumi.StringInput `pulumi:"principal"` }
func (GetDataLakeSettingsCreateTableDefaultPermissionArgs) ElementType ¶
func (GetDataLakeSettingsCreateTableDefaultPermissionArgs) ElementType() reflect.Type
func (GetDataLakeSettingsCreateTableDefaultPermissionArgs) ToGetDataLakeSettingsCreateTableDefaultPermissionOutput ¶
func (i GetDataLakeSettingsCreateTableDefaultPermissionArgs) ToGetDataLakeSettingsCreateTableDefaultPermissionOutput() GetDataLakeSettingsCreateTableDefaultPermissionOutput
func (GetDataLakeSettingsCreateTableDefaultPermissionArgs) ToGetDataLakeSettingsCreateTableDefaultPermissionOutputWithContext ¶
func (i GetDataLakeSettingsCreateTableDefaultPermissionArgs) ToGetDataLakeSettingsCreateTableDefaultPermissionOutputWithContext(ctx context.Context) GetDataLakeSettingsCreateTableDefaultPermissionOutput
type GetDataLakeSettingsCreateTableDefaultPermissionArray ¶
type GetDataLakeSettingsCreateTableDefaultPermissionArray []GetDataLakeSettingsCreateTableDefaultPermissionInput
func (GetDataLakeSettingsCreateTableDefaultPermissionArray) ElementType ¶
func (GetDataLakeSettingsCreateTableDefaultPermissionArray) ElementType() reflect.Type
func (GetDataLakeSettingsCreateTableDefaultPermissionArray) ToGetDataLakeSettingsCreateTableDefaultPermissionArrayOutput ¶
func (i GetDataLakeSettingsCreateTableDefaultPermissionArray) ToGetDataLakeSettingsCreateTableDefaultPermissionArrayOutput() GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput
func (GetDataLakeSettingsCreateTableDefaultPermissionArray) ToGetDataLakeSettingsCreateTableDefaultPermissionArrayOutputWithContext ¶
func (i GetDataLakeSettingsCreateTableDefaultPermissionArray) ToGetDataLakeSettingsCreateTableDefaultPermissionArrayOutputWithContext(ctx context.Context) GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput
type GetDataLakeSettingsCreateTableDefaultPermissionArrayInput ¶
type GetDataLakeSettingsCreateTableDefaultPermissionArrayInput interface { pulumi.Input ToGetDataLakeSettingsCreateTableDefaultPermissionArrayOutput() GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput ToGetDataLakeSettingsCreateTableDefaultPermissionArrayOutputWithContext(context.Context) GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput }
GetDataLakeSettingsCreateTableDefaultPermissionArrayInput is an input type that accepts GetDataLakeSettingsCreateTableDefaultPermissionArray and GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput values. You can construct a concrete instance of `GetDataLakeSettingsCreateTableDefaultPermissionArrayInput` via:
GetDataLakeSettingsCreateTableDefaultPermissionArray{ GetDataLakeSettingsCreateTableDefaultPermissionArgs{...} }
type GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput ¶
type GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput struct{ *pulumi.OutputState }
func (GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput) ElementType ¶
func (GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput) ElementType() reflect.Type
func (GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput) ToGetDataLakeSettingsCreateTableDefaultPermissionArrayOutput ¶
func (o GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput) ToGetDataLakeSettingsCreateTableDefaultPermissionArrayOutput() GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput
func (GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput) ToGetDataLakeSettingsCreateTableDefaultPermissionArrayOutputWithContext ¶
func (o GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput) ToGetDataLakeSettingsCreateTableDefaultPermissionArrayOutputWithContext(ctx context.Context) GetDataLakeSettingsCreateTableDefaultPermissionArrayOutput
type GetDataLakeSettingsCreateTableDefaultPermissionInput ¶
type GetDataLakeSettingsCreateTableDefaultPermissionInput interface { pulumi.Input ToGetDataLakeSettingsCreateTableDefaultPermissionOutput() GetDataLakeSettingsCreateTableDefaultPermissionOutput ToGetDataLakeSettingsCreateTableDefaultPermissionOutputWithContext(context.Context) GetDataLakeSettingsCreateTableDefaultPermissionOutput }
GetDataLakeSettingsCreateTableDefaultPermissionInput is an input type that accepts GetDataLakeSettingsCreateTableDefaultPermissionArgs and GetDataLakeSettingsCreateTableDefaultPermissionOutput values. You can construct a concrete instance of `GetDataLakeSettingsCreateTableDefaultPermissionInput` via:
GetDataLakeSettingsCreateTableDefaultPermissionArgs{...}
type GetDataLakeSettingsCreateTableDefaultPermissionOutput ¶
type GetDataLakeSettingsCreateTableDefaultPermissionOutput struct{ *pulumi.OutputState }
func (GetDataLakeSettingsCreateTableDefaultPermissionOutput) ElementType ¶
func (GetDataLakeSettingsCreateTableDefaultPermissionOutput) ElementType() reflect.Type
func (GetDataLakeSettingsCreateTableDefaultPermissionOutput) Permissions ¶
func (o GetDataLakeSettingsCreateTableDefaultPermissionOutput) Permissions() pulumi.StringArrayOutput
List of permissions granted to the principal.
func (GetDataLakeSettingsCreateTableDefaultPermissionOutput) Principal ¶
func (o GetDataLakeSettingsCreateTableDefaultPermissionOutput) Principal() pulumi.StringOutput
Principal who is granted permissions.
func (GetDataLakeSettingsCreateTableDefaultPermissionOutput) ToGetDataLakeSettingsCreateTableDefaultPermissionOutput ¶
func (o GetDataLakeSettingsCreateTableDefaultPermissionOutput) ToGetDataLakeSettingsCreateTableDefaultPermissionOutput() GetDataLakeSettingsCreateTableDefaultPermissionOutput
func (GetDataLakeSettingsCreateTableDefaultPermissionOutput) ToGetDataLakeSettingsCreateTableDefaultPermissionOutputWithContext ¶
func (o GetDataLakeSettingsCreateTableDefaultPermissionOutput) ToGetDataLakeSettingsCreateTableDefaultPermissionOutputWithContext(ctx context.Context) GetDataLakeSettingsCreateTableDefaultPermissionOutput
type GetPermissionsDataLocationArgs ¶
type GetPermissionsDataLocationArgs struct { // Amazon Resource Name (ARN) that uniquely identifies the data location resource. Arn pulumi.StringInput `pulumi:"arn"` // Identifier for the Data Catalog. By default, it is the account ID of the caller. CatalogId pulumi.StringInput `pulumi:"catalogId"` }
func (GetPermissionsDataLocationArgs) ElementType ¶
func (GetPermissionsDataLocationArgs) ElementType() reflect.Type
func (GetPermissionsDataLocationArgs) ToGetPermissionsDataLocationOutput ¶
func (i GetPermissionsDataLocationArgs) ToGetPermissionsDataLocationOutput() GetPermissionsDataLocationOutput
func (GetPermissionsDataLocationArgs) ToGetPermissionsDataLocationOutputWithContext ¶
func (i GetPermissionsDataLocationArgs) ToGetPermissionsDataLocationOutputWithContext(ctx context.Context) GetPermissionsDataLocationOutput
type GetPermissionsDataLocationInput ¶
type GetPermissionsDataLocationInput interface { pulumi.Input ToGetPermissionsDataLocationOutput() GetPermissionsDataLocationOutput ToGetPermissionsDataLocationOutputWithContext(context.Context) GetPermissionsDataLocationOutput }
GetPermissionsDataLocationInput is an input type that accepts GetPermissionsDataLocationArgs and GetPermissionsDataLocationOutput values. You can construct a concrete instance of `GetPermissionsDataLocationInput` via:
GetPermissionsDataLocationArgs{...}
type GetPermissionsDataLocationOutput ¶
type GetPermissionsDataLocationOutput struct{ *pulumi.OutputState }
func (GetPermissionsDataLocationOutput) Arn ¶
func (o GetPermissionsDataLocationOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN) that uniquely identifies the data location resource.
func (GetPermissionsDataLocationOutput) CatalogId ¶
func (o GetPermissionsDataLocationOutput) CatalogId() pulumi.StringOutput
Identifier for the Data Catalog. By default, it is the account ID of the caller.
func (GetPermissionsDataLocationOutput) ElementType ¶
func (GetPermissionsDataLocationOutput) ElementType() reflect.Type
func (GetPermissionsDataLocationOutput) ToGetPermissionsDataLocationOutput ¶
func (o GetPermissionsDataLocationOutput) ToGetPermissionsDataLocationOutput() GetPermissionsDataLocationOutput
func (GetPermissionsDataLocationOutput) ToGetPermissionsDataLocationOutputWithContext ¶
func (o GetPermissionsDataLocationOutput) ToGetPermissionsDataLocationOutputWithContext(ctx context.Context) GetPermissionsDataLocationOutput
type GetPermissionsDatabase ¶
type GetPermissionsDatabaseArgs ¶
type GetPermissionsDatabaseArgs struct { // Identifier for the Data Catalog. By default, it is the account ID of the caller. CatalogId pulumi.StringInput `pulumi:"catalogId"` // Name of the table resource. Name pulumi.StringInput `pulumi:"name"` }
func (GetPermissionsDatabaseArgs) ElementType ¶
func (GetPermissionsDatabaseArgs) ElementType() reflect.Type
func (GetPermissionsDatabaseArgs) ToGetPermissionsDatabaseOutput ¶
func (i GetPermissionsDatabaseArgs) ToGetPermissionsDatabaseOutput() GetPermissionsDatabaseOutput
func (GetPermissionsDatabaseArgs) ToGetPermissionsDatabaseOutputWithContext ¶
func (i GetPermissionsDatabaseArgs) ToGetPermissionsDatabaseOutputWithContext(ctx context.Context) GetPermissionsDatabaseOutput
type GetPermissionsDatabaseInput ¶
type GetPermissionsDatabaseInput interface { pulumi.Input ToGetPermissionsDatabaseOutput() GetPermissionsDatabaseOutput ToGetPermissionsDatabaseOutputWithContext(context.Context) GetPermissionsDatabaseOutput }
GetPermissionsDatabaseInput is an input type that accepts GetPermissionsDatabaseArgs and GetPermissionsDatabaseOutput values. You can construct a concrete instance of `GetPermissionsDatabaseInput` via:
GetPermissionsDatabaseArgs{...}
type GetPermissionsDatabaseOutput ¶
type GetPermissionsDatabaseOutput struct{ *pulumi.OutputState }
func (GetPermissionsDatabaseOutput) CatalogId ¶
func (o GetPermissionsDatabaseOutput) CatalogId() pulumi.StringOutput
Identifier for the Data Catalog. By default, it is the account ID of the caller.
func (GetPermissionsDatabaseOutput) ElementType ¶
func (GetPermissionsDatabaseOutput) ElementType() reflect.Type
func (GetPermissionsDatabaseOutput) Name ¶
func (o GetPermissionsDatabaseOutput) Name() pulumi.StringOutput
Name of the table resource.
func (GetPermissionsDatabaseOutput) ToGetPermissionsDatabaseOutput ¶
func (o GetPermissionsDatabaseOutput) ToGetPermissionsDatabaseOutput() GetPermissionsDatabaseOutput
func (GetPermissionsDatabaseOutput) ToGetPermissionsDatabaseOutputWithContext ¶
func (o GetPermissionsDatabaseOutput) ToGetPermissionsDatabaseOutputWithContext(ctx context.Context) GetPermissionsDatabaseOutput
type GetPermissionsTable ¶
type GetPermissionsTable struct { // Identifier for the Data Catalog. By default, it is the account ID of the caller. CatalogId string `pulumi:"catalogId"` // Name of the database for the table with columns resource. Unique to the Data Catalog. DatabaseName string `pulumi:"databaseName"` // Name of the table resource. Name string `pulumi:"name"` // Whether to use a wildcard representing every table under a database. At least one of `name` or `wildcard` is required. Defaults to `false`. Wildcard *bool `pulumi:"wildcard"` }
type GetPermissionsTableArgs ¶
type GetPermissionsTableArgs struct { // Identifier for the Data Catalog. By default, it is the account ID of the caller. CatalogId pulumi.StringInput `pulumi:"catalogId"` // Name of the database for the table with columns resource. Unique to the Data Catalog. DatabaseName pulumi.StringInput `pulumi:"databaseName"` // Name of the table resource. Name pulumi.StringInput `pulumi:"name"` // Whether to use a wildcard representing every table under a database. At least one of `name` or `wildcard` is required. Defaults to `false`. Wildcard pulumi.BoolPtrInput `pulumi:"wildcard"` }
func (GetPermissionsTableArgs) ElementType ¶
func (GetPermissionsTableArgs) ElementType() reflect.Type
func (GetPermissionsTableArgs) ToGetPermissionsTableOutput ¶
func (i GetPermissionsTableArgs) ToGetPermissionsTableOutput() GetPermissionsTableOutput
func (GetPermissionsTableArgs) ToGetPermissionsTableOutputWithContext ¶
func (i GetPermissionsTableArgs) ToGetPermissionsTableOutputWithContext(ctx context.Context) GetPermissionsTableOutput
type GetPermissionsTableInput ¶
type GetPermissionsTableInput interface { pulumi.Input ToGetPermissionsTableOutput() GetPermissionsTableOutput ToGetPermissionsTableOutputWithContext(context.Context) GetPermissionsTableOutput }
GetPermissionsTableInput is an input type that accepts GetPermissionsTableArgs and GetPermissionsTableOutput values. You can construct a concrete instance of `GetPermissionsTableInput` via:
GetPermissionsTableArgs{...}
type GetPermissionsTableOutput ¶
type GetPermissionsTableOutput struct{ *pulumi.OutputState }
func (GetPermissionsTableOutput) CatalogId ¶
func (o GetPermissionsTableOutput) CatalogId() pulumi.StringOutput
Identifier for the Data Catalog. By default, it is the account ID of the caller.
func (GetPermissionsTableOutput) DatabaseName ¶
func (o GetPermissionsTableOutput) DatabaseName() pulumi.StringOutput
Name of the database for the table with columns resource. Unique to the Data Catalog.
func (GetPermissionsTableOutput) ElementType ¶
func (GetPermissionsTableOutput) ElementType() reflect.Type
func (GetPermissionsTableOutput) Name ¶
func (o GetPermissionsTableOutput) Name() pulumi.StringOutput
Name of the table resource.
func (GetPermissionsTableOutput) ToGetPermissionsTableOutput ¶
func (o GetPermissionsTableOutput) ToGetPermissionsTableOutput() GetPermissionsTableOutput
func (GetPermissionsTableOutput) ToGetPermissionsTableOutputWithContext ¶
func (o GetPermissionsTableOutput) ToGetPermissionsTableOutputWithContext(ctx context.Context) GetPermissionsTableOutput
func (GetPermissionsTableOutput) Wildcard ¶
func (o GetPermissionsTableOutput) Wildcard() pulumi.BoolPtrOutput
Whether to use a wildcard representing every table under a database. At least one of `name` or `wildcard` is required. Defaults to `false`.
type GetPermissionsTableWithColumns ¶
type GetPermissionsTableWithColumns struct { // Identifier for the Data Catalog. By default, it is the account ID of the caller. CatalogId string `pulumi:"catalogId"` // List of column names for the table. At least one of `columnNames` or `excludedColumnNames` is required. ColumnNames []string `pulumi:"columnNames"` // Name of the database for the table with columns resource. Unique to the Data Catalog. DatabaseName string `pulumi:"databaseName"` // List of column names for the table to exclude. At least one of `columnNames` or `excludedColumnNames` is required. ExcludedColumnNames []string `pulumi:"excludedColumnNames"` // Name of the table resource. Name string `pulumi:"name"` // Whether to use a wildcard representing every table under a database. At least one of `name` or `wildcard` is required. Defaults to `false`. Wildcard *bool `pulumi:"wildcard"` }
type GetPermissionsTableWithColumnsArgs ¶
type GetPermissionsTableWithColumnsArgs struct { // Identifier for the Data Catalog. By default, it is the account ID of the caller. CatalogId pulumi.StringInput `pulumi:"catalogId"` // List of column names for the table. At least one of `columnNames` or `excludedColumnNames` is required. ColumnNames pulumi.StringArrayInput `pulumi:"columnNames"` // Name of the database for the table with columns resource. Unique to the Data Catalog. DatabaseName pulumi.StringInput `pulumi:"databaseName"` // List of column names for the table to exclude. At least one of `columnNames` or `excludedColumnNames` is required. ExcludedColumnNames pulumi.StringArrayInput `pulumi:"excludedColumnNames"` // Name of the table resource. Name pulumi.StringInput `pulumi:"name"` // Whether to use a wildcard representing every table under a database. At least one of `name` or `wildcard` is required. Defaults to `false`. Wildcard pulumi.BoolPtrInput `pulumi:"wildcard"` }
func (GetPermissionsTableWithColumnsArgs) ElementType ¶
func (GetPermissionsTableWithColumnsArgs) ElementType() reflect.Type
func (GetPermissionsTableWithColumnsArgs) ToGetPermissionsTableWithColumnsOutput ¶
func (i GetPermissionsTableWithColumnsArgs) ToGetPermissionsTableWithColumnsOutput() GetPermissionsTableWithColumnsOutput
func (GetPermissionsTableWithColumnsArgs) ToGetPermissionsTableWithColumnsOutputWithContext ¶
func (i GetPermissionsTableWithColumnsArgs) ToGetPermissionsTableWithColumnsOutputWithContext(ctx context.Context) GetPermissionsTableWithColumnsOutput
type GetPermissionsTableWithColumnsInput ¶
type GetPermissionsTableWithColumnsInput interface { pulumi.Input ToGetPermissionsTableWithColumnsOutput() GetPermissionsTableWithColumnsOutput ToGetPermissionsTableWithColumnsOutputWithContext(context.Context) GetPermissionsTableWithColumnsOutput }
GetPermissionsTableWithColumnsInput is an input type that accepts GetPermissionsTableWithColumnsArgs and GetPermissionsTableWithColumnsOutput values. You can construct a concrete instance of `GetPermissionsTableWithColumnsInput` via:
GetPermissionsTableWithColumnsArgs{...}
type GetPermissionsTableWithColumnsOutput ¶
type GetPermissionsTableWithColumnsOutput struct{ *pulumi.OutputState }
func (GetPermissionsTableWithColumnsOutput) CatalogId ¶
func (o GetPermissionsTableWithColumnsOutput) CatalogId() pulumi.StringOutput
Identifier for the Data Catalog. By default, it is the account ID of the caller.
func (GetPermissionsTableWithColumnsOutput) ColumnNames ¶
func (o GetPermissionsTableWithColumnsOutput) ColumnNames() pulumi.StringArrayOutput
List of column names for the table. At least one of `columnNames` or `excludedColumnNames` is required.
func (GetPermissionsTableWithColumnsOutput) DatabaseName ¶
func (o GetPermissionsTableWithColumnsOutput) DatabaseName() pulumi.StringOutput
Name of the database for the table with columns resource. Unique to the Data Catalog.
func (GetPermissionsTableWithColumnsOutput) ElementType ¶
func (GetPermissionsTableWithColumnsOutput) ElementType() reflect.Type
func (GetPermissionsTableWithColumnsOutput) ExcludedColumnNames ¶
func (o GetPermissionsTableWithColumnsOutput) ExcludedColumnNames() pulumi.StringArrayOutput
List of column names for the table to exclude. At least one of `columnNames` or `excludedColumnNames` is required.
func (GetPermissionsTableWithColumnsOutput) Name ¶
func (o GetPermissionsTableWithColumnsOutput) Name() pulumi.StringOutput
Name of the table resource.
func (GetPermissionsTableWithColumnsOutput) ToGetPermissionsTableWithColumnsOutput ¶
func (o GetPermissionsTableWithColumnsOutput) ToGetPermissionsTableWithColumnsOutput() GetPermissionsTableWithColumnsOutput
func (GetPermissionsTableWithColumnsOutput) ToGetPermissionsTableWithColumnsOutputWithContext ¶
func (o GetPermissionsTableWithColumnsOutput) ToGetPermissionsTableWithColumnsOutputWithContext(ctx context.Context) GetPermissionsTableWithColumnsOutput
func (GetPermissionsTableWithColumnsOutput) Wildcard ¶ added in v4.3.0
func (o GetPermissionsTableWithColumnsOutput) Wildcard() pulumi.BoolPtrOutput
Whether to use a wildcard representing every table under a database. At least one of `name` or `wildcard` is required. Defaults to `false`.
type LookupDataLakeSettingsArgs ¶
type LookupDataLakeSettingsArgs struct { // Identifier for the Data Catalog. By default, the account ID. CatalogId *string `pulumi:"catalogId"` }
A collection of arguments for invoking getDataLakeSettings.
type LookupDataLakeSettingsResult ¶
type LookupDataLakeSettingsResult struct { // List of ARNs of AWS Lake Formation principals (IAM users or roles). Admins []string `pulumi:"admins"` CatalogId *string `pulumi:"catalogId"` // Up to three configuration blocks of principal permissions for default create database permissions. Detailed below. CreateDatabaseDefaultPermissions []GetDataLakeSettingsCreateDatabaseDefaultPermission `pulumi:"createDatabaseDefaultPermissions"` // Up to three configuration blocks of principal permissions for default create table permissions. Detailed below. CreateTableDefaultPermissions []GetDataLakeSettingsCreateTableDefaultPermission `pulumi:"createTableDefaultPermissions"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // List of the resource-owning account IDs that the caller's account can use to share their user access details (user ARNs). TrustedResourceOwners []string `pulumi:"trustedResourceOwners"` }
A collection of values returned by getDataLakeSettings.
func LookupDataLakeSettings ¶
func LookupDataLakeSettings(ctx *pulumi.Context, args *LookupDataLakeSettingsArgs, opts ...pulumi.InvokeOption) (*LookupDataLakeSettingsResult, error)
Get Lake Formation principals designated as data lake administrators and lists of principal permission entries for default create database and default create table permissions.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/lakeformation" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "14916253649" _, err := lakeformation.LookupDataLakeSettings(ctx, &lakeformation.LookupDataLakeSettingsArgs{ CatalogId: &opt0, }, nil) if err != nil { return err } return nil }) }
```
type LookupPermissionsArgs ¶
type LookupPermissionsArgs struct { // Identifier for the Data Catalog. By default, it is the account ID of the caller. CatalogId *string `pulumi:"catalogId"` // Whether the permissions are to be granted for the Data Catalog. Defaults to `false`. CatalogResource *bool `pulumi:"catalogResource"` // Configuration block for a data location resource. Detailed below. DataLocation *GetPermissionsDataLocation `pulumi:"dataLocation"` // Configuration block for a database resource. Detailed below. Database *GetPermissionsDatabase `pulumi:"database"` // Principal to be granted the permissions on the resource. Supported principals are IAM users or IAM roles. Principal string `pulumi:"principal"` // Configuration block for a table resource. Detailed below. Table *GetPermissionsTable `pulumi:"table"` // Configuration block for a table with columns resource. Detailed below. TableWithColumns *GetPermissionsTableWithColumns `pulumi:"tableWithColumns"` }
A collection of arguments for invoking getPermissions.
type LookupPermissionsResult ¶
type LookupPermissionsResult struct { CatalogId *string `pulumi:"catalogId"` CatalogResource *bool `pulumi:"catalogResource"` DataLocation GetPermissionsDataLocation `pulumi:"dataLocation"` Database GetPermissionsDatabase `pulumi:"database"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // List of permissions granted to the principal. For details on permissions, see [Lake Formation Permissions Reference](https://docs.aws.amazon.com/lake-formation/latest/dg/lf-permissions-reference.html). Permissions []string `pulumi:"permissions"` // Subset of `permissions` which the principal can pass. PermissionsWithGrantOptions []string `pulumi:"permissionsWithGrantOptions"` Principal string `pulumi:"principal"` Table GetPermissionsTable `pulumi:"table"` TableWithColumns GetPermissionsTableWithColumns `pulumi:"tableWithColumns"` }
A collection of values returned by getPermissions.
func LookupPermissions ¶
func LookupPermissions(ctx *pulumi.Context, args *LookupPermissionsArgs, opts ...pulumi.InvokeOption) (*LookupPermissionsResult, error)
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, and tables. For more information, see [Security and Access Control to Metadata and Data in Lake Formation](https://docs.aws.amazon.com/lake-formation/latest/dg/security-data-access.html).
> **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](https://docs.aws.amazon.com/lake-formation/latest/dg/implicit-permissions.html).
## Example Usage ### Permissions For A Glue Catalog Database
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/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: aws_iam_role.Workflow_role.Arn, Database: lakeformation.GetPermissionsDatabase{ Name: aws_glue_catalog_database.Test.Name, CatalogId: "110376042874", }, }, nil) if err != nil { return err } return nil }) }
```
type LookupResourceArgs ¶
type LookupResourceArgs struct { // Amazon Resource Name (ARN) of the resource, an S3 path. Arn string `pulumi:"arn"` }
A collection of arguments for invoking getResource.
type LookupResourceResult ¶
type LookupResourceResult struct { Arn string `pulumi:"arn"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The date and time the resource was last modified in [RFC 3339 format](https://tools.ietf.org/html/rfc3339#section-5.8). LastModified string `pulumi:"lastModified"` // Role that the resource was registered with. RoleArn string `pulumi:"roleArn"` }
A collection of values returned by getResource.
func LookupResource ¶
func LookupResource(ctx *pulumi.Context, args *LookupResourceArgs, opts ...pulumi.InvokeOption) (*LookupResourceResult, error)
Provides details about a Lake Formation resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/lakeformation" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lakeformation.LookupResource(ctx, &lakeformation.LookupResourceArgs{ Arn: "arn:aws:s3:::tf-acc-test-9151654063908211878", }, nil) if err != nil { return err } return nil }) }
```
type Permissions ¶
type Permissions struct { pulumi.CustomResourceState // Identifier for the Data Catalog. By default, it is the account ID of the caller. CatalogId pulumi.StringPtrOutput `pulumi:"catalogId"` // Whether the permissions are to be granted for the Data Catalog. Defaults to `false`. CatalogResource pulumi.BoolPtrOutput `pulumi:"catalogResource"` // Configuration block for a data location resource. Detailed below. DataLocation PermissionsDataLocationOutput `pulumi:"dataLocation"` // Configuration block for a database resource. Detailed below. Database PermissionsDatabaseOutput `pulumi:"database"` // List of permissions granted to the principal. Valid values may include `ALL`, `ALTER`, `CREATE_DATABASE`, `CREATE_TABLE`, `DATA_LOCATION_ACCESS`, `DELETE`, `DESCRIBE`, `DROP`, `INSERT`, and `SELECT`. For details on each permission, see [Lake Formation Permissions Reference](https://docs.aws.amazon.com/lake-formation/latest/dg/lf-permissions-reference.html). Permissions pulumi.StringArrayOutput `pulumi:"permissions"` // Subset of `permissions` which the principal can pass. PermissionsWithGrantOptions pulumi.StringArrayOutput `pulumi:"permissionsWithGrantOptions"` // Principal to be granted the permissions on the resource. Supported principals include IAM roles, users, groups, SAML groups and users, QuickSight groups, OUs, and organizations as well as AWS account IDs for cross-account permissions. For more information, see [Lake Formation Permissions Reference](https://docs.aws.amazon.com/lake-formation/latest/dg/lf-permissions-reference.html). Principal pulumi.StringOutput `pulumi:"principal"` // Configuration block for a table resource. Detailed below. Table PermissionsTableOutput `pulumi:"table"` // Configuration block for a table with columns resource. Detailed below. TableWithColumns PermissionsTableWithColumnsOutput `pulumi:"tableWithColumns"` }
Grants permissions to the 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, and tables. For more information, see [Security and Access Control to Metadata and Data in Lake Formation](https://docs.aws.amazon.com/lake-formation/latest/dg/security-data-access.html).
> **NOTE:** Lake Formation grants implicit permissions to data lake administrators, database creators, and table creators. These implicit permissions cannot be revoked _per se_. If this resource reads implicit permissions, it will attempt to revoke them, which causes an error when the resource is destroyed. There are two ways to avoid these errors. First, grant explicit permissions (and `permissionsWithGrantOption`) to "overwrite" a principal's implicit permissions, which you can then revoke with this resource. Second, avoid using this resource with principals that have implicit permissions. For more information, see [Implicit Lake Formation Permissions](https://docs.aws.amazon.com/lake-formation/latest/dg/implicit-permissions.html).
## Example Usage ### Grant Permissions For A Lake Formation S3 Resource
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/lakeformation" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := lakeformation.NewPermissions(ctx, "test", &lakeformation.PermissionsArgs{ Principal: pulumi.Any(aws_iam_role.Workflow_role.Arn), Permissions: pulumi.StringArray{ pulumi.String("ALL"), }, DataLocation: &lakeformation.PermissionsDataLocationArgs{ Arn: pulumi.Any(aws_lakeformation_resource.Test.Arn), }, }) if err != nil { return err } return nil }) }
```
func GetPermissions ¶
func GetPermissions(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PermissionsState, opts ...pulumi.ResourceOption) (*Permissions, error)
GetPermissions gets an existing Permissions resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPermissions ¶
func NewPermissions(ctx *pulumi.Context, name string, args *PermissionsArgs, opts ...pulumi.ResourceOption) (*Permissions, error)
NewPermissions registers a new resource with the given unique name, arguments, and options.
func (*Permissions) ElementType ¶
func (*Permissions) ElementType() reflect.Type
func (*Permissions) ToPermissionsOutput ¶
func (i *Permissions) ToPermissionsOutput() PermissionsOutput
func (*Permissions) ToPermissionsOutputWithContext ¶
func (i *Permissions) ToPermissionsOutputWithContext(ctx context.Context) PermissionsOutput
func (*Permissions) ToPermissionsPtrOutput ¶
func (i *Permissions) ToPermissionsPtrOutput() PermissionsPtrOutput
func (*Permissions) ToPermissionsPtrOutputWithContext ¶
func (i *Permissions) ToPermissionsPtrOutputWithContext(ctx context.Context) PermissionsPtrOutput
type PermissionsArgs ¶
type PermissionsArgs struct { // Identifier for the Data Catalog. By default, it is the account ID of the caller. CatalogId pulumi.StringPtrInput // Whether the permissions are to be granted for the Data Catalog. Defaults to `false`. CatalogResource pulumi.BoolPtrInput // Configuration block for a data location resource. Detailed below. DataLocation PermissionsDataLocationPtrInput // Configuration block for a database resource. Detailed below. Database PermissionsDatabasePtrInput // List of permissions granted to the principal. Valid values may include `ALL`, `ALTER`, `CREATE_DATABASE`, `CREATE_TABLE`, `DATA_LOCATION_ACCESS`, `DELETE`, `DESCRIBE`, `DROP`, `INSERT`, and `SELECT`. For details on each permission, see [Lake Formation Permissions Reference](https://docs.aws.amazon.com/lake-formation/latest/dg/lf-permissions-reference.html). Permissions pulumi.StringArrayInput // Subset of `permissions` which the principal can pass. PermissionsWithGrantOptions pulumi.StringArrayInput // Principal to be granted the permissions on the resource. Supported principals include IAM roles, users, groups, SAML groups and users, QuickSight groups, OUs, and organizations as well as AWS account IDs for cross-account permissions. For more information, see [Lake Formation Permissions Reference](https://docs.aws.amazon.com/lake-formation/latest/dg/lf-permissions-reference.html). Principal pulumi.StringInput // Configuration block for a table resource. Detailed below. Table PermissionsTablePtrInput // Configuration block for a table with columns resource. Detailed below. TableWithColumns PermissionsTableWithColumnsPtrInput }
The set of arguments for constructing a Permissions resource.
func (PermissionsArgs) ElementType ¶
func (PermissionsArgs) ElementType() reflect.Type
type PermissionsArray ¶
type PermissionsArray []PermissionsInput
func (PermissionsArray) ElementType ¶
func (PermissionsArray) ElementType() reflect.Type
func (PermissionsArray) ToPermissionsArrayOutput ¶
func (i PermissionsArray) ToPermissionsArrayOutput() PermissionsArrayOutput
func (PermissionsArray) ToPermissionsArrayOutputWithContext ¶
func (i PermissionsArray) ToPermissionsArrayOutputWithContext(ctx context.Context) PermissionsArrayOutput
type PermissionsArrayInput ¶
type PermissionsArrayInput interface { pulumi.Input ToPermissionsArrayOutput() PermissionsArrayOutput ToPermissionsArrayOutputWithContext(context.Context) PermissionsArrayOutput }
PermissionsArrayInput is an input type that accepts PermissionsArray and PermissionsArrayOutput values. You can construct a concrete instance of `PermissionsArrayInput` via:
PermissionsArray{ PermissionsArgs{...} }
type PermissionsArrayOutput ¶
type PermissionsArrayOutput struct{ *pulumi.OutputState }
func (PermissionsArrayOutput) ElementType ¶
func (PermissionsArrayOutput) ElementType() reflect.Type
func (PermissionsArrayOutput) Index ¶
func (o PermissionsArrayOutput) Index(i pulumi.IntInput) PermissionsOutput
func (PermissionsArrayOutput) ToPermissionsArrayOutput ¶
func (o PermissionsArrayOutput) ToPermissionsArrayOutput() PermissionsArrayOutput
func (PermissionsArrayOutput) ToPermissionsArrayOutputWithContext ¶
func (o PermissionsArrayOutput) ToPermissionsArrayOutputWithContext(ctx context.Context) PermissionsArrayOutput
type PermissionsDataLocation ¶
type PermissionsDataLocationArgs ¶
type PermissionsDataLocationArgs struct { // Amazon Resource Name (ARN) that uniquely identifies the data location resource. Arn pulumi.StringInput `pulumi:"arn"` // Identifier for the Data Catalog. By default, it is the account ID of the caller. CatalogId pulumi.StringPtrInput `pulumi:"catalogId"` }
func (PermissionsDataLocationArgs) ElementType ¶
func (PermissionsDataLocationArgs) ElementType() reflect.Type
func (PermissionsDataLocationArgs) ToPermissionsDataLocationOutput ¶
func (i PermissionsDataLocationArgs) ToPermissionsDataLocationOutput() PermissionsDataLocationOutput
func (PermissionsDataLocationArgs) ToPermissionsDataLocationOutputWithContext ¶
func (i PermissionsDataLocationArgs) ToPermissionsDataLocationOutputWithContext(ctx context.Context) PermissionsDataLocationOutput
func (PermissionsDataLocationArgs) ToPermissionsDataLocationPtrOutput ¶
func (i PermissionsDataLocationArgs) ToPermissionsDataLocationPtrOutput() PermissionsDataLocationPtrOutput
func (PermissionsDataLocationArgs) ToPermissionsDataLocationPtrOutputWithContext ¶
func (i PermissionsDataLocationArgs) ToPermissionsDataLocationPtrOutputWithContext(ctx context.Context) PermissionsDataLocationPtrOutput
type PermissionsDataLocationInput ¶
type PermissionsDataLocationInput interface { pulumi.Input ToPermissionsDataLocationOutput() PermissionsDataLocationOutput ToPermissionsDataLocationOutputWithContext(context.Context) PermissionsDataLocationOutput }
PermissionsDataLocationInput is an input type that accepts PermissionsDataLocationArgs and PermissionsDataLocationOutput values. You can construct a concrete instance of `PermissionsDataLocationInput` via:
PermissionsDataLocationArgs{...}
type PermissionsDataLocationOutput ¶
type PermissionsDataLocationOutput struct{ *pulumi.OutputState }
func (PermissionsDataLocationOutput) Arn ¶
func (o PermissionsDataLocationOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN) that uniquely identifies the data location resource.
func (PermissionsDataLocationOutput) CatalogId ¶
func (o PermissionsDataLocationOutput) CatalogId() pulumi.StringPtrOutput
Identifier for the Data Catalog. By default, it is the account ID of the caller.
func (PermissionsDataLocationOutput) ElementType ¶
func (PermissionsDataLocationOutput) ElementType() reflect.Type
func (PermissionsDataLocationOutput) ToPermissionsDataLocationOutput ¶
func (o PermissionsDataLocationOutput) ToPermissionsDataLocationOutput() PermissionsDataLocationOutput
func (PermissionsDataLocationOutput) ToPermissionsDataLocationOutputWithContext ¶
func (o PermissionsDataLocationOutput) ToPermissionsDataLocationOutputWithContext(ctx context.Context) PermissionsDataLocationOutput
func (PermissionsDataLocationOutput) ToPermissionsDataLocationPtrOutput ¶
func (o PermissionsDataLocationOutput) ToPermissionsDataLocationPtrOutput() PermissionsDataLocationPtrOutput
func (PermissionsDataLocationOutput) ToPermissionsDataLocationPtrOutputWithContext ¶
func (o PermissionsDataLocationOutput) ToPermissionsDataLocationPtrOutputWithContext(ctx context.Context) PermissionsDataLocationPtrOutput
type PermissionsDataLocationPtrInput ¶
type PermissionsDataLocationPtrInput interface { pulumi.Input ToPermissionsDataLocationPtrOutput() PermissionsDataLocationPtrOutput ToPermissionsDataLocationPtrOutputWithContext(context.Context) PermissionsDataLocationPtrOutput }
PermissionsDataLocationPtrInput is an input type that accepts PermissionsDataLocationArgs, PermissionsDataLocationPtr and PermissionsDataLocationPtrOutput values. You can construct a concrete instance of `PermissionsDataLocationPtrInput` via:
PermissionsDataLocationArgs{...} or: nil
func PermissionsDataLocationPtr ¶
func PermissionsDataLocationPtr(v *PermissionsDataLocationArgs) PermissionsDataLocationPtrInput
type PermissionsDataLocationPtrOutput ¶
type PermissionsDataLocationPtrOutput struct{ *pulumi.OutputState }
func (PermissionsDataLocationPtrOutput) Arn ¶
func (o PermissionsDataLocationPtrOutput) Arn() pulumi.StringPtrOutput
Amazon Resource Name (ARN) that uniquely identifies the data location resource.
func (PermissionsDataLocationPtrOutput) CatalogId ¶
func (o PermissionsDataLocationPtrOutput) CatalogId() pulumi.StringPtrOutput
Identifier for the Data Catalog. By default, it is the account ID of the caller.
func (PermissionsDataLocationPtrOutput) Elem ¶
func (o PermissionsDataLocationPtrOutput) Elem() PermissionsDataLocationOutput
func (PermissionsDataLocationPtrOutput) ElementType ¶
func (PermissionsDataLocationPtrOutput) ElementType() reflect.Type
func (PermissionsDataLocationPtrOutput) ToPermissionsDataLocationPtrOutput ¶
func (o PermissionsDataLocationPtrOutput) ToPermissionsDataLocationPtrOutput() PermissionsDataLocationPtrOutput
func (PermissionsDataLocationPtrOutput) ToPermissionsDataLocationPtrOutputWithContext ¶
func (o PermissionsDataLocationPtrOutput) ToPermissionsDataLocationPtrOutputWithContext(ctx context.Context) PermissionsDataLocationPtrOutput
type PermissionsDatabase ¶
type PermissionsDatabaseArgs ¶
type PermissionsDatabaseArgs struct { // Identifier for the Data Catalog. By default, it is the account ID of the caller. CatalogId pulumi.StringPtrInput `pulumi:"catalogId"` // Name of the table resource. Name pulumi.StringInput `pulumi:"name"` }
func (PermissionsDatabaseArgs) ElementType ¶
func (PermissionsDatabaseArgs) ElementType() reflect.Type
func (PermissionsDatabaseArgs) ToPermissionsDatabaseOutput ¶
func (i PermissionsDatabaseArgs) ToPermissionsDatabaseOutput() PermissionsDatabaseOutput
func (PermissionsDatabaseArgs) ToPermissionsDatabaseOutputWithContext ¶
func (i PermissionsDatabaseArgs) ToPermissionsDatabaseOutputWithContext(ctx context.Context) PermissionsDatabaseOutput
func (PermissionsDatabaseArgs) ToPermissionsDatabasePtrOutput ¶
func (i PermissionsDatabaseArgs) ToPermissionsDatabasePtrOutput() PermissionsDatabasePtrOutput
func (PermissionsDatabaseArgs) ToPermissionsDatabasePtrOutputWithContext ¶
func (i PermissionsDatabaseArgs) ToPermissionsDatabasePtrOutputWithContext(ctx context.Context) PermissionsDatabasePtrOutput
type PermissionsDatabaseInput ¶
type PermissionsDatabaseInput interface { pulumi.Input ToPermissionsDatabaseOutput() PermissionsDatabaseOutput ToPermissionsDatabaseOutputWithContext(context.Context) PermissionsDatabaseOutput }
PermissionsDatabaseInput is an input type that accepts PermissionsDatabaseArgs and PermissionsDatabaseOutput values. You can construct a concrete instance of `PermissionsDatabaseInput` via:
PermissionsDatabaseArgs{...}
type PermissionsDatabaseOutput ¶
type PermissionsDatabaseOutput struct{ *pulumi.OutputState }
func (PermissionsDatabaseOutput) CatalogId ¶
func (o PermissionsDatabaseOutput) CatalogId() pulumi.StringPtrOutput
Identifier for the Data Catalog. By default, it is the account ID of the caller.
func (PermissionsDatabaseOutput) ElementType ¶
func (PermissionsDatabaseOutput) ElementType() reflect.Type
func (PermissionsDatabaseOutput) Name ¶
func (o PermissionsDatabaseOutput) Name() pulumi.StringOutput
Name of the table resource.
func (PermissionsDatabaseOutput) ToPermissionsDatabaseOutput ¶
func (o PermissionsDatabaseOutput) ToPermissionsDatabaseOutput() PermissionsDatabaseOutput
func (PermissionsDatabaseOutput) ToPermissionsDatabaseOutputWithContext ¶
func (o PermissionsDatabaseOutput) ToPermissionsDatabaseOutputWithContext(ctx context.Context) PermissionsDatabaseOutput
func (PermissionsDatabaseOutput) ToPermissionsDatabasePtrOutput ¶
func (o PermissionsDatabaseOutput) ToPermissionsDatabasePtrOutput() PermissionsDatabasePtrOutput
func (PermissionsDatabaseOutput) ToPermissionsDatabasePtrOutputWithContext ¶
func (o PermissionsDatabaseOutput) ToPermissionsDatabasePtrOutputWithContext(ctx context.Context) PermissionsDatabasePtrOutput
type PermissionsDatabasePtrInput ¶
type PermissionsDatabasePtrInput interface { pulumi.Input ToPermissionsDatabasePtrOutput() PermissionsDatabasePtrOutput ToPermissionsDatabasePtrOutputWithContext(context.Context) PermissionsDatabasePtrOutput }
PermissionsDatabasePtrInput is an input type that accepts PermissionsDatabaseArgs, PermissionsDatabasePtr and PermissionsDatabasePtrOutput values. You can construct a concrete instance of `PermissionsDatabasePtrInput` via:
PermissionsDatabaseArgs{...} or: nil
func PermissionsDatabasePtr ¶
func PermissionsDatabasePtr(v *PermissionsDatabaseArgs) PermissionsDatabasePtrInput
type PermissionsDatabasePtrOutput ¶
type PermissionsDatabasePtrOutput struct{ *pulumi.OutputState }
func (PermissionsDatabasePtrOutput) CatalogId ¶
func (o PermissionsDatabasePtrOutput) CatalogId() pulumi.StringPtrOutput
Identifier for the Data Catalog. By default, it is the account ID of the caller.
func (PermissionsDatabasePtrOutput) Elem ¶
func (o PermissionsDatabasePtrOutput) Elem() PermissionsDatabaseOutput
func (PermissionsDatabasePtrOutput) ElementType ¶
func (PermissionsDatabasePtrOutput) ElementType() reflect.Type
func (PermissionsDatabasePtrOutput) Name ¶
func (o PermissionsDatabasePtrOutput) Name() pulumi.StringPtrOutput
Name of the table resource.
func (PermissionsDatabasePtrOutput) ToPermissionsDatabasePtrOutput ¶
func (o PermissionsDatabasePtrOutput) ToPermissionsDatabasePtrOutput() PermissionsDatabasePtrOutput
func (PermissionsDatabasePtrOutput) ToPermissionsDatabasePtrOutputWithContext ¶
func (o PermissionsDatabasePtrOutput) ToPermissionsDatabasePtrOutputWithContext(ctx context.Context) PermissionsDatabasePtrOutput
type PermissionsInput ¶
type PermissionsInput interface { pulumi.Input ToPermissionsOutput() PermissionsOutput ToPermissionsOutputWithContext(ctx context.Context) PermissionsOutput }
type PermissionsMap ¶
type PermissionsMap map[string]PermissionsInput
func (PermissionsMap) ElementType ¶
func (PermissionsMap) ElementType() reflect.Type
func (PermissionsMap) ToPermissionsMapOutput ¶
func (i PermissionsMap) ToPermissionsMapOutput() PermissionsMapOutput
func (PermissionsMap) ToPermissionsMapOutputWithContext ¶
func (i PermissionsMap) ToPermissionsMapOutputWithContext(ctx context.Context) PermissionsMapOutput
type PermissionsMapInput ¶
type PermissionsMapInput interface { pulumi.Input ToPermissionsMapOutput() PermissionsMapOutput ToPermissionsMapOutputWithContext(context.Context) PermissionsMapOutput }
PermissionsMapInput is an input type that accepts PermissionsMap and PermissionsMapOutput values. You can construct a concrete instance of `PermissionsMapInput` via:
PermissionsMap{ "key": PermissionsArgs{...} }
type PermissionsMapOutput ¶
type PermissionsMapOutput struct{ *pulumi.OutputState }
func (PermissionsMapOutput) ElementType ¶
func (PermissionsMapOutput) ElementType() reflect.Type
func (PermissionsMapOutput) MapIndex ¶
func (o PermissionsMapOutput) MapIndex(k pulumi.StringInput) PermissionsOutput
func (PermissionsMapOutput) ToPermissionsMapOutput ¶
func (o PermissionsMapOutput) ToPermissionsMapOutput() PermissionsMapOutput
func (PermissionsMapOutput) ToPermissionsMapOutputWithContext ¶
func (o PermissionsMapOutput) ToPermissionsMapOutputWithContext(ctx context.Context) PermissionsMapOutput
type PermissionsOutput ¶
type PermissionsOutput struct {
*pulumi.OutputState
}
func (PermissionsOutput) ElementType ¶
func (PermissionsOutput) ElementType() reflect.Type
func (PermissionsOutput) ToPermissionsOutput ¶
func (o PermissionsOutput) ToPermissionsOutput() PermissionsOutput
func (PermissionsOutput) ToPermissionsOutputWithContext ¶
func (o PermissionsOutput) ToPermissionsOutputWithContext(ctx context.Context) PermissionsOutput
func (PermissionsOutput) ToPermissionsPtrOutput ¶
func (o PermissionsOutput) ToPermissionsPtrOutput() PermissionsPtrOutput
func (PermissionsOutput) ToPermissionsPtrOutputWithContext ¶
func (o PermissionsOutput) ToPermissionsPtrOutputWithContext(ctx context.Context) PermissionsPtrOutput
type PermissionsPtrInput ¶
type PermissionsPtrInput interface { pulumi.Input ToPermissionsPtrOutput() PermissionsPtrOutput ToPermissionsPtrOutputWithContext(ctx context.Context) PermissionsPtrOutput }
type PermissionsPtrOutput ¶
type PermissionsPtrOutput struct {
*pulumi.OutputState
}
func (PermissionsPtrOutput) ElementType ¶
func (PermissionsPtrOutput) ElementType() reflect.Type
func (PermissionsPtrOutput) ToPermissionsPtrOutput ¶
func (o PermissionsPtrOutput) ToPermissionsPtrOutput() PermissionsPtrOutput
func (PermissionsPtrOutput) ToPermissionsPtrOutputWithContext ¶
func (o PermissionsPtrOutput) ToPermissionsPtrOutputWithContext(ctx context.Context) PermissionsPtrOutput
type PermissionsState ¶
type PermissionsState struct { // Identifier for the Data Catalog. By default, it is the account ID of the caller. CatalogId pulumi.StringPtrInput // Whether the permissions are to be granted for the Data Catalog. Defaults to `false`. CatalogResource pulumi.BoolPtrInput // Configuration block for a data location resource. Detailed below. DataLocation PermissionsDataLocationPtrInput // Configuration block for a database resource. Detailed below. Database PermissionsDatabasePtrInput // List of permissions granted to the principal. Valid values may include `ALL`, `ALTER`, `CREATE_DATABASE`, `CREATE_TABLE`, `DATA_LOCATION_ACCESS`, `DELETE`, `DESCRIBE`, `DROP`, `INSERT`, and `SELECT`. For details on each permission, see [Lake Formation Permissions Reference](https://docs.aws.amazon.com/lake-formation/latest/dg/lf-permissions-reference.html). Permissions pulumi.StringArrayInput // Subset of `permissions` which the principal can pass. PermissionsWithGrantOptions pulumi.StringArrayInput // Principal to be granted the permissions on the resource. Supported principals include IAM roles, users, groups, SAML groups and users, QuickSight groups, OUs, and organizations as well as AWS account IDs for cross-account permissions. For more information, see [Lake Formation Permissions Reference](https://docs.aws.amazon.com/lake-formation/latest/dg/lf-permissions-reference.html). Principal pulumi.StringPtrInput // Configuration block for a table resource. Detailed below. Table PermissionsTablePtrInput // Configuration block for a table with columns resource. Detailed below. TableWithColumns PermissionsTableWithColumnsPtrInput }
func (PermissionsState) ElementType ¶
func (PermissionsState) ElementType() reflect.Type
type PermissionsTable ¶
type PermissionsTable struct { // Identifier for the Data Catalog. By default, it is the account ID of the caller. CatalogId *string `pulumi:"catalogId"` // Name of the database for the table with columns resource. Unique to the Data Catalog. DatabaseName string `pulumi:"databaseName"` // Name of the table resource. Name *string `pulumi:"name"` Wildcard *bool `pulumi:"wildcard"` }
type PermissionsTableArgs ¶
type PermissionsTableArgs struct { // Identifier for the Data Catalog. By default, it is the account ID of the caller. CatalogId pulumi.StringPtrInput `pulumi:"catalogId"` // Name of the database for the table with columns resource. Unique to the Data Catalog. DatabaseName pulumi.StringInput `pulumi:"databaseName"` // Name of the table resource. Name pulumi.StringPtrInput `pulumi:"name"` Wildcard pulumi.BoolPtrInput `pulumi:"wildcard"` }
func (PermissionsTableArgs) ElementType ¶
func (PermissionsTableArgs) ElementType() reflect.Type
func (PermissionsTableArgs) ToPermissionsTableOutput ¶
func (i PermissionsTableArgs) ToPermissionsTableOutput() PermissionsTableOutput
func (PermissionsTableArgs) ToPermissionsTableOutputWithContext ¶
func (i PermissionsTableArgs) ToPermissionsTableOutputWithContext(ctx context.Context) PermissionsTableOutput
func (PermissionsTableArgs) ToPermissionsTablePtrOutput ¶
func (i PermissionsTableArgs) ToPermissionsTablePtrOutput() PermissionsTablePtrOutput
func (PermissionsTableArgs) ToPermissionsTablePtrOutputWithContext ¶
func (i PermissionsTableArgs) ToPermissionsTablePtrOutputWithContext(ctx context.Context) PermissionsTablePtrOutput
type PermissionsTableInput ¶
type PermissionsTableInput interface { pulumi.Input ToPermissionsTableOutput() PermissionsTableOutput ToPermissionsTableOutputWithContext(context.Context) PermissionsTableOutput }
PermissionsTableInput is an input type that accepts PermissionsTableArgs and PermissionsTableOutput values. You can construct a concrete instance of `PermissionsTableInput` via:
PermissionsTableArgs{...}
type PermissionsTableOutput ¶
type PermissionsTableOutput struct{ *pulumi.OutputState }
func (PermissionsTableOutput) CatalogId ¶
func (o PermissionsTableOutput) CatalogId() pulumi.StringPtrOutput
Identifier for the Data Catalog. By default, it is the account ID of the caller.
func (PermissionsTableOutput) DatabaseName ¶
func (o PermissionsTableOutput) DatabaseName() pulumi.StringOutput
Name of the database for the table with columns resource. Unique to the Data Catalog.
func (PermissionsTableOutput) ElementType ¶
func (PermissionsTableOutput) ElementType() reflect.Type
func (PermissionsTableOutput) Name ¶
func (o PermissionsTableOutput) Name() pulumi.StringPtrOutput
Name of the table resource.
func (PermissionsTableOutput) ToPermissionsTableOutput ¶
func (o PermissionsTableOutput) ToPermissionsTableOutput() PermissionsTableOutput
func (PermissionsTableOutput) ToPermissionsTableOutputWithContext ¶
func (o PermissionsTableOutput) ToPermissionsTableOutputWithContext(ctx context.Context) PermissionsTableOutput
func (PermissionsTableOutput) ToPermissionsTablePtrOutput ¶
func (o PermissionsTableOutput) ToPermissionsTablePtrOutput() PermissionsTablePtrOutput
func (PermissionsTableOutput) ToPermissionsTablePtrOutputWithContext ¶
func (o PermissionsTableOutput) ToPermissionsTablePtrOutputWithContext(ctx context.Context) PermissionsTablePtrOutput
func (PermissionsTableOutput) Wildcard ¶
func (o PermissionsTableOutput) Wildcard() pulumi.BoolPtrOutput
type PermissionsTablePtrInput ¶
type PermissionsTablePtrInput interface { pulumi.Input ToPermissionsTablePtrOutput() PermissionsTablePtrOutput ToPermissionsTablePtrOutputWithContext(context.Context) PermissionsTablePtrOutput }
PermissionsTablePtrInput is an input type that accepts PermissionsTableArgs, PermissionsTablePtr and PermissionsTablePtrOutput values. You can construct a concrete instance of `PermissionsTablePtrInput` via:
PermissionsTableArgs{...} or: nil
func PermissionsTablePtr ¶
func PermissionsTablePtr(v *PermissionsTableArgs) PermissionsTablePtrInput
type PermissionsTablePtrOutput ¶
type PermissionsTablePtrOutput struct{ *pulumi.OutputState }
func (PermissionsTablePtrOutput) CatalogId ¶
func (o PermissionsTablePtrOutput) CatalogId() pulumi.StringPtrOutput
Identifier for the Data Catalog. By default, it is the account ID of the caller.
func (PermissionsTablePtrOutput) DatabaseName ¶
func (o PermissionsTablePtrOutput) DatabaseName() pulumi.StringPtrOutput
Name of the database for the table with columns resource. Unique to the Data Catalog.
func (PermissionsTablePtrOutput) Elem ¶
func (o PermissionsTablePtrOutput) Elem() PermissionsTableOutput
func (PermissionsTablePtrOutput) ElementType ¶
func (PermissionsTablePtrOutput) ElementType() reflect.Type
func (PermissionsTablePtrOutput) Name ¶
func (o PermissionsTablePtrOutput) Name() pulumi.StringPtrOutput
Name of the table resource.
func (PermissionsTablePtrOutput) ToPermissionsTablePtrOutput ¶
func (o PermissionsTablePtrOutput) ToPermissionsTablePtrOutput() PermissionsTablePtrOutput
func (PermissionsTablePtrOutput) ToPermissionsTablePtrOutputWithContext ¶
func (o PermissionsTablePtrOutput) ToPermissionsTablePtrOutputWithContext(ctx context.Context) PermissionsTablePtrOutput
func (PermissionsTablePtrOutput) Wildcard ¶
func (o PermissionsTablePtrOutput) Wildcard() pulumi.BoolPtrOutput
type PermissionsTableWithColumns ¶
type PermissionsTableWithColumns struct { // Identifier for the Data Catalog. By default, it is the account ID of the caller. CatalogId *string `pulumi:"catalogId"` // List of column names for the table. ColumnNames []string `pulumi:"columnNames"` // Name of the database for the table with columns resource. Unique to the Data Catalog. DatabaseName string `pulumi:"databaseName"` ExcludedColumnNames []string `pulumi:"excludedColumnNames"` // Name of the table resource. Name string `pulumi:"name"` Wildcard *bool `pulumi:"wildcard"` }
type PermissionsTableWithColumnsArgs ¶
type PermissionsTableWithColumnsArgs struct { // Identifier for the Data Catalog. By default, it is the account ID of the caller. CatalogId pulumi.StringPtrInput `pulumi:"catalogId"` // List of column names for the table. ColumnNames pulumi.StringArrayInput `pulumi:"columnNames"` // Name of the database for the table with columns resource. Unique to the Data Catalog. DatabaseName pulumi.StringInput `pulumi:"databaseName"` ExcludedColumnNames pulumi.StringArrayInput `pulumi:"excludedColumnNames"` // Name of the table resource. Name pulumi.StringInput `pulumi:"name"` Wildcard pulumi.BoolPtrInput `pulumi:"wildcard"` }
func (PermissionsTableWithColumnsArgs) ElementType ¶
func (PermissionsTableWithColumnsArgs) ElementType() reflect.Type
func (PermissionsTableWithColumnsArgs) ToPermissionsTableWithColumnsOutput ¶
func (i PermissionsTableWithColumnsArgs) ToPermissionsTableWithColumnsOutput() PermissionsTableWithColumnsOutput
func (PermissionsTableWithColumnsArgs) ToPermissionsTableWithColumnsOutputWithContext ¶
func (i PermissionsTableWithColumnsArgs) ToPermissionsTableWithColumnsOutputWithContext(ctx context.Context) PermissionsTableWithColumnsOutput
func (PermissionsTableWithColumnsArgs) ToPermissionsTableWithColumnsPtrOutput ¶
func (i PermissionsTableWithColumnsArgs) ToPermissionsTableWithColumnsPtrOutput() PermissionsTableWithColumnsPtrOutput
func (PermissionsTableWithColumnsArgs) ToPermissionsTableWithColumnsPtrOutputWithContext ¶
func (i PermissionsTableWithColumnsArgs) ToPermissionsTableWithColumnsPtrOutputWithContext(ctx context.Context) PermissionsTableWithColumnsPtrOutput
type PermissionsTableWithColumnsInput ¶
type PermissionsTableWithColumnsInput interface { pulumi.Input ToPermissionsTableWithColumnsOutput() PermissionsTableWithColumnsOutput ToPermissionsTableWithColumnsOutputWithContext(context.Context) PermissionsTableWithColumnsOutput }
PermissionsTableWithColumnsInput is an input type that accepts PermissionsTableWithColumnsArgs and PermissionsTableWithColumnsOutput values. You can construct a concrete instance of `PermissionsTableWithColumnsInput` via:
PermissionsTableWithColumnsArgs{...}
type PermissionsTableWithColumnsOutput ¶
type PermissionsTableWithColumnsOutput struct{ *pulumi.OutputState }
func (PermissionsTableWithColumnsOutput) CatalogId ¶
func (o PermissionsTableWithColumnsOutput) CatalogId() pulumi.StringPtrOutput
Identifier for the Data Catalog. By default, it is the account ID of the caller.
func (PermissionsTableWithColumnsOutput) ColumnNames ¶
func (o PermissionsTableWithColumnsOutput) ColumnNames() pulumi.StringArrayOutput
List of column names for the table.
func (PermissionsTableWithColumnsOutput) DatabaseName ¶
func (o PermissionsTableWithColumnsOutput) DatabaseName() pulumi.StringOutput
Name of the database for the table with columns resource. Unique to the Data Catalog.
func (PermissionsTableWithColumnsOutput) ElementType ¶
func (PermissionsTableWithColumnsOutput) ElementType() reflect.Type
func (PermissionsTableWithColumnsOutput) ExcludedColumnNames ¶
func (o PermissionsTableWithColumnsOutput) ExcludedColumnNames() pulumi.StringArrayOutput
func (PermissionsTableWithColumnsOutput) Name ¶
func (o PermissionsTableWithColumnsOutput) Name() pulumi.StringOutput
Name of the table resource.
func (PermissionsTableWithColumnsOutput) ToPermissionsTableWithColumnsOutput ¶
func (o PermissionsTableWithColumnsOutput) ToPermissionsTableWithColumnsOutput() PermissionsTableWithColumnsOutput
func (PermissionsTableWithColumnsOutput) ToPermissionsTableWithColumnsOutputWithContext ¶
func (o PermissionsTableWithColumnsOutput) ToPermissionsTableWithColumnsOutputWithContext(ctx context.Context) PermissionsTableWithColumnsOutput
func (PermissionsTableWithColumnsOutput) ToPermissionsTableWithColumnsPtrOutput ¶
func (o PermissionsTableWithColumnsOutput) ToPermissionsTableWithColumnsPtrOutput() PermissionsTableWithColumnsPtrOutput
func (PermissionsTableWithColumnsOutput) ToPermissionsTableWithColumnsPtrOutputWithContext ¶
func (o PermissionsTableWithColumnsOutput) ToPermissionsTableWithColumnsPtrOutputWithContext(ctx context.Context) PermissionsTableWithColumnsPtrOutput
func (PermissionsTableWithColumnsOutput) Wildcard ¶ added in v4.3.0
func (o PermissionsTableWithColumnsOutput) Wildcard() pulumi.BoolPtrOutput
type PermissionsTableWithColumnsPtrInput ¶
type PermissionsTableWithColumnsPtrInput interface { pulumi.Input ToPermissionsTableWithColumnsPtrOutput() PermissionsTableWithColumnsPtrOutput ToPermissionsTableWithColumnsPtrOutputWithContext(context.Context) PermissionsTableWithColumnsPtrOutput }
PermissionsTableWithColumnsPtrInput is an input type that accepts PermissionsTableWithColumnsArgs, PermissionsTableWithColumnsPtr and PermissionsTableWithColumnsPtrOutput values. You can construct a concrete instance of `PermissionsTableWithColumnsPtrInput` via:
PermissionsTableWithColumnsArgs{...} or: nil
func PermissionsTableWithColumnsPtr ¶
func PermissionsTableWithColumnsPtr(v *PermissionsTableWithColumnsArgs) PermissionsTableWithColumnsPtrInput
type PermissionsTableWithColumnsPtrOutput ¶
type PermissionsTableWithColumnsPtrOutput struct{ *pulumi.OutputState }
func (PermissionsTableWithColumnsPtrOutput) CatalogId ¶
func (o PermissionsTableWithColumnsPtrOutput) CatalogId() pulumi.StringPtrOutput
Identifier for the Data Catalog. By default, it is the account ID of the caller.
func (PermissionsTableWithColumnsPtrOutput) ColumnNames ¶
func (o PermissionsTableWithColumnsPtrOutput) ColumnNames() pulumi.StringArrayOutput
List of column names for the table.
func (PermissionsTableWithColumnsPtrOutput) DatabaseName ¶
func (o PermissionsTableWithColumnsPtrOutput) DatabaseName() pulumi.StringPtrOutput
Name of the database for the table with columns resource. Unique to the Data Catalog.
func (PermissionsTableWithColumnsPtrOutput) ElementType ¶
func (PermissionsTableWithColumnsPtrOutput) ElementType() reflect.Type
func (PermissionsTableWithColumnsPtrOutput) ExcludedColumnNames ¶
func (o PermissionsTableWithColumnsPtrOutput) ExcludedColumnNames() pulumi.StringArrayOutput
func (PermissionsTableWithColumnsPtrOutput) Name ¶
func (o PermissionsTableWithColumnsPtrOutput) Name() pulumi.StringPtrOutput
Name of the table resource.
func (PermissionsTableWithColumnsPtrOutput) ToPermissionsTableWithColumnsPtrOutput ¶
func (o PermissionsTableWithColumnsPtrOutput) ToPermissionsTableWithColumnsPtrOutput() PermissionsTableWithColumnsPtrOutput
func (PermissionsTableWithColumnsPtrOutput) ToPermissionsTableWithColumnsPtrOutputWithContext ¶
func (o PermissionsTableWithColumnsPtrOutput) ToPermissionsTableWithColumnsPtrOutputWithContext(ctx context.Context) PermissionsTableWithColumnsPtrOutput
func (PermissionsTableWithColumnsPtrOutput) Wildcard ¶ added in v4.3.0
func (o PermissionsTableWithColumnsPtrOutput) Wildcard() pulumi.BoolPtrOutput
type Resource ¶
type Resource struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the resource, an S3 path. Arn pulumi.StringOutput `pulumi:"arn"` // (Optional) The date and time the resource was last modified in [RFC 3339 format](https://tools.ietf.org/html/rfc3339#section-5.8). LastModified pulumi.StringOutput `pulumi:"lastModified"` // Role that has read/write access to the resource. If not provided, the Lake Formation service-linked role must exist and is used. RoleArn pulumi.StringOutput `pulumi:"roleArn"` }
Registers a Lake Formation resource (e.g. S3 bucket) as managed by the Data Catalog. In other words, the S3 path is added to the data lake.
Choose a role that has read/write access to the chosen Amazon S3 path or use the service-linked role. When you register the S3 path, the service-linked role and a new inline policy are created on your behalf. Lake Formation adds the first path to the inline policy and attaches it to the service-linked role. When you register subsequent paths, Lake Formation adds the path to the existing policy.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/lakeformation" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/s3" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleBucket, err := s3.LookupBucket(ctx, &s3.LookupBucketArgs{ Bucket: "an-example-bucket", }, nil) if err != nil { return err } _, err = lakeformation.NewResource(ctx, "exampleResource", &lakeformation.ResourceArgs{ Arn: pulumi.String(exampleBucket.Arn), }) if err != nil { return err } return nil }) }
```
func GetResource ¶
func GetResource(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourceState, opts ...pulumi.ResourceOption) (*Resource, error)
GetResource gets an existing Resource resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResource ¶
func NewResource(ctx *pulumi.Context, name string, args *ResourceArgs, opts ...pulumi.ResourceOption) (*Resource, error)
NewResource registers a new resource with the given unique name, arguments, and options.
func (*Resource) ElementType ¶
func (*Resource) ToResourceOutput ¶
func (i *Resource) ToResourceOutput() ResourceOutput
func (*Resource) ToResourceOutputWithContext ¶
func (i *Resource) ToResourceOutputWithContext(ctx context.Context) ResourceOutput
func (*Resource) ToResourcePtrOutput ¶
func (i *Resource) ToResourcePtrOutput() ResourcePtrOutput
func (*Resource) ToResourcePtrOutputWithContext ¶
func (i *Resource) ToResourcePtrOutputWithContext(ctx context.Context) ResourcePtrOutput
type ResourceArgs ¶
type ResourceArgs struct { // Amazon Resource Name (ARN) of the resource, an S3 path. Arn pulumi.StringInput // Role that has read/write access to the resource. If not provided, the Lake Formation service-linked role must exist and is used. RoleArn pulumi.StringPtrInput }
The set of arguments for constructing a Resource resource.
func (ResourceArgs) ElementType ¶
func (ResourceArgs) ElementType() reflect.Type
type ResourceArray ¶
type ResourceArray []ResourceInput
func (ResourceArray) ElementType ¶
func (ResourceArray) ElementType() reflect.Type
func (ResourceArray) ToResourceArrayOutput ¶
func (i ResourceArray) ToResourceArrayOutput() ResourceArrayOutput
func (ResourceArray) ToResourceArrayOutputWithContext ¶
func (i ResourceArray) ToResourceArrayOutputWithContext(ctx context.Context) ResourceArrayOutput
type ResourceArrayInput ¶
type ResourceArrayInput interface { pulumi.Input ToResourceArrayOutput() ResourceArrayOutput ToResourceArrayOutputWithContext(context.Context) ResourceArrayOutput }
ResourceArrayInput is an input type that accepts ResourceArray and ResourceArrayOutput values. You can construct a concrete instance of `ResourceArrayInput` via:
ResourceArray{ ResourceArgs{...} }
type ResourceArrayOutput ¶
type ResourceArrayOutput struct{ *pulumi.OutputState }
func (ResourceArrayOutput) ElementType ¶
func (ResourceArrayOutput) ElementType() reflect.Type
func (ResourceArrayOutput) Index ¶
func (o ResourceArrayOutput) Index(i pulumi.IntInput) ResourceOutput
func (ResourceArrayOutput) ToResourceArrayOutput ¶
func (o ResourceArrayOutput) ToResourceArrayOutput() ResourceArrayOutput
func (ResourceArrayOutput) ToResourceArrayOutputWithContext ¶
func (o ResourceArrayOutput) ToResourceArrayOutputWithContext(ctx context.Context) ResourceArrayOutput
type ResourceInput ¶
type ResourceInput interface { pulumi.Input ToResourceOutput() ResourceOutput ToResourceOutputWithContext(ctx context.Context) ResourceOutput }
type ResourceMap ¶
type ResourceMap map[string]ResourceInput
func (ResourceMap) ElementType ¶
func (ResourceMap) ElementType() reflect.Type
func (ResourceMap) ToResourceMapOutput ¶
func (i ResourceMap) ToResourceMapOutput() ResourceMapOutput
func (ResourceMap) ToResourceMapOutputWithContext ¶
func (i ResourceMap) ToResourceMapOutputWithContext(ctx context.Context) ResourceMapOutput
type ResourceMapInput ¶
type ResourceMapInput interface { pulumi.Input ToResourceMapOutput() ResourceMapOutput ToResourceMapOutputWithContext(context.Context) ResourceMapOutput }
ResourceMapInput is an input type that accepts ResourceMap and ResourceMapOutput values. You can construct a concrete instance of `ResourceMapInput` via:
ResourceMap{ "key": ResourceArgs{...} }
type ResourceMapOutput ¶
type ResourceMapOutput struct{ *pulumi.OutputState }
func (ResourceMapOutput) ElementType ¶
func (ResourceMapOutput) ElementType() reflect.Type
func (ResourceMapOutput) MapIndex ¶
func (o ResourceMapOutput) MapIndex(k pulumi.StringInput) ResourceOutput
func (ResourceMapOutput) ToResourceMapOutput ¶
func (o ResourceMapOutput) ToResourceMapOutput() ResourceMapOutput
func (ResourceMapOutput) ToResourceMapOutputWithContext ¶
func (o ResourceMapOutput) ToResourceMapOutputWithContext(ctx context.Context) ResourceMapOutput
type ResourceOutput ¶
type ResourceOutput struct {
*pulumi.OutputState
}
func (ResourceOutput) ElementType ¶
func (ResourceOutput) ElementType() reflect.Type
func (ResourceOutput) ToResourceOutput ¶
func (o ResourceOutput) ToResourceOutput() ResourceOutput
func (ResourceOutput) ToResourceOutputWithContext ¶
func (o ResourceOutput) ToResourceOutputWithContext(ctx context.Context) ResourceOutput
func (ResourceOutput) ToResourcePtrOutput ¶
func (o ResourceOutput) ToResourcePtrOutput() ResourcePtrOutput
func (ResourceOutput) ToResourcePtrOutputWithContext ¶
func (o ResourceOutput) ToResourcePtrOutputWithContext(ctx context.Context) ResourcePtrOutput
type ResourcePtrInput ¶
type ResourcePtrInput interface { pulumi.Input ToResourcePtrOutput() ResourcePtrOutput ToResourcePtrOutputWithContext(ctx context.Context) ResourcePtrOutput }
type ResourcePtrOutput ¶
type ResourcePtrOutput struct {
*pulumi.OutputState
}
func (ResourcePtrOutput) ElementType ¶
func (ResourcePtrOutput) ElementType() reflect.Type
func (ResourcePtrOutput) ToResourcePtrOutput ¶
func (o ResourcePtrOutput) ToResourcePtrOutput() ResourcePtrOutput
func (ResourcePtrOutput) ToResourcePtrOutputWithContext ¶
func (o ResourcePtrOutput) ToResourcePtrOutputWithContext(ctx context.Context) ResourcePtrOutput
type ResourceState ¶
type ResourceState struct { // Amazon Resource Name (ARN) of the resource, an S3 path. Arn pulumi.StringPtrInput // (Optional) The date and time the resource was last modified in [RFC 3339 format](https://tools.ietf.org/html/rfc3339#section-5.8). LastModified pulumi.StringPtrInput // Role that has read/write access to the resource. If not provided, the Lake Formation service-linked role must exist and is used. RoleArn pulumi.StringPtrInput }
func (ResourceState) ElementType ¶
func (ResourceState) ElementType() reflect.Type