@certenza/aws-cdk-infrastructure-commons 2.2.0 → 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/dynamodb.js +0 -1
- package/dist/src/lambda.d.ts +2 -2
- package/dist/src/sqs.d.ts +1 -1
- package/package.json +1 -1
package/dist/src/dynamodb.js
CHANGED
|
@@ -109,7 +109,6 @@ exports.createDynamoDBTable = createDynamoDBTable;
|
|
|
109
109
|
*/
|
|
110
110
|
const importDynamoDBTable = (scope, tableName) => {
|
|
111
111
|
return cdk.aws_dynamodb.Table.fromTableAttributes(scope, `Imported${tableName}Table`, {
|
|
112
|
-
tableName: cdk.Fn.importValue(`CertenzaInfrastructureDynamoDBStack-${tableName}TableName`),
|
|
113
112
|
tableArn: cdk.Fn.importValue(`CertenzaInfrastructureDynamoDBStack-${tableName}TableArn`),
|
|
114
113
|
tableStreamArn: cdk.Fn.importValue(`CertenzaInfrastructureDynamoDBStack-${tableName}TableStreamArn`),
|
|
115
114
|
});
|
package/dist/src/lambda.d.ts
CHANGED
|
@@ -36,12 +36,12 @@ declare const createLambdaApiGatewayIntegration: (lambdaFunction: lambda.Functio
|
|
|
36
36
|
* @param table - The table to create the event source for
|
|
37
37
|
* @returns The lambda DynamoDB stream event source
|
|
38
38
|
*/
|
|
39
|
-
declare const createLambdaDynamoDBStreamEventSource: (table: cdk.aws_dynamodb.
|
|
39
|
+
declare const createLambdaDynamoDBStreamEventSource: (table: cdk.aws_dynamodb.ITable) => cdk.aws_lambda_event_sources.DynamoEventSource;
|
|
40
40
|
/**
|
|
41
41
|
* Creates a lambda SQS event source
|
|
42
42
|
* @param queue - The queue to create the event source for
|
|
43
43
|
* @returns The lambda SQS event source
|
|
44
44
|
*/
|
|
45
|
-
declare const createLambdaSQSEventSource: (queue: cdk.aws_sqs.
|
|
45
|
+
declare const createLambdaSQSEventSource: (queue: cdk.aws_sqs.IQueue) => cdk.aws_lambda_event_sources.SqsEventSource;
|
|
46
46
|
export { createLambdaFunction, createLambdaApiGatewayIntegration, createLambdaDynamoDBStreamEventSource, createLambdaSQSEventSource, };
|
|
47
47
|
export type { CreateLambdaFunctionProps };
|
package/dist/src/sqs.d.ts
CHANGED
|
@@ -30,5 +30,5 @@ declare const createSQSApiGatewayIntegration: (scope: Construct, queue: sqs.Queu
|
|
|
30
30
|
* @param eventPattern - The event pattern to suscribe to
|
|
31
31
|
* @returns The event bridge rule
|
|
32
32
|
*/
|
|
33
|
-
declare const createSQSToEventBridgeRule: (scope: Construct, id: string, eventBus: cdk.aws_events.
|
|
33
|
+
declare const createSQSToEventBridgeRule: (scope: Construct, id: string, eventBus: cdk.aws_events.IEventBus, suscriberQueue: cdk.aws_sqs.IQueue, eventBridgeDeadLetterQueue: cdk.aws_sqs.IQueue, eventPattern: cdk.aws_events.EventPattern) => cdk.aws_events.Rule;
|
|
34
34
|
export { createSqsQueue, createSQSApiGatewayIntegration, createSQSToEventBridgeRule, };
|
package/package.json
CHANGED