@awboost/cfn-resource-types 0.1.214 → 0.1.215

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.
@@ -82,6 +82,7 @@ export type CacheBehavior = {
82
82
  * A list of CloudFront functions that are associated with this cache behavior. CloudFront functions must be published to the ``LIVE`` stage to associate them with a cache behavior.
83
83
  */
84
84
  FunctionAssociations?: FunctionAssociation[];
85
+ GrpcConfig?: GrpcConfig;
85
86
  /**
86
87
  * A complex type that contains zero or more Lambda@Edge function associations for a cache behavior.
87
88
  */
@@ -301,6 +302,7 @@ export type DefaultCacheBehavior = {
301
302
  * A list of CloudFront functions that are associated with this cache behavior. Your functions must be published to the ``LIVE`` stage to associate them with a cache behavior.
302
303
  */
303
304
  FunctionAssociations?: FunctionAssociation[];
305
+ GrpcConfig?: GrpcConfig;
304
306
  /**
305
307
  * A complex type that contains zero or more Lambda@Edge function associations for a cache behavior.
306
308
  */
@@ -554,6 +556,13 @@ export type GeoRestriction = {
554
556
  */
555
557
  RestrictionType: string;
556
558
  };
559
+ /**
560
+ * Type definition for `AWS::CloudFront::Distribution.GrpcConfig`.
561
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-grpcconfig.html}
562
+ */
563
+ export type GrpcConfig = {
564
+ Enabled: boolean;
565
+ };
557
566
  /**
558
567
  * Type definition for `AWS::CloudFront::Distribution.LambdaFunctionAssociation`.
559
568
  * A complex type that contains a Lambda@Edge function association.
@@ -633,7 +642,7 @@ export type Logging = {
633
642
  /**
634
643
  * The Amazon S3 bucket to store the access logs in, for example, ``myawslogbucket.s3.amazonaws.com``.
635
644
  */
636
- Bucket: string;
645
+ Bucket?: string;
637
646
  /**
638
647
  * Specifies whether you want CloudFront to include cookies in access logs, specify ``true`` for ``IncludeCookies``. If you choose to include cookies in logs, CloudFront logs all cookies regardless of how you configure the cache behaviors for this distribution. If you don't want to include cookies when you create a distribution or if you want to disable include cookies for an existing distribution, specify ``false`` for ``IncludeCookies``.
639
648
  */
@@ -743,6 +752,7 @@ export type OriginGroup = {
743
752
  * A complex type that contains information about the origins in an origin group.
744
753
  */
745
754
  Members: OriginGroupMembers;
755
+ SelectionCriteria?: OriginGroupSelectionCriteria;
746
756
  };
747
757
  /**
748
758
  * Type definition for `AWS::CloudFront::Distribution.OriginGroupFailoverCriteria`.
@@ -796,6 +806,11 @@ export type OriginGroups = {
796
806
  */
797
807
  Quantity: number;
798
808
  };
809
+ /**
810
+ * Type definition for `AWS::CloudFront::Distribution.OriginGroupSelectionCriteria`.
811
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origingroupselectioncriteria.html}
812
+ */
813
+ export type OriginGroupSelectionCriteria = "default" | "media-quality-based";
799
814
  /**
800
815
  * Type definition for `AWS::CloudFront::Distribution.OriginShield`.
801
816
  * CloudFront Origin Shield.
@@ -2,16 +2,16 @@ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/re
2
2
  import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
3
  /**
4
4
  * Resource type definition for `AWS::Connect::Rule`.
5
- * Resource Type definition for AWS:Connect::Rule
5
+ * Creates a rule for the specified CON instance.
6
6
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-rule.html}
7
7
  */
8
8
  export type ConnectRuleProperties = {
9
9
  /**
10
- * The list of actions that will be executed when a rule is triggered.
10
+ * A list of actions to be run when the rule is triggered.
11
11
  */
12
12
  Actions: Actions;
13
13
  /**
14
- * The conditions of a rule.
14
+ * The conditions of the rule.
15
15
  */
16
16
  Function: string;
17
17
  /**
@@ -25,16 +25,17 @@ export type ConnectRuleProperties = {
25
25
  */
26
26
  Name: string;
27
27
  /**
28
- * The publish status of a rule, either draft or published.
28
+ * The publish status of the rule.
29
+ *Allowed values*: ``DRAFT`` | ``PUBLISHED``
29
30
  */
30
31
  PublishStatus: "DRAFT" | "PUBLISHED";
31
32
  /**
32
- * One or more tags.
33
+ * The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
33
34
  * @maxLength `50`
34
35
  */
35
36
  Tags?: Tag[];
36
37
  /**
37
- * The event source that triggers the rule.
38
+ * The event source to trigger the rule.
38
39
  */
39
40
  TriggerEventSource: RuleTriggerEventSource;
40
41
  };
@@ -44,19 +45,18 @@ export type ConnectRuleProperties = {
44
45
  */
45
46
  export type ConnectRuleAttributes = {
46
47
  /**
47
- * The Amazon Resource Name (ARN) of the rule.
48
48
  * @pattern `^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]/‍*rule/[-a-zA-Z0-9]*$`
49
49
  */
50
50
  RuleArn: string;
51
51
  };
52
52
  /**
53
53
  * Type definition for `AWS::Connect::Rule.Actions`.
54
- * The list of actions that will be executed when a rule is triggered.
54
+ * A list of actions to be run when the rule is triggered.
55
55
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-actions.html}
56
56
  */
57
57
  export type Actions = {
58
58
  /**
59
- * This action will assign contact category when a rule is triggered.
59
+ * Information about the contact category action. The syntax can be empty, for example, ``{}``.
60
60
  * @minLength `1`
61
61
  * @maxLength `1`
62
62
  */
@@ -74,13 +74,13 @@ export type Actions = {
74
74
  */
75
75
  EndAssociatedTasksActions?: EndAssociatedTasksAction[];
76
76
  /**
77
- * This action will send event bridge notification when a rule is triggered.
77
+ * Information about the EV action.
78
78
  * @minLength `1`
79
79
  * @maxLength `1`
80
80
  */
81
81
  EventBridgeActions?: EventBridgeAction[];
82
82
  /**
83
- * The action will send notification when a rule is triggered.
83
+ * Information about the send notification action.
84
84
  * @minLength `1`
85
85
  * @maxLength `1`
86
86
  */
@@ -92,7 +92,7 @@ export type Actions = {
92
92
  */
93
93
  SubmitAutoEvaluationActions?: SubmitAutoEvaluationAction[];
94
94
  /**
95
- * This action will generate a task when a rule is triggered.
95
+ * Information about the task action. This field is required if ``TriggerEventSource`` is one of the following values: ``OnZendeskTicketCreate`` | ``OnZendeskTicketStatusUpdate`` | ``OnSalesforceCaseCreate``
96
96
  * @minLength `1`
97
97
  * @maxLength `1`
98
98
  */
@@ -112,7 +112,6 @@ export type Actions = {
112
112
  export type AssignContactCategoryAction = Record<string, any>;
113
113
  /**
114
114
  * Type definition for `AWS::Connect::Rule.CreateCaseAction`.
115
- * The definition for create case action.
116
115
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-createcaseaction.html}
117
116
  */
118
117
  export type CreateCaseAction = {
@@ -123,7 +122,6 @@ export type CreateCaseAction = {
123
122
  */
124
123
  Fields: Field[];
125
124
  /**
126
- * The Id of template.
127
125
  * @minLength `1`
128
126
  * @maxLength `500`
129
127
  */
@@ -137,36 +135,34 @@ export type CreateCaseAction = {
137
135
  export type EndAssociatedTasksAction = Record<string, any>;
138
136
  /**
139
137
  * Type definition for `AWS::Connect::Rule.EventBridgeAction`.
140
- * The definition for event bridge action.
138
+ * The EV action definition.
141
139
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-eventbridgeaction.html}
142
140
  */
143
141
  export type EventBridgeAction = {
144
142
  /**
145
- * The name of the event bridge action.
143
+ * The name.
146
144
  * @pattern `^[a-zA-Z0-9._-]{1,100}$`
147
145
  */
148
146
  Name: string;
149
147
  };
150
148
  /**
151
149
  * Type definition for `AWS::Connect::Rule.Field`.
152
- * The field of the case.
153
150
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-field.html}
154
151
  */
155
152
  export type Field = {
156
153
  /**
157
- * The Id of the field
158
154
  * @minLength `1`
159
155
  * @maxLength `500`
160
156
  */
161
157
  Id: string;
162
158
  /**
163
- * The value of the field.
159
+ * Object for case field values.
164
160
  */
165
161
  Value: FieldValue;
166
162
  };
167
163
  /**
168
164
  * Type definition for `AWS::Connect::Rule.FieldValue`.
169
- * The value of the field.
165
+ * Object for case field values.
170
166
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-fieldvalue.html}
171
167
  */
172
168
  export type FieldValue = {
@@ -182,70 +178,77 @@ export type FieldValue = {
182
178
  */
183
179
  export type NotificationRecipientType = {
184
180
  /**
185
- * The list of recipients by user arns.
181
+ * The Amazon Resource Name (ARN) of the user account.
186
182
  * @minLength `1`
187
183
  * @maxLength `5`
188
184
  */
189
185
  UserArns?: string[];
190
186
  /**
191
- * The collection of recipients who are identified by user tags
187
+ * The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }. CON users with the specified tags will be notified.
192
188
  */
193
189
  UserTags?: Record<string, string>;
194
190
  };
195
191
  /**
196
192
  * Type definition for `AWS::Connect::Rule.Reference`.
197
- * A contact reference.
193
+ * Information about the reference when the ``referenceType`` is ``URL``. Otherwise, null. (Supports variable injection in the ``Value`` field.)
198
194
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-reference.html}
199
195
  */
200
196
  export type Reference = {
197
+ /**
198
+ * The type of the reference. ``DATE`` must be of type Epoch timestamp.
199
+ *Allowed values*: ``URL`` | ``ATTACHMENT`` | ``NUMBER`` | ``STRING`` | ``DATE`` | ``EMAIL``
200
+ */
201
201
  Type: "URL" | "ATTACHMENT" | "NUMBER" | "STRING" | "DATE" | "EMAIL";
202
202
  /**
203
+ * A valid value for the reference. For example, for a URL reference, a formatted URL that is displayed to an agent in the Contact Control Panel (CCP).
203
204
  * @pattern `^(/|https:)`
204
205
  */
205
206
  Value: string;
206
207
  };
207
208
  /**
208
209
  * Type definition for `AWS::Connect::Rule.RuleTriggerEventSource`.
209
- * The event source that will trigger the rule.
210
+ * The name of the event source.
210
211
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-ruletriggereventsource.html}
211
212
  */
212
213
  export type RuleTriggerEventSource = {
213
214
  /**
214
- * The name of event source.
215
+ * The name of the event source.
215
216
  */
216
217
  EventSourceName: "OnContactEvaluationSubmit" | "OnPostCallAnalysisAvailable" | "OnRealTimeCallAnalysisAvailable" | "OnRealTimeChatAnalysisAvailable" | "OnPostChatAnalysisAvailable" | "OnZendeskTicketCreate" | "OnZendeskTicketStatusUpdate" | "OnSalesforceCaseCreate" | "OnMetricDataUpdate" | "OnCaseCreate" | "OnCaseUpdate";
217
218
  /**
218
- * The Amazon Resource Name (ARN) for the AppIntegration association.
219
+ * The Amazon Resource Name (ARN) of the integration association. ``IntegrationAssociationArn`` is required if ``TriggerEventSource`` is one of the following values: ``OnZendeskTicketCreate`` | ``OnZendeskTicketStatusUpdate`` | ``OnSalesforceCaseCreate``
219
220
  * @pattern `^$|arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]/‍*integration-association/[-a-zA-Z0-9]*$`
220
221
  */
221
222
  IntegrationAssociationArn?: string;
222
223
  };
223
224
  /**
224
225
  * Type definition for `AWS::Connect::Rule.SendNotificationAction`.
225
- * The definition for sending notification action.
226
+ * Information about the send notification action.
226
227
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-sendnotificationaction.html}
227
228
  */
228
229
  export type SendNotificationAction = {
229
230
  /**
230
- * The content of notification.
231
+ * Notification content. Supports variable injection. For more information, see [JSONPath reference](https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-variable-injection.html) in the *Administrators Guide*.
231
232
  * @minLength `1`
232
233
  * @maxLength `1024`
233
234
  */
234
235
  Content: string;
235
236
  /**
236
- * The type of content.
237
+ * Content type format.
238
+ *Allowed value*: ``PLAIN_TEXT``
237
239
  */
238
240
  ContentType: "PLAIN_TEXT";
239
241
  /**
240
- * The means of delivery.
242
+ * Notification delivery method.
243
+ *Allowed value*: ``EMAIL``
241
244
  */
242
245
  DeliveryMethod: "EMAIL";
243
246
  /**
244
- * The type of notification recipient.
247
+ * Notification recipient.
245
248
  */
246
249
  Recipient: NotificationRecipientType;
247
250
  /**
248
- * The subject of notification.
251
+ * The subject of the email if the delivery method is ``EMAIL``. Supports variable injection. For more information, see [JSONPath reference](https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-variable-injection.html) in the *Administrators Guide*.
249
252
  * @minLength `1`
250
253
  * @maxLength `200`
251
254
  */
@@ -253,12 +256,10 @@ export type SendNotificationAction = {
253
256
  };
254
257
  /**
255
258
  * Type definition for `AWS::Connect::Rule.SubmitAutoEvaluationAction`.
256
- * The definition of submit auto evaluation action.
257
259
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-submitautoevaluationaction.html}
258
260
  */
259
261
  export type SubmitAutoEvaluationAction = {
260
262
  /**
261
- * The Amazon Resource Name (ARN) of the evaluation form.
262
263
  * @pattern `^$|arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]/‍*evaluation-form/[-a-zA-Z0-9]*$`
263
264
  */
264
265
  EvaluationFormArn: string;
@@ -270,49 +271,48 @@ export type SubmitAutoEvaluationAction = {
270
271
  */
271
272
  export type Tag = {
272
273
  /**
273
- * The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
274
+ * The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -
274
275
  * @minLength `1`
275
276
  * @maxLength `128`
276
277
  * @pattern `^(?!aws:)[a-zA-Z+-=._:/]+$`
277
278
  */
278
279
  Key: string;
279
280
  /**
280
- * The value for the tag. You can specify a value that's 1 to 256 characters in length.
281
+ * The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -
281
282
  * @maxLength `256`
282
283
  */
283
284
  Value: string;
284
285
  };
285
286
  /**
286
287
  * Type definition for `AWS::Connect::Rule.TaskAction`.
287
- * The definition of task action.
288
+ * Information about the task action. This field is required if ``TriggerEventSource`` is one of the following values: ``OnZendeskTicketCreate`` | ``OnZendeskTicketStatusUpdate`` | ``OnSalesforceCaseCreate``
288
289
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-taskaction.html}
289
290
  */
290
291
  export type TaskAction = {
291
292
  /**
292
- * The Amazon Resource Name (ARN) of the contact flow.
293
+ * The Amazon Resource Name (ARN) of the flow.
293
294
  * @pattern `^$|arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]/‍*contact-flow/[-a-zA-Z0-9]*$`
294
295
  */
295
296
  ContactFlowArn: string;
296
297
  /**
297
- * The description which appears in the agent's Contact Control Panel (CCP).
298
+ * The description. Supports variable injection. For more information, see [JSONPath reference](https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-variable-injection.html) in the *Administrators Guide*.
298
299
  * @minLength `0`
299
300
  * @maxLength `4096`
300
301
  */
301
302
  Description?: string;
302
303
  /**
303
- * The name which appears in the agent's Contact Control Panel (CCP).
304
+ * The name. Supports variable injection. For more information, see [JSONPath reference](https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-variable-injection.html) in the *Administrators Guide*.
304
305
  * @minLength `1`
305
306
  * @maxLength `512`
306
307
  */
307
308
  Name: string;
308
309
  /**
309
- * A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
310
+ * Information about the reference when the ``referenceType`` is ``URL``. Otherwise, null. ``URL`` is the only accepted type. (Supports variable injection in the ``Value`` field.)
310
311
  */
311
312
  References?: Record<string, Reference>;
312
313
  };
313
314
  /**
314
315
  * Type definition for `AWS::Connect::Rule.UpdateCaseAction`.
315
- * The definition for update case action.
316
316
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-updatecaseaction.html}
317
317
  */
318
318
  export type UpdateCaseAction = {
@@ -325,7 +325,7 @@ export type UpdateCaseAction = {
325
325
  };
326
326
  /**
327
327
  * Resource type definition for `AWS::Connect::Rule`.
328
- * Resource Type definition for AWS:Connect::Rule
328
+ * Creates a rule for the specified CON instance.
329
329
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-rule.html}
330
330
  */
331
331
  export declare class ConnectRule extends $Resource<"AWS::Connect::Rule", ConnectRuleProperties, ConnectRuleAttributes> {
@@ -1,7 +1,7 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  /**
3
3
  * Resource type definition for `AWS::Connect::Rule`.
4
- * Resource Type definition for AWS:Connect::Rule
4
+ * Creates a rule for the specified CON instance.
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-rule.html}
6
6
  */
7
7
  export class ConnectRule extends $Resource {
@@ -42,7 +42,7 @@ export type ConnectCampaignsV2CampaignProperties = {
42
42
  */
43
43
  Schedule?: Schedule;
44
44
  /**
45
- * The possible types of channel config parameters
45
+ * The possible source of the campaign
46
46
  */
47
47
  Source?: Source;
48
48
  /**
@@ -254,6 +254,20 @@ export type EmailOutboundMode = {
254
254
  */
255
255
  AgentlessConfig?: AgentlessConfig;
256
256
  };
257
+ /**
258
+ * Type definition for `AWS::ConnectCampaignsV2::Campaign.EventTrigger`.
259
+ * The event trigger of the campaign
260
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-eventtrigger.html}
261
+ */
262
+ export type EventTrigger = {
263
+ /**
264
+ * Arn
265
+ * @minLength `20`
266
+ * @maxLength `500`
267
+ * @pattern `^arn:.*$`
268
+ */
269
+ CustomerProfilesDomainArn?: string;
270
+ };
257
271
  /**
258
272
  * Type definition for `AWS::ConnectCampaignsV2::Campaign.LocalTimeZoneConfig`.
259
273
  * Local time zone config
@@ -424,7 +438,7 @@ export type SmsOutboundMode = {
424
438
  };
425
439
  /**
426
440
  * Type definition for `AWS::ConnectCampaignsV2::Campaign.Source`.
427
- * The possible types of channel config parameters
441
+ * The possible source of the campaign
428
442
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-source.html}
429
443
  */
430
444
  export type Source = {
@@ -435,6 +449,10 @@ export type Source = {
435
449
  * @pattern `^arn:.*$`
436
450
  */
437
451
  CustomerProfilesSegmentArn?: string;
452
+ /**
453
+ * The event trigger of the campaign
454
+ */
455
+ EventTrigger?: EventTrigger;
438
456
  };
439
457
  /**
440
458
  * Type definition for `AWS::ConnectCampaignsV2::Campaign.Tag`.
@@ -21,7 +21,7 @@ export type EC2CustomerGatewayProperties = {
21
21
  BgpAsnExtended?: number;
22
22
  /**
23
23
  * The Amazon Resource Name (ARN) for the customer gateway certificate.
24
- * @pattern `^arn:(aws[a-zA-Z-]*)?:acm:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\d{1}:\d{12}:certificate\/[a-zA-Z0-9-_]+$`
24
+ * @pattern `^arn:(aws[a-zA-Z-]*)?:acm:[a-z]{2}((-gov)|(-iso([a-z]{1})?))?-[a-z]+-\d{1}:\d{12}:certificate\/[a-zA-Z0-9-_]+$`
25
25
  */
26
26
  CertificateArn?: string;
27
27
  /**
@@ -722,6 +722,7 @@ export type LaunchTemplateData = {
722
722
  * The network interfaces for the instance.
723
723
  */
724
724
  NetworkInterfaces?: NetworkInterface[];
725
+ NetworkPerformanceOptions?: unknown;
725
726
  /**
726
727
  * The placement for the instance.
727
728
  */
@@ -405,6 +405,9 @@ export type ContainerDefinition = {
405
405
  This parameter is not supported for Windows containers.
406
406
  */
407
407
  User?: string;
408
+ /**
409
+ * Specifies whether Amazon ECS will resolve the container image tag provided in the container definition to an image digest. By default, the value is ``enabled``. If you set the value for a container as ``disabled``, Amazon ECS will not resolve the provided container image tag to a digest and will use the original image URI specified in the container definition for deployment. For more information about container image resolution, see [Container image resolution](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html#deployment-container-image-stability) in the *Amazon ECS Developer Guide*.
410
+ */
408
411
  VersionConsistency?: "enabled" | "disabled";
409
412
  /**
410
413
  * Data volumes to mount from another container. This parameter maps to ``VolumesFrom`` in the docker container create command and the ``--volumes-from`` option to docker run.
@@ -40,6 +40,7 @@ export type M2EnvironmentProperties = {
40
40
  * @pattern `^[A-Za-z0-9][A-Za-z0-9_\-]{1,59}$`
41
41
  */
42
42
  Name: string;
43
+ NetworkType?: NetworkType;
43
44
  /**
44
45
  * Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
45
46
  * @pattern `^\S{1,50}$`
@@ -134,6 +135,11 @@ export type HighAvailabilityConfig = {
134
135
  */
135
136
  DesiredCapacity: number;
136
137
  };
138
+ /**
139
+ * Type definition for `AWS::M2::Environment.NetworkType`.
140
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-m2-environment-networktype.html}
141
+ */
142
+ export type NetworkType = "ipv4" | "dual";
137
143
  /**
138
144
  * Type definition for `AWS::M2::Environment.StorageConfiguration`.
139
145
  * Defines the storage configuration for an environment.
@@ -32,9 +32,9 @@ export type OrganizationsPolicyProperties = {
32
32
  */
33
33
  TargetIds?: string[];
34
34
  /**
35
- * The type of policy to create. You can specify one of the following values: AISERVICES_OPT_OUT_POLICY, BACKUP_POLICY, SERVICE_CONTROL_POLICY, TAG_POLICY, CHATBOT_POLICY, RESOURCE_CONTROL_POLICY
35
+ * The type of policy to create. You can specify one of the following values: AISERVICES_OPT_OUT_POLICY, BACKUP_POLICY, SERVICE_CONTROL_POLICY, TAG_POLICY, CHATBOT_POLICY, RESOURCE_CONTROL_POLICY,DECLARATIVE_POLICY_EC2
36
36
  */
37
- Type: "SERVICE_CONTROL_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "BACKUP_POLICY" | "TAG_POLICY" | "CHATBOT_POLICY" | "RESOURCE_CONTROL_POLICY";
37
+ Type: "SERVICE_CONTROL_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "BACKUP_POLICY" | "TAG_POLICY" | "CHATBOT_POLICY" | "RESOURCE_CONTROL_POLICY" | "DECLARATIVE_POLICY_EC2";
38
38
  };
39
39
  /**
40
40
  * Attribute type definition for `AWS::Organizations::Policy`.
@@ -1,16 +1,47 @@
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::RAM::ResourceShare
4
+ * Resource type definition for AWS::RAM::ResourceShare
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html}
6
6
  */
7
7
  export type RAMResourceShareProperties = {
8
+ /**
9
+ * Specifies whether principals outside your organization in AWS Organizations can be associated with a resource share. A value of `true` lets you share with individual AWS accounts that are not in your organization. A value of `false` only has meaning if your account is a member of an AWS Organization. The default value is `true`.
10
+ */
8
11
  AllowExternalPrincipals?: boolean;
12
+ /**
13
+ * Specifies the name of the resource share.
14
+ */
9
15
  Name: string;
16
+ /**
17
+ * Specifies the [Amazon Resource Names (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of the AWS RAM permission to associate with the resource share. If you do not specify an ARN for the permission, AWS RAM automatically attaches the default version of the permission for each resource type. You can associate only one permission with each resource type included in the resource share.
18
+ */
10
19
  PermissionArns?: string[];
20
+ /**
21
+ * Specifies the principals to associate with the resource share. The possible values are:
22
+
23
+ - An AWS account ID
24
+
25
+ - An Amazon Resource Name (ARN) of an organization in AWS Organizations
26
+
27
+ - An ARN of an organizational unit (OU) in AWS Organizations
28
+
29
+ - An ARN of an IAM role
30
+
31
+ - An ARN of an IAM user
32
+ */
11
33
  Principals?: string[];
34
+ /**
35
+ * Specifies a list of one or more ARNs of the resources to associate with the resource share.
36
+ */
12
37
  ResourceArns?: string[];
38
+ /**
39
+ * Specifies from which source accounts the service principal has access to the resources in this resource share.
40
+ */
13
41
  Sources?: string[];
42
+ /**
43
+ * Specifies one or more tags to attach to the resource share itself. It doesn't attach the tags to the resources associated with the resource share.
44
+ */
14
45
  Tags?: Tag[];
15
46
  };
16
47
  /**
@@ -19,18 +50,24 @@ export type RAMResourceShareProperties = {
19
50
  */
20
51
  export type RAMResourceShareAttributes = {
21
52
  Arn: string;
22
- Id: string;
23
53
  };
24
54
  /**
25
55
  * Type definition for `AWS::RAM::ResourceShare.Tag`.
56
+ * A key-value pair to associate with a resource.
26
57
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ram-resourceshare-tag.html}
27
58
  */
28
59
  export type Tag = {
60
+ /**
61
+ * The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
62
+ */
29
63
  Key: string;
64
+ /**
65
+ * The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
66
+ */
30
67
  Value: string;
31
68
  };
32
69
  /**
33
- * Resource Type definition for AWS::RAM::ResourceShare
70
+ * Resource type definition for AWS::RAM::ResourceShare
34
71
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html}
35
72
  */
36
73
  export declare class RAMResourceShare extends $Resource<"AWS::RAM::ResourceShare", RAMResourceShareProperties, RAMResourceShareAttributes> {
@@ -1,6 +1,6 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  /**
3
- * Resource Type definition for AWS::RAM::ResourceShare
3
+ * Resource type definition for AWS::RAM::ResourceShare
4
4
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html}
5
5
  */
6
6
  export class RAMResourceShare extends $Resource {
@@ -10,21 +10,21 @@ export type S3ExpressDirectoryBucketProperties = {
10
10
  */
11
11
  BucketEncryption?: BucketEncryption;
12
12
  /**
13
- * Specifies a name for the bucket. The bucket name must contain only lowercase letters, numbers, and hyphens (-). A directory bucket name must be unique in the chosen Availability Zone. The bucket name must also follow the format 'bucket_base_name--az_id--x-s3' (for example, 'DOC-EXAMPLE-BUCKET--usw2-az1--x-s3'). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.
13
+ * Specifies a name for the bucket. The bucket name must contain only lowercase letters, numbers, and hyphens (-). A directory bucket name must be unique in the chosen Availability Zone or Local Zone. The bucket name must also follow the format 'bucket_base_name--zone_id--x-s3'. The zone_id can be the ID of an Availability Zone or a Local Zone. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.
14
14
  * @maxLength `63`
15
15
  * @pattern `^[a-z0-9][a-z0-9//.//-]*[a-z0-9]$`
16
16
  */
17
17
  BucketName?: string;
18
18
  /**
19
- * Specifies the number of Availability Zone that's used for redundancy for the bucket.
19
+ * Specifies the number of Availability Zone or Local Zone that's used for redundancy for the bucket.
20
20
  */
21
- DataRedundancy: "SingleAvailabilityZone";
21
+ DataRedundancy: "SingleAvailabilityZone" | "SingleLocalZone";
22
22
  /**
23
23
  * Lifecycle rules that define how Amazon S3 Express manages objects during their lifetime.
24
24
  */
25
25
  LifecycleConfiguration?: LifecycleConfiguration;
26
26
  /**
27
- * Specifies the AZ ID of the Availability Zone where the directory bucket will be created. An example AZ ID value is 'use1-az5'.
27
+ * Specifies the Zone ID of the Availability Zone or Local Zone where the directory bucket will be created. An example Availability Zone ID value is 'use1-az5'.
28
28
  */
29
29
  LocationName: string;
30
30
  };
@@ -38,7 +38,7 @@ export type S3ExpressDirectoryBucketAttributes = {
38
38
  */
39
39
  Arn: string;
40
40
  /**
41
- * Returns the code for the Availability Zone where the directory bucket was created.
41
+ * Returns the code for the Availability Zone or Local Zone where the directory bucket was created. An example for the code of an Availability Zone is 'us-east-1f'.
42
42
  */
43
43
  AvailabilityZoneName: string;
44
44
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.214",
3
+ "version": "0.1.215",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },