@propulsionworks/cloudformation 0.1.36 → 0.1.37

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 (65) hide show
  1. package/out/exports/resources.generated/aws-athena-workgroup.d.ts +14 -5
  2. package/out/exports/resources.generated/aws-bedrock-guardrail.d.ts +2 -2
  3. package/out/exports/resources.generated/aws-bedrock-knowledgebase.d.ts +7 -0
  4. package/out/exports/resources.generated/aws-cassandra-table.d.ts +1 -0
  5. package/out/exports/resources.generated/aws-cloudfront-connectionfunction.d.ts +20 -2
  6. package/out/exports/resources.generated/aws-cloudfront-distribution.d.ts +63 -0
  7. package/out/exports/resources.generated/aws-cloudfront-truststore.d.ts +101 -0
  8. package/out/exports/resources.generated/aws-cloudtrail-eventdatastore.d.ts +1 -1
  9. package/out/exports/resources.generated/aws-cloudtrail-trail.d.ts +8 -5
  10. package/out/exports/resources.generated/aws-cognito-terms.d.ts +33 -2
  11. package/out/exports/resources.generated/aws-customerprofiles-segmentdefinition.d.ts +14 -2
  12. package/out/exports/resources.generated/aws-deadline-fleet.d.ts +12 -16
  13. package/out/exports/resources.generated/aws-deadline-monitor.d.ts +3 -3
  14. package/out/exports/resources.generated/aws-directoryservice-microsoftad.d.ts +2 -2
  15. package/out/exports/resources.generated/aws-directoryservice-simplead.d.ts +2 -2
  16. package/out/exports/resources.generated/aws-ec2-capacityreservation.d.ts +1 -1
  17. package/out/exports/resources.generated/aws-ec2-ipamscope.d.ts +1 -1
  18. package/out/exports/resources.generated/aws-ec2-natgateway.d.ts +31 -0
  19. package/out/exports/resources.generated/aws-ec2-transitgatewaymeteringpolicy.d.ts +8 -5
  20. package/out/exports/resources.generated/aws-ec2-transitgatewaymeteringpolicyentry.d.ts +10 -8
  21. package/out/exports/resources.generated/aws-ec2-volume.d.ts +136 -67
  22. package/out/exports/resources.generated/aws-ec2-vpcencryptioncontrol.d.ts +36 -14
  23. package/out/exports/resources.generated/aws-ec2-vpnconnection.d.ts +7 -0
  24. package/out/exports/resources.generated/aws-ecr-pulltimeupdateexclusion.d.ts +3 -0
  25. package/out/exports/resources.generated/aws-ecr-signingconfiguration.d.ts +16 -5
  26. package/out/exports/resources.generated/aws-ecs-capacityprovider.d.ts +1 -1
  27. package/out/exports/resources.generated/aws-ecs-expressgatewayservice.d.ts +67 -0
  28. package/out/exports/resources.generated/aws-ecs-service.d.ts +2 -0
  29. package/out/exports/resources.generated/aws-eks-capability.d.ts +189 -0
  30. package/out/exports/resources.generated/aws-eks-cluster.d.ts +4 -3
  31. package/out/exports/resources.generated/aws-elasticloadbalancingv2-listener.d.ts +6 -1
  32. package/out/exports/resources.generated/aws-elasticloadbalancingv2-listenerrule.d.ts +5 -0
  33. package/out/exports/resources.generated/aws-elasticloadbalancingv2-loadbalancer.d.ts +3 -0
  34. package/out/exports/resources.generated/aws-elasticloadbalancingv2-targetgroup.d.ts +10 -8
  35. package/out/exports/resources.generated/aws-events-rule.d.ts +1 -1
  36. package/out/exports/resources.generated/aws-fsx-filesystem.d.ts +8 -0
  37. package/out/exports/resources.generated/aws-fsx-storagevirtualmachine.d.ts +8 -0
  38. package/out/exports/resources.generated/aws-gamelift-containergroupdefinition.d.ts +1 -1
  39. package/out/exports/resources.generated/aws-gamelift-fleet.d.ts +3 -3
  40. package/out/exports/resources.generated/aws-glue-connection.d.ts +0 -30
  41. package/out/exports/resources.generated/aws-iam-samlprovider.d.ts +4 -4
  42. package/out/exports/resources.generated/aws-iam-user.d.ts +3 -3
  43. package/out/exports/resources.generated/aws-kinesisvideo-stream.d.ts +8 -3
  44. package/out/exports/resources.generated/aws-lambda-capacityprovider.d.ts +179 -0
  45. package/out/exports/resources.generated/aws-lambda-eventinvokeconfig.d.ts +3 -3
  46. package/out/exports/resources.generated/aws-lambda-eventsourcemapping.d.ts +6 -5
  47. package/out/exports/resources.generated/aws-lambda-function.d.ts +71 -2
  48. package/out/exports/resources.generated/aws-lambda-version.d.ts +23 -0
  49. package/out/exports/resources.generated/aws-organizations-policy.d.ts +5 -1
  50. package/out/exports/resources.generated/aws-pcs-cluster.d.ts +7 -6
  51. package/out/exports/resources.generated/aws-rbin-rule.d.ts +10 -3
  52. package/out/exports/resources.generated/aws-route53-recordset.d.ts +4 -4
  53. package/out/exports/resources.generated/aws-route53-recordsetgroup.d.ts +4 -4
  54. package/out/exports/resources.generated/aws-rtbfabric-outboundexternallink.d.ts +128 -0
  55. package/out/exports/resources.generated/aws-s3-accesspoint.d.ts +1 -1
  56. package/out/exports/resources.generated/aws-s3-bucket.d.ts +19 -2
  57. package/out/exports/resources.generated/aws-s3objectlambda-accesspoint.d.ts +0 -6
  58. package/out/exports/resources.generated/aws-s3objectlambda-accesspointpolicy.d.ts +0 -2
  59. package/out/exports/resources.generated/aws-sagemaker-cluster.d.ts +10 -4
  60. package/out/exports/resources.generated/aws-secretsmanager-rotationschedule.d.ts +3 -3
  61. package/out/exports/resources.generated/aws-secretsmanager-secret.d.ts +1 -0
  62. package/out/exports/resources.generated/aws-securityhub-automationrulev2.d.ts +2 -2
  63. package/out/exports/resources.generated/aws-sso-application.d.ts +2 -2
  64. package/out/exports/resources.generated/aws-transfer-webapp.d.ts +6 -2
  65. package/package.json +1 -1
@@ -156,12 +156,14 @@ export type EncryptionConfiguration = {
156
156
  */
157
157
  export type EncryptionOption = "SSE_S3" | "SSE_KMS" | "CSE_KMS";
158
158
  /**
159
- * The engine configuration for running queries.
159
+ * The engine configuration for the workgroup, which includes the minimum/maximum number of Data Processing Units (DPU) that queries should use when running in provisioned capacity. If not specified, Athena uses default values (Default value for min is 4 and for max is Minimum of 124 and allocated DPUs).
160
+ *
161
+ * To specify DPU values for PC queries the WG containing EngineConfiguration should have the following values: The name of the Classifications should be `athena-query-engine-properties` , with the only allowed properties as `max-dpu-count` and `min-dpu-count` .
160
162
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-engineconfiguration.html}
161
163
  */
162
164
  export type EngineConfiguration = {
163
165
  /**
164
- * Contains additional notebook engine MAP<string, string> parameter mappings in the form of key-value pairs. To specify an Athena notebook that the Jupyter server will download and serve, specify a value for the StartSessionRequest$NotebookVersion field, and then add a key named NotebookId to AdditionalConfigs that has the value of the Athena notebook ID.
166
+ * Contains additional notebook engine `MAP<string, string>` parameter mappings in the form of key-value pairs. To specify an Athena notebook that the Jupyter server will download and serve, specify a value for the `StartSessionRequest$NotebookVersion` field, and then add a key named `NotebookId` to `AdditionalConfigs` that has the value of the Athena notebook ID.
165
167
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-engineconfiguration.html#cfn-athena-workgroup-engineconfiguration-additionalconfigs}
166
168
  */
167
169
  AdditionalConfigs?: Record<string, string> | undefined;
@@ -203,12 +205,12 @@ export type EngineVersion = {
203
205
  SelectedEngineVersion?: string | undefined;
204
206
  };
205
207
  /**
206
- * Configuration settings for managed log persistence.
208
+ * Configuration settings for delivering logs to Amazon S3 buckets.
207
209
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-managedloggingconfiguration.html}
208
210
  */
209
211
  export type ManagedLoggingConfiguration = {
210
212
  /**
211
- * Enables managed log persistence.
213
+ * Enables mamanged log persistence.
212
214
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-managedloggingconfiguration.html#cfn-athena-workgroup-managedloggingconfiguration-enabled}
213
215
  */
214
216
  Enabled?: boolean | undefined;
@@ -251,14 +253,17 @@ export type ManagedStorageEncryptionConfiguration = {
251
253
  */
252
254
  export type MonitoringConfiguration = {
253
255
  /**
256
+ * Configuration settings for delivering logs to Amazon CloudWatch log groups.
254
257
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-monitoringconfiguration.html#cfn-athena-workgroup-monitoringconfiguration-cloudwatchloggingconfiguration}
255
258
  */
256
259
  CloudWatchLoggingConfiguration?: CloudWatchLoggingConfiguration | undefined;
257
260
  /**
261
+ * Configuration settings for managed log persistence.
258
262
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-monitoringconfiguration.html#cfn-athena-workgroup-monitoringconfiguration-managedloggingconfiguration}
259
263
  */
260
264
  ManagedLoggingConfiguration?: ManagedLoggingConfiguration | undefined;
261
265
  /**
266
+ * Configuration settings for delivering logs to Amazon S3 buckets.
262
267
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-monitoringconfiguration.html#cfn-athena-workgroup-monitoringconfiguration-s3loggingconfiguration}
263
268
  */
264
269
  S3LoggingConfiguration?: S3LoggingConfiguration | undefined;
@@ -393,6 +398,7 @@ export type WorkGroupConfiguration = {
393
398
  */
394
399
  EnforceWorkGroupConfiguration?: boolean | undefined;
395
400
  /**
401
+ * The engine configuration for running queries.
396
402
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfiguration.html#cfn-athena-workgroup-workgroupconfiguration-engineconfiguration}
397
403
  */
398
404
  EngineConfiguration?: EngineConfiguration | undefined;
@@ -412,6 +418,7 @@ export type WorkGroupConfiguration = {
412
418
  */
413
419
  ManagedQueryResultsConfiguration?: ManagedQueryResultsConfiguration | undefined;
414
420
  /**
421
+ * Contains the configuration settings for managed log persistence, delivering logs to Amazon S3 buckets, Amazon CloudWatch log groups etc.
415
422
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfiguration.html#cfn-athena-workgroup-workgroupconfiguration-monitoringconfiguration}
416
423
  */
417
424
  MonitoringConfiguration?: MonitoringConfiguration | undefined;
@@ -457,6 +464,7 @@ export type WorkGroupConfigurationUpdates = {
457
464
  */
458
465
  EnforceWorkGroupConfiguration?: boolean | undefined;
459
466
  /**
467
+ * The engine configuration for running queries.
460
468
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfigurationupdates.html#cfn-athena-workgroup-workgroupconfigurationupdates-engineconfiguration}
461
469
  */
462
470
  EngineConfiguration?: EngineConfiguration | undefined;
@@ -466,7 +474,7 @@ export type WorkGroupConfigurationUpdates = {
466
474
  */
467
475
  EngineVersion?: EngineVersion | undefined;
468
476
  /**
469
- * Execution Role ARN required to run Athena Spark Calculations
477
+ * The ARN of the execution role used to access user resources for Spark sessions and Identity Center enabled workgroups. This property applies only to Spark enabled workgroups and Identity Center enabled workgroups.
470
478
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfigurationupdates.html#cfn-athena-workgroup-workgroupconfigurationupdates-executionrole}
471
479
  */
472
480
  ExecutionRole?: string | undefined;
@@ -476,6 +484,7 @@ export type WorkGroupConfigurationUpdates = {
476
484
  */
477
485
  ManagedQueryResultsConfiguration?: ManagedQueryResultsConfiguration | undefined;
478
486
  /**
487
+ * Contains the configuration settings for managed log persistence, delivering logs to Amazon S3 buckets, Amazon CloudWatch log groups etc.
479
488
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfigurationupdates.html#cfn-athena-workgroup-workgroupconfigurationupdates-monitoringconfiguration}
480
489
  */
481
490
  MonitoringConfiguration?: MonitoringConfiguration | undefined;
@@ -114,7 +114,7 @@ export type BedrockGuardrailProps = {
114
114
  */
115
115
  export type BedrockGuardrailAttribs = {
116
116
  /**
117
- * The date and time at which the guardrail was created.
117
+ * Timestamp.
118
118
  * @format date-time
119
119
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-createdat}
120
120
  */
@@ -149,7 +149,7 @@ export type BedrockGuardrailAttribs = {
149
149
  */
150
150
  StatusReasons: string[];
151
151
  /**
152
- * The date and time at which the guardrail was last updated.
152
+ * Timestamp.
153
153
  * @format date-time
154
154
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-updatedat}
155
155
  */
@@ -950,6 +950,7 @@ export type StorageConfiguration = {
950
950
  */
951
951
  RdsConfiguration?: RdsConfiguration | undefined;
952
952
  /**
953
+ * The configuration settings for storing knowledge base data using S3 vectors. This includes vector index information and S3 bucket details for vector storage.
953
954
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-storageconfiguration.html#cfn-bedrock-knowledgebase-storageconfiguration-s3vectorsconfiguration}
954
955
  */
955
956
  S3VectorsConfiguration?: S3VectorsConfiguration | undefined;
@@ -990,6 +991,7 @@ export type StorageConfiguration = {
990
991
  */
991
992
  RdsConfiguration?: RdsConfiguration | undefined;
992
993
  /**
994
+ * The configuration settings for storing knowledge base data using S3 vectors. This includes vector index information and S3 bucket details for vector storage.
993
995
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-storageconfiguration.html#cfn-bedrock-knowledgebase-storageconfiguration-s3vectorsconfiguration}
994
996
  */
995
997
  S3VectorsConfiguration?: S3VectorsConfiguration | undefined;
@@ -1030,6 +1032,7 @@ export type StorageConfiguration = {
1030
1032
  */
1031
1033
  RdsConfiguration: RdsConfiguration;
1032
1034
  /**
1035
+ * The configuration settings for storing knowledge base data using S3 vectors. This includes vector index information and S3 bucket details for vector storage.
1033
1036
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-storageconfiguration.html#cfn-bedrock-knowledgebase-storageconfiguration-s3vectorsconfiguration}
1034
1037
  */
1035
1038
  S3VectorsConfiguration?: S3VectorsConfiguration | undefined;
@@ -1070,6 +1073,7 @@ export type StorageConfiguration = {
1070
1073
  */
1071
1074
  RdsConfiguration?: RdsConfiguration | undefined;
1072
1075
  /**
1076
+ * The configuration settings for storing knowledge base data using S3 vectors. This includes vector index information and S3 bucket details for vector storage.
1073
1077
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-storageconfiguration.html#cfn-bedrock-knowledgebase-storageconfiguration-s3vectorsconfiguration}
1074
1078
  */
1075
1079
  S3VectorsConfiguration?: S3VectorsConfiguration | undefined;
@@ -1110,6 +1114,7 @@ export type StorageConfiguration = {
1110
1114
  */
1111
1115
  RdsConfiguration?: RdsConfiguration | undefined;
1112
1116
  /**
1117
+ * The configuration settings for storing knowledge base data using S3 vectors. This includes vector index information and S3 bucket details for vector storage.
1113
1118
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-storageconfiguration.html#cfn-bedrock-knowledgebase-storageconfiguration-s3vectorsconfiguration}
1114
1119
  */
1115
1120
  S3VectorsConfiguration: S3VectorsConfiguration;
@@ -1150,6 +1155,7 @@ export type StorageConfiguration = {
1150
1155
  */
1151
1156
  RdsConfiguration?: RdsConfiguration | undefined;
1152
1157
  /**
1158
+ * The configuration settings for storing knowledge base data using S3 vectors. This includes vector index information and S3 bucket details for vector storage.
1153
1159
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-storageconfiguration.html#cfn-bedrock-knowledgebase-storageconfiguration-s3vectorsconfiguration}
1154
1160
  */
1155
1161
  S3VectorsConfiguration?: S3VectorsConfiguration | undefined;
@@ -1190,6 +1196,7 @@ export type StorageConfiguration = {
1190
1196
  */
1191
1197
  RdsConfiguration?: RdsConfiguration | undefined;
1192
1198
  /**
1199
+ * The configuration settings for storing knowledge base data using S3 vectors. This includes vector index information and S3 bucket details for vector storage.
1193
1200
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-storageconfiguration.html#cfn-bedrock-knowledgebase-storageconfiguration-s3vectorsconfiguration}
1194
1201
  */
1195
1202
  S3VectorsConfiguration?: S3VectorsConfiguration | undefined;
@@ -117,6 +117,7 @@ export type CassandraTableProps = {
117
117
  */
118
118
  Tags?: Tag[] | undefined;
119
119
  /**
120
+ * Warm throughput configuration for the table
120
121
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html#cfn-cassandra-table-warmthroughput}
121
122
  */
122
123
  WarmThroughput?: WarmThroughput | undefined;
@@ -1,32 +1,37 @@
1
1
  import type { ResourceDefinitionWithAttributes, Tag } from "../main.ts";
2
2
  /**
3
- * Resource Type definition for AWS::CloudFront::ConnectionFunction
3
+ * A connection function.
4
4
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html}
5
5
  */
6
6
  export type CloudFrontConnectionFunction = ResourceDefinitionWithAttributes<"AWS::CloudFront::ConnectionFunction", CloudFrontConnectionFunctionProps, CloudFrontConnectionFunctionAttribs>;
7
7
  /**
8
- * Resource Type definition for AWS::CloudFront::ConnectionFunction
8
+ * A connection function.
9
9
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html}
10
10
  */
11
11
  export type CloudFrontConnectionFunctionProps = {
12
12
  /**
13
+ * A flag that determines whether to automatically publish the function to the `LIVE` stage when it’s created. To automatically publish to the `LIVE` stage, set this property to `true` .
13
14
  * @default false
14
15
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html#cfn-cloudfront-connectionfunction-autopublish}
15
16
  */
16
17
  AutoPublish?: boolean | undefined;
17
18
  /**
19
+ * The code for the connection function.
18
20
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html#cfn-cloudfront-connectionfunction-connectionfunctioncode}
19
21
  */
20
22
  ConnectionFunctionCode: string;
21
23
  /**
24
+ * Contains configuration information about a CloudFront function.
22
25
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html#cfn-cloudfront-connectionfunction-connectionfunctionconfig}
23
26
  */
24
27
  ConnectionFunctionConfig: ConnectionFunctionConfig;
25
28
  /**
29
+ * The connection function name.
26
30
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html#cfn-cloudfront-connectionfunction-name}
27
31
  */
28
32
  Name: string;
29
33
  /**
34
+ * A complex type that contains zero or more `Tag` elements.
30
35
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html#cfn-cloudfront-connectionfunction-tags}
31
36
  */
32
37
  Tags?: Tag[] | undefined;
@@ -36,58 +41,71 @@ export type CloudFrontConnectionFunctionProps = {
36
41
  */
37
42
  export type CloudFrontConnectionFunctionAttribs = {
38
43
  /**
44
+ * The connection function Amazon Resource Name (ARN).
39
45
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html#cfn-cloudfront-connectionfunction-connectionfunctionarn}
40
46
  */
41
47
  ConnectionFunctionArn: string;
42
48
  /**
49
+ * The connection function created time.
43
50
  * @format date-time
44
51
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html#cfn-cloudfront-connectionfunction-createdtime}
45
52
  */
46
53
  CreatedTime: string;
47
54
  /**
55
+ * A complex type that contains `Tag` key and `Tag` value.
48
56
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html#cfn-cloudfront-connectionfunction-etag}
49
57
  */
50
58
  ETag: string;
51
59
  /**
60
+ * The connection function ID.
52
61
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html#cfn-cloudfront-connectionfunction-id}
53
62
  */
54
63
  Id: string;
55
64
  /**
65
+ * The connection function last modified time.
56
66
  * @format date-time
57
67
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html#cfn-cloudfront-connectionfunction-lastmodifiedtime}
58
68
  */
59
69
  LastModifiedTime: string;
60
70
  /**
71
+ * The connection function stage.
61
72
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html#cfn-cloudfront-connectionfunction-stage}
62
73
  */
63
74
  Stage: "DEVELOPMENT" | "LIVE";
64
75
  /**
76
+ * The connection function status.
65
77
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html#cfn-cloudfront-connectionfunction-status}
66
78
  */
67
79
  Status: "UNPUBLISHED" | "DEPLOYED" | "UNASSOCIATED" | "PUBLISHING" | "IN_PROGRESS";
68
80
  };
69
81
  /**
82
+ * Contains configuration information about a CloudFront function.
70
83
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-connectionfunction-connectionfunctionconfig.html}
71
84
  */
72
85
  export type ConnectionFunctionConfig = {
73
86
  /**
87
+ * A comment to describe the function.
74
88
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-connectionfunction-connectionfunctionconfig.html#cfn-cloudfront-connectionfunction-connectionfunctionconfig-comment}
75
89
  */
76
90
  Comment: string;
77
91
  /**
92
+ * The configuration for the key value store associations.
78
93
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-connectionfunction-connectionfunctionconfig.html#cfn-cloudfront-connectionfunction-connectionfunctionconfig-keyvaluestoreassociations}
79
94
  */
80
95
  KeyValueStoreAssociations?: KeyValueStoreAssociation[] | undefined;
81
96
  /**
97
+ * The function's runtime environment version.
82
98
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-connectionfunction-connectionfunctionconfig.html#cfn-cloudfront-connectionfunction-connectionfunctionconfig-runtime}
83
99
  */
84
100
  Runtime: "cloudfront-js-2.0";
85
101
  };
86
102
  /**
103
+ * The key value store association.
87
104
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-connectionfunction-keyvaluestoreassociation.html}
88
105
  */
89
106
  export type KeyValueStoreAssociation = {
90
107
  /**
108
+ * The Amazon Resource Name (ARN) of the key value store association.
91
109
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-connectionfunction-keyvaluestoreassociation.html#cfn-cloudfront-connectionfunction-keyvaluestoreassociation-keyvaluestorearn}
92
110
  */
93
111
  KeyValueStoreARN: string;
@@ -225,6 +225,17 @@ export type CacheBehavior = {
225
225
  */
226
226
  ViewerProtocolPolicy: string;
227
227
  };
228
+ /**
229
+ * A connection function association.
230
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-connectionfunctionassociation.html}
231
+ */
232
+ export type ConnectionFunctionAssociation = {
233
+ /**
234
+ * The association's ID.
235
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-connectionfunctionassociation.html#cfn-cloudfront-distribution-connectionfunctionassociation-id}
236
+ */
237
+ Id: string;
238
+ };
228
239
  /**
229
240
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-connectionmode.html}
230
241
  */
@@ -580,6 +591,11 @@ export type DistributionConfig = {
580
591
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-comment}
581
592
  */
582
593
  Comment?: string | undefined;
594
+ /**
595
+ * The distribution's connection function association.
596
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-connectionfunctionassociation}
597
+ */
598
+ ConnectionFunctionAssociation?: ConnectionFunctionAssociation | undefined;
583
599
  /**
584
600
  * This field specifies whether the connection mode is through a standard distribution (direct) or a multi-tenant distribution with distribution tenants (tenant-only).
585
601
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-connectionmode}
@@ -731,6 +747,11 @@ export type DistributionConfig = {
731
747
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-viewercertificate}
732
748
  */
733
749
  ViewerCertificate?: ViewerCertificate | undefined;
750
+ /**
751
+ * The distribution's viewer mTLS configuration.
752
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-viewermtlsconfig}
753
+ */
754
+ ViewerMtlsConfig?: ViewerMtlsConfig | undefined;
734
755
  /**
735
756
  * > Multi-tenant distributions only support AWS WAF V2 web ACLs.
736
757
  *
@@ -1289,6 +1310,27 @@ export type StatusCodes = {
1289
1310
  */
1290
1311
  Quantity: number;
1291
1312
  };
1313
+ /**
1314
+ * A trust store configuration.
1315
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-truststoreconfig.html}
1316
+ */
1317
+ export type TrustStoreConfig = {
1318
+ /**
1319
+ * The configuration to use to advertise trust store CA names.
1320
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-truststoreconfig.html#cfn-cloudfront-distribution-truststoreconfig-advertisetruststorecanames}
1321
+ */
1322
+ AdvertiseTrustStoreCaNames?: boolean | undefined;
1323
+ /**
1324
+ * The configuration to use to ignore certificate expiration.
1325
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-truststoreconfig.html#cfn-cloudfront-distribution-truststoreconfig-ignorecertificateexpiry}
1326
+ */
1327
+ IgnoreCertificateExpiry?: boolean | undefined;
1328
+ /**
1329
+ * The trust store ID.
1330
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-truststoreconfig.html#cfn-cloudfront-distribution-truststoreconfig-truststoreid}
1331
+ */
1332
+ TrustStoreId: string;
1333
+ };
1292
1334
  /**
1293
1335
  * A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.
1294
1336
  *
@@ -1371,6 +1413,27 @@ export type ViewerCertificate = {
1371
1413
  */
1372
1414
  SslSupportMethod?: string | undefined;
1373
1415
  };
1416
+ /**
1417
+ * A viewer mTLS configuration.
1418
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewermtlsconfig.html}
1419
+ */
1420
+ export type ViewerMtlsConfig = {
1421
+ /**
1422
+ * The viewer mTLS mode.
1423
+ * @default "required"
1424
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewermtlsconfig.html#cfn-cloudfront-distribution-viewermtlsconfig-mode}
1425
+ */
1426
+ Mode?: ViewerMtlsMode | undefined;
1427
+ /**
1428
+ * The trust store configuration associated with the viewer mTLS configuration.
1429
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewermtlsconfig.html#cfn-cloudfront-distribution-viewermtlsconfig-truststoreconfig}
1430
+ */
1431
+ TrustStoreConfig?: TrustStoreConfig | undefined;
1432
+ };
1433
+ /**
1434
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewermtlsmode.html}
1435
+ */
1436
+ export type ViewerMtlsMode = "required" | "optional";
1374
1437
  /**
1375
1438
  * An Amazon CloudFront VPC origin configuration.
1376
1439
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-vpcoriginconfig.html}
@@ -0,0 +1,101 @@
1
+ import type { ResourceDefinitionWithAttributes, Tag } from "../main.ts";
2
+ /**
3
+ * A trust store.
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-truststore.html}
5
+ */
6
+ export type CloudFrontTrustStore = ResourceDefinitionWithAttributes<"AWS::CloudFront::TrustStore", CloudFrontTrustStoreProps, CloudFrontTrustStoreAttribs>;
7
+ /**
8
+ * A trust store.
9
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-truststore.html}
10
+ */
11
+ export type CloudFrontTrustStoreProps = {
12
+ /**
13
+ * A CA certificates bundle source.
14
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-truststore.html#cfn-cloudfront-truststore-cacertificatesbundlesource}
15
+ */
16
+ CaCertificatesBundleSource?: CaCertificatesBundleSource | undefined;
17
+ /**
18
+ * The trust store's name.
19
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-truststore.html#cfn-cloudfront-truststore-name}
20
+ */
21
+ Name: string;
22
+ /**
23
+ * A complex type that contains zero or more `Tag` elements.
24
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-truststore.html#cfn-cloudfront-truststore-tags}
25
+ */
26
+ Tags?: Tag[] | undefined;
27
+ };
28
+ /**
29
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-truststore.html#aws-resource-cloudfront-truststore-return-values}
30
+ */
31
+ export type CloudFrontTrustStoreAttribs = {
32
+ /**
33
+ * The trust store's Amazon Resource Name (ARN).
34
+ * @pattern ^arn:aws:cloudfront::[0-9]{12}:trust-store/[A-Za-z0-9_]+$
35
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-truststore.html#cfn-cloudfront-truststore-arn}
36
+ */
37
+ Arn: string;
38
+ /**
39
+ * The version identifier for the current version of the trust store.
40
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-truststore.html#cfn-cloudfront-truststore-etag}
41
+ */
42
+ ETag: string;
43
+ /**
44
+ * The trust store's ID.
45
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-truststore.html#cfn-cloudfront-truststore-id}
46
+ */
47
+ Id: string;
48
+ /**
49
+ * The trust store's last modified time.
50
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-truststore.html#cfn-cloudfront-truststore-lastmodifiedtime}
51
+ */
52
+ LastModifiedTime: string;
53
+ /**
54
+ * The trust store's number of CA certificates.
55
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-truststore.html#cfn-cloudfront-truststore-numberofcacertificates}
56
+ */
57
+ NumberOfCaCertificates: number;
58
+ /**
59
+ * The trust store's status.
60
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-truststore.html#cfn-cloudfront-truststore-status}
61
+ */
62
+ Status: "PENDING" | "ACTIVE" | "FAILED";
63
+ };
64
+ /**
65
+ * The CA certificates bundle location in Amazon S3.
66
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-truststore-cacertificatesbundles3location.html}
67
+ */
68
+ export type CaCertificatesBundleS3Location = {
69
+ /**
70
+ * The S3 bucket.
71
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-truststore-cacertificatesbundles3location.html#cfn-cloudfront-truststore-cacertificatesbundles3location-bucket}
72
+ */
73
+ Bucket: string;
74
+ /**
75
+ * The location's key.
76
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-truststore-cacertificatesbundles3location.html#cfn-cloudfront-truststore-cacertificatesbundles3location-key}
77
+ */
78
+ Key: string;
79
+ /**
80
+ * The location's Region.
81
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-truststore-cacertificatesbundles3location.html#cfn-cloudfront-truststore-cacertificatesbundles3location-region}
82
+ */
83
+ Region: string;
84
+ /**
85
+ * The location's version.
86
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-truststore-cacertificatesbundles3location.html#cfn-cloudfront-truststore-cacertificatesbundles3location-version}
87
+ */
88
+ Version?: string | undefined;
89
+ };
90
+ /**
91
+ * A CA certificates bundle source.
92
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-truststore-cacertificatesbundlesource.html}
93
+ */
94
+ export type CaCertificatesBundleSource = {
95
+ /**
96
+ * The CA certificates bundle location in Amazon S3.
97
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-truststore-cacertificatesbundlesource.html#cfn-cloudfront-truststore-cacertificatesbundlesource-cacertificatesbundles3location}
98
+ */
99
+ CaCertificatesBundleS3Location: CaCertificatesBundleS3Location;
100
+ };
101
+ //# sourceMappingURL=aws-cloudfront-truststore.d.ts.map
@@ -259,7 +259,7 @@ export type AdvancedFieldSelector = {
259
259
  * - For events outside of AWS , the value must be `ActivityAuditLog` .
260
260
  * - *`eventType`* - For event data stores, this is an optional field available for event data stores to filter management and data events on the event type. For trails, this is an optional field to filter data events on the event type. For information about available event types, see [CloudTrail record contents](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-record-contents.html#ct-event-type) in the *AWS CloudTrail user guide* .
261
261
  * - *`errorCode`* - This field is only used to filter CloudTrail network activity events and is optional. This is the error code to filter on. Currently, the only valid `errorCode` is `VpceAccessDenied` . `errorCode` can only use the `Equals` operator.
262
- * - *`sessionCredentialFromConsole`* - For event data stores, this is an optional field used to filter management and data events based on whether the events originated from an the console session. For trails, this is an optional field used to filter data events. `sessionCredentialFromConsole` can only use the `Equals` and `NotEquals` operators.
262
+ * - *`sessionCredentialFromConsole`* - For event data stores, this is an optional field used to filter management and data events based on whether the events originated from an AWS Management Console session. For trails, this is an optional field used to filter data events. `sessionCredentialFromConsole` can only use the `Equals` and `NotEquals` operators.
263
263
  * - *`resources.type`* - This field is required for CloudTrail data events. `resources.type` can only use the `Equals` operator.
264
264
  *
265
265
  * For a list of available resource types for data events, see [Data events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#logging-data-events) in the *AWS CloudTrail User Guide* .
@@ -260,7 +260,7 @@ export type AdvancedFieldSelector = {
260
260
  * - For events outside of AWS , the value must be `ActivityAuditLog` .
261
261
  * - *`eventType`* - For event data stores, this is an optional field available for event data stores to filter management and data events on the event type. For trails, this is an optional field to filter data events on the event type. For information about available event types, see [CloudTrail record contents](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-record-contents.html#ct-event-type) in the *AWS CloudTrail user guide* .
262
262
  * - *`errorCode`* - This field is only used to filter CloudTrail network activity events and is optional. This is the error code to filter on. Currently, the only valid `errorCode` is `VpceAccessDenied` . `errorCode` can only use the `Equals` operator.
263
- * - *`sessionCredentialFromConsole`* - For event data stores, this is an optional field used to filter management and data events based on whether the events originated from an the console session. For trails, this is an optional field used to filter data events. `sessionCredentialFromConsole` can only use the `Equals` and `NotEquals` operators.
263
+ * - *`sessionCredentialFromConsole`* - For event data stores, this is an optional field used to filter management and data events based on whether the events originated from an AWS Management Console session. For trails, this is an optional field used to filter data events. `sessionCredentialFromConsole` can only use the `Equals` and `NotEquals` operators.
264
264
  * - *`resources.type`* - This field is required for CloudTrail data events. `resources.type` can only use the `Equals` operator.
265
265
  *
266
266
  * For a list of available resource types for data events, see [Data events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#logging-data-events) in the *AWS CloudTrail User Guide* .
@@ -301,17 +301,17 @@ export type AdvancedFieldSelector = {
301
301
  StartsWith?: string[] | undefined;
302
302
  };
303
303
  /**
304
- * Configure to add aggregation rules to aggregate CloudTrail Events.
304
+ * An object that contains configuration settings for aggregating events.
305
305
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-aggregationconfiguration.html}
306
306
  */
307
307
  export type AggregationConfiguration = {
308
308
  /**
309
- * The category of events to be aggregated.
309
+ * Specifies the event category for which aggregation should be performed.
310
310
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-aggregationconfiguration.html#cfn-cloudtrail-trail-aggregationconfiguration-eventcategory}
311
311
  */
312
312
  EventCategory: "Data";
313
313
  /**
314
- * Contains all templates in an aggregation configuration.
314
+ * A list of aggregation templates that can be used to configure event aggregation.
315
315
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-aggregationconfiguration.html#cfn-cloudtrail-trail-aggregationconfiguration-templates}
316
316
  */
317
317
  Templates: Template[];
@@ -422,7 +422,10 @@ export type EventSelector = {
422
422
  */
423
423
  export type InsightSelector = {
424
424
  /**
425
- * The categories of events for which to log insights. By default, insights are logged for management events only.
425
+ * Select the event category on which Insights should be enabled.
426
+ *
427
+ * - If EventCategories is not provided, the specified Insights types are enabled on management API calls by default.
428
+ * - If EventCategories is provided, the given event categories will overwrite the existing ones. For example, if a trail already has Insights enabled on management events, and then a PutInsightSelectors request is made with only data events specified in EventCategories, Insights on management events will be disabled.
426
429
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-insightselector.html#cfn-cloudtrail-trail-insightselector-eventcategories}
427
430
  */
428
431
  EventCategories?: SourceEventCategory[] | undefined;
@@ -1,35 +1,65 @@
1
1
  import type { ResourceDefinitionWithAttributes } from "../main.ts";
2
2
  /**
3
- * Resource Type definition for AWS::Cognito::Terms
3
+ * Creates terms documents for the requested app client. When Terms and conditions and Privacy policy documents are configured, the app client displays links to them in the sign-up page of managed login for the app client.
4
+ *
5
+ * You can provide URLs for terms documents in the languages that are supported by [managed login localization](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-managed-login.html#managed-login-localization) . Amazon Cognito directs users to the terms documents for their current language, with fallback to `default` if no document exists for the language.
6
+ *
7
+ * Each request accepts one type of terms document and a map of language-to-link for that document type. You must provide both types of terms documents in at least one language before Amazon Cognito displays your terms documents. Supply each type in separate requests.
8
+ *
9
+ * For more information, see [Terms documents](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-managed-login.html#managed-login-terms-documents) .
10
+ *
11
+ * > Amazon Cognito evaluates AWS Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
12
+ * >
13
+ * > **Learn more** - [Signing AWS API Requests](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-signing.html)
14
+ * > - [Using the Amazon Cognito user pools API and user pool endpoints](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html)
4
15
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-terms.html}
5
16
  */
6
17
  export type CognitoTerms = ResourceDefinitionWithAttributes<"AWS::Cognito::Terms", CognitoTermsProps, CognitoTermsAttribs>;
7
18
  /**
8
- * Resource Type definition for AWS::Cognito::Terms
19
+ * Creates terms documents for the requested app client. When Terms and conditions and Privacy policy documents are configured, the app client displays links to them in the sign-up page of managed login for the app client.
20
+ *
21
+ * You can provide URLs for terms documents in the languages that are supported by [managed login localization](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-managed-login.html#managed-login-localization) . Amazon Cognito directs users to the terms documents for their current language, with fallback to `default` if no document exists for the language.
22
+ *
23
+ * Each request accepts one type of terms document and a map of language-to-link for that document type. You must provide both types of terms documents in at least one language before Amazon Cognito displays your terms documents. Supply each type in separate requests.
24
+ *
25
+ * For more information, see [Terms documents](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-managed-login.html#managed-login-terms-documents) .
26
+ *
27
+ * > Amazon Cognito evaluates AWS Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
28
+ * >
29
+ * > **Learn more** - [Signing AWS API Requests](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-signing.html)
30
+ * > - [Using the Amazon Cognito user pools API and user pool endpoints](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html)
9
31
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-terms.html}
10
32
  */
11
33
  export type CognitoTermsProps = {
12
34
  /**
35
+ * The ID of the app client that the terms documents are assigned to.
13
36
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-terms.html#cfn-cognito-terms-clientid}
14
37
  */
15
38
  ClientId?: string | undefined;
16
39
  /**
40
+ * This parameter is reserved for future use and currently accepts one value.
17
41
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-terms.html#cfn-cognito-terms-enforcement}
18
42
  */
19
43
  Enforcement: TermsEnforcementType;
20
44
  /**
45
+ * A map of URLs to languages. For each localized language that will view the requested `TermsName` , assign a URL. A selection of `cognito:default` displays for all languages that don't have a language-specific URL.
46
+ *
47
+ * For example, `"cognito:default": "https://terms.example.com", "cognito:spanish": "https://terms.example.com/es"` .
21
48
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-terms.html#cfn-cognito-terms-links}
22
49
  */
23
50
  Links: Record<string, string>;
24
51
  /**
52
+ * The type and friendly name of the terms documents.
25
53
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-terms.html#cfn-cognito-terms-termsname}
26
54
  */
27
55
  TermsName: string;
28
56
  /**
57
+ * This parameter is reserved for future use and currently accepts one value.
29
58
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-terms.html#cfn-cognito-terms-termssource}
30
59
  */
31
60
  TermsSource: TermsSourceType;
32
61
  /**
62
+ * The ID of the user pool that contains the terms documents.
33
63
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-terms.html#cfn-cognito-terms-userpoolid}
34
64
  */
35
65
  UserPoolId: string;
@@ -39,6 +69,7 @@ export type CognitoTermsProps = {
39
69
  */
40
70
  export type CognitoTermsAttribs = {
41
71
  /**
72
+ * The ID of the terms documents.
42
73
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-terms.html#cfn-cognito-terms-termsid}
43
74
  */
44
75
  TermsId: string;