@awboost/cfn-resource-types 0.1.41 → 0.1.42

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.
@@ -1,13 +1,30 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
3
  /**
4
- * Resource Type definition for AWS::ElasticLoadBalancingV2::ListenerRule
4
+ * Resource type definition for `AWS::ElasticLoadBalancingV2::ListenerRule`.
5
+ * Specifies a listener rule. The listener must be associated with an Application Load Balancer. Each rule consists of a priority, one or more actions, and one or more conditions.
6
+ For more information, see [Quotas for your Application Load Balancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html) in the *User Guide for Application Load Balancers*.
5
7
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listenerrule.html}
6
8
  */
7
9
  export type ElasticLoadBalancingV2ListenerRuleProperties = {
10
+ /**
11
+ * The actions.
12
+ The rule must include exactly one of the following types of actions: ``forward``, ``fixed-response``, or ``redirect``, and it must be the last action to be performed. If the rule is for an HTTPS listener, it can also optionally include an authentication action.
13
+ */
8
14
  Actions: Action[];
15
+ /**
16
+ * The conditions.
17
+ The rule can optionally include up to one of each of the following conditions: ``http-request-method``, ``host-header``, ``path-pattern``, and ``source-ip``. A rule can also optionally include one or more of each of the following conditions: ``http-header`` and ``query-string``.
18
+ */
9
19
  Conditions: RuleCondition[];
20
+ /**
21
+ * The Amazon Resource Name (ARN) of the listener.
22
+ */
10
23
  ListenerArn?: string;
24
+ /**
25
+ * The rule priority. A listener can't have multiple rules with the same priority.
26
+ If you try to reorder rules by updating their priorities, do not specify a new priority if an existing rule already uses this priority, as this can cause an error. If you need to reuse a priority with a different rule, you must remove it as a priority first, and then specify it in a subsequent update.
27
+ */
11
28
  Priority: number;
12
29
  };
13
30
  /**
@@ -20,162 +37,407 @@ export type ElasticLoadBalancingV2ListenerRuleAttributes = {
20
37
  };
21
38
  /**
22
39
  * Type definition for `AWS::ElasticLoadBalancingV2::ListenerRule.Action`.
40
+ * Specifies an action for a listener rule.
23
41
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-action.html}
24
42
  */
25
43
  export type Action = {
44
+ /**
45
+ * [HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when ``Type`` is ``authenticate-cognito``.
46
+ */
26
47
  AuthenticateCognitoConfig?: AuthenticateCognitoConfig;
48
+ /**
49
+ * [HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify only when ``Type`` is ``authenticate-oidc``.
50
+ */
27
51
  AuthenticateOidcConfig?: AuthenticateOidcConfig;
52
+ /**
53
+ * [Application Load Balancer] Information for creating an action that returns a custom HTTP response. Specify only when ``Type`` is ``fixed-response``.
54
+ */
28
55
  FixedResponseConfig?: FixedResponseConfig;
56
+ /**
57
+ * Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when ``Type`` is ``forward``. If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.
58
+ */
29
59
  ForwardConfig?: ForwardConfig;
60
+ /**
61
+ * The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first.
62
+ */
30
63
  Order?: number;
64
+ /**
65
+ * [Application Load Balancer] Information for creating a redirect action. Specify only when ``Type`` is ``redirect``.
66
+ */
31
67
  RedirectConfig?: RedirectConfig;
68
+ /**
69
+ * The Amazon Resource Name (ARN) of the target group. Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to one or more target groups, use ``ForwardConfig`` instead.
70
+ */
32
71
  TargetGroupArn?: string;
72
+ /**
73
+ * The type of action.
74
+ */
33
75
  Type: string;
34
76
  };
35
77
  /**
36
78
  * Type definition for `AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateCognitoConfig`.
79
+ * Specifies information required when integrating with Amazon Cognito to authenticate users.
37
80
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-authenticatecognitoconfig.html}
38
81
  */
39
82
  export type AuthenticateCognitoConfig = {
83
+ /**
84
+ * The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
85
+ */
40
86
  AuthenticationRequestExtraParams?: Record<string, string>;
87
+ /**
88
+ * The behavior if the user is not authenticated. The following are possible values:
89
+ + deny```` - Return an HTTP 401 Unauthorized error.
90
+ + allow```` - Allow the request to be forwarded to the target.
91
+ + authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.
92
+ */
41
93
  OnUnauthenticatedRequest?: string;
94
+ /**
95
+ * The set of user claims to be requested from the IdP. The default is ``openid``.
96
+ To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.
97
+ */
42
98
  Scope?: string;
99
+ /**
100
+ * The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.
101
+ */
43
102
  SessionCookieName?: string;
103
+ /**
104
+ * The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).
105
+ */
44
106
  SessionTimeout?: number;
107
+ /**
108
+ * The Amazon Resource Name (ARN) of the Amazon Cognito user pool.
109
+ */
45
110
  UserPoolArn: string;
111
+ /**
112
+ * The ID of the Amazon Cognito user pool client.
113
+ */
46
114
  UserPoolClientId: string;
115
+ /**
116
+ * The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.
117
+ */
47
118
  UserPoolDomain: string;
48
119
  };
49
120
  /**
50
121
  * Type definition for `AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateOidcConfig`.
122
+ * Specifies information required using an identity provide (IdP) that is compliant with OpenID Connect (OIDC) to authenticate users.
51
123
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-authenticateoidcconfig.html}
52
124
  */
53
125
  export type AuthenticateOidcConfig = {
126
+ /**
127
+ * The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
128
+ */
54
129
  AuthenticationRequestExtraParams?: Record<string, string>;
130
+ /**
131
+ * The authorization endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
132
+ */
55
133
  AuthorizationEndpoint: string;
134
+ /**
135
+ * The OAuth 2.0 client identifier.
136
+ */
56
137
  ClientId: string;
138
+ /**
139
+ * The OAuth 2.0 client secret. This parameter is required if you are creating a rule. If you are modifying a rule, you can omit this parameter if you set ``UseExistingClientSecret`` to true.
140
+ */
57
141
  ClientSecret?: string;
142
+ /**
143
+ * The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
144
+ */
58
145
  Issuer: string;
146
+ /**
147
+ * The behavior if the user is not authenticated. The following are possible values:
148
+ + deny```` - Return an HTTP 401 Unauthorized error.
149
+ + allow```` - Allow the request to be forwarded to the target.
150
+ + authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.
151
+ */
59
152
  OnUnauthenticatedRequest?: string;
153
+ /**
154
+ * The set of user claims to be requested from the IdP. The default is ``openid``.
155
+ To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.
156
+ */
60
157
  Scope?: string;
158
+ /**
159
+ * The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.
160
+ */
61
161
  SessionCookieName?: string;
162
+ /**
163
+ * The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).
164
+ */
62
165
  SessionTimeout?: number;
166
+ /**
167
+ * The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
168
+ */
63
169
  TokenEndpoint: string;
170
+ /**
171
+ * Indicates whether to use the existing client secret when modifying a rule. If you are creating a rule, you can omit this parameter or set it to false.
172
+ */
64
173
  UseExistingClientSecret?: boolean;
174
+ /**
175
+ * The user info endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
176
+ */
65
177
  UserInfoEndpoint: string;
66
178
  };
67
179
  /**
68
180
  * Type definition for `AWS::ElasticLoadBalancingV2::ListenerRule.FixedResponseConfig`.
181
+ * Specifies information required when returning a custom HTTP response.
69
182
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-fixedresponseconfig.html}
70
183
  */
71
184
  export type FixedResponseConfig = {
185
+ /**
186
+ * The content type.
187
+ Valid Values: text/plain | text/css | text/html | application/javascript | application/json
188
+ */
72
189
  ContentType?: string;
190
+ /**
191
+ * The message.
192
+ */
73
193
  MessageBody?: string;
194
+ /**
195
+ * The HTTP response code (2XX, 4XX, or 5XX).
196
+ */
74
197
  StatusCode: string;
75
198
  };
76
199
  /**
77
200
  * Type definition for `AWS::ElasticLoadBalancingV2::ListenerRule.ForwardConfig`.
201
+ * Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when ``Type`` is ``forward``. If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.
78
202
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-forwardconfig.html}
79
203
  */
80
204
  export type ForwardConfig = {
205
+ /**
206
+ * Information about the target group stickiness for a rule.
207
+ */
81
208
  TargetGroupStickinessConfig?: TargetGroupStickinessConfig;
209
+ /**
210
+ * Information about how traffic will be distributed between multiple target groups in a forward rule.
211
+ */
82
212
  TargetGroups?: TargetGroupTuple[];
83
213
  };
84
214
  /**
85
215
  * Type definition for `AWS::ElasticLoadBalancingV2::ListenerRule.HostHeaderConfig`.
216
+ * Information about a host header condition.
86
217
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-hostheaderconfig.html}
87
218
  */
88
219
  export type HostHeaderConfig = {
220
+ /**
221
+ * The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
222
+ If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
223
+ */
89
224
  Values?: string[];
90
225
  };
91
226
  /**
92
227
  * Type definition for `AWS::ElasticLoadBalancingV2::ListenerRule.HttpHeaderConfig`.
228
+ * Information about an HTTP header condition.
229
+ There is a set of standard HTTP header fields. You can also define custom HTTP header fields.
93
230
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-httpheaderconfig.html}
94
231
  */
95
232
  export type HttpHeaderConfig = {
233
+ /**
234
+ * The name of the HTTP header field. The maximum size is 40 characters. The header name is case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not supported.
235
+ */
96
236
  HttpHeaderName?: string;
237
+ /**
238
+ * The strings to compare against the value of the HTTP header. The maximum size of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
239
+ If the same header appears multiple times in the request, we search them in order until a match is found.
240
+ If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string.
241
+ */
97
242
  Values?: string[];
98
243
  };
99
244
  /**
100
245
  * Type definition for `AWS::ElasticLoadBalancingV2::ListenerRule.HttpRequestMethodConfig`.
246
+ * Information about an HTTP method condition.
247
+ HTTP defines a set of request methods, also referred to as HTTP verbs. For more information, see the [HTTP Method Registry](https://docs.aws.amazon.com/https://www.iana.org/assignments/http-methods/http-methods.xhtml). You can also define custom HTTP methods.
101
248
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-httprequestmethodconfig.html}
102
249
  */
103
250
  export type HttpRequestMethodConfig = {
251
+ /**
252
+ * The name of the request method. The maximum size is 40 characters. The allowed characters are A-Z, hyphen (-), and underscore (_). The comparison is case sensitive. Wildcards are not supported; therefore, the method name must be an exact match.
253
+ If you specify multiple strings, the condition is satisfied if one of the strings matches the HTTP request method. We recommend that you route GET and HEAD requests in the same way, because the response to a HEAD request may be cached.
254
+ */
104
255
  Values?: string[];
105
256
  };
106
257
  /**
107
258
  * Type definition for `AWS::ElasticLoadBalancingV2::ListenerRule.PathPatternConfig`.
259
+ * Information about a path pattern condition.
108
260
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-pathpatternconfig.html}
109
261
  */
110
262
  export type PathPatternConfig = {
263
+ /**
264
+ * The path patterns to compare against the request URL. The maximum size of each string is 128 characters. The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
265
+ If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string.
266
+ */
111
267
  Values?: string[];
112
268
  };
113
269
  /**
114
270
  * Type definition for `AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringConfig`.
271
+ * Information about a query string condition.
272
+ The query string component of a URI starts after the first '?' character and is terminated by either a '#' character or the end of the URI. A typical query string contains key/value pairs separated by '&' characters. The allowed characters are specified by RFC 3986. Any character can be percentage encoded.
115
273
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-querystringconfig.html}
116
274
  */
117
275
  export type QueryStringConfig = {
276
+ /**
277
+ * The key/value pairs or values to find in the query string. The maximum size of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in ``Values`` using a '\' character.
278
+ If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.
279
+ */
118
280
  Values?: QueryStringKeyValue[];
119
281
  };
120
282
  /**
121
283
  * Type definition for `AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringKeyValue`.
284
+ * Information about a key/value pair.
122
285
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-querystringkeyvalue.html}
123
286
  */
124
287
  export type QueryStringKeyValue = {
288
+ /**
289
+ * The key. You can omit the key.
290
+ */
125
291
  Key?: string;
292
+ /**
293
+ * The value.
294
+ */
126
295
  Value?: string;
127
296
  };
128
297
  /**
129
298
  * Type definition for `AWS::ElasticLoadBalancingV2::ListenerRule.RedirectConfig`.
299
+ * Information about a redirect action.
300
+ A URI consists of the following components: protocol://hostname:port/path?query. You must modify at least one of the following components to avoid a redirect loop: protocol, hostname, port, or path. Any components that you do not modify retain their original values.
301
+ You can reuse URI components using the following reserved keywords:
302
+ + #{protocol}
303
+ + #{host}
304
+ + #{port}
305
+ + #{path} (the leading "/" is removed)
306
+ + #{query}
307
+
308
+ For example, you can change the path to "/new/#{path}", the hostname to "example.#{host}", or the query to "#{query}&value=xyz".
130
309
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-redirectconfig.html}
131
310
  */
132
311
  export type RedirectConfig = {
312
+ /**
313
+ * The hostname. This component is not percent-encoded. The hostname can contain #{host}.
314
+ */
133
315
  Host?: string;
316
+ /**
317
+ * The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.
318
+ */
134
319
  Path?: string;
320
+ /**
321
+ * The port. You can specify a value from 1 to 65535 or #{port}.
322
+ */
135
323
  Port?: string;
324
+ /**
325
+ * The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.
326
+ */
136
327
  Protocol?: string;
328
+ /**
329
+ * The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.
330
+ */
137
331
  Query?: string;
332
+ /**
333
+ * The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).
334
+ */
138
335
  StatusCode: string;
139
336
  };
140
337
  /**
141
338
  * Type definition for `AWS::ElasticLoadBalancingV2::ListenerRule.RuleCondition`.
339
+ * Specifies a condition for a listener rule.
142
340
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-rulecondition.html}
143
341
  */
144
342
  export type RuleCondition = {
343
+ /**
344
+ * The field in the HTTP request. The following are the possible values:
345
+ + ``http-header``
346
+ + ``http-request-method``
347
+ + ``host-header``
348
+ + ``path-pattern``
349
+ + ``query-string``
350
+ + ``source-ip``
351
+ */
145
352
  Field?: string;
353
+ /**
354
+ * Information for a host header condition. Specify only when ``Field`` is ``host-header``.
355
+ */
146
356
  HostHeaderConfig?: HostHeaderConfig;
357
+ /**
358
+ * Information for an HTTP header condition. Specify only when ``Field`` is ``http-header``.
359
+ */
147
360
  HttpHeaderConfig?: HttpHeaderConfig;
361
+ /**
362
+ * Information for an HTTP method condition. Specify only when ``Field`` is ``http-request-method``.
363
+ */
148
364
  HttpRequestMethodConfig?: HttpRequestMethodConfig;
365
+ /**
366
+ * Information for a path pattern condition. Specify only when ``Field`` is ``path-pattern``.
367
+ */
149
368
  PathPatternConfig?: PathPatternConfig;
369
+ /**
370
+ * Information for a query string condition. Specify only when ``Field`` is ``query-string``.
371
+ */
150
372
  QueryStringConfig?: QueryStringConfig;
373
+ /**
374
+ * Information for a source IP condition. Specify only when ``Field`` is ``source-ip``.
375
+ */
151
376
  SourceIpConfig?: SourceIpConfig;
377
+ /**
378
+ * The condition value. Specify only when ``Field`` is ``host-header`` or ``path-pattern``. Alternatively, to specify multiple host names or multiple path patterns, use ``HostHeaderConfig`` or ``PathPatternConfig``.
379
+ If ``Field`` is ``host-header`` and you're not using ``HostHeaderConfig``, you can specify a single host name (for example, my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following characters.
380
+ + A-Z, a-z, 0-9
381
+ + - .
382
+ + * (matches 0 or more characters)
383
+ + ? (matches exactly 1 character)
384
+
385
+ If ``Field`` is ``path-pattern`` and you're not using ``PathPatternConfig``, you can specify a single path pattern (for example, /img/*). A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters.
386
+ + A-Z, a-z, 0-9
387
+ + _ - . $ / ~ " ' @ : +
388
+ + & (using &amp;)
389
+ + * (matches 0 or more characters)
390
+ + ? (matches exactly 1 character)
391
+ */
152
392
  Values?: string[];
153
393
  };
154
394
  /**
155
395
  * Type definition for `AWS::ElasticLoadBalancingV2::ListenerRule.SourceIpConfig`.
396
+ * Information about a source IP condition.
397
+ You can use this condition to route based on the IP address of the source that connects to the load balancer. If a client is behind a proxy, this is the IP address of the proxy not the IP address of the client.
156
398
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-sourceipconfig.html}
157
399
  */
158
400
  export type SourceIpConfig = {
401
+ /**
402
+ * The source IP addresses, in CIDR format. You can use both IPv4 and IPv6 addresses. Wildcards are not supported.
403
+ If you specify multiple addresses, the condition is satisfied if the source IP address of the request matches one of the CIDR blocks. This condition is not satisfied by the addresses in the X-Forwarded-For header.
404
+ */
159
405
  Values?: string[];
160
406
  };
161
407
  /**
162
408
  * Type definition for `AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupStickinessConfig`.
409
+ * Information about the target group stickiness for a rule.
163
410
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-targetgroupstickinessconfig.html}
164
411
  */
165
412
  export type TargetGroupStickinessConfig = {
413
+ /**
414
+ * The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).
415
+ */
166
416
  DurationSeconds?: number;
417
+ /**
418
+ * Indicates whether target group stickiness is enabled.
419
+ */
167
420
  Enabled?: boolean;
168
421
  };
169
422
  /**
170
423
  * Type definition for `AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupTuple`.
424
+ * Information about how traffic will be distributed between multiple target groups in a forward rule.
171
425
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-targetgrouptuple.html}
172
426
  */
173
427
  export type TargetGroupTuple = {
428
+ /**
429
+ * The Amazon Resource Name (ARN) of the target group.
430
+ */
174
431
  TargetGroupArn?: string;
432
+ /**
433
+ * The weight. The range is 0 to 999.
434
+ */
175
435
  Weight?: number;
176
436
  };
177
437
  /**
178
- * Resource Type definition for AWS::ElasticLoadBalancingV2::ListenerRule
438
+ * Resource type definition for `AWS::ElasticLoadBalancingV2::ListenerRule`.
439
+ * Specifies a listener rule. The listener must be associated with an Application Load Balancer. Each rule consists of a priority, one or more actions, and one or more conditions.
440
+ For more information, see [Quotas for your Application Load Balancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html) in the *User Guide for Application Load Balancers*.
179
441
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listenerrule.html}
180
442
  */
181
443
  export declare class ElasticLoadBalancingV2ListenerRule extends $Resource<"AWS::ElasticLoadBalancingV2::ListenerRule", ElasticLoadBalancingV2ListenerRuleProperties, ElasticLoadBalancingV2ListenerRuleAttributes> {
@@ -1,6 +1,8 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  /**
3
- * Resource Type definition for AWS::ElasticLoadBalancingV2::ListenerRule
3
+ * Resource type definition for `AWS::ElasticLoadBalancingV2::ListenerRule`.
4
+ * Specifies a listener rule. The listener must be associated with an Application Load Balancer. Each rule consists of a priority, one or more actions, and one or more conditions.
5
+ For more information, see [Quotas for your Application Load Balancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html) in the *User Guide for Application Load Balancers*.
4
6
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listenerrule.html}
5
7
  */
6
8
  export class ElasticLoadBalancingV2ListenerRule extends $Resource {
@@ -54,6 +54,10 @@ export type KafkaConnectConnectorProperties = {
54
54
  * @pattern `arn:(aws|aws-us-gov|aws-cn):iam:.*`
55
55
  */
56
56
  ServiceExecutionRoleArn: string;
57
+ /**
58
+ * A collection of tags associated with a resource
59
+ */
60
+ Tags?: Tag[];
57
61
  /**
58
62
  * Specifies the worker configuration to use with the connector.
59
63
  */
@@ -301,6 +305,21 @@ export type ScaleOutPolicy = {
301
305
  */
302
306
  CpuUtilizationPercentage: number;
303
307
  };
308
+ /**
309
+ * Type definition for `AWS::KafkaConnect::Connector.Tag`.
310
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-tag.html}
311
+ */
312
+ export type Tag = {
313
+ /**
314
+ * @minLength `1`
315
+ * @maxLength `128`
316
+ */
317
+ Key: string;
318
+ /**
319
+ * @maxLength `256`
320
+ */
321
+ Value: string;
322
+ };
304
323
  /**
305
324
  * Type definition for `AWS::KafkaConnect::Connector.Vpc`.
306
325
  * Information about a VPC used with the connector.
@@ -22,6 +22,13 @@ export type KendraFaqProperties = {
22
22
  * @maxLength `36`
23
23
  */
24
24
  IndexId: string;
25
+ /**
26
+ * The code for a language.
27
+ * @minLength `2`
28
+ * @maxLength `10`
29
+ * @pattern `[a-zA-Z-]*`
30
+ */
31
+ LanguageCode?: string;
25
32
  /**
26
33
  * FAQ name
27
34
  * @minLength `1`
@@ -57,7 +57,24 @@ export type FailurePolicy = {
57
57
  * Type definition for `AWS::ResilienceHub::ResiliencyPolicy.PolicyMap`.
58
58
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-resiliencypolicy-policymap.html}
59
59
  */
60
- export type PolicyMap = Record<string, FailurePolicy>;
60
+ export type PolicyMap = {
61
+ /**
62
+ * Failure Policy.
63
+ */
64
+ AZ: FailurePolicy;
65
+ /**
66
+ * Failure Policy.
67
+ */
68
+ Hardware: FailurePolicy;
69
+ /**
70
+ * Failure Policy.
71
+ */
72
+ Region?: FailurePolicy;
73
+ /**
74
+ * Failure Policy.
75
+ */
76
+ Software: FailurePolicy;
77
+ };
61
78
  /**
62
79
  * Type definition for `AWS::ResilienceHub::ResiliencyPolicy.TagMap`.
63
80
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-resiliencypolicy-tagmap.html}
@@ -39,9 +39,8 @@ export type SSMParameterProperties = {
39
39
  */
40
40
  Tier?: "Standard" | "Advanced" | "Intelligent-Tiering";
41
41
  /**
42
- * The type of parameter.
43
- Although ``SecureString`` is included in the list of valid values, CFNlong does *not* currently support creating ``SecureString`` parameters.
44
- */
42
+ * The type of parameter.
43
+ */
45
44
  Type: "String" | "StringList";
46
45
  /**
47
46
  * The parameter value.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.41",
3
+ "version": "0.1.42",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },