@awboost/cfn-resource-types 0.1.165 → 0.1.167
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/lib/AWS-CodePipeline-Pipeline.d.ts +13 -1
- package/lib/AWS-EC2-VPNConnection.d.ts +134 -0
- package/lib/AWS-GameLift-ContainerGroupDefinition.d.ts +19 -0
- package/lib/AWS-Lambda-EventSourceMapping.d.ts +7 -2
- package/lib/AWS-RDS-DBInstance.d.ts +1 -4
- package/lib/AWS-Route53Resolver-ResolverRule.d.ts +6 -6
- package/lib/AWS-SQS-Queue.d.ts +7 -7
- package/package.json +1 -1
|
@@ -75,6 +75,10 @@ export type ActionDeclaration = {
|
|
|
75
75
|
* Represents information about an action type.
|
|
76
76
|
*/
|
|
77
77
|
ActionTypeId: ActionTypeId;
|
|
78
|
+
/**
|
|
79
|
+
* The shell commands to run with your compute action in CodePipeline.
|
|
80
|
+
*/
|
|
81
|
+
Commands?: string[];
|
|
78
82
|
/**
|
|
79
83
|
* The action's configuration. These are key-value pairs that specify input values for an action.
|
|
80
84
|
*/
|
|
@@ -89,6 +93,10 @@ export type ActionDeclaration = {
|
|
|
89
93
|
*/
|
|
90
94
|
Namespace?: string;
|
|
91
95
|
OutputArtifacts?: OutputArtifact[];
|
|
96
|
+
/**
|
|
97
|
+
* The list of variables that are to be exported from the compute action.
|
|
98
|
+
*/
|
|
99
|
+
OutputVariables?: string[];
|
|
92
100
|
/**
|
|
93
101
|
* The action declaration's AWS Region, such as us-east-1.
|
|
94
102
|
*/
|
|
@@ -116,7 +124,7 @@ export type ActionTypeId = {
|
|
|
116
124
|
/**
|
|
117
125
|
* A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Valid categories are limited to one of the values below.
|
|
118
126
|
*/
|
|
119
|
-
Category: "Source" | "Build" | "Test" | "Deploy" | "Invoke" | "Approval";
|
|
127
|
+
Category: "Source" | "Build" | "Test" | "Deploy" | "Invoke" | "Approval" | "Compute";
|
|
120
128
|
/**
|
|
121
129
|
* The creator of the action being called. There are three valid values for the Owner field in the action category section within your pipeline structure: AWS, ThirdParty, and Custom.
|
|
122
130
|
*/
|
|
@@ -345,6 +353,10 @@ export type InputArtifact = {
|
|
|
345
353
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-outputartifact.html}
|
|
346
354
|
*/
|
|
347
355
|
export type OutputArtifact = {
|
|
356
|
+
/**
|
|
357
|
+
* The files that you want to associate with the output artifact that will be exported from the compute action.
|
|
358
|
+
*/
|
|
359
|
+
Files?: string[];
|
|
348
360
|
/**
|
|
349
361
|
* The name of the output of an artifact, such as "My App".
|
|
350
362
|
*/
|
|
@@ -18,10 +18,31 @@ export type EC2VPNConnectionProperties = {
|
|
|
18
18
|
Default: ``false``
|
|
19
19
|
*/
|
|
20
20
|
EnableAcceleration?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
|
|
23
|
+
Default: ``0.0.0.0/0``
|
|
24
|
+
*/
|
|
21
25
|
LocalIpv4NetworkCidr?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
|
|
28
|
+
Default: ``::/0``
|
|
29
|
+
*/
|
|
22
30
|
LocalIpv6NetworkCidr?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The type of IPv4 address assigned to the outside interface of the customer gateway device.
|
|
33
|
+
Valid values: ``PrivateIpv4`` | ``PublicIpv4``
|
|
34
|
+
Default: ``PublicIpv4``
|
|
35
|
+
*/
|
|
23
36
|
OutsideIpAddressType?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The IPv4 CIDR on the AWS side of the VPN connection.
|
|
39
|
+
Default: ``0.0.0.0/0``
|
|
40
|
+
*/
|
|
24
41
|
RemoteIpv4NetworkCidr?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The IPv6 CIDR on the AWS side of the VPN connection.
|
|
44
|
+
Default: ``::/0``
|
|
45
|
+
*/
|
|
25
46
|
RemoteIpv6NetworkCidr?: string;
|
|
26
47
|
/**
|
|
27
48
|
* Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.
|
|
@@ -37,7 +58,15 @@ export type EC2VPNConnectionProperties = {
|
|
|
37
58
|
You must specify either ``TransitGatewayId`` or ``VpnGatewayId``, but not both.
|
|
38
59
|
*/
|
|
39
60
|
TransitGatewayId?: string;
|
|
61
|
+
/**
|
|
62
|
+
* The transit gateway attachment ID to use for the VPN tunnel.
|
|
63
|
+
Required if ``OutsideIpAddressType`` is set to ``PrivateIpv4``.
|
|
64
|
+
*/
|
|
40
65
|
TransportTransitGatewayAttachmentId?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.
|
|
68
|
+
Default: ``ipv4``
|
|
69
|
+
*/
|
|
41
70
|
TunnelInsideIpVersion?: string;
|
|
42
71
|
/**
|
|
43
72
|
* The type of VPN connection.
|
|
@@ -60,6 +89,64 @@ export type EC2VPNConnectionProperties = {
|
|
|
60
89
|
export type EC2VPNConnectionAttributes = {
|
|
61
90
|
VpnConnectionId: string;
|
|
62
91
|
};
|
|
92
|
+
/**
|
|
93
|
+
* Type definition for `AWS::EC2::VPNConnection.CloudwatchLogOptionsSpecification`.
|
|
94
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-cloudwatchlogoptionsspecification.html}
|
|
95
|
+
*/
|
|
96
|
+
export type CloudwatchLogOptionsSpecification = {
|
|
97
|
+
LogEnabled?: boolean;
|
|
98
|
+
LogGroupArn?: string;
|
|
99
|
+
LogOutputFormat?: "json" | "text";
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* Type definition for `AWS::EC2::VPNConnection.IKEVersionsRequestListValue`.
|
|
103
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-ikeversionsrequestlistvalue.html}
|
|
104
|
+
*/
|
|
105
|
+
export type IKEVersionsRequestListValue = {
|
|
106
|
+
Value?: "ikev1" | "ikev2";
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* Type definition for `AWS::EC2::VPNConnection.Phase1DHGroupNumbersRequestListValue`.
|
|
110
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase1dhgroupnumbersrequestlistvalue.html}
|
|
111
|
+
*/
|
|
112
|
+
export type Phase1DHGroupNumbersRequestListValue = {
|
|
113
|
+
Value?: 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* Type definition for `AWS::EC2::VPNConnection.Phase1EncryptionAlgorithmsRequestListValue`.
|
|
117
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase1encryptionalgorithmsrequestlistvalue.html}
|
|
118
|
+
*/
|
|
119
|
+
export type Phase1EncryptionAlgorithmsRequestListValue = {
|
|
120
|
+
Value?: "AES128" | "AES256" | "AES128-GCM-16" | "AES256-GCM-16";
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Type definition for `AWS::EC2::VPNConnection.Phase1IntegrityAlgorithmsRequestListValue`.
|
|
124
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase1integrityalgorithmsrequestlistvalue.html}
|
|
125
|
+
*/
|
|
126
|
+
export type Phase1IntegrityAlgorithmsRequestListValue = {
|
|
127
|
+
Value?: "SHA1" | "SHA2-256" | "SHA2-384" | "SHA2-512";
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* Type definition for `AWS::EC2::VPNConnection.Phase2DHGroupNumbersRequestListValue`.
|
|
131
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase2dhgroupnumbersrequestlistvalue.html}
|
|
132
|
+
*/
|
|
133
|
+
export type Phase2DHGroupNumbersRequestListValue = {
|
|
134
|
+
Value?: 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
|
|
135
|
+
};
|
|
136
|
+
/**
|
|
137
|
+
* Type definition for `AWS::EC2::VPNConnection.Phase2EncryptionAlgorithmsRequestListValue`.
|
|
138
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase2encryptionalgorithmsrequestlistvalue.html}
|
|
139
|
+
*/
|
|
140
|
+
export type Phase2EncryptionAlgorithmsRequestListValue = {
|
|
141
|
+
Value?: "AES128" | "AES256" | "AES128-GCM-16" | "AES256-GCM-16";
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* Type definition for `AWS::EC2::VPNConnection.Phase2IntegrityAlgorithmsRequestListValue`.
|
|
145
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase2integrityalgorithmsrequestlistvalue.html}
|
|
146
|
+
*/
|
|
147
|
+
export type Phase2IntegrityAlgorithmsRequestListValue = {
|
|
148
|
+
Value?: "SHA1" | "SHA2-256" | "SHA2-384" | "SHA2-512";
|
|
149
|
+
};
|
|
63
150
|
/**
|
|
64
151
|
* Type definition for `AWS::EC2::VPNConnection.Tag`.
|
|
65
152
|
* Specifies a tag. For more information, see [Resource tags](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).
|
|
@@ -75,17 +162,63 @@ export type Tag = {
|
|
|
75
162
|
*/
|
|
76
163
|
Value: string;
|
|
77
164
|
};
|
|
165
|
+
/**
|
|
166
|
+
* Type definition for `AWS::EC2::VPNConnection.VpnTunnelLogOptionsSpecification`.
|
|
167
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunnellogoptionsspecification.html}
|
|
168
|
+
*/
|
|
169
|
+
export type VpnTunnelLogOptionsSpecification = {
|
|
170
|
+
CloudwatchLogOptions?: CloudwatchLogOptionsSpecification;
|
|
171
|
+
};
|
|
78
172
|
/**
|
|
79
173
|
* Type definition for `AWS::EC2::VPNConnection.VpnTunnelOptionsSpecification`.
|
|
80
174
|
* The tunnel options for a single VPN tunnel.
|
|
81
175
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunneloptionsspecification.html}
|
|
82
176
|
*/
|
|
83
177
|
export type VpnTunnelOptionsSpecification = {
|
|
178
|
+
DPDTimeoutAction?: "clear" | "none" | "restart";
|
|
179
|
+
/**
|
|
180
|
+
* @min `30`
|
|
181
|
+
*/
|
|
182
|
+
DPDTimeoutSeconds?: number;
|
|
183
|
+
EnableTunnelLifecycleControl?: boolean;
|
|
184
|
+
IKEVersions?: IKEVersionsRequestListValue[];
|
|
185
|
+
LogOptions?: VpnTunnelLogOptionsSpecification;
|
|
186
|
+
Phase1DHGroupNumbers?: Phase1DHGroupNumbersRequestListValue[];
|
|
187
|
+
Phase1EncryptionAlgorithms?: Phase1EncryptionAlgorithmsRequestListValue[];
|
|
188
|
+
Phase1IntegrityAlgorithms?: Phase1IntegrityAlgorithmsRequestListValue[];
|
|
189
|
+
/**
|
|
190
|
+
* @min `900`
|
|
191
|
+
* @max `28800`
|
|
192
|
+
*/
|
|
193
|
+
Phase1LifetimeSeconds?: number;
|
|
194
|
+
Phase2DHGroupNumbers?: Phase2DHGroupNumbersRequestListValue[];
|
|
195
|
+
Phase2EncryptionAlgorithms?: Phase2EncryptionAlgorithmsRequestListValue[];
|
|
196
|
+
Phase2IntegrityAlgorithms?: Phase2IntegrityAlgorithmsRequestListValue[];
|
|
197
|
+
/**
|
|
198
|
+
* @min `900`
|
|
199
|
+
* @max `3600`
|
|
200
|
+
*/
|
|
201
|
+
Phase2LifetimeSeconds?: number;
|
|
84
202
|
/**
|
|
85
203
|
* The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer gateway.
|
|
86
204
|
Constraints: Allowed characters are alphanumeric characters, periods (.), and underscores (_). Must be between 8 and 64 characters in length and cannot start with zero (0).
|
|
87
205
|
*/
|
|
88
206
|
PreSharedKey?: string;
|
|
207
|
+
/**
|
|
208
|
+
* @min `0`
|
|
209
|
+
* @max `100`
|
|
210
|
+
*/
|
|
211
|
+
RekeyFuzzPercentage?: number;
|
|
212
|
+
/**
|
|
213
|
+
* @min `60`
|
|
214
|
+
*/
|
|
215
|
+
RekeyMarginTimeSeconds?: number;
|
|
216
|
+
/**
|
|
217
|
+
* @min `64`
|
|
218
|
+
* @max `2048`
|
|
219
|
+
*/
|
|
220
|
+
ReplayWindowSize?: number;
|
|
221
|
+
StartupAction?: "add" | "start";
|
|
89
222
|
/**
|
|
90
223
|
* The range of inside IP addresses for the tunnel. Any specified CIDR blocks must be unique across all VPN connections that use the same virtual private gateway.
|
|
91
224
|
Constraints: A size /30 CIDR block from the ``169.254.0.0/16`` range. The following CIDR blocks are reserved and cannot be used:
|
|
@@ -98,6 +231,7 @@ export type VpnTunnelOptionsSpecification = {
|
|
|
98
231
|
+ ``169.254.169.252/30``
|
|
99
232
|
*/
|
|
100
233
|
TunnelInsideCidr?: string;
|
|
234
|
+
TunnelInsideIpv6Cidr?: string;
|
|
101
235
|
};
|
|
102
236
|
/**
|
|
103
237
|
* Resource type definition for `AWS::EC2::VPNConnection`.
|
|
@@ -26,6 +26,17 @@ export type GameLiftContainerGroupDefinitionProperties = {
|
|
|
26
26
|
* Specifies whether the container group includes replica or daemon containers.
|
|
27
27
|
*/
|
|
28
28
|
SchedulingStrategy?: "REPLICA" | "DAEMON";
|
|
29
|
+
/**
|
|
30
|
+
* A specific ContainerGroupDefinition version to be updated
|
|
31
|
+
* @min `0`
|
|
32
|
+
*/
|
|
33
|
+
SourceVersionNumber?: number;
|
|
34
|
+
/**
|
|
35
|
+
* A collection of support container definitions that define the containers in this group.
|
|
36
|
+
* @minLength `1`
|
|
37
|
+
* @maxLength `10`
|
|
38
|
+
*/
|
|
39
|
+
SupportContainerDefinitions?: any[];
|
|
29
40
|
/**
|
|
30
41
|
* An array of key-value pairs to apply to this resource.
|
|
31
42
|
* @minLength `0`
|
|
@@ -73,6 +84,14 @@ export type GameLiftContainerGroupDefinitionAttributes = {
|
|
|
73
84
|
* A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
|
|
74
85
|
*/
|
|
75
86
|
CreationTime: string;
|
|
87
|
+
/**
|
|
88
|
+
* A string indicating ContainerGroupDefinition status.
|
|
89
|
+
*/
|
|
90
|
+
Status: "READY" | "COPYING" | "FAILED";
|
|
91
|
+
/**
|
|
92
|
+
* A string indicating the reason for ContainerGroupDefinition status.
|
|
93
|
+
*/
|
|
94
|
+
StatusReason: string;
|
|
76
95
|
};
|
|
77
96
|
/**
|
|
78
97
|
* Type definition for `AWS::GameLift::ContainerGroupDefinition.ContainerDefinition`.
|
|
@@ -156,6 +156,10 @@ export type LambdaEventSourceMappingProperties = {
|
|
|
156
156
|
* With ``StartingPosition`` set to ``AT_TIMESTAMP``, the time from which to start reading, in Unix time seconds. ``StartingPositionTimestamp`` cannot be in the future.
|
|
157
157
|
*/
|
|
158
158
|
StartingPositionTimestamp?: number;
|
|
159
|
+
/**
|
|
160
|
+
* A list of tags to add to the event source mapping.
|
|
161
|
+
You must have the ``lambda:TagResource``, ``lambda:UntagResource``, and ``lambda:ListTags`` permissions for your [principal](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html) to manage the CFN stack. If you don't have these permissions, there might be unexpected behavior with stack-level tags propagating to the resource during resource creation and update.
|
|
162
|
+
*/
|
|
159
163
|
Tags?: Tag[];
|
|
160
164
|
/**
|
|
161
165
|
* The name of the Kafka topic.
|
|
@@ -360,17 +364,18 @@ export type SourceAccessConfiguration = {
|
|
|
360
364
|
};
|
|
361
365
|
/**
|
|
362
366
|
* Type definition for `AWS::Lambda::EventSourceMapping.Tag`.
|
|
367
|
+
* A [tag](https://docs.aws.amazon.com/lambda/latest/dg/tagging.html) to apply to the event source mapping.
|
|
363
368
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-tag.html}
|
|
364
369
|
*/
|
|
365
370
|
export type Tag = {
|
|
366
371
|
/**
|
|
367
|
-
* The key
|
|
372
|
+
* The key for this tag.
|
|
368
373
|
* @minLength `1`
|
|
369
374
|
* @maxLength `128`
|
|
370
375
|
*/
|
|
371
376
|
Key: string;
|
|
372
377
|
/**
|
|
373
|
-
* The value for
|
|
378
|
+
* The value for this tag.
|
|
374
379
|
* @minLength `0`
|
|
375
380
|
* @maxLength `256`
|
|
376
381
|
*/
|
|
@@ -273,16 +273,13 @@ export type RDSDBInstanceProperties = {
|
|
|
273
273
|
+ ``CharacterSetName``
|
|
274
274
|
+ ``DBClusterIdentifier``
|
|
275
275
|
+ ``DBName``
|
|
276
|
-
+ ``DeleteAutomatedBackups``
|
|
277
276
|
+ ``KmsKeyId``
|
|
278
277
|
+ ``MasterUsername``
|
|
279
278
|
+ ``MasterUserPassword``
|
|
280
|
-
+ ``PerformanceInsightsKMSKeyId``
|
|
281
|
-
+ ``PerformanceInsightsRetentionPeriod``
|
|
282
279
|
+ ``PromotionTier``
|
|
283
280
|
+ ``SourceDBInstanceIdentifier``
|
|
284
281
|
+ ``SourceRegion``
|
|
285
|
-
+ ``StorageEncrypted`` (for an
|
|
282
|
+
+ ``StorageEncrypted`` (for an unencrypted snapshot)
|
|
286
283
|
+ ``Timezone``
|
|
287
284
|
|
|
288
285
|
*Amazon Aurora*
|
|
@@ -5,12 +5,6 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
|
|
|
5
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverrule.html}
|
|
6
6
|
*/
|
|
7
7
|
export type Route53ResolverResolverRuleProperties = {
|
|
8
|
-
/**
|
|
9
|
-
* The name server domain for queries to be delegated to if a query matches the delegation record.
|
|
10
|
-
* @minLength `1`
|
|
11
|
-
* @maxLength `256`
|
|
12
|
-
*/
|
|
13
|
-
DelegationRecord?: string;
|
|
14
8
|
/**
|
|
15
9
|
* DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps
|
|
16
10
|
* @minLength `1`
|
|
@@ -97,6 +91,12 @@ export type TargetAddress = {
|
|
|
97
91
|
* The protocol that you want to use to forward DNS queries.
|
|
98
92
|
*/
|
|
99
93
|
Protocol?: "Do53" | "DoH";
|
|
94
|
+
/**
|
|
95
|
+
* The SNI of the target name servers for DoH/DoH-FIPS outbound endpoints
|
|
96
|
+
* @minLength `0`
|
|
97
|
+
* @maxLength `255`
|
|
98
|
+
*/
|
|
99
|
+
ServerNameIndication?: string;
|
|
100
100
|
};
|
|
101
101
|
/**
|
|
102
102
|
* Resource Type definition for AWS::Route53Resolver::ResolverRule
|
package/lib/AWS-SQS-Queue.d.ts
CHANGED
|
@@ -68,18 +68,18 @@ export type SQSQueueProperties = {
|
|
|
68
68
|
ReceiveMessageWaitTimeSeconds?: number;
|
|
69
69
|
/**
|
|
70
70
|
* The string that includes the parameters for the permissions for the dead-letter queue redrive permission and which source queues can specify dead-letter queues as a JSON object. The parameters are as follows:
|
|
71
|
-
+
|
|
72
|
-
+
|
|
73
|
-
+
|
|
74
|
-
+
|
|
71
|
+
+ ``redrivePermission``: The permission type that defines which source queues can specify the current queue as the dead-letter queue. Valid values are:
|
|
72
|
+
+ ``allowAll``: (Default) Any source queues in this AWS account in the same Region can specify this queue as the dead-letter queue.
|
|
73
|
+
+ ``denyAll``: No source queues can specify this queue as the dead-letter queue.
|
|
74
|
+
+ ``byQueue``: Only queues specified by the ``sourceQueueArns`` parameter can specify this queue as the dead-letter queue.
|
|
75
75
|
|
|
76
|
-
+
|
|
76
|
+
+ ``sourceQueueArns``: The Amazon Resource Names (ARN)s of the source queues that can specify this queue as the dead-letter queue and redrive messages. You can specify this parameter only when the ``redrivePermission`` parameter is set to ``byQueue``. You can specify up to 10 source queue ARNs. To allow more than 10 source queues to specify dead-letter queues, set the ``redrivePermission`` parameter to ``allowAll``.
|
|
77
77
|
*/
|
|
78
78
|
RedriveAllowPolicy?: Record<string, any> | string;
|
|
79
79
|
/**
|
|
80
80
|
* The string that includes the parameters for the dead-letter queue functionality of the source queue as a JSON object. The parameters are as follows:
|
|
81
|
-
+
|
|
82
|
-
+
|
|
81
|
+
+ ``deadLetterTargetArn``: The Amazon Resource Name (ARN) of the dead-letter queue to which SQS moves messages after the value of ``maxReceiveCount`` is exceeded.
|
|
82
|
+
+ ``maxReceiveCount``: The number of times a message is received by a consumer of the source queue before being moved to the dead-letter queue. When the ``ReceiveCount`` for a message exceeds the ``maxReceiveCount`` for a queue, SQS moves the message to the dead-letter-queue.
|
|
83
83
|
|
|
84
84
|
The dead-letter queue of a FIFO queue must also be a FIFO queue. Similarly, the dead-letter queue of a standard queue must also be a standard queue.
|
|
85
85
|
*JSON*
|