cloudstructs 0.1.41 → 0.2.2

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 (179) hide show
  1. package/.gitattributes +19 -19
  2. package/.jsii +2754 -1559
  3. package/API.md +77 -77
  4. package/README.md +2 -3
  5. package/lib/codecommit-mirror/index.d.ts +6 -6
  6. package/lib/codecommit-mirror/index.js +13 -12
  7. package/lib/ecs-service-roller/index.d.ts +5 -5
  8. package/lib/ecs-service-roller/index.js +10 -9
  9. package/lib/email-receiver/receiver.d.ts +5 -5
  10. package/lib/email-receiver/receiver.js +15 -14
  11. package/lib/saml-identity-provider/index.d.ts +18 -18
  12. package/lib/saml-identity-provider/index.js +16 -15
  13. package/lib/slack-events/index.d.ts +5 -4
  14. package/lib/slack-events/index.js +13 -14
  15. package/lib/slack-textract/index.d.ts +6 -5
  16. package/lib/slack-textract/index.js +12 -11
  17. package/lib/state-machine-cr-provider/index.d.ts +2 -1
  18. package/lib/state-machine-cr-provider/index.js +14 -13
  19. package/lib/static-website/index.d.ts +6 -6
  20. package/lib/static-website/index.js +16 -15
  21. package/lib/url-shortener/index.d.ts +8 -7
  22. package/lib/url-shortener/index.js +19 -18
  23. package/node_modules/@slack/logger/node_modules/@types/node/README.md +2 -2
  24. package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +1 -1
  25. package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +19 -16
  26. package/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +5 -0
  27. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +51 -3
  28. package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +8 -8
  29. package/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +6 -0
  30. package/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +11 -0
  31. package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +11 -0
  32. package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +90 -3
  33. package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +92 -39
  34. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +17 -6
  35. package/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +2 -3
  36. package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +7 -0
  37. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +2 -2
  38. package/node_modules/@slack/logger/node_modules/@types/node/package.json +8 -13
  39. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +5 -1
  40. package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +1 -0
  41. package/node_modules/@slack/logger/node_modules/@types/node/stream/web.d.ts +385 -0
  42. package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +26 -6
  43. package/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +1 -3
  44. package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +24 -1
  45. package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +31 -0
  46. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +2 -2
  47. package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +1 -1
  48. package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +19 -16
  49. package/node_modules/@slack/web-api/node_modules/@types/node/console.d.ts +5 -0
  50. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +51 -3
  51. package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +8 -8
  52. package/node_modules/@slack/web-api/node_modules/@types/node/diagnostics_channel.d.ts +6 -0
  53. package/node_modules/@slack/web-api/node_modules/@types/node/dns/promises.d.ts +11 -0
  54. package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +11 -0
  55. package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +90 -3
  56. package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +92 -39
  57. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +17 -6
  58. package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +2 -3
  59. package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +7 -0
  60. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +2 -2
  61. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +8 -13
  62. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +5 -1
  63. package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +1 -0
  64. package/node_modules/@slack/web-api/node_modules/@types/node/stream/web.d.ts +385 -0
  65. package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +26 -6
  66. package/node_modules/@slack/web-api/node_modules/@types/node/tty.d.ts +1 -3
  67. package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +24 -1
  68. package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +31 -0
  69. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +2 -2
  70. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +1 -1
  71. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +19 -16
  72. package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +5 -0
  73. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +51 -3
  74. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +8 -8
  75. package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +6 -0
  76. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +11 -0
  77. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +11 -0
  78. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +90 -3
  79. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +92 -39
  80. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +17 -6
  81. package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +2 -3
  82. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +7 -0
  83. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +2 -2
  84. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +8 -13
  85. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +5 -1
  86. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +1 -0
  87. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +385 -0
  88. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +26 -6
  89. package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +1 -3
  90. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +24 -1
  91. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +31 -0
  92. package/node_modules/@types/is-stream/node_modules/@types/node/README.md +2 -2
  93. package/node_modules/@types/is-stream/node_modules/@types/node/buffer.d.ts +1 -1
  94. package/node_modules/@types/is-stream/node_modules/@types/node/child_process.d.ts +19 -16
  95. package/node_modules/@types/is-stream/node_modules/@types/node/console.d.ts +5 -0
  96. package/node_modules/@types/is-stream/node_modules/@types/node/crypto.d.ts +51 -3
  97. package/node_modules/@types/is-stream/node_modules/@types/node/dgram.d.ts +8 -8
  98. package/node_modules/@types/is-stream/node_modules/@types/node/diagnostics_channel.d.ts +6 -0
  99. package/node_modules/@types/is-stream/node_modules/@types/node/dns/promises.d.ts +11 -0
  100. package/node_modules/@types/is-stream/node_modules/@types/node/dns.d.ts +11 -0
  101. package/node_modules/@types/is-stream/node_modules/@types/node/fs/promises.d.ts +90 -3
  102. package/node_modules/@types/is-stream/node_modules/@types/node/fs.d.ts +92 -39
  103. package/node_modules/@types/is-stream/node_modules/@types/node/http.d.ts +17 -6
  104. package/node_modules/@types/is-stream/node_modules/@types/node/index.d.ts +2 -3
  105. package/node_modules/@types/is-stream/node_modules/@types/node/inspector.d.ts +7 -0
  106. package/node_modules/@types/is-stream/node_modules/@types/node/net.d.ts +2 -2
  107. package/node_modules/@types/is-stream/node_modules/@types/node/package.json +8 -13
  108. package/node_modules/@types/is-stream/node_modules/@types/node/process.d.ts +5 -1
  109. package/node_modules/@types/is-stream/node_modules/@types/node/readline.d.ts +1 -0
  110. package/node_modules/@types/is-stream/node_modules/@types/node/stream/web.d.ts +385 -0
  111. package/node_modules/@types/is-stream/node_modules/@types/node/stream.d.ts +26 -6
  112. package/node_modules/@types/is-stream/node_modules/@types/node/tty.d.ts +1 -3
  113. package/node_modules/@types/is-stream/node_modules/@types/node/url.d.ts +24 -1
  114. package/node_modules/@types/is-stream/node_modules/@types/node/util.d.ts +31 -0
  115. package/node_modules/@types/keyv/node_modules/@types/node/README.md +2 -2
  116. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +1 -1
  117. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +19 -16
  118. package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +5 -0
  119. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +51 -3
  120. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +8 -8
  121. package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +6 -0
  122. package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +11 -0
  123. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +11 -0
  124. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +90 -3
  125. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +92 -39
  126. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +17 -6
  127. package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +2 -3
  128. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +7 -0
  129. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +2 -2
  130. package/node_modules/@types/keyv/node_modules/@types/node/package.json +8 -13
  131. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +5 -1
  132. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +1 -0
  133. package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +385 -0
  134. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +26 -6
  135. package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +1 -3
  136. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +24 -1
  137. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +31 -0
  138. package/node_modules/@types/responselike/node_modules/@types/node/README.md +2 -2
  139. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +1 -1
  140. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +19 -16
  141. package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +5 -0
  142. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +51 -3
  143. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +8 -8
  144. package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +6 -0
  145. package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +11 -0
  146. package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +11 -0
  147. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +90 -3
  148. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +92 -39
  149. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +17 -6
  150. package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +2 -3
  151. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +7 -0
  152. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +2 -2
  153. package/node_modules/@types/responselike/node_modules/@types/node/package.json +8 -13
  154. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +5 -1
  155. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +1 -0
  156. package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +385 -0
  157. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +26 -6
  158. package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +1 -3
  159. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +24 -1
  160. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +31 -0
  161. package/node_modules/follow-redirects/index.js +45 -14
  162. package/node_modules/follow-redirects/package.json +1 -1
  163. package/node_modules/got/dist/source/as-promise/parse-body.d.ts +1 -1
  164. package/node_modules/got/dist/source/as-promise/types.js +2 -0
  165. package/node_modules/got/dist/source/core/index.d.ts +1 -1
  166. package/node_modules/got/dist/source/core/index.js +9 -3
  167. package/node_modules/got/dist/source/types.d.ts +14 -12
  168. package/node_modules/got/package.json +2 -2
  169. package/node_modules/got/readme.md +11 -10
  170. package/node_modules/keyv/LICENSE +1 -1
  171. package/node_modules/keyv/README.md +12 -10
  172. package/node_modules/keyv/package.json +17 -12
  173. package/node_modules/keyv/src/index.js +14 -16
  174. package/node_modules/mime-db/HISTORY.md +13 -0
  175. package/node_modules/mime-db/db.json +54 -0
  176. package/node_modules/mime-db/package.json +7 -7
  177. package/node_modules/mime-types/HISTORY.md +13 -3
  178. package/node_modules/mime-types/package.json +7 -7
  179. package/package.json +29 -80
package/API.md CHANGED
@@ -45,8 +45,8 @@ Name|Description
45
45
 
46
46
  Mirror a repository to AWS CodeCommit on schedule.
47
47
 
48
- __Implements__: [IConstruct](#constructs-iconstruct), [IConstruct](#aws-cdk-core-iconstruct), [IConstruct](#constructs-iconstruct), [IDependable](#aws-cdk-core-idependable)
49
- __Extends__: [Construct](#aws-cdk-core-construct)
48
+ __Implements__: [IConstruct](#constructs-iconstruct), [IDependable](#constructs-idependable)
49
+ __Extends__: [Construct](#constructs-construct)
50
50
 
51
51
  ### Initializer
52
52
 
@@ -57,13 +57,13 @@ __Extends__: [Construct](#aws-cdk-core-construct)
57
57
  new CodeCommitMirror(scope: Construct, id: string, props: CodeCommitMirrorProps)
58
58
  ```
59
59
 
60
- * **scope** (<code>[Construct](#aws-cdk-core-construct)</code>) *No description*
60
+ * **scope** (<code>[Construct](#constructs-construct)</code>) *No description*
61
61
  * **id** (<code>string</code>) *No description*
62
62
  * **props** (<code>[CodeCommitMirrorProps](#cloudstructs-codecommitmirrorprops)</code>) *No description*
63
- * **cluster** (<code>[ICluster](#aws-cdk-aws-ecs-icluster)</code>) The ECS cluster where to run the mirroring operation.
63
+ * **cluster** (<code>[aws_ecs.ICluster](#aws-cdk-lib-aws-ecs-icluster)</code>) The ECS cluster where to run the mirroring operation.
64
64
  * **repository** (<code>[CodeCommitMirrorSourceRepository](#cloudstructs-codecommitmirrorsourcerepository)</code>) The source repository.
65
- * **schedule** (<code>[Schedule](#aws-cdk-aws-events-schedule)</code>) The schedule for the mirroring operation. __*Default*__: everyday at midnight
66
- * **subnetSelection** (<code>[SubnetSelection](#aws-cdk-aws-ec2-subnetselection)</code>) Where to run the mirroring Fargate tasks. __*Default*__: public subnets
65
+ * **schedule** (<code>[aws_events.Schedule](#aws-cdk-lib-aws-events-schedule)</code>) The schedule for the mirroring operation. __*Default*__: everyday at midnight
66
+ * **subnetSelection** (<code>[aws_ec2.SubnetSelection](#aws-cdk-lib-aws-ec2-subnetselection)</code>) Where to run the mirroring Fargate tasks. __*Default*__: public subnets
67
67
 
68
68
 
69
69
 
@@ -92,7 +92,7 @@ Name | Type | Description
92
92
  -----|------|-------------
93
93
  **name** | <code>string</code> | The name of the repository.
94
94
  **plainTextUrl**? | <code>string</code> | The HTTPS clone URL in plain text, used for a public repository.<br/>__*Optional*__
95
- **secretUrl**? | <code>[Secret](#aws-cdk-aws-ecs-secret)</code> | The HTTPS clone URL if the repository is private.<br/>__*Optional*__
95
+ **secretUrl**? | <code>[aws_ecs.Secret](#aws-cdk-lib-aws-ecs-secret)</code> | The HTTPS clone URL if the repository is private.<br/>__*Optional*__
96
96
 
97
97
  ### Methods
98
98
 
@@ -120,7 +120,7 @@ static private(name: string, url: Secret): CodeCommitMirrorSourceRepository
120
120
  ```
121
121
 
122
122
  * **name** (<code>string</code>) the repository name.
123
- * **url** (<code>[Secret](#aws-cdk-aws-ecs-secret)</code>) the secret containing the HTTPS clone URL.
123
+ * **url** (<code>[aws_ecs.Secret](#aws-cdk-lib-aws-ecs-secret)</code>) the secret containing the HTTPS clone URL.
124
124
 
125
125
  __Returns__:
126
126
  * <code>[CodeCommitMirrorSourceRepository](#cloudstructs-codecommitmirrorsourcerepository)</code>
@@ -131,8 +131,8 @@ __Returns__:
131
131
 
132
132
  Roll your ECS service tasks on schedule or with a rule.
133
133
 
134
- __Implements__: [IConstruct](#constructs-iconstruct), [IConstruct](#aws-cdk-core-iconstruct), [IConstruct](#constructs-iconstruct), [IDependable](#aws-cdk-core-idependable)
135
- __Extends__: [Construct](#aws-cdk-core-construct)
134
+ __Implements__: [IConstruct](#constructs-iconstruct), [IDependable](#constructs-idependable)
135
+ __Extends__: [Construct](#constructs-construct)
136
136
 
137
137
  ### Initializer
138
138
 
@@ -143,11 +143,11 @@ __Extends__: [Construct](#aws-cdk-core-construct)
143
143
  new EcsServiceRoller(scope: Construct, id: string, props: EcsServiceRollerProps)
144
144
  ```
145
145
 
146
- * **scope** (<code>[Construct](#aws-cdk-core-construct)</code>) *No description*
146
+ * **scope** (<code>[Construct](#constructs-construct)</code>) *No description*
147
147
  * **id** (<code>string</code>) *No description*
148
148
  * **props** (<code>[EcsServiceRollerProps](#cloudstructs-ecsservicerollerprops)</code>) *No description*
149
- * **cluster** (<code>[ICluster](#aws-cdk-aws-ecs-icluster)</code>) The ECS cluster where the services run.
150
- * **service** (<code>[IService](#aws-cdk-aws-ecs-iservice)</code>) The ECS service for which tasks should be rolled.
149
+ * **cluster** (<code>[aws_ecs.ICluster](#aws-cdk-lib-aws-ecs-icluster)</code>) The ECS cluster where the services run.
150
+ * **service** (<code>[aws_ecs.IService](#aws-cdk-lib-aws-ecs-iservice)</code>) The ECS service for which tasks should be rolled.
151
151
  * **trigger** (<code>[RollTrigger](#cloudstructs-rolltrigger)</code>) The rule or schedule that should trigger a roll. __*Default*__: roll everyday at midnight
152
152
 
153
153
 
@@ -157,8 +157,8 @@ new EcsServiceRoller(scope: Construct, id: string, props: EcsServiceRollerProps)
157
157
 
158
158
  Receive emails through SES, save them to S3 and invokes a Lambda function.
159
159
 
160
- __Implements__: [IConstruct](#constructs-iconstruct), [IConstruct](#aws-cdk-core-iconstruct), [IConstruct](#constructs-iconstruct), [IDependable](#aws-cdk-core-idependable)
161
- __Extends__: [Construct](#aws-cdk-core-construct)
160
+ __Implements__: [IConstruct](#constructs-iconstruct), [IDependable](#constructs-idependable)
161
+ __Extends__: [Construct](#constructs-construct)
162
162
 
163
163
  ### Initializer
164
164
 
@@ -169,13 +169,13 @@ __Extends__: [Construct](#aws-cdk-core-construct)
169
169
  new EmailReceiver(scope: Construct, id: string, props: EmailReceiverProps)
170
170
  ```
171
171
 
172
- * **scope** (<code>[Construct](#aws-cdk-core-construct)</code>) *No description*
172
+ * **scope** (<code>[Construct](#constructs-construct)</code>) *No description*
173
173
  * **id** (<code>string</code>) *No description*
174
174
  * **props** (<code>[EmailReceiverProps](#cloudstructs-emailreceiverprops)</code>) *No description*
175
- * **function** (<code>[IFunction](#aws-cdk-aws-lambda-ifunction)</code>) A Lambda function to invoke after the message is saved to S3.
176
- * **receiptRuleSet** (<code>[IReceiptRuleSet](#aws-cdk-aws-ses-ireceiptruleset)</code>) The SES receipt rule set where a receipt rule will be added.
175
+ * **function** (<code>[aws_lambda.IFunction](#aws-cdk-lib-aws-lambda-ifunction)</code>) A Lambda function to invoke after the message is saved to S3.
176
+ * **receiptRuleSet** (<code>[aws_ses.IReceiptRuleSet](#aws-cdk-lib-aws-ses-ireceiptruleset)</code>) The SES receipt rule set where a receipt rule will be added.
177
177
  * **recipients** (<code>Array<string></code>) The recipients for which emails should be received.
178
- * **afterRule** (<code>[IReceiptRule](#aws-cdk-aws-ses-ireceiptrule)</code>) An existing rule after which the new rule will be placed in the rule set. __*Default*__: The new rule is inserted at the beginning of the rule list.
178
+ * **afterRule** (<code>[aws_ses.IReceiptRule](#aws-cdk-lib-aws-ses-ireceiptrule)</code>) An existing rule after which the new rule will be placed in the rule set. __*Default*__: The new rule is inserted at the beginning of the rule list.
179
179
  * **sourceWhitelist** (<code>string</code>) A regular expression to whitelist source email addresses. __*Default*__: no whitelisting of source email addresses
180
180
 
181
181
 
@@ -203,8 +203,8 @@ new RollTrigger()
203
203
 
204
204
  Name | Type | Description
205
205
  -----|------|-------------
206
- **rule**? | <code>[Rule](#aws-cdk-aws-events-rule)</code> | Roll rule.<br/>__*Default*__: roll everyday at midnight
207
- **schedule**? | <code>[Schedule](#aws-cdk-aws-events-schedule)</code> | Roll schedule.<br/>__*Default*__: roll everyday at midnight
206
+ **rule**? | <code>[aws_events.Rule](#aws-cdk-lib-aws-events-rule)</code> | Roll rule.<br/>__*Default*__: roll everyday at midnight
207
+ **schedule**? | <code>[aws_events.Schedule](#aws-cdk-lib-aws-events-schedule)</code> | Roll schedule.<br/>__*Default*__: roll everyday at midnight
208
208
 
209
209
  ### Methods
210
210
 
@@ -217,7 +217,7 @@ Rule that should trigger a roll.
217
217
  static fromRule(rule: Rule): RollTrigger
218
218
  ```
219
219
 
220
- * **rule** (<code>[Rule](#aws-cdk-aws-events-rule)</code>) *No description*
220
+ * **rule** (<code>[aws_events.Rule](#aws-cdk-lib-aws-events-rule)</code>) *No description*
221
221
 
222
222
  __Returns__:
223
223
  * <code>[RollTrigger](#cloudstructs-rolltrigger)</code>
@@ -230,19 +230,19 @@ Schedule that should trigger a roll.
230
230
  static fromSchedule(schedule: Schedule): RollTrigger
231
231
  ```
232
232
 
233
- * **schedule** (<code>[Schedule](#aws-cdk-aws-events-schedule)</code>) *No description*
233
+ * **schedule** (<code>[aws_events.Schedule](#aws-cdk-lib-aws-events-schedule)</code>) *No description*
234
234
 
235
235
  __Returns__:
236
236
  * <code>[RollTrigger](#cloudstructs-rolltrigger)</code>
237
237
 
238
238
 
239
239
 
240
- ## class SamlFederatedPrincipal <a id="cloudstructs-samlfederatedprincipal"></a>
240
+ ## class SamlFederatedPrincipal ⚠️ <a id="cloudstructs-samlfederatedprincipal"></a>
241
241
 
242
242
  Principal entity that represents a SAML federated identity provider.
243
243
 
244
- __Implements__: [IPrincipal](#aws-cdk-aws-iam-iprincipal), [IGrantable](#aws-cdk-aws-iam-igrantable)
245
- __Extends__: [FederatedPrincipal](#aws-cdk-aws-iam-federatedprincipal)
244
+ __Implements__: [aws_iam.IPrincipal](#aws-cdk-lib-aws-iam-iprincipal), [aws_iam.IGrantable](#aws-cdk-lib-aws-iam-igrantable)
245
+ __Extends__: [aws_iam.FederatedPrincipal](#aws-cdk-lib-aws-iam-federatedprincipal)
246
246
 
247
247
  ### Initializer
248
248
 
@@ -258,12 +258,12 @@ new SamlFederatedPrincipal(identityProvider: SamlIdentityProvider)
258
258
 
259
259
 
260
260
 
261
- ## class SamlIdentityProvider <a id="cloudstructs-samlidentityprovider"></a>
261
+ ## class SamlIdentityProvider ⚠️ <a id="cloudstructs-samlidentityprovider"></a>
262
262
 
263
263
  Create a SAML identity provider.
264
264
 
265
- __Implements__: [IConstruct](#constructs-iconstruct), [IConstruct](#aws-cdk-core-iconstruct), [IConstruct](#constructs-iconstruct), [IDependable](#aws-cdk-core-idependable)
266
- __Extends__: [Construct](#aws-cdk-core-construct)
265
+ __Implements__: [IConstruct](#constructs-iconstruct), [IDependable](#constructs-idependable)
266
+ __Extends__: [Construct](#constructs-construct)
267
267
 
268
268
  ### Initializer
269
269
 
@@ -274,7 +274,7 @@ __Extends__: [Construct](#aws-cdk-core-construct)
274
274
  new SamlIdentityProvider(scope: Construct, id: string, props: SamlIdentityProviderProps)
275
275
  ```
276
276
 
277
- * **scope** (<code>[Construct](#aws-cdk-core-construct)</code>) *No description*
277
+ * **scope** (<code>[Construct](#constructs-construct)</code>) *No description*
278
278
  * **id** (<code>string</code>) *No description*
279
279
  * **props** (<code>[SamlIdentityProviderProps](#cloudstructs-samlidentityproviderprops)</code>) *No description*
280
280
  * **metadataDocument** (<code>string</code>) An XML document generated by an identity provider (IdP) that supports SAML 2.0.
@@ -287,7 +287,7 @@ new SamlIdentityProvider(scope: Construct, id: string, props: SamlIdentityProvid
287
287
 
288
288
  Name | Type | Description
289
289
  -----|------|-------------
290
- **samlIdentityProviderArn** | <code>string</code> | The ARN of the SAML identity provider.
290
+ **samlIdentityProviderArn**⚠️ | <code>string</code> | The ARN of the SAML identity provider.
291
291
 
292
292
 
293
293
 
@@ -295,8 +295,8 @@ Name | Type | Description
295
295
 
296
296
  Send Slack events to Amazon EventBridge.
297
297
 
298
- __Implements__: [IConstruct](#constructs-iconstruct), [IConstruct](#aws-cdk-core-iconstruct), [IConstruct](#constructs-iconstruct), [IDependable](#aws-cdk-core-idependable)
299
- __Extends__: [Construct](#aws-cdk-core-construct)
298
+ __Implements__: [IConstruct](#constructs-iconstruct), [IDependable](#constructs-idependable)
299
+ __Extends__: [Construct](#constructs-construct)
300
300
 
301
301
  ### Initializer
302
302
 
@@ -307,10 +307,10 @@ __Extends__: [Construct](#aws-cdk-core-construct)
307
307
  new SlackEvents(scope: Construct, id: string, props: SlackEventsProps)
308
308
  ```
309
309
 
310
- * **scope** (<code>[Construct](#aws-cdk-core-construct)</code>) *No description*
310
+ * **scope** (<code>[Construct](#constructs-construct)</code>) *No description*
311
311
  * **id** (<code>string</code>) *No description*
312
312
  * **props** (<code>[SlackEventsProps](#cloudstructs-slackeventsprops)</code>) *No description*
313
- * **signingSecret** (<code>[SecretValue](#aws-cdk-core-secretvalue)</code>) The signing secret of the Slack app.
313
+ * **signingSecret** (<code>[SecretValue](#aws-cdk-lib-secretvalue)</code>) The signing secret of the Slack app.
314
314
  * **apiName** (<code>string</code>) A name for the API Gateway resource. __*Default*__: SlackEventsApi
315
315
  * **customEventBus** (<code>boolean</code>) Whether to use a custom event bus. __*Default*__: false
316
316
 
@@ -321,7 +321,7 @@ new SlackEvents(scope: Construct, id: string, props: SlackEventsProps)
321
321
 
322
322
  Name | Type | Description
323
323
  -----|------|-------------
324
- **eventBus**? | <code>[EventBus](#aws-cdk-aws-events-eventbus)</code> | The custom event bus where Slack events are sent.<br/>__*Optional*__
324
+ **eventBus**? | <code>[aws_events.EventBus](#aws-cdk-lib-aws-events-eventbus)</code> | The custom event bus where Slack events are sent.<br/>__*Optional*__
325
325
 
326
326
 
327
327
 
@@ -329,8 +329,8 @@ Name | Type | Description
329
329
 
330
330
  Extract text from images posted to Slack using Amazon Textract.
331
331
 
332
- __Implements__: [IConstruct](#constructs-iconstruct), [IConstruct](#aws-cdk-core-iconstruct), [IConstruct](#constructs-iconstruct), [IDependable](#aws-cdk-core-idependable)
333
- __Extends__: [Construct](#aws-cdk-core-construct)
332
+ __Implements__: [IConstruct](#constructs-iconstruct), [IDependable](#constructs-idependable)
333
+ __Extends__: [Construct](#constructs-construct)
334
334
 
335
335
  ### Initializer
336
336
 
@@ -341,12 +341,12 @@ __Extends__: [Construct](#aws-cdk-core-construct)
341
341
  new SlackTextract(scope: Construct, id: string, props: SlackTextractProps)
342
342
  ```
343
343
 
344
- * **scope** (<code>[Construct](#aws-cdk-core-construct)</code>) *No description*
344
+ * **scope** (<code>[Construct](#constructs-construct)</code>) *No description*
345
345
  * **id** (<code>string</code>) *No description*
346
346
  * **props** (<code>[SlackTextractProps](#cloudstructs-slacktextractprops)</code>) *No description*
347
347
  * **appId** (<code>string</code>) The application id of the Slack app.
348
- * **botToken** (<code>[SecretValue](#aws-cdk-core-secretvalue)</code>) The **bot** token of the Slack app.
349
- * **signingSecret** (<code>[SecretValue](#aws-cdk-core-secretvalue)</code>) The signing secret of the Slack app.
348
+ * **botToken** (<code>[SecretValue](#aws-cdk-lib-secretvalue)</code>) The **bot** token of the Slack app.
349
+ * **signingSecret** (<code>[SecretValue](#aws-cdk-lib-secretvalue)</code>) The signing secret of the Slack app.
350
350
 
351
351
 
352
352
 
@@ -355,8 +355,8 @@ new SlackTextract(scope: Construct, id: string, props: SlackTextractProps)
355
355
 
356
356
  A state machine custom resource provider.
357
357
 
358
- __Implements__: [IConstruct](#constructs-iconstruct), [IConstruct](#aws-cdk-core-iconstruct), [IConstruct](#constructs-iconstruct), [IDependable](#aws-cdk-core-idependable)
359
- __Extends__: [Construct](#aws-cdk-core-construct)
358
+ __Implements__: [IConstruct](#constructs-iconstruct), [IDependable](#constructs-idependable)
359
+ __Extends__: [Construct](#constructs-construct)
360
360
 
361
361
  ### Initializer
362
362
 
@@ -367,11 +367,11 @@ __Extends__: [Construct](#aws-cdk-core-construct)
367
367
  new StateMachineCustomResourceProvider(scope: Construct, id: string, props: StateMachineCustomResourceProviderProps)
368
368
  ```
369
369
 
370
- * **scope** (<code>[Construct](#aws-cdk-core-construct)</code>) *No description*
370
+ * **scope** (<code>[Construct](#constructs-construct)</code>) *No description*
371
371
  * **id** (<code>string</code>) *No description*
372
372
  * **props** (<code>[StateMachineCustomResourceProviderProps](#cloudstructs-statemachinecustomresourceproviderprops)</code>) *No description*
373
373
  * **stateMachine** (<code>[IStateMachine](#cloudstructs-istatemachine)</code>) The state machine.
374
- * **timeout** (<code>[Duration](#aws-cdk-core-duration)</code>) Timeout. __*Default*__: Duration.minutes(30)
374
+ * **timeout** (<code>[Duration](#aws-cdk-lib-duration)</code>) Timeout. __*Default*__: Duration.minutes(30)
375
375
 
376
376
 
377
377
 
@@ -388,8 +388,8 @@ Name | Type | Description
388
388
 
389
389
  A CloudFront static website hosted on S3.
390
390
 
391
- __Implements__: [IConstruct](#constructs-iconstruct), [IConstruct](#aws-cdk-core-iconstruct), [IConstruct](#constructs-iconstruct), [IDependable](#aws-cdk-core-idependable)
392
- __Extends__: [Construct](#aws-cdk-core-construct)
391
+ __Implements__: [IConstruct](#constructs-iconstruct), [IDependable](#constructs-idependable)
392
+ __Extends__: [Construct](#constructs-construct)
393
393
 
394
394
  ### Initializer
395
395
 
@@ -400,11 +400,11 @@ __Extends__: [Construct](#aws-cdk-core-construct)
400
400
  new StaticWebsite(scope: Construct, id: string, props: StaticWebsiteProps)
401
401
  ```
402
402
 
403
- * **scope** (<code>[Construct](#aws-cdk-core-construct)</code>) *No description*
403
+ * **scope** (<code>[Construct](#constructs-construct)</code>) *No description*
404
404
  * **id** (<code>string</code>) *No description*
405
405
  * **props** (<code>[StaticWebsiteProps](#cloudstructs-staticwebsiteprops)</code>) *No description*
406
406
  * **domainName** (<code>string</code>) The domain name for this static website.
407
- * **hostedZone** (<code>[IHostedZone](#aws-cdk-aws-route53-ihostedzone)</code>) The hosted zone where records should be added.
407
+ * **hostedZone** (<code>[aws_route53.IHostedZone](#aws-cdk-lib-aws-route53-ihostedzone)</code>) The hosted zone where records should be added.
408
408
  * **backendConfiguration** (<code>any</code>) A backend configuration that will be saved as `config.json` in the S3 bucket of the static website. __*Optional*__
409
409
  * **httpHeaders** (<code>Map<string, string></code>) Custom HTTP headers. __*Default*__: best practice security headers
410
410
  * **redirects** (<code>Array<string></code>) A list of domain names that should redirect to `domainName`. __*Default*__: the domain name of the hosted zone
@@ -416,8 +416,8 @@ new StaticWebsite(scope: Construct, id: string, props: StaticWebsiteProps)
416
416
 
417
417
  Name | Type | Description
418
418
  -----|------|-------------
419
- **bucket** | <code>[Bucket](#aws-cdk-aws-s3-bucket)</code> | The S3 bucket of this static website.
420
- **distribution** | <code>[Distribution](#aws-cdk-aws-cloudfront-distribution)</code> | The CloudFront distribution of this static website.
419
+ **bucket** | <code>[aws_s3.Bucket](#aws-cdk-lib-aws-s3-bucket)</code> | The S3 bucket of this static website.
420
+ **distribution** | <code>[aws_cloudfront.Distribution](#aws-cdk-lib-aws-cloudfront-distribution)</code> | The CloudFront distribution of this static website.
421
421
 
422
422
 
423
423
 
@@ -425,8 +425,8 @@ Name | Type | Description
425
425
 
426
426
  URL shortener.
427
427
 
428
- __Implements__: [IConstruct](#constructs-iconstruct), [IConstruct](#aws-cdk-core-iconstruct), [IConstruct](#constructs-iconstruct), [IDependable](#aws-cdk-core-idependable)
429
- __Extends__: [Construct](#aws-cdk-core-construct)
428
+ __Implements__: [IConstruct](#constructs-iconstruct), [IDependable](#constructs-idependable)
429
+ __Extends__: [Construct](#constructs-construct)
430
430
 
431
431
  ### Initializer
432
432
 
@@ -437,12 +437,12 @@ __Extends__: [Construct](#aws-cdk-core-construct)
437
437
  new UrlShortener(scope: Construct, id: string, props: UrlShortenerProps)
438
438
  ```
439
439
 
440
- * **scope** (<code>[Construct](#aws-cdk-core-construct)</code>) *No description*
440
+ * **scope** (<code>[Construct](#constructs-construct)</code>) *No description*
441
441
  * **id** (<code>string</code>) *No description*
442
442
  * **props** (<code>[UrlShortenerProps](#cloudstructs-urlshortenerprops)</code>) *No description*
443
- * **hostedZone** (<code>[IHostedZone](#aws-cdk-aws-route53-ihostedzone)</code>) The hosted zone for the short URLs domain.
444
- * **apiGatewayEndpoint** (<code>[IInterfaceVpcEndpoint](#aws-cdk-aws-ec2-iinterfacevpcendpoint)</code>) An interface VPC endpoint for API gateway. __*Default*__: API is public
445
- * **expiration** (<code>[Duration](#aws-cdk-core-duration)</code>) Expiration for short urls. __*Default*__: cdk.Duration.days(365)
443
+ * **hostedZone** (<code>[aws_route53.IHostedZone](#aws-cdk-lib-aws-route53-ihostedzone)</code>) The hosted zone for the short URLs domain.
444
+ * **apiGatewayEndpoint** (<code>[aws_ec2.IInterfaceVpcEndpoint](#aws-cdk-lib-aws-ec2-iinterfacevpcendpoint)</code>) An interface VPC endpoint for API gateway. __*Default*__: API is public
445
+ * **expiration** (<code>[Duration](#aws-cdk-lib-duration)</code>) Expiration for short urls. __*Default*__: cdk.Duration.days(365)
446
446
 
447
447
 
448
448
 
@@ -451,7 +451,7 @@ new UrlShortener(scope: Construct, id: string, props: UrlShortenerProps)
451
451
 
452
452
  Name | Type | Description
453
453
  -----|------|-------------
454
- **api** | <code>[LambdaRestApi](#aws-cdk-aws-apigateway-lambdarestapi)</code> | The underlying API Gateway REST API.
454
+ **api** | <code>[aws_apigateway.LambdaRestApi](#aws-cdk-lib-aws-apigateway-lambdarestapi)</code> | The underlying API Gateway REST API.
455
455
  **apiEndpoint** | <code>string</code> | The endpoint of the URL shortener API.
456
456
 
457
457
 
@@ -465,10 +465,10 @@ Properties for a CodeCommitMirror.
465
465
 
466
466
  Name | Type | Description
467
467
  -----|------|-------------
468
- **cluster** | <code>[ICluster](#aws-cdk-aws-ecs-icluster)</code> | The ECS cluster where to run the mirroring operation.
468
+ **cluster** | <code>[aws_ecs.ICluster](#aws-cdk-lib-aws-ecs-icluster)</code> | The ECS cluster where to run the mirroring operation.
469
469
  **repository** | <code>[CodeCommitMirrorSourceRepository](#cloudstructs-codecommitmirrorsourcerepository)</code> | The source repository.
470
- **schedule**? | <code>[Schedule](#aws-cdk-aws-events-schedule)</code> | The schedule for the mirroring operation.<br/>__*Default*__: everyday at midnight
471
- **subnetSelection**? | <code>[SubnetSelection](#aws-cdk-aws-ec2-subnetselection)</code> | Where to run the mirroring Fargate tasks.<br/>__*Default*__: public subnets
470
+ **schedule**? | <code>[aws_events.Schedule](#aws-cdk-lib-aws-events-schedule)</code> | The schedule for the mirroring operation.<br/>__*Default*__: everyday at midnight
471
+ **subnetSelection**? | <code>[aws_ec2.SubnetSelection](#aws-cdk-lib-aws-ec2-subnetselection)</code> | Where to run the mirroring Fargate tasks.<br/>__*Default*__: public subnets
472
472
 
473
473
 
474
474
 
@@ -481,8 +481,8 @@ Properties for a EcsServiceRoller.
481
481
 
482
482
  Name | Type | Description
483
483
  -----|------|-------------
484
- **cluster** | <code>[ICluster](#aws-cdk-aws-ecs-icluster)</code> | The ECS cluster where the services run.
485
- **service** | <code>[IService](#aws-cdk-aws-ecs-iservice)</code> | The ECS service for which tasks should be rolled.
484
+ **cluster** | <code>[aws_ecs.ICluster](#aws-cdk-lib-aws-ecs-icluster)</code> | The ECS cluster where the services run.
485
+ **service** | <code>[aws_ecs.IService](#aws-cdk-lib-aws-ecs-iservice)</code> | The ECS service for which tasks should be rolled.
486
486
  **trigger**? | <code>[RollTrigger](#cloudstructs-rolltrigger)</code> | The rule or schedule that should trigger a roll.<br/>__*Default*__: roll everyday at midnight
487
487
 
488
488
 
@@ -496,10 +496,10 @@ Properties for an EmailReceiver.
496
496
 
497
497
  Name | Type | Description
498
498
  -----|------|-------------
499
- **function** | <code>[IFunction](#aws-cdk-aws-lambda-ifunction)</code> | A Lambda function to invoke after the message is saved to S3.
500
- **receiptRuleSet** | <code>[IReceiptRuleSet](#aws-cdk-aws-ses-ireceiptruleset)</code> | The SES receipt rule set where a receipt rule will be added.
499
+ **function** | <code>[aws_lambda.IFunction](#aws-cdk-lib-aws-lambda-ifunction)</code> | A Lambda function to invoke after the message is saved to S3.
500
+ **receiptRuleSet** | <code>[aws_ses.IReceiptRuleSet](#aws-cdk-lib-aws-ses-ireceiptruleset)</code> | The SES receipt rule set where a receipt rule will be added.
501
501
  **recipients** | <code>Array<string></code> | The recipients for which emails should be received.
502
- **afterRule**? | <code>[IReceiptRule](#aws-cdk-aws-ses-ireceiptrule)</code> | An existing rule after which the new rule will be placed in the rule set.<br/>__*Default*__: The new rule is inserted at the beginning of the rule list.
502
+ **afterRule**? | <code>[aws_ses.IReceiptRule](#aws-cdk-lib-aws-ses-ireceiptrule)</code> | An existing rule after which the new rule will be placed in the rule set.<br/>__*Default*__: The new rule is inserted at the beginning of the rule list.
503
503
  **sourceWhitelist**? | <code>string</code> | A regular expression to whitelist source email addresses.<br/>__*Default*__: no whitelisting of source email addresses
504
504
 
505
505
 
@@ -518,7 +518,7 @@ Name | Type | Description
518
518
 
519
519
 
520
520
 
521
- ## struct SamlIdentityProviderProps <a id="cloudstructs-samlidentityproviderprops"></a>
521
+ ## struct SamlIdentityProviderProps ⚠️ <a id="cloudstructs-samlidentityproviderprops"></a>
522
522
 
523
523
 
524
524
  Properties for a SamlProvider.
@@ -527,8 +527,8 @@ Properties for a SamlProvider.
527
527
 
528
528
  Name | Type | Description
529
529
  -----|------|-------------
530
- **metadataDocument** | <code>string</code> | An XML document generated by an identity provider (IdP) that supports SAML 2.0.
531
- **name**? | <code>string</code> | A name for the SAML identity provider.<br/>__*Default*__: derived for the node's unique id
530
+ **metadataDocument**⚠️ | <code>string</code> | An XML document generated by an identity provider (IdP) that supports SAML 2.0.
531
+ **name**?⚠️ | <code>string</code> | A name for the SAML identity provider.<br/>__*Default*__: derived for the node's unique id
532
532
 
533
533
 
534
534
 
@@ -541,7 +541,7 @@ Properties for a SlackEvents.
541
541
 
542
542
  Name | Type | Description
543
543
  -----|------|-------------
544
- **signingSecret** | <code>[SecretValue](#aws-cdk-core-secretvalue)</code> | The signing secret of the Slack app.
544
+ **signingSecret** | <code>[SecretValue](#aws-cdk-lib-secretvalue)</code> | The signing secret of the Slack app.
545
545
  **apiName**? | <code>string</code> | A name for the API Gateway resource.<br/>__*Default*__: SlackEventsApi
546
546
  **customEventBus**? | <code>boolean</code> | Whether to use a custom event bus.<br/>__*Default*__: false
547
547
 
@@ -557,8 +557,8 @@ Properties for a SlackTextract.
557
557
  Name | Type | Description
558
558
  -----|------|-------------
559
559
  **appId** | <code>string</code> | The application id of the Slack app.
560
- **botToken** | <code>[SecretValue](#aws-cdk-core-secretvalue)</code> | The **bot** token of the Slack app.
561
- **signingSecret** | <code>[SecretValue](#aws-cdk-core-secretvalue)</code> | The signing secret of the Slack app.
560
+ **botToken** | <code>[SecretValue](#aws-cdk-lib-secretvalue)</code> | The **bot** token of the Slack app.
561
+ **signingSecret** | <code>[SecretValue](#aws-cdk-lib-secretvalue)</code> | The signing secret of the Slack app.
562
562
 
563
563
 
564
564
 
@@ -572,7 +572,7 @@ Properties for a StateMachineCustomResourceProvider.
572
572
  Name | Type | Description
573
573
  -----|------|-------------
574
574
  **stateMachine** | <code>[IStateMachine](#cloudstructs-istatemachine)</code> | The state machine.
575
- **timeout**? | <code>[Duration](#aws-cdk-core-duration)</code> | Timeout.<br/>__*Default*__: Duration.minutes(30)
575
+ **timeout**? | <code>[Duration](#aws-cdk-lib-duration)</code> | Timeout.<br/>__*Default*__: Duration.minutes(30)
576
576
 
577
577
 
578
578
 
@@ -586,7 +586,7 @@ Properties for a StaticWebsite.
586
586
  Name | Type | Description
587
587
  -----|------|-------------
588
588
  **domainName** | <code>string</code> | The domain name for this static website.
589
- **hostedZone** | <code>[IHostedZone](#aws-cdk-aws-route53-ihostedzone)</code> | The hosted zone where records should be added.
589
+ **hostedZone** | <code>[aws_route53.IHostedZone](#aws-cdk-lib-aws-route53-ihostedzone)</code> | The hosted zone where records should be added.
590
590
  **backendConfiguration**? | <code>any</code> | A backend configuration that will be saved as `config.json` in the S3 bucket of the static website.<br/>__*Optional*__
591
591
  **httpHeaders**? | <code>Map<string, string></code> | Custom HTTP headers.<br/>__*Default*__: best practice security headers
592
592
  **redirects**? | <code>Array<string></code> | A list of domain names that should redirect to `domainName`.<br/>__*Default*__: the domain name of the hosted zone
@@ -602,9 +602,9 @@ Properties for a UrlShortener.
602
602
 
603
603
  Name | Type | Description
604
604
  -----|------|-------------
605
- **hostedZone** | <code>[IHostedZone](#aws-cdk-aws-route53-ihostedzone)</code> | The hosted zone for the short URLs domain.
606
- **apiGatewayEndpoint**? | <code>[IInterfaceVpcEndpoint](#aws-cdk-aws-ec2-iinterfacevpcendpoint)</code> | An interface VPC endpoint for API gateway.<br/>__*Default*__: API is public
607
- **expiration**? | <code>[Duration](#aws-cdk-core-duration)</code> | Expiration for short urls.<br/>__*Default*__: cdk.Duration.days(365)
605
+ **hostedZone** | <code>[aws_route53.IHostedZone](#aws-cdk-lib-aws-route53-ihostedzone)</code> | The hosted zone for the short URLs domain.
606
+ **apiGatewayEndpoint**? | <code>[aws_ec2.IInterfaceVpcEndpoint](#aws-cdk-lib-aws-ec2-iinterfacevpcendpoint)</code> | An interface VPC endpoint for API gateway.<br/>__*Default*__: API is public
607
+ **expiration**? | <code>[Duration](#aws-cdk-lib-duration)</code> | Expiration for short urls.<br/>__*Default*__: cdk.Duration.days(365)
608
608
 
609
609
 
610
610
 
package/README.md CHANGED
@@ -6,6 +6,8 @@ High-level constructs for AWS CDK
6
6
 
7
7
  `npm install cloudstructs` or `yarn add cloudstructs`
8
8
 
9
+ Version >= 0.2.0 requires AWS CDK v2.
10
+
9
11
  ## Constructs
10
12
 
11
13
  * [`CodeCommitMirror`](src/codecommit-mirror) Mirror a repository to AWS CodeCommit on schedule
@@ -16,9 +18,6 @@ High-level constructs for AWS CDK
16
18
  * [`EmailReceiver`](src/email-receiver) Receive emails through SES, save them to S3
17
19
  and invoke a Lambda function
18
20
 
19
- * [`SamlIdentityProvider`](src/saml-identity-provider) Custom resource to create a SAML identity
20
- provider
21
-
22
21
  * [`SlackEvents`](src/slack-events) Send Slack events to Amazon EventBridge
23
22
 
24
23
  * [`SlackTextract`](src/slack-textract) Extract text from images posted to Slack
@@ -1,7 +1,7 @@
1
- import * as ec2 from '@aws-cdk/aws-ec2';
2
- import * as ecs from '@aws-cdk/aws-ecs';
3
- import * as events from '@aws-cdk/aws-events';
4
- import * as cdk from '@aws-cdk/core';
1
+ import * as ec2 from 'aws-cdk-lib/aws-ec2';
2
+ import * as ecs from 'aws-cdk-lib/aws-ecs';
3
+ import * as events from 'aws-cdk-lib/aws-events';
4
+ import { Construct } from 'constructs';
5
5
  /**
6
6
  * Properties for a CodeCommitMirror.
7
7
  *
@@ -85,9 +85,9 @@ export declare abstract class CodeCommitMirrorSourceRepository {
85
85
  *
86
86
  * @stability stable
87
87
  */
88
- export declare class CodeCommitMirror extends cdk.Construct {
88
+ export declare class CodeCommitMirror extends Construct {
89
89
  /**
90
90
  * @stability stable
91
91
  */
92
- constructor(scope: cdk.Construct, id: string, props: CodeCommitMirrorProps);
92
+ constructor(scope: Construct, id: string, props: CodeCommitMirrorProps);
93
93
  }
@@ -4,14 +4,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.CodeCommitMirror = exports.CodeCommitMirrorSourceRepository = void 0;
5
5
  const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
6
6
  const path = require("path");
7
- const codecommit = require("@aws-cdk/aws-codecommit");
8
- const ec2 = require("@aws-cdk/aws-ec2");
9
- const ecs = require("@aws-cdk/aws-ecs");
10
- const events = require("@aws-cdk/aws-events");
11
- const targets = require("@aws-cdk/aws-events-targets");
12
- const iam = require("@aws-cdk/aws-iam");
13
- const logs = require("@aws-cdk/aws-logs");
14
- const cdk = require("@aws-cdk/core");
7
+ const cdk = require("aws-cdk-lib");
8
+ const codecommit = require("aws-cdk-lib/aws-codecommit");
9
+ const ec2 = require("aws-cdk-lib/aws-ec2");
10
+ const ecs = require("aws-cdk-lib/aws-ecs");
11
+ const events = require("aws-cdk-lib/aws-events");
12
+ const targets = require("aws-cdk-lib/aws-events-targets");
13
+ const iam = require("aws-cdk-lib/aws-iam");
14
+ const logs = require("aws-cdk-lib/aws-logs");
15
+ const constructs_1 = require("constructs");
15
16
  /**
16
17
  * A source repository for AWS CodeCommit mirroring.
17
18
  *
@@ -45,13 +46,13 @@ class CodeCommitMirrorSourceRepository {
45
46
  }
46
47
  exports.CodeCommitMirrorSourceRepository = CodeCommitMirrorSourceRepository;
47
48
  _a = JSII_RTTI_SYMBOL_1;
48
- CodeCommitMirrorSourceRepository[_a] = { fqn: "cloudstructs.CodeCommitMirrorSourceRepository", version: "0.1.41" };
49
+ CodeCommitMirrorSourceRepository[_a] = { fqn: "cloudstructs.CodeCommitMirrorSourceRepository", version: "0.2.2" };
49
50
  /**
50
51
  * Mirror a repository to AWS CodeCommit on schedule.
51
52
  *
52
53
  * @stability stable
53
54
  */
54
- class CodeCommitMirror extends cdk.Construct {
55
+ class CodeCommitMirror extends constructs_1.Construct {
55
56
  /**
56
57
  * @stability stable
57
58
  */
@@ -99,5 +100,5 @@ class CodeCommitMirror extends cdk.Construct {
99
100
  }
100
101
  exports.CodeCommitMirror = CodeCommitMirror;
101
102
  _b = JSII_RTTI_SYMBOL_1;
102
- CodeCommitMirror[_b] = { fqn: "cloudstructs.CodeCommitMirror", version: "0.1.41" };
103
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2V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vbSAnQGF3cy1jZGsvYXdzLWV2ZW50cyc7XG5pbXBvcnQgKiBhcyB0YXJnZXRzIGZyb20gJ0Bhd3MtY2RrL2F3cy1ldmVudHMtdGFyZ2V0cyc7XG5pbXBvcnQgKiBhcyBpYW0gZnJvbSAnQGF3cy1jZGsvYXdzLWlhbSc7XG5pbXBvcnQgKiBhcyBsb2dzIGZyb20gJ0Bhd3MtY2RrL2F3cy1sb2dzJztcbmltcG9ydCAqIGFzIGNkayBmcm9tICdAYXdzLWNkay9jb3JlJztcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbmV4cG9ydCBpbnRlcmZhY2UgQ29kZUNvbW1pdE1pcnJvclByb3BzIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHJlYWRvbmx5IHJlcG9zaXRvcnk6IENvZGVDb21taXRNaXJyb3JTb3VyY2VSZXBvc2l0b3J5O1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgY2x1c3RlcjogZWNzLklDbHVzdGVyO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgc2NoZWR1bGU/OiBldmVudHMuU2NoZWR1bGU7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICByZWFkb25seSBzdWJuZXRTZWxlY3Rpb24/OiBlYzIuU3VibmV0U2VsZWN0aW9uO1xufVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuZXhwb3J0IGFic3RyYWN0IGNsYXNzIENvZGVDb21taXRNaXJyb3JTb3VyY2VSZXBvc2l0b3J5IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHB1YmxpYyBzdGF0aWMgZ2l0SHViKG93bmVyOiBzdHJpbmcsIG5hbWU6IHN0cmluZyk6IENvZGVDb21taXRNaXJyb3JTb3VyY2VSZXBvc2l0b3J5IHtcbiAgICByZXR1cm4ge1xuICAgICAgbmFtZSxcbiAgICAgIHBsYWluVGV4dFVybDogYGh0dHBzOi8vZ2l0aHViLmNvbS8ke293bmVyfS8ke25hbWV9YCxcbiAgICB9O1xuICB9XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcHVibGljIHN0YXRpYyBwcml2YXRlKG5hbWU6IHN0cmluZywgdXJsOiBlY3MuU2VjcmV0KTogQ29kZUNvbW1pdE1pcnJvclNvdXJjZVJlcG9zaXRvcnkge1xuICAgIHJldHVybiB7XG4gICAgICBuYW1lLFxuICAgICAgc2VjcmV0VXJsOiB1cmwsXG4gICAgfTtcbiAgfVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHB1YmxpYyBhYnN0cmFjdCByZWFkb25seSBuYW1lOiBzdHJpbmc7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICBwdWJsaWMgYWJzdHJhY3QgcmVhZG9ubHkgcGxhaW5UZXh0VXJsPzogc3RyaW5nO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHB1YmxpYyBhYnN0cmFjdCByZWFkb25seSBzZWNyZXRVcmw/OiBlY3MuU2VjcmV0O1xufVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbmV4cG9ydCBjbGFzcyBDb2RlQ29tbWl0TWlycm9yIGV4dGVuZHMgY2RrLkNvbnN0cnVjdCB7XG4gIGNvbnN0cnVjdG9yKHNjb3BlOiBjZGsuQ29uc3RydWN0LCBpZDogc3RyaW5nLCBwcm9wczogQ29kZUNvbW1pdE1pcnJvclByb3BzKSB7XG4gICAgc3VwZXIoc2NvcGUsIGlkKTtcblxuICAgIGNvbnN0IGRlc3RpbmF0aW9uID0gbmV3IGNvZGVjb21taXQuUmVwb3NpdG9yeSh0aGlzLCAnUmVwb3NpdG9yeScsIHtcbiAgICAgIHJlcG9zaXRvcnlOYW1lOiBwcm9wcy5yZXBvc2l0b3J5Lm5hbWUsXG4gICAgICBkZXNjcmlwdGlvbjogYE1pcnJvciBvZiAke3Byb3BzLnJlcG9zaXRvcnkubmFtZX1gLFxuICAgIH0pO1xuXG4gICAgY29uc3QgdGFza0RlZmluaXRpb24gPSBuZXcgZWNzLkZhcmdhdGVUYXNrRGVmaW5pdGlvbih0aGlzLCAnVGFza0RlZmluaXRpb24nKTtcblxuICAgIHRhc2tEZWZpbml0aW9uLmFkZENvbnRhaW5lcignQ29udGFpbmVyJywge1xuICAgICAgaW1hZ2U6IGVjcy5Db250YWluZXJJbWFnZ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1bGUgPSBuZXcgZXZlbnRzLlJ1bGUodGhpcywgJ1J1bGUnLCB7XG4gICAgICBzY2hlZHVsZTogcHJvcHMuc2NoZWR1bGUgPz8gZXZlbnRzLlNjaGVkdWxlLmNyb24oe1xuICAgICAgICBtaW51dGU6ICcwJyxcbiAgICAgICAgaG91cjogJzAnLFxuICAgICAgfSksXG4gICAgfSk7XG5cbiAgICBydWxlLmFkZFRhcmdldChuZXcgdGFyZ2V0cy5FY3NUYXNrKHtcbiAgICAgIGNsdXN0ZXI6IHByb3BzLmNsdXN0ZXIsXG4gICAgICB0YXNrRGVmaW5pdGlvbixcbiAgICAgIHN1Ym5ldFNlbGVjdGlvbjogcHJvcHMuc3VibmV0U2VsZWN0aW9uID8/IHsgc3VibmV0VHlwZTogZWMyLlN1Ym5ldFR5cGUuUFVCTElDIH0sXG4gICAgfSkpO1xuICB9XG59XG4iXX0=
103
+ CodeCommitMirror[_b] = { fqn: "cloudstructs.CodeCommitMirror", version: "0.2.2" };
104
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvY29kZWNvbW1pdC1taXJyb3IvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSw2QkFBNkI7QUFDN0IsbUNBQW1DO0FBQ25DLHlEQUF5RDtBQUN6RCwyQ0FBMkM7QUFDM0MsMkNBQTJDO0FBQzNDLGlEQUFpRDtBQUNqRCwwREFBMEQ7QUFDMUQsMkNBQTJDO0FBQzNDLDZDQUE2QztBQUM3QywyQ0FBdUM7Ozs7OztBQWtCdkMsTUFBc0IsZ0NBQWdDOzs7Ozs7SUFFN0MsTUFBTSxDQUFDLE1BQU0sQ0FBQyxLQUFhLEVBQUUsSUFBWTtRQUM5QyxPQUFPO1lBQ0wsSUFBSTtZQUNKLFlBQVksRUFBRSxzQkFBc0IsS0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XRNaXJyb3JQcm9wcyB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICByZWFkb25seSByZXBvc2l0b3J5OiBDb2RlQ29tbWl0TWlycm9yU291cmNlUmVwb3NpdG9yeTtcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHJlYWRvbmx5IGNsdXN0ZXI6IGVjcy5JQ2x1c3RlcjtcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHJlYWRvbmx5IHNjaGVkdWxlPzogZXZlbnRzLlNjaGVkdWxlO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgc3VibmV0U2VsZWN0aW9uPzogZWMyLlN1Ym5ldFNlbGVjdGlvbjtcbn1cblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbmV4cG9ydCBhYnN0cmFjdCBjbGFzcyBDb2RlQ29tbWl0TWlycm9yU291cmNlUmVwb3NpdG9yeSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICBwdWJsaWMgc3RhdGljIGdpdEh1Yihvd25lcjogc3RyaW5nLCBuYW1lOiBzdHJpbmcpOiBDb2RlQ29tbWl0TWlycm9yU291cmNlUmVwb3NpdG9yeSB7XG4gICAgcmV0dXJuIHtcbiAgICAgIG5hbWUsXG4gICAgICBwbGFpblRleHRVcmw6IGBodHRwczovL2dpdGh1Yi5jb20vJHtvd25lcn0vJHtuYW1lfWAsXG4gICAgfTtcbiAgfVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHB1YmxpYyBzdGF0aWMgcHJpdmF0ZShuYW1lOiBzdHJpbmcsIHVybDogZWNzLlNlY3JldCk6IENvZGVDb21taXRNaXJyb3JTb3VyY2VSZXBvc2l0b3J5IHtcbiAgICByZXR1cm4ge1xuICAgICAgbmFtZSxcbiAgICAgIHNlY3JldFVybDogdXJsLFxuICAgIH07XG4gIH1cblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICBwdWJsaWMgYWJzdHJhY3QgcmVhZG9ubHkgbmFtZTogc3RyaW5nO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcHVibGljIGFic3RyYWN0IHJlYWRvbmx5IHBsYWluVGV4dFVybD86IHN0cmluZztcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICBwdWJsaWMgYWJzdHJhY3QgcmVhZG9ubHkgc2VjcmV0VXJsPzogZWNzLlNlY3JldDtcbn1cblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA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24gPz8geyBzdWJuZXRUeXBlOiBlYzIuU3VibmV0VHlwZS5QVUJMSUMgfSxcbiAgICB9KSk7XG4gIH1cbn1cbiJdfQ==
@@ -1,6 +1,6 @@
1
- import * as ecs from '@aws-cdk/aws-ecs';
2
- import * as events from '@aws-cdk/aws-events';
3
- import * as cdk from '@aws-cdk/core';
1
+ import * as ecs from 'aws-cdk-lib/aws-ecs';
2
+ import * as events from 'aws-cdk-lib/aws-events';
3
+ import { Construct } from 'constructs';
4
4
  /**
5
5
  * Properties for a EcsServiceRoller.
6
6
  *
@@ -65,9 +65,9 @@ export declare abstract class RollTrigger {
65
65
  *
66
66
  * @stability stable
67
67
  */
68
- export declare class EcsServiceRoller extends cdk.Construct {
68
+ export declare class EcsServiceRoller extends Construct {
69
69
  /**
70
70
  * @stability stable
71
71
  */
72
- constructor(scope: cdk.Construct, id: string, props: EcsServiceRollerProps);
72
+ constructor(scope: Construct, id: string, props: EcsServiceRollerProps);
73
73
  }