Skip to content

Commit

Permalink
chore: signature refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
nmussy committed Mar 22, 2024
1 parent f598ba8 commit a346229
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/aws-cdk-lib/aws-ec2/lib/vpc-endpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -571,9 +571,9 @@ export class InterfaceVpcEndpointAwsService implements IInterfaceVpcEndpointServ
name: string,
prefix?: string,
port?: number,
{ global = false }: InterfaceVpcEndpointAwsServiceProps = {},
props?: InterfaceVpcEndpointAwsServiceProps,
) {
const regionPrefix = global ? '' : (Lazy.uncachedString({
const regionPrefix = props?.global ? '' : (Lazy.uncachedString({
produce: (context) => Stack.of(context.scope).region,
}) + '.');
const defaultEndpointPrefix = Lazy.uncachedString({
Expand Down

0 comments on commit a346229

Please sign in to comment.