@propulsionworks/cloudformation 0.1.39 → 0.1.40

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.
Files changed (63) hide show
  1. package/out/exports/resources.generated/aws-autoscaling-autoscalinggroup.d.ts +29 -3
  2. package/out/exports/resources.generated/aws-bedrockagentcore-gateway.d.ts +53 -1
  3. package/out/exports/resources.generated/aws-bedrockagentcore-gatewaytarget.d.ts +16 -0
  4. package/out/exports/resources.generated/aws-cases-caserule.d.ts +182 -0
  5. package/out/exports/resources.generated/aws-cases-domain.d.ts +61 -0
  6. package/out/exports/resources.generated/aws-cases-field.d.ts +85 -0
  7. package/out/exports/resources.generated/aws-cases-layout.d.ts +140 -0
  8. package/out/exports/resources.generated/aws-cases-template.d.ts +141 -0
  9. package/out/exports/resources.generated/aws-cloudformation-waitcondition.d.ts +2 -2
  10. package/out/exports/resources.generated/aws-cloudfront-anycastiplist.d.ts +1 -0
  11. package/out/exports/resources.generated/aws-codedeploy-deploymentgroup.d.ts +3 -3
  12. package/out/exports/resources.generated/aws-connect-contactflowmodule.d.ts +13 -0
  13. package/out/exports/resources.generated/aws-connect-hoursofoperation.d.ts +90 -0
  14. package/out/exports/resources.generated/aws-connectcampaignsv2-campaign.d.ts +14 -14
  15. package/out/exports/resources.generated/aws-datasync-agent.d.ts +1 -1
  16. package/out/exports/resources.generated/aws-datasync-locationazureblob.d.ts +9 -9
  17. package/out/exports/resources.generated/aws-datasync-locationefs.d.ts +5 -5
  18. package/out/exports/resources.generated/aws-datasync-locationfsxlustre.d.ts +2 -2
  19. package/out/exports/resources.generated/aws-datasync-locationfsxontap.d.ts +3 -3
  20. package/out/exports/resources.generated/aws-datasync-locationfsxopenzfs.d.ts +2 -2
  21. package/out/exports/resources.generated/aws-datasync-locationfsxwindows.d.ts +2 -2
  22. package/out/exports/resources.generated/aws-datasync-locationhdfs.d.ts +1 -1
  23. package/out/exports/resources.generated/aws-datasync-locationnfs.d.ts +1 -1
  24. package/out/exports/resources.generated/aws-datasync-locationobjectstorage.d.ts +10 -10
  25. package/out/exports/resources.generated/aws-datasync-locations3.d.ts +3 -3
  26. package/out/exports/resources.generated/aws-datasync-locationsmb.d.ts +9 -9
  27. package/out/exports/resources.generated/aws-datasync-task.d.ts +8 -8
  28. package/out/exports/resources.generated/aws-deadline-fleet.d.ts +25 -7
  29. package/out/exports/resources.generated/aws-ec2-clientvpnendpoint.d.ts +8 -0
  30. package/out/exports/resources.generated/aws-ec2-vpnconcentrator.d.ts +1 -1
  31. package/out/exports/resources.generated/aws-ec2-vpnconnection.d.ts +2 -0
  32. package/out/exports/resources.generated/aws-ecr-repositorycreationtemplate.d.ts +1 -1
  33. package/out/exports/resources.generated/aws-ecs-capacityprovider.d.ts +4 -0
  34. package/out/exports/resources.generated/aws-eks-nodegroup.d.ts +8 -8
  35. package/out/exports/resources.generated/aws-emr-step.d.ts +10 -0
  36. package/out/exports/resources.generated/aws-fsx-s3accesspointattachment.d.ts +14 -10
  37. package/out/exports/resources.generated/aws-groundstation-dataflowendpointgroupv2.d.ts +244 -0
  38. package/out/exports/resources.generated/aws-iotanalytics-channel.d.ts +4 -4
  39. package/out/exports/resources.generated/aws-iotanalytics-dataset.d.ts +7 -7
  40. package/out/exports/resources.generated/aws-iotanalytics-datastore.d.ts +6 -6
  41. package/out/exports/resources.generated/aws-iotanalytics-pipeline.d.ts +2 -2
  42. package/out/exports/resources.generated/aws-kafkaconnect-connector.d.ts +5 -0
  43. package/out/exports/resources.generated/aws-lex-bot.d.ts +92 -0
  44. package/out/exports/resources.generated/aws-logs-loggroup.d.ts +5 -0
  45. package/out/exports/resources.generated/aws-logs-transformer.d.ts +6 -1
  46. package/out/exports/resources.generated/aws-observabilityadmin-organizationtelemetryrule.d.ts +44 -43
  47. package/out/exports/resources.generated/aws-observabilityadmin-telemetryrule.d.ts +45 -44
  48. package/out/exports/resources.generated/aws-odb-odbpeeringconnection.d.ts +10 -0
  49. package/out/exports/resources.generated/aws-paymentcryptography-key.d.ts +1 -1
  50. package/out/exports/resources.generated/aws-quicksight-dashboard.d.ts +82 -0
  51. package/out/exports/resources.generated/aws-ram-resourceshare.d.ts +5 -1
  52. package/out/exports/resources.generated/aws-resiliencehub-app.d.ts +2 -2
  53. package/out/exports/resources.generated/aws-resourcegroups-group.d.ts +10 -10
  54. package/out/exports/resources.generated/aws-route53profiles-profile.d.ts +1 -1
  55. package/out/exports/resources.generated/aws-route53resolver-resolverendpoint.d.ts +10 -0
  56. package/out/exports/resources.generated/aws-s3-bucket.d.ts +1 -1
  57. package/out/exports/resources.generated/aws-securityhub-connectorv2.d.ts +34 -45
  58. package/out/exports/resources.generated/aws-ses-tenant.d.ts +54 -0
  59. package/out/exports/resources.generated/aws-ssm-association.d.ts +2 -2
  60. package/out/exports/resources.generated/aws-ssm-maintenancewindowtarget.d.ts +3 -2
  61. package/out/exports/resources.generated/aws-ssm-maintenancewindowtask.d.ts +3 -2
  62. package/out/exports/resources.generated/aws-workspacesweb-usersettings.d.ts +23 -0
  63. package/package.json +1 -1
@@ -31,12 +31,12 @@ export type AutoScalingAutoScalingGroupProps = {
31
31
  */
32
32
  AutoScalingGroupName?: string | undefined;
33
33
  /**
34
- * The instance capacity distribution across Availability Zones.
34
+ * The EC2 instance capacity distribution across Availability Zones for the Auto Scaling group.
35
35
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-availabilityzonedistribution}
36
36
  */
37
37
  AvailabilityZoneDistribution?: AvailabilityZoneDistribution | undefined;
38
38
  /**
39
- * The Availability Zone impairment policy.
39
+ * The Availability Zone impairment policy for the Auto Scaling group.
40
40
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-availabilityzoneimpairmentpolicy}
41
41
  */
42
42
  AvailabilityZoneImpairmentPolicy?: AvailabilityZoneImpairmentPolicy | undefined;
@@ -51,7 +51,7 @@ export type AutoScalingAutoScalingGroupProps = {
51
51
  */
52
52
  CapacityRebalance?: boolean | undefined;
53
53
  /**
54
- * The capacity reservation specification.
54
+ * The capacity reservation specification for the Auto Scaling group.
55
55
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-capacityreservationspecification}
56
56
  */
57
57
  CapacityReservationSpecification?: CapacityReservationSpecification | undefined;
@@ -122,6 +122,10 @@ export type AutoScalingAutoScalingGroupProps = {
122
122
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-instanceid}
123
123
  */
124
124
  InstanceId?: string | undefined;
125
+ /**
126
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-instancelifecyclepolicy}
127
+ */
128
+ InstanceLifecyclePolicy?: InstanceLifecyclePolicy | undefined;
125
129
  /**
126
130
  * An instance maintenance policy. For more information, see [Set instance maintenance policy](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html) in the *Amazon EC2 Auto Scaling User Guide* .
127
131
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-instancemaintenancepolicy}
@@ -402,6 +406,15 @@ export type CpuPerformanceFactorRequest = {
402
406
  */
403
407
  References?: PerformanceFactorReferenceRequest[] | undefined;
404
408
  };
409
+ /**
410
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancelifecyclepolicy.html}
411
+ */
412
+ export type InstanceLifecyclePolicy = {
413
+ /**
414
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancelifecyclepolicy.html#cfn-autoscaling-autoscalinggroup-instancelifecyclepolicy-retentiontriggers}
415
+ */
416
+ RetentionTriggers?: RetentionTriggers | undefined;
417
+ };
405
418
  /**
406
419
  * `InstanceMaintenancePolicy` is a property of the [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) resource.
407
420
  *
@@ -768,6 +781,10 @@ export type LaunchTemplate = {
768
781
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html}
769
782
  */
770
783
  export type LaunchTemplateOverrides = {
784
+ /**
785
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html#cfn-autoscaling-autoscalinggroup-launchtemplateoverrides-imageid}
786
+ */
787
+ ImageId?: string | undefined;
771
788
  /**
772
789
  * The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types.
773
790
  *
@@ -1089,6 +1106,15 @@ export type PerformanceFactorReferenceRequest = {
1089
1106
  */
1090
1107
  InstanceFamily?: string | undefined;
1091
1108
  };
1109
+ /**
1110
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-retentiontriggers.html}
1111
+ */
1112
+ export type RetentionTriggers = {
1113
+ /**
1114
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-retentiontriggers.html#cfn-autoscaling-autoscalinggroup-retentiontriggers-terminatehookabandon}
1115
+ */
1116
+ TerminateHookAbandon?: string | undefined;
1117
+ };
1092
1118
  /**
1093
1119
  * A structure that specifies a tag for the `Tags` property of [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) resource.
1094
1120
  *
@@ -38,6 +38,10 @@ export type BedrockAgentCoreGatewayProps = {
38
38
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-exceptionlevel}
39
39
  */
40
40
  ExceptionLevel?: ExceptionLevel | undefined;
41
+ /**
42
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-interceptorconfigurations}
43
+ */
44
+ InterceptorConfigurations?: GatewayInterceptorConfiguration[] | undefined;
41
45
  /**
42
46
  * The KMS key ARN for the gateway.
43
47
  * @minLength 1
@@ -128,7 +132,7 @@ export type AuthorizerConfiguration = {
128
132
  /**
129
133
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-authorizertype.html}
130
134
  */
131
- export type AuthorizerType = "CUSTOM_JWT" | "AWS_IAM";
135
+ export type AuthorizerType = "CUSTOM_JWT" | "AWS_IAM" | "NONE";
132
136
  /**
133
137
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-customjwtauthorizerconfiguration.html}
134
138
  */
@@ -153,6 +157,27 @@ export type CustomJWTAuthorizerConfiguration = {
153
157
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-exceptionlevel.html}
154
158
  */
155
159
  export type ExceptionLevel = "DEBUG";
160
+ /**
161
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-gatewayinterceptionpoint.html}
162
+ */
163
+ export type GatewayInterceptionPoint = "REQUEST" | "RESPONSE";
164
+ /**
165
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-gatewayinterceptorconfiguration.html}
166
+ */
167
+ export type GatewayInterceptorConfiguration = {
168
+ /**
169
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-gatewayinterceptorconfiguration.html#cfn-bedrockagentcore-gateway-gatewayinterceptorconfiguration-inputconfiguration}
170
+ */
171
+ InputConfiguration?: InterceptorInputConfiguration | undefined;
172
+ /**
173
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-gatewayinterceptorconfiguration.html#cfn-bedrockagentcore-gateway-gatewayinterceptorconfiguration-interceptionpoints}
174
+ */
175
+ InterceptionPoints: GatewayInterceptionPoint[];
176
+ /**
177
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-gatewayinterceptorconfiguration.html#cfn-bedrockagentcore-gateway-gatewayinterceptorconfiguration-interceptor}
178
+ */
179
+ Interceptor: InterceptorConfiguration;
180
+ };
156
181
  /**
157
182
  * The protocol configuration.
158
183
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-gatewayprotocolconfiguration.html}
@@ -168,6 +193,33 @@ export type GatewayProtocolType = "MCP";
168
193
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-gatewaystatus.html}
169
194
  */
170
195
  export type GatewayStatus = "CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED";
196
+ /**
197
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-interceptorconfiguration.html}
198
+ */
199
+ export type InterceptorConfiguration = {
200
+ Lambda: LambdaInterceptorConfiguration;
201
+ };
202
+ /**
203
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-interceptorinputconfiguration.html}
204
+ */
205
+ export type InterceptorInputConfiguration = {
206
+ /**
207
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-interceptorinputconfiguration.html#cfn-bedrockagentcore-gateway-interceptorinputconfiguration-passrequestheaders}
208
+ */
209
+ PassRequestHeaders: boolean;
210
+ };
211
+ /**
212
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-lambdainterceptorconfiguration.html}
213
+ */
214
+ export type LambdaInterceptorConfiguration = {
215
+ /**
216
+ * @minLength 1
217
+ * @maxLength 170
218
+ * @pattern ^arn:(aws[a-zA-Z-]*)?:lambda:([a-z]{2}(-gov)?-[a-z]+-\d{1}):(\d{12}):function:([a-zA-Z0-9-_.]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?$
219
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-lambdainterceptorconfiguration.html#cfn-bedrockagentcore-gateway-lambdainterceptorconfiguration-arn}
220
+ */
221
+ Arn: string;
222
+ };
171
223
  /**
172
224
  * The gateway configuration for MCP.
173
225
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-mcpgatewayconfiguration.html}
@@ -214,6 +214,18 @@ export type OAuthCredentialProvider = {
214
214
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-oauthcredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-oauthcredentialprovider-customparameters}
215
215
  */
216
216
  CustomParameters?: Record<string, string> | undefined;
217
+ /**
218
+ * Return URL for OAuth callback.
219
+ * @minLength 1
220
+ * @maxLength 2048
221
+ * @pattern \w+:(\/?\/?)[^\s]+
222
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-oauthcredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-oauthcredentialprovider-defaultreturnurl}
223
+ */
224
+ DefaultReturnUrl?: string | undefined;
225
+ /**
226
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-oauthcredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-oauthcredentialprovider-granttype}
227
+ */
228
+ GrantType?: OAuthGrantType | undefined;
217
229
  /**
218
230
  * The provider ARN for the gateway target.
219
231
  * @pattern ^arn:([^:]*):([^:]*):([^:]*):([0-9]{12})?:(.+)$
@@ -226,6 +238,10 @@ export type OAuthCredentialProvider = {
226
238
  */
227
239
  Scopes: string[];
228
240
  };
241
+ /**
242
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-oauthgranttype.html}
243
+ */
244
+ export type OAuthGrantType = "AUTHORIZATION_CODE" | "CLIENT_CREDENTIALS";
229
245
  /**
230
246
  * The S3 configuration for the gateway target.
231
247
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-s3configuration.html}
@@ -0,0 +1,182 @@
1
+ import type { ResourceDefinitionWithAttributes, Tag } from "../main.ts";
2
+ /**
3
+ * A case rule. In the Amazon Connect admin website, case rules are known as case field conditions. Case rules are used to define the situations under which fields should have certain effects (such as required).
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-caserule.html}
5
+ */
6
+ export type CasesCaseRule = ResourceDefinitionWithAttributes<"AWS::Cases::CaseRule", CasesCaseRuleProps, CasesCaseRuleAttribs>;
7
+ /**
8
+ * A case rule. In the Amazon Connect admin website, case rules are known as case field conditions. Case rules are used to define the situations under which fields should have certain effects (such as required).
9
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-caserule.html}
10
+ */
11
+ export type CasesCaseRuleProps = {
12
+ /**
13
+ * A description explaining the purpose and behavior of this case rule. Helps administrators understand when and why this rule applies to case fields.
14
+ * @maxLength 255
15
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-caserule.html#cfn-cases-caserule-description}
16
+ */
17
+ Description?: string | undefined;
18
+ /**
19
+ * The unique identifier of the Cases domain.
20
+ * @minLength 1
21
+ * @maxLength 500
22
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-caserule.html#cfn-cases-caserule-domainid}
23
+ */
24
+ DomainId?: string | undefined;
25
+ /**
26
+ * A descriptive name for the case rule. Must be unique within the domain and should clearly indicate the rule's purpose (e.g., 'Priority Field Required for Urgent Cases').
27
+ * @minLength 1
28
+ * @maxLength 100
29
+ * @pattern ^.*[\S]$
30
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-caserule.html#cfn-cases-caserule-name}
31
+ */
32
+ Name: string;
33
+ /**
34
+ * Defines the rule behavior and conditions. Specifies the rule type and the conditions under which it applies. In the Amazon Connect admin website, this corresponds to case field conditions.
35
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-caserule.html#cfn-cases-caserule-rule}
36
+ */
37
+ Rule: CaseRuleDetails;
38
+ /**
39
+ * The tags that you attach to this case rule.
40
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-caserule.html#cfn-cases-caserule-tags}
41
+ */
42
+ Tags?: Tag[] | undefined;
43
+ };
44
+ /**
45
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-caserule.html#aws-resource-cases-caserule-return-values}
46
+ */
47
+ export type CasesCaseRuleAttribs = {
48
+ /**
49
+ * The Amazon Resource Name (ARN) of a case rule.
50
+ * @minLength 1
51
+ * @maxLength 500
52
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-caserule.html#cfn-cases-caserule-caserulearn}
53
+ */
54
+ CaseRuleArn: string;
55
+ /**
56
+ * The unique identifier of a case rule.
57
+ * @minLength 1
58
+ * @maxLength 500
59
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-caserule.html#cfn-cases-caserule-caseruleid}
60
+ */
61
+ CaseRuleId: string;
62
+ /**
63
+ * The time at which the case rule was created.
64
+ * @format date-time
65
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-caserule.html#cfn-cases-caserule-createdtime}
66
+ */
67
+ CreatedTime: string;
68
+ /**
69
+ * The time at which the case rule was created or last modified.
70
+ * @format date-time
71
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-caserule.html#cfn-cases-caserule-lastmodifiedtime}
72
+ */
73
+ LastModifiedTime: string;
74
+ };
75
+ /**
76
+ * A boolean condition for a rule.
77
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-caserule-booleancondition.html}
78
+ */
79
+ export type BooleanCondition = {
80
+ EqualTo: BooleanOperands;
81
+ } | {
82
+ NotEqualTo: BooleanOperands;
83
+ };
84
+ /**
85
+ * Boolean operands for a condition.
86
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-caserule-booleanoperands.html}
87
+ */
88
+ export type BooleanOperands = {
89
+ /**
90
+ * The left hand operand in the condition.
91
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-caserule-booleanoperands.html#cfn-cases-caserule-booleanoperands-operandone}
92
+ */
93
+ OperandOne: OperandOne;
94
+ /**
95
+ * The right hand operand in the condition.
96
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-caserule-booleanoperands.html#cfn-cases-caserule-booleanoperands-operandtwo}
97
+ */
98
+ OperandTwo: OperandTwo;
99
+ /**
100
+ * The value of the outer rule if the condition evaluates to true.
101
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-caserule-booleanoperands.html#cfn-cases-caserule-booleanoperands-result}
102
+ */
103
+ Result: boolean;
104
+ };
105
+ /**
106
+ * Defines the rule behavior and conditions. Specifies the rule type and the conditions under which it applies. In the Amazon Connect admin website, this corresponds to case field conditions.
107
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-caserule-caseruledetails.html}
108
+ */
109
+ export type CaseRuleDetails = {
110
+ Required: RequiredCaseRule;
111
+ } | {
112
+ Hidden: HiddenCaseRule;
113
+ };
114
+ /**
115
+ * Hidden rule type, used to indicate whether a field is hidden
116
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-caserule-hiddencaserule.html}
117
+ */
118
+ export type HiddenCaseRule = {
119
+ /**
120
+ * List of conditions for the hidden rule; the first condition to evaluate to true dictates the value of the rule
121
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-caserule-hiddencaserule.html#cfn-cases-caserule-hiddencaserule-conditions}
122
+ */
123
+ Conditions: BooleanCondition[];
124
+ /**
125
+ * The value of the rule (i.e. whether the field is hidden) should none of the conditions evaluate to true
126
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-caserule-hiddencaserule.html#cfn-cases-caserule-hiddencaserule-defaultvalue}
127
+ */
128
+ DefaultValue: boolean;
129
+ };
130
+ /**
131
+ * The left hand operand in the condition.
132
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-caserule-operandone.html}
133
+ */
134
+ export type OperandOne = {
135
+ /**
136
+ * The field ID this operand should take the value of.
137
+ * @minLength 1
138
+ * @maxLength 500
139
+ */
140
+ FieldId: string;
141
+ };
142
+ /**
143
+ * The right hand operand in the condition.
144
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-caserule-operandtwo.html}
145
+ */
146
+ export type OperandTwo = {
147
+ /**
148
+ * A string value to compare against the field value in the condition evaluation.
149
+ * @minLength 1
150
+ * @maxLength 1500
151
+ */
152
+ StringValue: string;
153
+ } | {
154
+ /**
155
+ * A boolean value to compare against the field value in the condition evaluation.
156
+ */
157
+ BooleanValue: boolean;
158
+ } | {
159
+ /**
160
+ * A numeric value to compare against the field value in the condition evaluation.
161
+ */
162
+ DoubleValue: number;
163
+ } | {
164
+ EmptyValue: Record<string, unknown>;
165
+ };
166
+ /**
167
+ * A required rule type, used to indicate whether a field is required.
168
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-caserule-requiredcaserule.html}
169
+ */
170
+ export type RequiredCaseRule = {
171
+ /**
172
+ * An ordered list of boolean conditions that determine when the field should be required. Conditions are evaluated in order, and the first condition that evaluates to true determines whether the field is required, overriding the default value.
173
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-caserule-requiredcaserule.html#cfn-cases-caserule-requiredcaserule-conditions}
174
+ */
175
+ Conditions: BooleanCondition[];
176
+ /**
177
+ * The default required state for the field when none of the specified conditions are met. If true, the field is required by default; if false, the field is optional by default.
178
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-caserule-requiredcaserule.html#cfn-cases-caserule-requiredcaserule-defaultvalue}
179
+ */
180
+ DefaultValue: boolean;
181
+ };
182
+ //# sourceMappingURL=aws-cases-caserule.d.ts.map
@@ -0,0 +1,61 @@
1
+ import type { ResourceDefinitionWithAttributes, Tag } from "../main.ts";
2
+ /**
3
+ * A domain, which is a container for all case data, such as cases, fields, templates and layouts. Each Amazon Connect instance can be associated with only one Cases domain.
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-domain.html}
5
+ */
6
+ export type CasesDomain = ResourceDefinitionWithAttributes<"AWS::Cases::Domain", CasesDomainProps, CasesDomainAttribs>;
7
+ /**
8
+ * A domain, which is a container for all case data, such as cases, fields, templates and layouts. Each Amazon Connect instance can be associated with only one Cases domain.
9
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-domain.html}
10
+ */
11
+ export type CasesDomainProps = {
12
+ /**
13
+ * The name for your Cases domain. It must be unique for your AWS account.
14
+ * @minLength 1
15
+ * @maxLength 100
16
+ * @pattern ^.*[\S]$
17
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-domain.html#cfn-cases-domain-name}
18
+ */
19
+ Name: string;
20
+ /**
21
+ * The tags that you attach to this domain.
22
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-domain.html#cfn-cases-domain-tags}
23
+ */
24
+ Tags?: Tag[] | undefined;
25
+ };
26
+ /**
27
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-domain.html#aws-resource-cases-domain-return-values}
28
+ */
29
+ export type CasesDomainAttribs = {
30
+ /**
31
+ * The time at which the domain was created.
32
+ * @format date-time
33
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-domain.html#cfn-cases-domain-createdtime}
34
+ */
35
+ CreatedTime: string;
36
+ /**
37
+ * The Amazon Resource Name (ARN) for the Cases domain.
38
+ * @minLength 1
39
+ * @maxLength 500
40
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-domain.html#cfn-cases-domain-domainarn}
41
+ */
42
+ DomainArn: string;
43
+ /**
44
+ * The unique identifier of the Cases domain.
45
+ * @minLength 1
46
+ * @maxLength 500
47
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-domain.html#cfn-cases-domain-domainid}
48
+ */
49
+ DomainId: string;
50
+ /**
51
+ * The current status of the Cases domain. Indicates whether the domain is Active, CreationInProgress, or CreationFailed.
52
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-domain.html#cfn-cases-domain-domainstatus}
53
+ */
54
+ DomainStatus: DomainStatus;
55
+ };
56
+ /**
57
+ * The current status of the Cases domain. Indicates whether the domain is Active, CreationInProgress, or CreationFailed.
58
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-domain-domainstatus.html}
59
+ */
60
+ export type DomainStatus = "Active" | "CreationInProgress" | "CreationFailed";
61
+ //# sourceMappingURL=aws-cases-domain.d.ts.map
@@ -0,0 +1,85 @@
1
+ import type { ResourceDefinitionWithAttributes, Tag } from "../main.ts";
2
+ /**
3
+ * A field in the Cases domain. This field is used to define the case object model (that is, defines what data can be captured on cases) in a Cases domain.
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-field.html}
5
+ */
6
+ export type CasesField = ResourceDefinitionWithAttributes<"AWS::Cases::Field", CasesFieldProps, CasesFieldAttribs>;
7
+ /**
8
+ * A field in the Cases domain. This field is used to define the case object model (that is, defines what data can be captured on cases) in a Cases domain.
9
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-field.html}
10
+ */
11
+ export type CasesFieldProps = {
12
+ /**
13
+ * A description explaining the purpose and usage of this field in cases. Helps agents and administrators understand what information should be captured in this field.
14
+ * @maxLength 255
15
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-field.html#cfn-cases-field-description}
16
+ */
17
+ Description?: string | undefined;
18
+ /**
19
+ * The unique identifier of the Cases domain.
20
+ * @minLength 1
21
+ * @maxLength 500
22
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-field.html#cfn-cases-field-domainid}
23
+ */
24
+ DomainId?: string | undefined;
25
+ /**
26
+ * The display name of the field as it appears to agents in the case interface. Should be descriptive and user-friendly (e.g., 'Customer Priority Level', 'Issue Category').
27
+ * @minLength 1
28
+ * @maxLength 100
29
+ * @pattern ^.*[\S]$
30
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-field.html#cfn-cases-field-name}
31
+ */
32
+ Name: string;
33
+ /**
34
+ * The tags that you attach to this field.
35
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-field.html#cfn-cases-field-tags}
36
+ */
37
+ Tags?: Tag[] | undefined;
38
+ /**
39
+ * The data type of the field, which determines validation rules, input constraints, and display format. Each type has specific constraints: Text (string input), Number (numeric values), Boolean (true/false), DateTime (date/time picker), SingleSelect (dropdown options), Url (URL validation), User (Amazon Connect user selection).
40
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-field.html#cfn-cases-field-type}
41
+ */
42
+ Type: FieldType;
43
+ };
44
+ /**
45
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-field.html#aws-resource-cases-field-return-values}
46
+ */
47
+ export type CasesFieldAttribs = {
48
+ /**
49
+ * The time at which the field was created.
50
+ * @format date-time
51
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-field.html#cfn-cases-field-createdtime}
52
+ */
53
+ CreatedTime: string;
54
+ /**
55
+ * The Amazon Resource Name (ARN) of the field.
56
+ * @minLength 1
57
+ * @maxLength 500
58
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-field.html#cfn-cases-field-fieldarn}
59
+ */
60
+ FieldArn: string;
61
+ /**
62
+ * The unique identifier of a field.
63
+ * @minLength 1
64
+ * @maxLength 500
65
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-field.html#cfn-cases-field-fieldid}
66
+ */
67
+ FieldId: string;
68
+ /**
69
+ * The time at which the field was created or last modified.
70
+ * @format date-time
71
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-field.html#cfn-cases-field-lastmodifiedtime}
72
+ */
73
+ LastModifiedTime: string;
74
+ /**
75
+ * Indicates whether this is a System field (predefined by AWS) or a Custom field (created by your organization). System fields cannot be modified or deleted.
76
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-field.html#cfn-cases-field-namespace}
77
+ */
78
+ Namespace: "System" | "Custom";
79
+ };
80
+ /**
81
+ * The data type of the field, which determines validation rules, input constraints, and display format. Each type has specific constraints: Text (string input), Number (numeric values), Boolean (true/false), DateTime (date/time picker), SingleSelect (dropdown options), Url (URL validation), User (Amazon Connect user selection).
82
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-field-fieldtype.html}
83
+ */
84
+ export type FieldType = "Text" | "Number" | "Boolean" | "DateTime" | "SingleSelect" | "Url" | "User";
85
+ //# sourceMappingURL=aws-cases-field.d.ts.map
@@ -0,0 +1,140 @@
1
+ import type { ResourceDefinitionWithAttributes, Tag } from "../main.ts";
2
+ /**
3
+ * A layout in the Cases domain. Layouts define the following configuration in the top section and More Info tab of the Cases user interface: Fields to display to the users and Field ordering.
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-layout.html}
5
+ */
6
+ export type CasesLayout = ResourceDefinitionWithAttributes<"AWS::Cases::Layout", CasesLayoutProps, CasesLayoutAttribs>;
7
+ /**
8
+ * A layout in the Cases domain. Layouts define the following configuration in the top section and More Info tab of the Cases user interface: Fields to display to the users and Field ordering.
9
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-layout.html}
10
+ */
11
+ export type CasesLayoutProps = {
12
+ /**
13
+ * Defines the layout structure and field organization for the case interface. Specifies which fields appear in the top panel and More Info tab, and their display order.
14
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-layout.html#cfn-cases-layout-content}
15
+ */
16
+ Content: LayoutContent;
17
+ /**
18
+ * The unique identifier of the Cases domain.
19
+ * @minLength 1
20
+ * @maxLength 500
21
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-layout.html#cfn-cases-layout-domainid}
22
+ */
23
+ DomainId?: string | undefined;
24
+ /**
25
+ * A descriptive name for the layout. Must be unique within the Cases domain and should clearly indicate the layout's purpose and field organization.
26
+ * @minLength 1
27
+ * @maxLength 100
28
+ * @pattern ^.*[\S]$
29
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-layout.html#cfn-cases-layout-name}
30
+ */
31
+ Name: string;
32
+ /**
33
+ * The tags that you attach to this layout.
34
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-layout.html#cfn-cases-layout-tags}
35
+ */
36
+ Tags?: Tag[] | undefined;
37
+ };
38
+ /**
39
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-layout.html#aws-resource-cases-layout-return-values}
40
+ */
41
+ export type CasesLayoutAttribs = {
42
+ /**
43
+ * The time at which the layout was created.
44
+ * @format date-time
45
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-layout.html#cfn-cases-layout-createdtime}
46
+ */
47
+ CreatedTime: string;
48
+ /**
49
+ * The time at which the layout was created or last modified.
50
+ * @format date-time
51
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-layout.html#cfn-cases-layout-lastmodifiedtime}
52
+ */
53
+ LastModifiedTime: string;
54
+ /**
55
+ * The Amazon Resource Name (ARN) of the layout.
56
+ * @minLength 1
57
+ * @maxLength 500
58
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-layout.html#cfn-cases-layout-layoutarn}
59
+ */
60
+ LayoutArn: string;
61
+ /**
62
+ * The unique identifier of the layout.
63
+ * @minLength 1
64
+ * @maxLength 500
65
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cases-layout.html#cfn-cases-layout-layoutid}
66
+ */
67
+ LayoutId: string;
68
+ };
69
+ /**
70
+ * Defines the field layout for the agent's case interface. Configures which fields appear in the top panel (immediately visible) and More Info tab (expandable section) of the case view, allowing customization of the agent experience.
71
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-layout-basiclayout.html}
72
+ */
73
+ export type BasicLayout = {
74
+ /**
75
+ * Sections within a panel or tab of the page layout.
76
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-layout-basiclayout.html#cfn-cases-layout-basiclayout-moreinfo}
77
+ */
78
+ MoreInfo?: LayoutSections | undefined;
79
+ /**
80
+ * Sections within a panel or tab of the page layout.
81
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-layout-basiclayout.html#cfn-cases-layout-basiclayout-toppanel}
82
+ */
83
+ TopPanel?: LayoutSections | undefined;
84
+ };
85
+ /**
86
+ * Consists of a group of fields and associated properties.
87
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-layout-fieldgroup.html}
88
+ */
89
+ export type FieldGroup = {
90
+ /**
91
+ * An ordered list of fields to display in this group. The order determines the sequence in which fields appear in the agent interface. Each field is referenced by its unique field ID.
92
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-layout-fieldgroup.html#cfn-cases-layout-fieldgroup-fields}
93
+ */
94
+ Fields: FieldItem[];
95
+ /**
96
+ * A descriptive name for the field group. Helps organize related fields together in the layout interface.
97
+ * @maxLength 100
98
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-layout-fieldgroup.html#cfn-cases-layout-fieldgroup-name}
99
+ */
100
+ Name?: string | undefined;
101
+ };
102
+ /**
103
+ * Field specific properties.
104
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-layout-fielditem.html}
105
+ */
106
+ export type FieldItem = {
107
+ /**
108
+ * The unique identifier of a field.
109
+ * @minLength 1
110
+ * @maxLength 500
111
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-layout-fielditem.html#cfn-cases-layout-fielditem-id}
112
+ */
113
+ Id: string;
114
+ };
115
+ /**
116
+ * Defines the layout structure and field organization for the case interface. Specifies which fields appear in the top panel and More Info tab, and their display order.
117
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-layout-layoutcontent.html}
118
+ */
119
+ export type LayoutContent = {
120
+ Basic: BasicLayout;
121
+ };
122
+ /**
123
+ * Sections within a panel or tab of the page layout.
124
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-layout-layoutsections.html}
125
+ */
126
+ export type LayoutSections = {
127
+ /**
128
+ * Defines the sections within a panel or tab. Contains field groups that organize related fields together.
129
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-layout-layoutsections.html#cfn-cases-layout-layoutsections-sections}
130
+ */
131
+ Sections?: Section[] | undefined;
132
+ };
133
+ /**
134
+ * A section can be a grouped list of fields.
135
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cases-layout-section.html}
136
+ */
137
+ export type Section = {
138
+ FieldGroup: FieldGroup;
139
+ };
140
+ //# sourceMappingURL=aws-cases-layout.d.ts.map