@gradientedge/cdk-utils 8.53.0 → 8.54.0
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.
|
@@ -103,9 +103,9 @@ class SqsManager {
|
|
|
103
103
|
createRedriveQueueForLambda(id, scope, props) {
|
|
104
104
|
return this.createQueue(`${id}`, scope, {
|
|
105
105
|
...props.redriveq,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
queueName: props.redriveq?.fifo
|
|
107
|
+
? `${props.functionName}-redriveq-${scope.props.stage}.fifo`
|
|
108
|
+
: `${props.functionName}-redriveq-${scope.props.stage}`,
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
/**
|
|
@@ -120,9 +120,9 @@ class SqsManager {
|
|
|
120
120
|
if (props.dlq) {
|
|
121
121
|
queueProps = {
|
|
122
122
|
...props.dlq,
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
123
|
+
queueName: props.dlq.fifo
|
|
124
|
+
? `${props.functionName}-dlq-${scope.props.stage}.fifo`
|
|
125
|
+
: `${props.functionName}-dlq-${scope.props.stage}`,
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
128
|
else {
|
package/package.json
CHANGED
|
@@ -84,9 +84,9 @@ export class SqsManager {
|
|
|
84
84
|
public createRedriveQueueForLambda(id: string, scope: common.CommonConstruct, props: types.LambdaProps) {
|
|
85
85
|
return this.createQueue(`${id}`, scope, {
|
|
86
86
|
...props.redriveq,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
87
|
+
queueName: props.redriveq?.fifo
|
|
88
|
+
? `${props.functionName}-redriveq-${scope.props.stage}.fifo`
|
|
89
|
+
: `${props.functionName}-redriveq-${scope.props.stage}`,
|
|
90
90
|
})
|
|
91
91
|
}
|
|
92
92
|
|
|
@@ -107,9 +107,9 @@ export class SqsManager {
|
|
|
107
107
|
if (props.dlq) {
|
|
108
108
|
queueProps = {
|
|
109
109
|
...props.dlq,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
110
|
+
queueName: props.dlq.fifo
|
|
111
|
+
? `${props.functionName}-dlq-${scope.props.stage}.fifo`
|
|
112
|
+
: `${props.functionName}-dlq-${scope.props.stage}`,
|
|
113
113
|
}
|
|
114
114
|
} else {
|
|
115
115
|
queueProps = {
|