Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
andyu17 committed Jan 11, 2025
1 parent 9317203 commit 0d5c17d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export class AccessPoint extends AccessPointBase {
public static fromAccessPointAttributes(scope: Construct, id: string, attrs: AccessPointAttributes): IAccessPoint {
const arn = core.Arn.split(attrs.accessPointArn, core.ArnFormat.SLASH_RESOURCE_NAME);
if (!arn.resourceName) {
throw new Error('Unable to parse acess point name');
throw new Error('Unable to parse access point name');
}
const name = arn.resourceName;
class Import extends AccessPointBase {
Expand Down

0 comments on commit 0d5c17d

Please sign in to comment.