diff --git a/typescript/appsync-graphql-dynamodb/index.ts b/typescript/appsync-graphql-dynamodb/index.ts index ef103ad42..63f0aceab 100644 --- a/typescript/appsync-graphql-dynamodb/index.ts +++ b/typescript/appsync-graphql-dynamodb/index.ts @@ -58,7 +58,7 @@ export class AppSyncCdkStack extends cdk.Stack { assumedBy: new ServicePrincipal('appsync.amazonaws.com') }); - itemsTableRole.addManagedPolicy(ManagedPolicy.fromAwsManagedPolicyName('arn:aws:iam::aws:policy/AmazonDynamoDBFullAccess')); + itemsTableRole.addManagedPolicy(ManagedPolicy.fromAwsManagedPolicyName('AmazonDynamoDBFullAccess')); const dataSource = new CfnDataSource(this, 'ItemsDataSource', { apiId: itemsGraphQLApi.attrApiId,