Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typo service principal #1073

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions typescript/src/resources/permissions/cluster-permissions.ts
Original file line number Diff line number Diff line change
@@ -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<UserPermission | GroupPermission | ServicePrinicpalPermission>
accessControlList: Array<UserPermission | GroupPermission | ServicePrincipalPermission>
}

export interface ClusterPermissionsProps extends ClusterPermissionsProperties {
Expand Down
Original file line number Diff line number Diff line change
@@ -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<UserPermission | GroupPermission | ServicePrinicpalPermission>
accessControlList: Array<UserPermission | GroupPermission | ServicePrincipalPermission>
}

export interface ClusterPolicyPermissionsProps extends ClusterPolicyPermissionsProperties {
Expand Down
4 changes: 2 additions & 2 deletions typescript/src/resources/permissions/job-permissions.ts
Original file line number Diff line number Diff line change
@@ -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<UserPermission | GroupPermission | ServicePrinicpalPermission>
accessControlList: Array<UserPermission | GroupPermission | ServicePrincipalPermission>
owner: User | ServicePrincipal
}

Expand Down
2 changes: 1 addition & 1 deletion typescript/src/resources/permissions/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Original file line number Diff line number Diff line change
@@ -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<UserPermission | GroupPermission | ServicePrinicpalPermission>
accessControlList: Array<UserPermission | GroupPermission | ServicePrincipalPermission>
}

export interface WarehousePermissionsProps extends WarehousePermissionsProperties {
Expand Down
Loading