Skip to content

Commit 35f30d3

Browse files
authored
Merge branch 'main' into bobertzh/appsync-validation
2 parents 50228b7 + 309df92 commit 35f30d3

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

packages/aws-cdk-lib/aws-codepipeline/lib/private/rich-action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function sameEnv(env1: ResourceEnvironment, env2: ResourceEnvironment) {
110110
* Whether two string probably contain the same environment dimension (region or account)
111111
*
112112
* Used to compare either accounts or regions, and also returns true if both
113-
* are unresolved (in which case both are expted to be "current region" or "current account").
113+
* are unresolved (in which case both are expected to be "current region" or "current account").
114114
*/
115115
function sameEnvDimension(dim1: string, dim2: string) {
116116
return [TokenComparison.SAME, TokenComparison.BOTH_UNRESOLVED].includes(Token.compareStrings(dim1, dim2));

packages/aws-cdk-lib/aws-dynamodb/lib/billing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export abstract class Billing {
6262
/**
6363
* Specify the number of reads and writes per second that you need for your application.
6464
*
65-
* @param props specifiy read and write capacity configurations.
65+
* @param props specify read and write capacity configurations.
6666
*/
6767
public static provisioned(props: ThroughputProps): Billing {
6868
return new (class extends Billing {

packages/aws-cdk-lib/aws-dynamodb/test/dynamodb.test.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -846,14 +846,14 @@ describe('schema details', () => {
846846
});
847847
});
848848

849-
test('get scheama for table with hash key only', () => {
849+
test('get schema for table with hash key only', () => {
850850
expect(table.schema()).toEqual({
851851
partitionKey: TABLE_PARTITION_KEY,
852852
sortKey: undefined,
853853
});
854854
});
855855

856-
test('get scheama for table with hash key + range key', () => {
856+
test('get schema for table with hash key + range key', () => {
857857
table = new Table(stack, 'TableB', {
858858
tableName: TABLE_NAME,
859859
partitionKey: TABLE_PARTITION_KEY,
@@ -866,7 +866,7 @@ describe('schema details', () => {
866866
});
867867
});
868868

869-
test('get scheama for GSI with hash key', () => {
869+
test('get schema for GSI with hash key', () => {
870870
table.addGlobalSecondaryIndex({
871871
indexName: GSI_NAME,
872872
partitionKey: GSI_PARTITION_KEY,
@@ -878,7 +878,7 @@ describe('schema details', () => {
878878
});
879879
});
880880

881-
test('get scheama for GSI with hash key + range key', () => {
881+
test('get schema for GSI with hash key + range key', () => {
882882
table.addGlobalSecondaryIndex({
883883
indexName: GSI_NAME,
884884
partitionKey: GSI_PARTITION_KEY,
@@ -891,7 +891,7 @@ describe('schema details', () => {
891891
});
892892
});
893893

894-
test('get scheama for LSI', () => {
894+
test('get schema for LSI', () => {
895895
table.addLocalSecondaryIndex({
896896
indexName: LSI_NAME,
897897
sortKey: LSI_SORT_KEY,
@@ -903,7 +903,7 @@ describe('schema details', () => {
903903
});
904904
});
905905

906-
test('get scheama for multiple secondary indexes', () => {
906+
test('get schema for multiple secondary indexes', () => {
907907
table.addLocalSecondaryIndex({
908908
indexName: LSI_NAME,
909909
sortKey: LSI_SORT_KEY,
@@ -926,7 +926,7 @@ describe('schema details', () => {
926926
});
927927
});
928928

929-
test('get scheama for unknown secondary index', () => {
929+
test('get schema for unknown secondary index', () => {
930930
expect(() => table.schema(GSI_NAME))
931931
.toThrow(/Cannot find schema for index: MyGSI. Use 'addGlobalSecondaryIndex' or 'addLocalSecondaryIndex' to add index/);
932932
});
@@ -1324,7 +1324,7 @@ test('when adding a global secondary index without specifying read and write cap
13241324
);
13251325
});
13261326

1327-
test.each([true, false])('when adding a global secondary index with contributoreIngishtsEnabled %s', (contributorInsightsEnabled: boolean) => {
1327+
test.each([true, false])('when adding a global secondary index with contributorInsightsEnabled %s', (contributorInsightsEnabled: boolean) => {
13281328
const stack = new Stack();
13291329
const table = new Table(stack, CONSTRUCT_NAME, {
13301330
partitionKey: TABLE_PARTITION_KEY,

packages/aws-cdk-lib/aws-dynamodb/test/table-v2.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2312,7 +2312,7 @@ describe('secondary indexes', () => {
23122312
});
23132313
});
23142314

2315-
test('with global secondary index wihtout read capacity inherits from table when billing mode is provisioned', () => {
2315+
test('with global secondary index without read capacity inherits from table when billing mode is provisioned', () => {
23162316
// GIVEN
23172317
const stack = new Stack(undefined, 'Stack');
23182318

0 commit comments

Comments
 (0)