Skip to content

Commit

Permalink
Script create user function protected (#1128)
Browse files Browse the repository at this point in the history
  • Loading branch information
revmischa committed Dec 8, 2021
1 parent 27dc0aa commit 12f6129
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/resources/src/Script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class Script extends cdk.Construct {
public readonly createFunction?: Fn;
public readonly updateFunction?: Fn;
public readonly deleteFunction?: Fn;
private readonly props: ScriptProps;
protected readonly props: ScriptProps;

constructor(scope: cdk.Construct, id: string, props: ScriptProps) {
super(scope, id);
Expand Down Expand Up @@ -48,7 +48,7 @@ export class Script extends cdk.Construct {
this.deleteFunction?.attachPermissions(permissions);
}

private createUserFunction(
protected createUserFunction(
type: string,
fnDef?: FunctionDefinition
): Fn | undefined {
Expand Down

0 comments on commit 12f6129

Please sign in to comment.