diff --git a/typescript/src/resources/permissions/cluster-permissions.ts b/typescript/src/resources/permissions/cluster-permissions.ts index 7fc176d3..905ca471 100644 --- a/typescript/src/resources/permissions/cluster-permissions.ts +++ b/typescript/src/resources/permissions/cluster-permissions.ts @@ -1,12 +1,12 @@ import {CustomResource} from "aws-cdk-lib"; import {Construct} from "constructs"; -import {UserPermission, GroupPermission, ServicePrinicpalPermission} from "./models"; +import {UserPermission, GroupPermission, ServicePrincipalPermission} from "./models"; export interface ClusterPermissionsProperties { workspaceUrl: string clusterId: string - accessControlList: Array + accessControlList: Array } export interface ClusterPermissionsProps extends ClusterPermissionsProperties { diff --git a/typescript/src/resources/permissions/cluster-policy-permissions.ts b/typescript/src/resources/permissions/cluster-policy-permissions.ts index 6f62aea4..5651bcb7 100644 --- a/typescript/src/resources/permissions/cluster-policy-permissions.ts +++ b/typescript/src/resources/permissions/cluster-policy-permissions.ts @@ -1,12 +1,12 @@ import {CustomResource} from "aws-cdk-lib"; import {Construct} from "constructs"; -import {UserPermission, GroupPermission, ServicePrinicpalPermission} from "./models"; +import {UserPermission, GroupPermission, ServicePrincipalPermission} from "./models"; export interface ClusterPolicyPermissionsProperties { workspaceUrl: string clusterPolicyId: string - accessControlList: Array + accessControlList: Array } export interface ClusterPolicyPermissionsProps extends ClusterPolicyPermissionsProperties { diff --git a/typescript/src/resources/permissions/job-permissions.ts b/typescript/src/resources/permissions/job-permissions.ts index fc8a900b..fc8f5a81 100644 --- a/typescript/src/resources/permissions/job-permissions.ts +++ b/typescript/src/resources/permissions/job-permissions.ts @@ -1,12 +1,12 @@ import {CustomResource} from "aws-cdk-lib"; import {Construct} from "constructs"; -import {User, ServicePrincipal, UserPermission, GroupPermission, ServicePrinicpalPermission} from "./models"; +import {User, ServicePrincipal, UserPermission, GroupPermission, ServicePrincipalPermission} from "./models"; export interface JobPermissionsProperties { workspaceUrl: string jobId: string - accessControlList: Array + accessControlList: Array owner: User | ServicePrincipal } diff --git a/typescript/src/resources/permissions/models.ts b/typescript/src/resources/permissions/models.ts index f9f93025..10121c68 100644 --- a/typescript/src/resources/permissions/models.ts +++ b/typescript/src/resources/permissions/models.ts @@ -18,7 +18,7 @@ export interface GroupPermission extends Group { permission_level: string } -export interface ServicePrinicpalPermission extends ServicePrincipal { +export interface ServicePrincipalPermission extends ServicePrincipal { permission_level: string } diff --git a/typescript/src/resources/permissions/sql-warehouse-permissions.ts b/typescript/src/resources/permissions/sql-warehouse-permissions.ts index 8e1f3df3..0cca7f14 100644 --- a/typescript/src/resources/permissions/sql-warehouse-permissions.ts +++ b/typescript/src/resources/permissions/sql-warehouse-permissions.ts @@ -1,11 +1,11 @@ import {CustomResource} from "aws-cdk-lib"; import {Construct} from "constructs"; -import {UserPermission, GroupPermission, ServicePrinicpalPermission} from "./models"; +import {UserPermission, GroupPermission, ServicePrincipalPermission} from "./models"; export interface WarehousePermissionsProperties { workspaceUrl: string endpointId: string - accessControlList: Array + accessControlList: Array } export interface WarehousePermissionsProps extends WarehousePermissionsProperties {