diff --git a/typescript/appsync-graphql-dynamodb/index.ts b/typescript/appsync-graphql-dynamodb/index.ts index 381c0bd9e..3ffa9153b 100644 --- a/typescript/appsync-graphql-dynamodb/index.ts +++ b/typescript/appsync-graphql-dynamodb/index.ts @@ -63,7 +63,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,