stacktape 3.3.1 → 3.4.0

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.
@@ -17159,6 +17159,108 @@ export type AwsSnsTopic = {
17159
17159
  };
17160
17160
 
17161
17161
 
17162
+ /** Resource Type definition for AWS::Kinesis::Stream */
17163
+ export type AwsKinesisStream = {
17164
+ /** The Amazon resource name (ARN) of the Kinesis stream */
17165
+ Arn?: string;
17166
+ /**
17167
+ * The name of the Kinesis stream.
17168
+ * @minLength 1
17169
+ * @maxLength 128
17170
+ * @pattern ^[a-zA-Z0-9_.-]+$
17171
+ */
17172
+ Name?: string;
17173
+ /**
17174
+ * The final list of shard-level metrics
17175
+ * @maxItems 7
17176
+ * @uniqueItems true
17177
+ */
17178
+ DesiredShardLevelMetrics?: ("IncomingBytes" | "IncomingRecords" | "OutgoingBytes" | "OutgoingRecords" | "WriteProvisionedThroughputExceeded" | "ReadProvisionedThroughputExceeded" | "IteratorAgeMilliseconds" | "ALL")[];
17179
+ /**
17180
+ * The number of hours for the data records that are stored in shards to remain accessible.
17181
+ * @minimum 24
17182
+ */
17183
+ RetentionPeriodHours?: number;
17184
+ /**
17185
+ * The number of shards that the stream uses. Required when StreamMode = PROVISIONED is passed.
17186
+ * @minimum 1
17187
+ */
17188
+ ShardCount?: number;
17189
+ /**
17190
+ * The mode in which the stream is running.
17191
+ * @default {"StreamMode":"PROVISIONED"}
17192
+ */
17193
+ StreamModeDetails?: {
17194
+ /**
17195
+ * The mode of the stream
17196
+ * @enum ["ON_DEMAND","PROVISIONED"]
17197
+ */
17198
+ StreamMode: "ON_DEMAND" | "PROVISIONED";
17199
+ };
17200
+ /**
17201
+ * When specified, enables or updates server-side encryption using an AWS KMS key for a specified
17202
+ * stream.
17203
+ */
17204
+ StreamEncryption?: {
17205
+ /**
17206
+ * The encryption type to use. The only valid value is KMS.
17207
+ * @enum ["KMS"]
17208
+ */
17209
+ EncryptionType: "KMS";
17210
+ /**
17211
+ * The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally
17212
+ * unique identifier, a fully specified Amazon Resource Name (ARN) to either an alias or a key, or an
17213
+ * alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by
17214
+ * specifying the alias aws/kinesis.
17215
+ * @minLength 1
17216
+ * @maxLength 2048
17217
+ */
17218
+ KeyId: unknown | unknown;
17219
+ };
17220
+ /**
17221
+ * An arbitrary set of tags (key-value pairs) to associate with the Kinesis stream.
17222
+ * @maxItems 50
17223
+ * @uniqueItems false
17224
+ */
17225
+ Tags?: {
17226
+ /**
17227
+ * The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and
17228
+ * cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode
17229
+ * letters, digits, whitespace, _, ., /, =, +, and -.
17230
+ * @minLength 1
17231
+ * @maxLength 128
17232
+ */
17233
+ Key: string;
17234
+ /**
17235
+ * The value for the tag. You can specify a value that is 0 to 255 Unicode characters in length and
17236
+ * cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode
17237
+ * letters, digits, whitespace, _, ., /, =, +, and -.
17238
+ * @minLength 0
17239
+ * @maxLength 255
17240
+ */
17241
+ Value: string;
17242
+ }[];
17243
+ /**
17244
+ * Maximum size of a data record in KiB allowed to be put into Kinesis stream.
17245
+ * @minimum 1024
17246
+ * @maximum 10240
17247
+ */
17248
+ MaxRecordSizeInKiB?: number;
17249
+ /**
17250
+ * Target warm throughput in MiB/s for the stream. This property can ONLY be set when StreamMode is
17251
+ * ON_DEMAND.
17252
+ */
17253
+ WarmThroughputMiBps?: number;
17254
+ /** Warm throughput configuration details for the stream. Only present for ON_DEMAND streams. */
17255
+ WarmThroughputObject?: {
17256
+ /** Target warm throughput in MiB/s that a customer can write to a stream at any given time */
17257
+ TargetMiBps?: number;
17258
+ /** Current warm throughput in MiB/s */
17259
+ CurrentMiBps?: number;
17260
+ };
17261
+ };
17262
+
17263
+
17162
17264
  /**
17163
17265
  * The AWS::SSM::Document resource is an SSM document in AWS Systems Manager that defines the actions
17164
17266
  * that Systems Manager performs, which can be used to set up and run commands on your instances.
@@ -17437,6 +17539,7 @@ export type CloudFormationResource =
17437
17539
  | { Type: 'AWS::Events::Eventbus'; Properties?: AwsEventsEventbus } & CloudFormationResourceBase
17438
17540
  | { Type: 'AWS::IAM::Instanceprofile'; Properties?: AwsIamInstanceprofile } & CloudFormationResourceBase
17439
17541
  | { Type: 'AWS::IAM::Role'; Properties?: AwsIamRole } & CloudFormationResourceBase
17542
+ | { Type: 'AWS::Kinesis::Stream'; Properties?: AwsKinesisStream } & CloudFormationResourceBase
17440
17543
  | { Type: 'AWS::Lambda::Alias'; Properties?: AwsLambdaAlias } & CloudFormationResourceBase
17441
17544
  | { Type: 'AWS::Lambda::Eventinvokeconfig'; Properties?: AwsLambdaEventinvokeconfig } & CloudFormationResourceBase
17442
17545
  | { Type: 'AWS::Lambda::Function'; Properties?: AwsLambdaFunction } & CloudFormationResourceBase
package/index.d.ts CHANGED
@@ -27,6 +27,7 @@ export {
27
27
  UpstashRedis,
28
28
  SqsQueue,
29
29
  SnsTopic,
30
+ KinesisStream,
30
31
  WebAppFirewall,
31
32
  OpenSearchDomain,
32
33
  EfsFilesystem,
@@ -209,7 +210,7 @@ export declare const AWS_SES: "aws:ses";
209
210
  * Resources section type (accepts class instances).
210
211
  * Use this with defineConfig for enhanced type-safe configs.
211
212
  */
212
- export type StacktapeResources = { [resourceName: string]: import('./types').RelationalDatabase | import('./types').WebService | import('./types').PrivateService | import('./types').WorkerService | import('./types').MultiContainerWorkload | import('./types').LambdaFunction | import('./types').BatchJob | import('./types').Bucket | import('./types').HostingBucket | import('./types').DynamoDbTable | import('./types').EventBus | import('./types').HttpApiGateway | import('./types').ApplicationLoadBalancer | import('./types').NetworkLoadBalancer | import('./types').RedisCluster | import('./types').MongoDbAtlasCluster | import('./types').StateMachine | import('./types').UserAuthPool | import('./types').UpstashRedis | import('./types').SqsQueue | import('./types').SnsTopic | import('./types').WebAppFirewall | import('./types').OpenSearchDomain | import('./types').EfsFilesystem | import('./types').NextjsWeb | import('./types').Bastion | import('./plain').StacktapeResourceDefinition };
213
+ export type StacktapeResources = { [resourceName: string]: import('./types').RelationalDatabase | import('./types').WebService | import('./types').PrivateService | import('./types').WorkerService | import('./types').MultiContainerWorkload | import('./types').LambdaFunction | import('./types').BatchJob | import('./types').Bucket | import('./types').HostingBucket | import('./types').DynamoDbTable | import('./types').EventBus | import('./types').HttpApiGateway | import('./types').ApplicationLoadBalancer | import('./types').NetworkLoadBalancer | import('./types').RedisCluster | import('./types').MongoDbAtlasCluster | import('./types').StateMachine | import('./types').UserAuthPool | import('./types').UpstashRedis | import('./types').SqsQueue | import('./types').SnsTopic | import('./types').KinesisStream | import('./types').WebAppFirewall | import('./types').OpenSearchDomain | import('./types').EfsFilesystem | import('./types').NextjsWeb | import('./types').Bastion | import('./plain').StacktapeResourceDefinition };
213
214
 
214
215
  /**
215
216
  * Scripts section type (accepts class instances).