@awboost/cfn-resource-types 0.1.377 → 0.1.378

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.
@@ -64,7 +64,6 @@ export type Monitor = {
64
64
  * ARN of an AWS Identity and Access Management (IAM) role for AWS AppConfig to monitor AlarmArn.
65
65
  * @minLength `20`
66
66
  * @maxLength `2048`
67
- * @pattern `^((arn):(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):(iam)::\d{12}:role[/].*)$`
68
67
  */
69
68
  AlarmRoleArn?: string;
70
69
  };
@@ -62,9 +62,6 @@ export type ConnectEvaluationFormAttributes = {
62
62
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-autoevaluationconfiguration.html}
63
63
  */
64
64
  export type AutoEvaluationConfiguration = {
65
- /**
66
- * Auto Evaluation enablement status.
67
- */
68
65
  Enabled?: boolean;
69
66
  };
70
67
  /**
@@ -72,8 +72,10 @@ export type DynamoDBTableProperties = {
72
72
  */
73
73
  ProvisionedThroughput?: ProvisionedThroughput;
74
74
  /**
75
- * A resource-based policy document that contains permissions to add to the specified table. In a CFNshort template, you can provide the policy in JSON or YAML format because CFNshort converts YAML to JSON before submitting it to DDB. For more information about resource-based policies, see [Using resource-based policies for](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/access-control-resource-based.html) and [Resource-based policy examples](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-examples.html).
76
- When you attach a resource-based policy while creating a table, the policy creation is *strongly consistent*. For information about the considerations that you should keep in mind while attaching a resource-based policy, see [Resource-based policy considerations](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html).
75
+ * An AWS resource-based policy document in JSON format that will be attached to the table.
76
+ When you attach a resource-based policy while creating a table, the policy application is *strongly consistent*.
77
+ The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that apply for resource-based policies, see [Resource-based policy considerations](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html).
78
+ You need to specify the ``CreateTable`` and ``PutResourcePolicy`` IAM actions for authorizing a user to create a table with a resource-based policy.
77
79
  */
78
80
  ResourcePolicy?: ResourcePolicy;
79
81
  /**
@@ -29,8 +29,8 @@ export type EC2VPNConnectionProperties = {
29
29
  */
30
30
  LocalIpv6NetworkCidr?: string;
31
31
  /**
32
- * The type of IPv4 address assigned to the outside interface of the customer gateway device.
33
- Valid values: ``PrivateIpv4`` | ``PublicIpv4``
32
+ * The type of IP address assigned to the outside interface of the customer gateway device.
33
+ Valid values: ``PrivateIpv4`` | ``PublicIpv4`` | ``Ipv6``
34
34
  Default: ``PublicIpv4``
35
35
  */
36
36
  OutsideIpAddressType?: string;
@@ -173,6 +173,16 @@ export type ECSServiceAttributes = {
173
173
  Name: string;
174
174
  ServiceArn: string;
175
175
  };
176
+ /**
177
+ * Type definition for `AWS::ECS::Service.AdvancedConfiguration`.
178
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-advancedconfiguration.html}
179
+ */
180
+ export type AdvancedConfiguration = {
181
+ AlternateTargetGroupArn: string;
182
+ ProductionListenerRule?: string;
183
+ RoleArn?: string;
184
+ TestListenerRule?: string;
185
+ };
176
186
  /**
177
187
  * Type definition for `AWS::ECS::Service.AwsVpcConfiguration`.
178
188
  * An object representing the networking details for a task or service. For example ``awsVpcConfiguration={subnets=["subnet-12344321"],securityGroups=["sg-12344321"]}``.
@@ -270,11 +280,17 @@ export type DeploymentConfiguration = {
270
280
  * Information about the CloudWatch alarms.
271
281
  */
272
282
  Alarms?: DeploymentAlarms;
283
+ /**
284
+ * @min `0`
285
+ * @max `1440`
286
+ */
287
+ BakeTimeInMinutes?: number;
273
288
  /**
274
289
  * The deployment circuit breaker can only be used for services using the rolling update (``ECS``) deployment type.
275
290
  The *deployment circuit breaker* determines whether a service deployment will fail if the service can't reach a steady state. If you use the deployment circuit breaker, a service deployment will transition to a failed state and stop launching new tasks. If you use the rollback option, when a service deployment fails, the service is rolled back to the last deployment that completed successfully. For more information, see [Rolling update](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html) in the *Amazon Elastic Container Service Developer Guide*
276
291
  */
277
292
  DeploymentCircuitBreaker?: DeploymentCircuitBreaker;
293
+ LifecycleHooks?: DeploymentLifecycleHook[];
278
294
  /**
279
295
  * If a service is using the rolling update (``ECS``) deployment type, the ``maximumPercent`` parameter represents an upper limit on the number of your service's tasks that are allowed in the ``RUNNING`` or ``PENDING`` state during a deployment, as a percentage of the ``desiredCount`` (rounded down to the nearest integer). This parameter enables you to define the deployment batch size. For example, if your service is using the ``REPLICA`` service scheduler and has a ``desiredCount`` of four tasks and a ``maximumPercent`` value of 200%, the scheduler may start four new tasks before stopping the four older tasks (provided that the cluster resources required to do this are available). The default ``maximumPercent`` value for a service using the ``REPLICA`` service scheduler is 200%.
280
296
  The Amazon ECS scheduler uses this parameter to replace unhealthy tasks by starting replacement tasks first and then stopping the unhealthy tasks, as long as cluster resources for starting replacement tasks are available. For more information about how the scheduler replaces unhealthy tasks, see [Amazon ECS services](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html).
@@ -302,6 +318,7 @@ export type DeploymentConfiguration = {
302
318
  If a service is using either the blue/green (``CODE_DEPLOY``) or ``EXTERNAL`` deployment types and is running tasks that use the Fargate launch type, the minimum healthy percent value is not used, although it is returned when describing your service.
303
319
  */
304
320
  MinimumHealthyPercent?: number;
321
+ Strategy?: "ROLLING" | "BLUE_GREEN";
305
322
  };
306
323
  /**
307
324
  * Type definition for `AWS::ECS::Service.DeploymentController`.
@@ -315,6 +332,18 @@ export type DeploymentController = {
315
332
  */
316
333
  Type?: "CODE_DEPLOY" | "ECS" | "EXTERNAL";
317
334
  };
335
+ /**
336
+ * Type definition for `AWS::ECS::Service.DeploymentLifecycleHook`.
337
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentlifecyclehook.html}
338
+ */
339
+ export type DeploymentLifecycleHook = {
340
+ HookTargetArn: string;
341
+ /**
342
+ * @minLength `1`
343
+ */
344
+ LifecycleStages: ("RECONCILE_SERVICE" | "PRE_SCALE_UP" | "POST_SCALE_UP" | "TEST_TRAFFIC_SHIFT" | "POST_TEST_TRAFFIC_SHIFT" | "PRODUCTION_TRAFFIC_SHIFT" | "POST_PRODUCTION_TRAFFIC_SHIFT")[];
345
+ RoleArn: string;
346
+ };
318
347
  /**
319
348
  * Type definition for `AWS::ECS::Service.EBSTagSpecification`.
320
349
  * The tag specifications of an Amazon EBS volume.
@@ -345,6 +374,7 @@ export type EBSTagSpecification = {
345
374
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-loadbalancer.html}
346
375
  */
347
376
  export type LoadBalancer = {
377
+ AdvancedConfiguration?: AdvancedConfiguration;
348
378
  /**
349
379
  * The name of the container (as it appears in a container definition) to associate with the load balancer.
350
380
  You need to specify the container name when configuring the target group for an Amazon ECS load balancer.
@@ -494,6 +524,7 @@ export type ServiceConnectClientAlias = {
494
524
  To avoid changing your applications in client Amazon ECS services, set this to the same port that the client application uses by default. For more information, see [Service Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) in the *Amazon Elastic Container Service Developer Guide*.
495
525
  */
496
526
  Port: number;
527
+ TestTrafficRules?: ServiceConnectTestTrafficRules;
497
528
  };
498
529
  /**
499
530
  * Type definition for `AWS::ECS::Service.ServiceConnectConfiguration`.
@@ -566,6 +597,28 @@ export type ServiceConnectService = {
566
597
  */
567
598
  Tls?: ServiceConnectTlsConfiguration;
568
599
  };
600
+ /**
601
+ * Type definition for `AWS::ECS::Service.ServiceConnectTestTrafficRules`.
602
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceconnecttesttrafficrules.html}
603
+ */
604
+ export type ServiceConnectTestTrafficRules = {
605
+ Header: ServiceConnectTestTrafficRulesHeader;
606
+ };
607
+ /**
608
+ * Type definition for `AWS::ECS::Service.ServiceConnectTestTrafficRulesHeader`.
609
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceconnecttesttrafficrulesheader.html}
610
+ */
611
+ export type ServiceConnectTestTrafficRulesHeader = {
612
+ Name: string;
613
+ Value?: ServiceConnectTestTrafficRulesHeaderValue;
614
+ };
615
+ /**
616
+ * Type definition for `AWS::ECS::Service.ServiceConnectTestTrafficRulesHeaderValue`.
617
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceconnecttesttrafficrulesheadervalue.html}
618
+ */
619
+ export type ServiceConnectTestTrafficRulesHeaderValue = {
620
+ Exact: string;
621
+ };
569
622
  /**
570
623
  * Type definition for `AWS::ECS::Service.ServiceConnectTlsCertificateAuthority`.
571
624
  * The certificate root authority that secures your service.
@@ -11,6 +11,7 @@ export type GuardDutyIPSetProperties = {
11
11
  * @maxLength `300`
12
12
  */
13
13
  DetectorId?: string;
14
+ ExpectedBucketOwner?: string;
14
15
  Format: string;
15
16
  /**
16
17
  * @minLength `1`
@@ -11,6 +11,7 @@ export type GuardDutyThreatIntelSetProperties = {
11
11
  * @maxLength `32`
12
12
  */
13
13
  DetectorId?: string;
14
+ ExpectedBucketOwner?: string;
14
15
  /**
15
16
  * @minLength `1`
16
17
  * @maxLength `300`
@@ -175,6 +175,12 @@ export type CatalogConfiguration = {
175
175
  * @pattern `arn:.*`
176
176
  */
177
177
  CatalogArn?: string;
178
+ /**
179
+ * @minLength `1`
180
+ * @maxLength `2048`
181
+ * @pattern `s3:\/\/.*`
182
+ */
183
+ WarehouseLocation?: string;
178
184
  };
179
185
  /**
180
186
  * Type definition for `AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions`.
@@ -338,6 +344,9 @@ export type DestinationTableConfiguration = {
338
344
  * @maxLength `512`
339
345
  */
340
346
  DestinationTableName: string;
347
+ PartitionSpec?: {
348
+ Identity?: PartitionField[];
349
+ };
341
350
  /**
342
351
  * @minLength `1`
343
352
  * @maxLength `1024`
@@ -581,6 +590,8 @@ export type IcebergDestinationConfiguration = {
581
590
  */
582
591
  RoleARN: string;
583
592
  S3Configuration: S3DestinationConfiguration;
593
+ SchemaEvolutionConfiguration?: SchemaEvolutionConfiguration;
594
+ TableCreationConfiguration?: TableCreationConfiguration;
584
595
  s3BackupMode?: "AllData" | "FailedDataOnly";
585
596
  };
586
597
  /**
@@ -679,6 +690,17 @@ export type ParquetSerDe = {
679
690
  PageSizeBytes?: number;
680
691
  WriterVersion?: string;
681
692
  };
693
+ /**
694
+ * Type definition for `AWS::KinesisFirehose::DeliveryStream.PartitionField`.
695
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-partitionfield.html}
696
+ */
697
+ export type PartitionField = {
698
+ /**
699
+ * @minLength `1`
700
+ * @maxLength `255`
701
+ */
702
+ SourceName: string;
703
+ };
682
704
  /**
683
705
  * Type definition for `AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration`.
684
706
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-processingconfiguration.html}
@@ -801,6 +823,13 @@ export type SchemaConfiguration = {
801
823
  TableName?: string;
802
824
  VersionId?: string;
803
825
  };
826
+ /**
827
+ * Type definition for `AWS::KinesisFirehose::DeliveryStream.SchemaEvolutionConfiguration`.
828
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-schemaevolutionconfiguration.html}
829
+ */
830
+ export type SchemaEvolutionConfiguration = {
831
+ Enabled?: boolean;
832
+ };
804
833
  /**
805
834
  * Type definition for `AWS::KinesisFirehose::DeliveryStream.SecretsManagerConfiguration`.
806
835
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-secretsmanagerconfiguration.html}
@@ -980,6 +1009,13 @@ export type SplunkDestinationConfiguration = {
980
1009
  export type SplunkRetryOptions = {
981
1010
  DurationInSeconds?: number;
982
1011
  };
1012
+ /**
1013
+ * Type definition for `AWS::KinesisFirehose::DeliveryStream.TableCreationConfiguration`.
1014
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-tablecreationconfiguration.html}
1015
+ */
1016
+ export type TableCreationConfiguration = {
1017
+ Enabled?: boolean;
1018
+ };
983
1019
  /**
984
1020
  * Type definition for `AWS::KinesisFirehose::DeliveryStream.Tag`.
985
1021
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-tag.html}
@@ -18,7 +18,7 @@ export type LexBotProperties = {
18
18
  };
19
19
  /**
20
20
  * A description of the resource
21
- * @maxLength `200`
21
+ * @maxLength `2000`
22
22
  */
23
23
  Description?: string;
24
24
  /**
@@ -207,7 +207,7 @@ export type BotLocale = {
207
207
  CustomVocabulary?: CustomVocabulary;
208
208
  /**
209
209
  * A description of the resource
210
- * @maxLength `200`
210
+ * @maxLength `2000`
211
211
  */
212
212
  Description?: string;
213
213
  GenerativeAISettings?: GenerativeAISettings;
@@ -642,7 +642,7 @@ export type Intent = {
642
642
  BedrockAgentIntentConfiguration?: BedrockAgentIntentConfiguration;
643
643
  /**
644
644
  * Description of thr intent.
645
- * @maxLength `200`
645
+ * @maxLength `2000`
646
646
  */
647
647
  Description?: string;
648
648
  DialogCodeHook?: DialogCodeHookSetting;
@@ -1076,7 +1076,7 @@ export type SessionAttribute = {
1076
1076
  export type Slot = {
1077
1077
  /**
1078
1078
  * A description of the resource
1079
- * @maxLength `200`
1079
+ * @maxLength `2000`
1080
1080
  */
1081
1081
  Description?: string;
1082
1082
  MultipleValuesSetting?: MultipleValuesSetting;
@@ -1161,7 +1161,7 @@ export type SlotType = {
1161
1161
  CompositeSlotTypeSetting?: CompositeSlotTypeSetting;
1162
1162
  /**
1163
1163
  * A description of the resource
1164
- * @maxLength `200`
1164
+ * @maxLength `2000`
1165
1165
  */
1166
1166
  Description?: string;
1167
1167
  ExternalSourceSetting?: ExternalSourceSetting;
@@ -1374,7 +1374,7 @@ export type TestBotAliasSettings = {
1374
1374
  ConversationLogSettings?: ConversationLogSettings;
1375
1375
  /**
1376
1376
  * A description of the resource
1377
- * @maxLength `200`
1377
+ * @maxLength `2000`
1378
1378
  */
1379
1379
  Description?: string;
1380
1380
  SentimentAnalysisSettings?: {
@@ -36,7 +36,7 @@ export type SageMakerProjectProperties = {
36
36
  /**
37
37
  * Input ServiceCatalog Provisioning Details
38
38
  */
39
- ServiceCatalogProvisioningDetails: {
39
+ ServiceCatalogProvisioningDetails?: {
40
40
  /**
41
41
  * The path identifier of the product.
42
42
  * @maxLength `100`
@@ -65,6 +65,12 @@ export type SageMakerProjectProperties = {
65
65
  * @maxLength `40`
66
66
  */
67
67
  Tags?: Tag[];
68
+ /**
69
+ * An array of template providers associated with the project.
70
+ * @minLength `1`
71
+ * @maxLength `1`
72
+ */
73
+ TemplateProviderDetails?: TemplateProviderDetail[];
68
74
  };
69
75
  /**
70
76
  * Attribute type definition for `AWS::SageMaker::Project`.
@@ -93,6 +99,57 @@ export type SageMakerProjectAttributes = {
93
99
  */
94
100
  ProjectStatus: "Pending" | "CreateInProgress" | "CreateCompleted" | "CreateFailed" | "DeleteInProgress" | "DeleteFailed" | "DeleteCompleted";
95
101
  };
102
+ /**
103
+ * Type definition for `AWS::SageMaker::Project.CfnStackParameter`.
104
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-project-cfnstackparameter.html}
105
+ */
106
+ export type CfnStackParameter = {
107
+ /**
108
+ * The key of the parameter.
109
+ * @minLength `1`
110
+ * @maxLength `255`
111
+ */
112
+ Key: string;
113
+ /**
114
+ * The value of the parameter.
115
+ * @maxLength `4096`
116
+ */
117
+ Value: string;
118
+ };
119
+ /**
120
+ * Type definition for `AWS::SageMaker::Project.CfnTemplateProviderDetail`.
121
+ * CloudFormation template provider details for a SageMaker project.
122
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-project-cfntemplateproviderdetail.html}
123
+ */
124
+ export type CfnTemplateProviderDetail = {
125
+ /**
126
+ * A list of parameters used in the CloudFormation template.
127
+ * @minLength `0`
128
+ * @maxLength `180`
129
+ */
130
+ Parameters?: CfnStackParameter[];
131
+ /**
132
+ * The Amazon Resource Name (ARN) of the IAM role used by the template provider.
133
+ * @minLength `20`
134
+ * @maxLength `2048`
135
+ * @pattern `arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+`
136
+ */
137
+ RoleARN?: string;
138
+ /**
139
+ * The name of the template used for the project.
140
+ * @minLength `1`
141
+ * @maxLength `32`
142
+ * @pattern `(?=.{1,32}$)[a-zA-Z0-9](-*[a-zA-Z0-9])*`
143
+ */
144
+ TemplateName: string;
145
+ /**
146
+ * The URL of the CloudFormation template.
147
+ * @minLength `1`
148
+ * @maxLength `1024`
149
+ * @pattern `(?=.{1,1024}$)(https)://([^/]+)/(.+)`
150
+ */
151
+ TemplateURL: string;
152
+ };
96
153
  /**
97
154
  * Type definition for `AWS::SageMaker::Project.ProvisioningParameter`.
98
155
  * Information about a parameter used to provision a product.
@@ -133,6 +190,17 @@ export type Tag = {
133
190
  */
134
191
  Value: string;
135
192
  };
193
+ /**
194
+ * Type definition for `AWS::SageMaker::Project.TemplateProviderDetail`.
195
+ * Details about the template provider for the SageMaker project.
196
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-project-templateproviderdetail.html}
197
+ */
198
+ export type TemplateProviderDetail = {
199
+ /**
200
+ * CloudFormation template provider details for a SageMaker project.
201
+ */
202
+ CfnTemplateProviderDetail?: CfnTemplateProviderDetail;
203
+ };
136
204
  /**
137
205
  * Resource Type definition for AWS::SageMaker::Project
138
206
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-project.html}
@@ -0,0 +1,196 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
+ /**
4
+ * Definition of AWS::Wisdom::QuickResponse Resource Type.
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html}
6
+ */
7
+ export type WisdomQuickResponseProperties = {
8
+ /**
9
+ * The Amazon Connect contact channels this quick response applies to.
10
+ */
11
+ Channels?: ChannelType[];
12
+ /**
13
+ * The container of quick response content.
14
+ */
15
+ Content: QuickResponseContentProvider;
16
+ /**
17
+ * The media type of the quick response content.
18
+ - Use application/x.quickresponse;format=plain for quick response written in plain text.
19
+ - Use application/x.quickresponse;format=markdown for quick response written in richtext.
20
+ * @pattern `^(application/x\.quickresponse;format=(plain|markdown))$`
21
+ */
22
+ ContentType?: string;
23
+ /**
24
+ * The description of the quick response.
25
+ * @minLength `1`
26
+ * @maxLength `255`
27
+ */
28
+ Description?: string;
29
+ /**
30
+ * The configuration information of the user groups that the quick response is accessible to.
31
+ */
32
+ GroupingConfiguration?: GroupingConfiguration;
33
+ /**
34
+ * Whether the quick response is active.
35
+ */
36
+ IsActive?: boolean;
37
+ /**
38
+ * The Amazon Resource Name (ARN) of the knowledge base.
39
+ * @pattern `^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}$`
40
+ */
41
+ KnowledgeBaseArn: string;
42
+ /**
43
+ * The language code value for the language in which the quick response is written. The supported language codes include de_DE, en_US, es_ES, fr_FR, id_ID, it_IT, ja_JP, ko_KR, pt_BR, zh_CN, zh_TW
44
+ * @minLength `2`
45
+ * @maxLength `5`
46
+ */
47
+ Language?: string;
48
+ /**
49
+ * The name of the quick response.
50
+ * @minLength `1`
51
+ * @maxLength `100`
52
+ */
53
+ Name: string;
54
+ /**
55
+ * The shortcut key of the quick response. The value should be unique across the knowledge base.
56
+ * @minLength `1`
57
+ * @maxLength `100`
58
+ */
59
+ ShortcutKey?: string;
60
+ /**
61
+ * An array of key-value pairs to apply to this resource.
62
+ */
63
+ Tags?: Tag[];
64
+ };
65
+ /**
66
+ * Attribute type definition for `AWS::Wisdom::QuickResponse`.
67
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html#aws-resource-wisdom-quickresponse-return-values}
68
+ */
69
+ export type WisdomQuickResponseAttributes = {
70
+ /**
71
+ * The content of the quick response stored in different media types.
72
+ */
73
+ Contents: {
74
+ /**
75
+ * The container of quick response content.
76
+ */
77
+ Markdown: {
78
+ /**
79
+ * The content of the quick response.
80
+ * @minLength `1`
81
+ * @maxLength `1024`
82
+ */
83
+ Content: string;
84
+ };
85
+ /**
86
+ * The container of quick response content.
87
+ */
88
+ PlainText: {
89
+ /**
90
+ * The content of the quick response.
91
+ * @minLength `1`
92
+ * @maxLength `1024`
93
+ */
94
+ Content: string;
95
+ };
96
+ };
97
+ /**
98
+ * The Amazon Resource Name (ARN) of the quick response.
99
+ * @pattern `^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}$`
100
+ */
101
+ QuickResponseArn: string;
102
+ /**
103
+ * The identifier of the quick response.
104
+ * @pattern `^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$`
105
+ */
106
+ QuickResponseId: string;
107
+ /**
108
+ * The status of the quick response data.
109
+ */
110
+ Status: Status;
111
+ };
112
+ /**
113
+ * Type definition for `AWS::Wisdom::QuickResponse.ChannelType`.
114
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-quickresponse-channeltype.html}
115
+ */
116
+ export type ChannelType = "Chat" | "Email";
117
+ /**
118
+ * Type definition for `AWS::Wisdom::QuickResponse.GroupingConfiguration`.
119
+ * The configuration information of the user groups that the quick response is accessible to.
120
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-quickresponse-groupingconfiguration.html}
121
+ */
122
+ export type GroupingConfiguration = {
123
+ /**
124
+ * The criteria used for grouping Amazon Q in Connect users.
125
+ * @minLength `1`
126
+ * @maxLength `100`
127
+ */
128
+ Criteria: string;
129
+ /**
130
+ * The list of values that define different groups of Amazon Q in Connect users.
131
+ */
132
+ Values: string[];
133
+ };
134
+ /**
135
+ * Type definition for `AWS::Wisdom::QuickResponse.QuickResponseContentProvider`.
136
+ * The container of quick response content.
137
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-quickresponse-quickresponsecontentprovider.html}
138
+ */
139
+ export type QuickResponseContentProvider = {
140
+ /**
141
+ * The content of the quick response.
142
+ * @minLength `1`
143
+ * @maxLength `1024`
144
+ */
145
+ Content?: string;
146
+ };
147
+ /**
148
+ * Type definition for `AWS::Wisdom::QuickResponse.QuickResponseContents`.
149
+ * The content of the quick response stored in different media types.
150
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-quickresponse-quickresponsecontents.html}
151
+ */
152
+ export type QuickResponseContents = {
153
+ /**
154
+ * The container of quick response content.
155
+ */
156
+ Markdown?: QuickResponseContentProvider;
157
+ /**
158
+ * The container of quick response content.
159
+ */
160
+ PlainText?: QuickResponseContentProvider;
161
+ };
162
+ /**
163
+ * Type definition for `AWS::Wisdom::QuickResponse.Status`.
164
+ * The status of the quick response data.
165
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-quickresponse-status.html}
166
+ */
167
+ export type Status = "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "CREATED" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETED" | "UPDATE_IN_PROGRESS" | "UPDATE_FAILED";
168
+ /**
169
+ * Type definition for `AWS::Wisdom::QuickResponse.Tag`.
170
+ * A key-value pair to associate with a resource.
171
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-quickresponse-tag.html}
172
+ */
173
+ export type Tag = {
174
+ /**
175
+ * 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 -
176
+ * @minLength `1`
177
+ * @maxLength `128`
178
+ * @pattern `^(?!aws:)[a-zA-Z+-=._:/]+$`
179
+ */
180
+ Key: string;
181
+ /**
182
+ * 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 -
183
+ * @minLength `1`
184
+ * @maxLength `256`
185
+ */
186
+ Value: string;
187
+ };
188
+ /**
189
+ * Definition of AWS::Wisdom::QuickResponse Resource Type.
190
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html}
191
+ */
192
+ export declare class WisdomQuickResponse extends $Resource<"AWS::Wisdom::QuickResponse", WisdomQuickResponseProperties, WisdomQuickResponseAttributes> {
193
+ static readonly Type = "AWS::Wisdom::QuickResponse";
194
+ constructor(logicalId: string, properties: WisdomQuickResponseProperties, options?: $ResourceOptions);
195
+ }
196
+ //# sourceMappingURL=AWS-Wisdom-QuickResponse.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Definition of AWS::Wisdom::QuickResponse Resource Type.
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-quickresponse.html}
5
+ */
6
+ export class WisdomQuickResponse extends $Resource {
7
+ static Type = "AWS::Wisdom::QuickResponse";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, WisdomQuickResponse.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-Wisdom-QuickResponse.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.377",
3
+ "version": "0.1.378",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },