stacktape 3.5.7 → 3.6.0-beta.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.
Files changed (123) hide show
  1. package/.tsconfig.bun-build.json +1 -0
  2. package/ai-docs/cli-ref/aws-profile-create.md +22 -0
  3. package/ai-docs/cli-ref/aws-profile-delete.md +22 -0
  4. package/ai-docs/cli-ref/aws-profile-list.md +20 -0
  5. package/ai-docs/cli-ref/aws-profile-update.md +22 -0
  6. package/ai-docs/cli-ref/bastion-session.md +29 -0
  7. package/ai-docs/cli-ref/bastion-tunnel.md +30 -0
  8. package/ai-docs/cli-ref/bucket-sync.md +30 -0
  9. package/ai-docs/cli-ref/cf-module-update.md +26 -0
  10. package/ai-docs/cli-ref/cf-rollback.md +28 -0
  11. package/ai-docs/cli-ref/codebuild-deploy.md +34 -0
  12. package/ai-docs/cli-ref/compile-template.md +25 -0
  13. package/ai-docs/cli-ref/container-session.md +30 -0
  14. package/ai-docs/cli-ref/debug-alarms.md +28 -0
  15. package/ai-docs/cli-ref/debug-aws-sdk.md +33 -0
  16. package/ai-docs/cli-ref/debug-container-exec.md +36 -0
  17. package/ai-docs/cli-ref/debug-dynamodb.md +35 -0
  18. package/ai-docs/cli-ref/debug-logs.md +34 -0
  19. package/ai-docs/cli-ref/debug-metrics.md +33 -0
  20. package/ai-docs/cli-ref/debug-opensearch.md +35 -0
  21. package/ai-docs/cli-ref/debug-redis.md +36 -0
  22. package/ai-docs/cli-ref/debug-sql.md +35 -0
  23. package/ai-docs/cli-ref/defaults-configure.md +29 -0
  24. package/ai-docs/cli-ref/defaults-list.md +20 -0
  25. package/ai-docs/cli-ref/delete.md +24 -0
  26. package/ai-docs/cli-ref/deploy.md +25 -0
  27. package/ai-docs/cli-ref/deployment-script-run.md +28 -0
  28. package/ai-docs/cli-ref/dev-stop.md +26 -0
  29. package/ai-docs/cli-ref/dev.md +45 -0
  30. package/ai-docs/cli-ref/domain-add.md +26 -0
  31. package/ai-docs/cli-ref/help.md +18 -0
  32. package/ai-docs/cli-ref/info-operations.md +22 -0
  33. package/ai-docs/cli-ref/info-stack.md +30 -0
  34. package/ai-docs/cli-ref/info-stacks.md +26 -0
  35. package/ai-docs/cli-ref/info-whoami.md +22 -0
  36. package/ai-docs/cli-ref/init.md +30 -0
  37. package/ai-docs/cli-ref/login.md +20 -0
  38. package/ai-docs/cli-ref/logout.md +18 -0
  39. package/ai-docs/cli-ref/mcp-add.md +22 -0
  40. package/ai-docs/cli-ref/mcp.md +20 -0
  41. package/ai-docs/cli-ref/org-create.md +24 -0
  42. package/ai-docs/cli-ref/org-delete.md +24 -0
  43. package/ai-docs/cli-ref/org-list.md +22 -0
  44. package/ai-docs/cli-ref/package-workloads.md +25 -0
  45. package/ai-docs/cli-ref/param-get.md +26 -0
  46. package/ai-docs/cli-ref/preview-changes.md +23 -0
  47. package/ai-docs/cli-ref/project-create.md +22 -0
  48. package/ai-docs/cli-ref/projects-list.md +22 -0
  49. package/ai-docs/cli-ref/rollback.md +28 -0
  50. package/ai-docs/cli-ref/script-run.md +29 -0
  51. package/ai-docs/cli-ref/secret-create.md +28 -0
  52. package/ai-docs/cli-ref/secret-delete.md +26 -0
  53. package/ai-docs/cli-ref/secret-get.md +26 -0
  54. package/ai-docs/cli-ref/upgrade.md +20 -0
  55. package/ai-docs/cli-ref/version.md +18 -0
  56. package/ai-docs/concept/connecting-resources.md +369 -0
  57. package/ai-docs/concept/directives.md +371 -0
  58. package/ai-docs/concept/extending-cloudformation.md +315 -0
  59. package/ai-docs/concept/overrides-and-transforms.md +352 -0
  60. package/ai-docs/concept/stages-and-environments.md +347 -0
  61. package/ai-docs/concept/typescript-config.md +447 -0
  62. package/ai-docs/concept/yaml-config.md +338 -0
  63. package/ai-docs/config-ref/_root.md +142 -0
  64. package/ai-docs/config-ref/application-load-balancer.md +1109 -0
  65. package/ai-docs/config-ref/astro-web.md +115 -0
  66. package/ai-docs/config-ref/aws-cdk-construct.md +68 -0
  67. package/ai-docs/config-ref/bastion.md +93 -0
  68. package/ai-docs/config-ref/batch-job.md +179 -0
  69. package/ai-docs/config-ref/bucket.md +348 -0
  70. package/ai-docs/config-ref/cdn.md +496 -0
  71. package/ai-docs/config-ref/custom-resource.md +80 -0
  72. package/ai-docs/config-ref/deployment-script.md +79 -0
  73. package/ai-docs/config-ref/dynamo-db-table.md +202 -0
  74. package/ai-docs/config-ref/edge-lambda-function.md +87 -0
  75. package/ai-docs/config-ref/efs-filesystem.md +72 -0
  76. package/ai-docs/config-ref/event-bus.md +63 -0
  77. package/ai-docs/config-ref/function.md +409 -0
  78. package/ai-docs/config-ref/hosting-bucket.md +171 -0
  79. package/ai-docs/config-ref/http-api-gateway.md +149 -0
  80. package/ai-docs/config-ref/http-endpoint.md +92 -0
  81. package/ai-docs/config-ref/kinesis-stream.md +97 -0
  82. package/ai-docs/config-ref/mongo-db-atlas-cluster.md +254 -0
  83. package/ai-docs/config-ref/multi-container-workload.md +399 -0
  84. package/ai-docs/config-ref/network-load-balancer.md +118 -0
  85. package/ai-docs/config-ref/nextjs-web.md +147 -0
  86. package/ai-docs/config-ref/nuxt-web.md +81 -0
  87. package/ai-docs/config-ref/open-search.md +206 -0
  88. package/ai-docs/config-ref/private-service.md +75 -0
  89. package/ai-docs/config-ref/redis-cluster.md +223 -0
  90. package/ai-docs/config-ref/relational-database.md +525 -0
  91. package/ai-docs/config-ref/remix-web.md +74 -0
  92. package/ai-docs/config-ref/sns-topic.md +69 -0
  93. package/ai-docs/config-ref/solidstart-web.md +75 -0
  94. package/ai-docs/config-ref/sqs-queue-not-empty.md +405 -0
  95. package/ai-docs/config-ref/sqs-queue.md +232 -0
  96. package/ai-docs/config-ref/state-machine.md +235 -0
  97. package/ai-docs/config-ref/sveltekit-web.md +81 -0
  98. package/ai-docs/config-ref/tanstack-web.md +75 -0
  99. package/ai-docs/config-ref/upstash-redis.md +59 -0
  100. package/ai-docs/config-ref/user-auth-pool.md +876 -0
  101. package/ai-docs/config-ref/web-app-firewall.md +212 -0
  102. package/ai-docs/config-ref/web-service.md +178 -0
  103. package/ai-docs/config-ref/worker-service.md +41 -0
  104. package/ai-docs/getting-started/console.md +232 -0
  105. package/ai-docs/getting-started/deployment.md +434 -0
  106. package/ai-docs/getting-started/dev-mode.md +118 -0
  107. package/ai-docs/getting-started/how-it-works.md +119 -0
  108. package/ai-docs/getting-started/intro.md +157 -0
  109. package/ai-docs/getting-started/using-with-ai.md +228 -0
  110. package/ai-docs/getting-started/workflow.md +197 -0
  111. package/ai-docs/index.json +1514 -0
  112. package/ai-docs/recipe/background-jobs.md +183 -0
  113. package/ai-docs/recipe/database-migrations.md +240 -0
  114. package/ai-docs/recipe/graphql-api.md +211 -0
  115. package/ai-docs/recipe/monorepo-setup.md +183 -0
  116. package/ai-docs/recipe/nextjs-full-stack.md +188 -0
  117. package/ai-docs/recipe/rest-api-with-database.md +156 -0
  118. package/ai-docs/recipe/scheduled-tasks.md +186 -0
  119. package/ai-docs/recipe/static-website.md +241 -0
  120. package/ai-docs/troubleshooting/cloudformation-stack-states.md +189 -0
  121. package/bin/stacktape.js +206 -41
  122. package/package.json +1 -1
  123. package/plain.d.ts +309 -54
@@ -0,0 +1,115 @@
1
+ ---
2
+ docType: config-ref
3
+ title: Astro Web
4
+ resourceType: astro-web
5
+ tags:
6
+ - astro-web
7
+ - astro
8
+ - astro.js
9
+ source: types/stacktape-config/astro-web.d.ts
10
+ priority: 1
11
+ ---
12
+
13
+ # Astro Web
14
+
15
+ Deploy an Astro SSR app with Lambda for server rendering, S3 for static assets, and CloudFront CDN.
16
+
17
+ For static-only Astro sites, use `hosting-bucket` with `hostingContentType: 'astro-static-website'` instead.
18
+
19
+ Resource type: `astro-web`
20
+
21
+ ## TypeScript Definition
22
+
23
+ ```typescript
24
+ /**
25
+ * #### Deploy an Astro SSR app with Lambda for server rendering, S3 for static assets, and CloudFront CDN.
26
+ *
27
+ * ---
28
+ *
29
+ * For static-only Astro sites, use `hosting-bucket` with `hostingContentType: 'astro-static-website'` instead.
30
+ */
31
+ interface AstroWeb {
32
+ type: 'astro-web';
33
+ properties: AstroWebProps;
34
+ overrides?: ResourceOverrides;
35
+ }
36
+
37
+ interface AstroWebProps extends ResourceAccessProps {
38
+ /**
39
+ * #### Directory containing your `astro.config.mjs`. For monorepos, point to the Astro workspace.
40
+ *
41
+ * @default "."
42
+ */
43
+ appDirectory?: string;
44
+ /**
45
+ * #### Override the default `astro build` command.
46
+ */
47
+ buildCommand?: string;
48
+ /**
49
+ * #### Environment variables for the SSR function. Use `$ResourceParam()` or `$Secret()` for dynamic values.
50
+ */
51
+ environment?: EnvironmentVar[];
52
+ /**
53
+ * #### Attach custom domains with auto-managed DNS records and TLS certificates.
54
+ *
55
+ * ---
56
+ *
57
+ * **Prerequisite:** A Route 53 hosted zone for your domain must exist in your AWS account.
58
+ */
59
+ customDomains?: DomainConfiguration[];
60
+ /**
61
+ * #### Customize the SSR Lambda function (memory, timeout, VPC, logging).
62
+ */
63
+ serverLambda?: AstroWebServerLambdaConfig;
64
+ /**
65
+ * #### Name of a `web-app-firewall` resource to protect this app. Firewall `scope` must be `cdn`.
66
+ */
67
+ useFirewall?: string;
68
+ /**
69
+ * #### Dev server config for `stacktape dev`. Defaults to `astro dev`.
70
+ */
71
+ dev?: AstroWebDevConfig;
72
+ /**
73
+ * #### Set custom headers (e.g., `Cache-Control`) for static files matching a pattern.
74
+ */
75
+ fileOptions?: DirectoryUploadFilter[];
76
+ /**
77
+ * #### CDN cache controls for SSR routes and specific path patterns.
78
+ */
79
+ cdn?: SsrWebCdnConfig;
80
+ }
81
+
82
+ interface AstroWebServerLambdaConfig {
83
+ /**
84
+ * #### Memory in MB (128–10,240). CPU scales proportionally — 1,769 MB = 1 vCPU.
85
+ *
86
+ * @default 1024
87
+ */
88
+ memory?: number;
89
+ /**
90
+ * #### Max execution time in seconds. Max: 30.
91
+ *
92
+ * @default 30
93
+ */
94
+ timeout?: number;
95
+ /**
96
+ * #### Connect to VPC resources (databases, Redis). **Warning:** function loses direct internet access.
97
+ */
98
+ joinDefaultVpc?: boolean;
99
+ /**
100
+ * #### Logging config. Logs are sent to CloudWatch. View with `stacktape logs` or in the AWS console.
101
+ */
102
+ logging?: LambdaFunctionLogging;
103
+ }
104
+
105
+ interface AstroWebDevConfig {
106
+ /**
107
+ * #### Override the default `astro dev` command (e.g., `npm run dev`).
108
+ */
109
+ command?: string;
110
+ /**
111
+ * #### Working directory for the dev command, relative to project root.
112
+ */
113
+ workingDirectory?: string;
114
+ }
115
+ ```
@@ -0,0 +1,68 @@
1
+ ---
2
+ docType: config-ref
3
+ title: Aws Cdk Construct
4
+ resourceType: aws-cdk-construct
5
+ tags:
6
+ - aws-cdk-construct
7
+ - cdk
8
+ - construct
9
+ source: types/stacktape-config/aws-cdk-construct.d.ts
10
+ priority: 1
11
+ ---
12
+
13
+ # Aws Cdk Construct
14
+
15
+ Embed an AWS CDK construct directly in your Stacktape stack.
16
+
17
+ Escape hatch for resources not natively supported by Stacktape. Write a CDK construct class
18
+ in TypeScript/JavaScript and Stacktape will synthesize and deploy it as part of your stack.
19
+
20
+ Resource type: `aws-cdk-construct`
21
+
22
+ ## TypeScript Definition
23
+
24
+ ```typescript
25
+ /**
26
+ * #### Embed an AWS CDK construct directly in your Stacktape stack.
27
+ *
28
+ * ---
29
+ *
30
+ * Escape hatch for resources not natively supported by Stacktape. Write a CDK construct class
31
+ * in TypeScript/JavaScript and Stacktape will synthesize and deploy it as part of your stack.
32
+ */
33
+ interface AwsCdkConstruct {
34
+ type: 'aws-cdk-construct';
35
+ properties?: AwsCdkConstructProps;
36
+ // overrides?: ResourceOverrides;
37
+ }
38
+
39
+ interface AwsCdkConstructProps {
40
+ /**
41
+ * #### Path to the file containing your CDK construct class.
42
+ *
43
+ * ---
44
+ *
45
+ * Supports `.js` and `.ts` files. The file must export a class that extends `Construct` from `aws-cdk-lib`.
46
+ */
47
+ entryfilePath: string;
48
+ /**
49
+ * #### Name of the exported construct class from the entry file.
50
+ *
51
+ * ---
52
+ *
53
+ * Must match the exact export name. Use this when the file has multiple exports or uses named exports.
54
+ *
55
+ * @default "default"
56
+ */
57
+ exportName?: string;
58
+ /**
59
+ * #### Custom props passed to the construct's constructor.
60
+ *
61
+ * ---
62
+ *
63
+ * This object is forwarded as the third argument (`props`) to your construct class. Use `$ResourceParam()` and `$Secret()`
64
+ * directives here to pass dynamic values from other resources in your stack.
65
+ */
66
+ constructProperties?: any;
67
+ }
68
+ ```
@@ -0,0 +1,93 @@
1
+ ---
2
+ docType: config-ref
3
+ title: Bastion
4
+ resourceType: bastion
5
+ tags:
6
+ - bastion
7
+ - jump-host
8
+ - ssh
9
+ source: types/stacktape-config/bastion.d.ts
10
+ priority: 1
11
+ ---
12
+
13
+ # Bastion
14
+
15
+ Secure jump box for accessing private resources (databases, Redis, OpenSearch) in your VPC.
16
+
17
+ Uses keyless SSH via AWS Systems Manager — no SSH keys to manage. Connect with `stacktape bastion:ssh`
18
+ or create port-forwarding tunnels with `stacktape bastion:tunnel`. Costs ~$4/month (t3.micro).
19
+
20
+ Resource type: `bastion`
21
+
22
+ ## TypeScript Definition
23
+
24
+ ```typescript
25
+ /**
26
+ * #### Secure jump box for accessing private resources (databases, Redis, OpenSearch) in your VPC.
27
+ *
28
+ * ---
29
+ *
30
+ * Uses keyless SSH via AWS Systems Manager — no SSH keys to manage. Connect with `stacktape bastion:ssh`
31
+ * or create port-forwarding tunnels with `stacktape bastion:tunnel`. Costs ~$4/month (t3.micro).
32
+ */
33
+ interface Bastion {
34
+ type: 'bastion';
35
+ properties?: BastionProps;
36
+ overrides?: ResourceOverrides;
37
+ }
38
+
39
+ interface BastionProps {
40
+ /**
41
+ * #### EC2 instance type. `t3.micro` is sufficient for SSH tunneling and basic admin tasks.
42
+ *
43
+ * @default t3.micro
44
+ */
45
+ instanceSize?: string;
46
+ /**
47
+ * #### Shell commands to run when the instance starts (as root — no `sudo` needed).
48
+ *
49
+ * ---
50
+ *
51
+ * Use to install CLI tools, database clients, or other dependencies.
52
+ * **Warning:** changing this list after creation replaces the instance — any data on the old instance is lost.
53
+ */
54
+ runCommandsAtLaunch?: string[];
55
+ /**
56
+ * #### Log retention settings for system, security, and audit logs. Logs are sent to CloudWatch.
57
+ */
58
+ logging?: BastionLoggingConfig;
59
+ }
60
+
61
+ interface BastionLoggingConfig {
62
+ /**
63
+ * #### System messages (`/var/log/messages`) — startup info, kernel messages, service logs.
64
+ *
65
+ * @default retentionDays: 30
66
+ */
67
+ messages?: BastionLogging;
68
+ /**
69
+ * #### Auth logs (`/var/log/secure`) — SSH login attempts, authentication events.
70
+ *
71
+ * @default retentionDays: 180
72
+ */
73
+ secure?: BastionLogging;
74
+ /**
75
+ * #### Audit logs (`/var/log/audit/audit.log`) — detailed security events from the Linux audit system.
76
+ *
77
+ * @default retentionDays: 365
78
+ */
79
+ audit?: BastionLogging;
80
+ }
81
+
82
+ interface BastionLogging extends LogForwardingBase {
83
+ /**
84
+ * #### Disable this log type. Stops sending to CloudWatch.
85
+ * @default false
86
+ */
87
+ disabled?: boolean;
88
+ /**
89
+ * #### Days to keep logs in CloudWatch before automatic deletion.
90
+ */
91
+ retentionDays?: 1 | 3 | 5 | 7 | 14 | 30 | 60 | 90 | 120 | 150 | 180 | 365 | 400 | 545 | 731 | 1827 | 3653;
92
+ }
93
+ ```
@@ -0,0 +1,179 @@
1
+ ---
2
+ docType: config-ref
3
+ title: Batch Job
4
+ resourceType: batch-job
5
+ tags:
6
+ - batch-job
7
+ - batch
8
+ - job
9
+ - scheduled-job
10
+ source: types/stacktape-config/batch-jobs.d.ts
11
+ priority: 1
12
+ ---
13
+
14
+ # Batch Job
15
+
16
+ Run containerized tasks to completion — data processing, ML training, video encoding, etc.
17
+
18
+ Pay only for the compute time used. Supports CPU and GPU workloads, retries on failure,
19
+ and can be triggered by schedules, HTTP requests, S3 uploads, or queue messages.
20
+
21
+ Resource type: `batch-job`
22
+
23
+ ## TypeScript Definition
24
+
25
+ ```typescript
26
+ /**
27
+ * #### Run containerized tasks to completion — data processing, ML training, video encoding, etc.
28
+ *
29
+ * ---
30
+ *
31
+ * Pay only for the compute time used. Supports CPU and GPU workloads, retries on failure,
32
+ * and can be triggered by schedules, HTTP requests, S3 uploads, or queue messages.
33
+ */
34
+ interface BatchJob {
35
+ type: 'batch-job';
36
+ properties: BatchJobProps;
37
+ overrides?: ResourceOverrides;
38
+ }
39
+
40
+ interface BatchJobProps extends ResourceAccessProps {
41
+ /**
42
+ * #### Docker container image and environment for the job.
43
+ */
44
+ container: BatchJobContainer;
45
+ /**
46
+ * #### CPU, memory, and GPU requirements. AWS auto-provisions a matching instance.
47
+ */
48
+ resources: BatchJobResources;
49
+ /**
50
+ * #### Max run time in seconds. The job is killed if it exceeds this, then retried if `retryConfig` is set.
51
+ */
52
+ timeout?: number;
53
+ /**
54
+ * #### Use discounted spare AWS capacity. Saves up to 90%, but jobs can be interrupted.
55
+ *
56
+ * ---
57
+ *
58
+ * **Use this when:** Your job can safely be restarted from the beginning (e.g., data imports,
59
+ * image processing, ML training with checkpoints). Combine with `retryConfig` to auto-retry
60
+ * on interruption.
61
+ *
62
+ * **Don't use when:** Your job has side effects that can't be repeated (e.g., sending emails,
63
+ * charging payments) or must finish within a strict deadline.
64
+ *
65
+ * If interrupted, your container gets a `SIGTERM` and 120 seconds to shut down gracefully.
66
+ *
67
+ * @default false
68
+ */
69
+ useSpotInstances?: boolean;
70
+ /**
71
+ * #### Container logging (stdout/stderr). Sent to CloudWatch, viewable with `stacktape logs`.
72
+ */
73
+ logging?: BatchJobLogging;
74
+ /**
75
+ * #### Auto-retry on failure, timeout, or Spot interruption.
76
+ */
77
+ retryConfig?: BatchJobRetryConfiguration;
78
+ /**
79
+ * #### Events that trigger this job (schedules, HTTP requests, S3 uploads, SQS messages, etc.).
80
+ */
81
+ events?: (
82
+ | HttpApiIntegration
83
+ | S3Integration
84
+ | ScheduleIntegration
85
+ | SnsIntegration
86
+ | SqsIntegration
87
+ | KinesisIntegration
88
+ | DynamoDbIntegration
89
+ | CloudwatchLogIntegration
90
+ | ApplicationLoadBalancerIntegration
91
+ | EventBusIntegration
92
+ )[];
93
+ }
94
+
95
+ interface BatchJobRetryConfiguration {
96
+ /**
97
+ * #### Max retry attempts before the job is marked as failed.
98
+ * @default 1
99
+ */
100
+ attempts?: number;
101
+ /**
102
+ * #### Seconds to wait between retries.
103
+ * @default 0
104
+ */
105
+ retryIntervalSeconds?: number;
106
+ /**
107
+ * #### Multiply wait time by this factor after each retry (exponential backoff).
108
+ *
109
+ * ---
110
+ *
111
+ * E.g., with `retryIntervalSeconds: 5` and `retryIntervalMultiplier: 2`, waits are 5s, 10s, 20s, etc.
112
+ *
113
+ * @default 1
114
+ */
115
+ retryIntervalMultiplier?: number;
116
+ }
117
+
118
+ interface BatchJobContainer {
119
+ /**
120
+ * #### How to build or specify the container image for this job.
121
+ */
122
+ packaging: BatchJobContainerPackaging;
123
+ /**
124
+ * #### Environment variables injected into the container at runtime.
125
+ *
126
+ * ---
127
+ *
128
+ * Use `$ResourceParam()` or `$Secret()` to inject database URLs, API keys, etc.
129
+ */
130
+ environment?: EnvironmentVar[];
131
+ }
132
+
133
+ interface BatchJobResources {
134
+ /**
135
+ * #### Number of vCPUs for the job (e.g., 1, 2, 4).
136
+ */
137
+ cpu: number;
138
+ /**
139
+ * #### Memory in MB. Use slightly less than powers of 2 for efficient instance sizing.
140
+ *
141
+ * ---
142
+ *
143
+ * AWS reserves some memory for system processes. Requesting exactly 8192 MB (8 GB) may provision
144
+ * a larger instance than needed. Use 7680 MB instead to fit on a standard 8 GB instance.
145
+ */
146
+ memory: number;
147
+ /**
148
+ * #### Number of GPUs. The job will run on a GPU instance (NVIDIA A100, A10G, etc.).
149
+ *
150
+ * ---
151
+ *
152
+ * Omit for CPU-only workloads.
153
+ */
154
+ gpu?: number;
155
+ /**
156
+ * #### A list of specific EC2 instance types to use for the job.
157
+ * ---
158
+ * By default, Stacktape allows AWS to select an optimal instance type based on your resource requirements.
159
+ * You can override this by providing a list of allowed instance types.
160
+ * For a full list, see the [AWS EC2 instance types documentation](https://aws.amazon.com/ec2/instance-types/).
161
+ */
162
+ // instanceTypes?: string[];
163
+ }
164
+
165
+ interface BatchJobLogging extends LogForwardingBase {
166
+ /**
167
+ * #### Disable logging to CloudWatch.
168
+ * @default false
169
+ */
170
+ disabled?: boolean;
171
+ /**
172
+ * #### How many days to keep logs.
173
+ * @default 90
174
+ */
175
+ retentionDays?: 1 | 3 | 5 | 7 | 14 | 30 | 60 | 90 | 120 | 150 | 180 | 365 | 400 | 545 | 731 | 1827 | 3653;
176
+ }
177
+
178
+ type BatchJobReferencableParam = 'jobDefinitionArn' | 'stateMachineArn' | 'logGroupArn';
179
+ ```