alchemy 2.0.0-beta.1 → 2.0.0-beta.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 (129) hide show
  1. package/bin/alchemy-effect.js +31 -16
  2. package/bin/alchemy-effect.js.map +1 -1
  3. package/bin/alchemy-effect.sh +2 -3
  4. package/bin/alchemy-effect.ts +3 -3
  5. package/lib/cli/index.d.ts +39 -36
  6. package/lib/cli/index.d.ts.map +1 -1
  7. package/package.json +1 -1
  8. package/src/AWS/ACM/Certificate.ts +49 -46
  9. package/src/AWS/AutoScaling/AutoScalingGroup.ts +4 -1
  10. package/src/AWS/AutoScaling/LaunchTemplate.ts +3 -1
  11. package/src/AWS/AutoScaling/ScalingPolicy.ts +4 -1
  12. package/src/AWS/CloudFront/Distribution.ts +4 -1
  13. package/src/AWS/CloudFront/Function.ts +4 -1
  14. package/src/AWS/CloudFront/Invalidation.ts +4 -1
  15. package/src/AWS/CloudFront/KeyValueStore.ts +4 -1
  16. package/src/AWS/CloudFront/KvEntries.ts +4 -1
  17. package/src/AWS/CloudFront/KvRoutesUpdate.ts +4 -1
  18. package/src/AWS/CloudFront/OriginAccessControl.ts +4 -1
  19. package/src/AWS/CloudWatch/Alarm.ts +4 -1
  20. package/src/AWS/CloudWatch/AlarmMuteRule.ts +4 -1
  21. package/src/AWS/CloudWatch/AnomalyDetector.ts +4 -1
  22. package/src/AWS/CloudWatch/CompositeAlarm.ts +4 -1
  23. package/src/AWS/CloudWatch/Dashboard.ts +4 -1
  24. package/src/AWS/CloudWatch/InsightRule.ts +4 -1
  25. package/src/AWS/CloudWatch/MetricStream.ts +4 -1
  26. package/src/AWS/DynamoDB/Table.ts +3 -1
  27. package/src/AWS/EC2/EIP.ts +4 -1
  28. package/src/AWS/EC2/EgressOnlyInternetGateway.ts +4 -1
  29. package/src/AWS/EC2/Instance.ts +3 -1
  30. package/src/AWS/EC2/InternetGateway.ts +4 -1
  31. package/src/AWS/EC2/NatGateway.ts +4 -1
  32. package/src/AWS/EC2/NetworkAcl.ts +4 -1
  33. package/src/AWS/EC2/NetworkAclAssociation.ts +4 -1
  34. package/src/AWS/EC2/NetworkAclEntry.ts +4 -1
  35. package/src/AWS/EC2/Route.ts +4 -1
  36. package/src/AWS/EC2/RouteTable.ts +4 -1
  37. package/src/AWS/EC2/RouteTableAssociation.ts +4 -1
  38. package/src/AWS/EC2/SecurityGroup.ts +4 -1
  39. package/src/AWS/EC2/SecurityGroupRule.ts +4 -1
  40. package/src/AWS/EC2/Subnet.ts +4 -1
  41. package/src/AWS/EC2/Vpc.ts +4 -1
  42. package/src/AWS/EC2/VpcEndpoint.ts +4 -1
  43. package/src/AWS/ECR/Repository.ts +4 -1
  44. package/src/AWS/ECS/Cluster.ts +4 -1
  45. package/src/AWS/ECS/Service.ts +4 -1
  46. package/src/AWS/ECS/Task.ts +3 -1
  47. package/src/AWS/EKS/AccessEntry.ts +4 -1
  48. package/src/AWS/EKS/Addon.ts +4 -1
  49. package/src/AWS/EKS/Cluster.ts +3 -1
  50. package/src/AWS/EKS/PodIdentityAssociation.ts +4 -1
  51. package/src/AWS/ELBv2/Listener.ts +4 -1
  52. package/src/AWS/ELBv2/LoadBalancer.ts +4 -1
  53. package/src/AWS/ELBv2/TargetGroup.ts +4 -1
  54. package/src/AWS/EventBridge/EventBus.ts +4 -1
  55. package/src/AWS/EventBridge/Permission.ts +4 -1
  56. package/src/AWS/EventBridge/Rule.ts +4 -1
  57. package/src/AWS/IAM/AccessKey.ts +4 -1
  58. package/src/AWS/IAM/AccountAlias.ts +4 -1
  59. package/src/AWS/IAM/AccountPasswordPolicy.ts +4 -1
  60. package/src/AWS/IAM/Group.ts +4 -1
  61. package/src/AWS/IAM/GroupMembership.ts +4 -1
  62. package/src/AWS/IAM/InstanceProfile.ts +4 -1
  63. package/src/AWS/IAM/LoginProfile.ts +4 -1
  64. package/src/AWS/IAM/OpenIDConnectProvider.ts +4 -1
  65. package/src/AWS/IAM/Policy.ts +4 -1
  66. package/src/AWS/IAM/Role.ts +4 -1
  67. package/src/AWS/IAM/SAMLProvider.ts +4 -1
  68. package/src/AWS/IAM/SSHPublicKey.ts +4 -1
  69. package/src/AWS/IAM/ServerCertificate.ts +4 -1
  70. package/src/AWS/IAM/ServiceSpecificCredential.ts +4 -1
  71. package/src/AWS/IAM/SigningCertificate.ts +4 -1
  72. package/src/AWS/IAM/User.ts +4 -1
  73. package/src/AWS/IAM/VirtualMFADevice.ts +4 -1
  74. package/src/AWS/IdentityCenter/AccountAssignment.ts +4 -1
  75. package/src/AWS/IdentityCenter/Group.ts +4 -1
  76. package/src/AWS/IdentityCenter/Instance.ts +4 -1
  77. package/src/AWS/IdentityCenter/PermissionSet.ts +4 -1
  78. package/src/AWS/Kinesis/Stream.ts +4 -1
  79. package/src/AWS/Kinesis/StreamConsumer.ts +4 -1
  80. package/src/AWS/Lambda/EventSourceMapping.ts +4 -1
  81. package/src/AWS/Lambda/Function.ts +3 -1
  82. package/src/AWS/Lambda/Permission.ts +4 -1
  83. package/src/AWS/Logs/LogGroup.ts +4 -1
  84. package/src/AWS/Organizations/Account.ts +4 -1
  85. package/src/AWS/Organizations/DelegatedAdministrator.ts +4 -1
  86. package/src/AWS/Organizations/Organization.ts +4 -1
  87. package/src/AWS/Organizations/OrganizationResourcePolicy.ts +4 -1
  88. package/src/AWS/Organizations/OrganizationalUnit.ts +4 -1
  89. package/src/AWS/Organizations/Policy.ts +4 -1
  90. package/src/AWS/Organizations/PolicyAttachment.ts +4 -1
  91. package/src/AWS/Organizations/Root.ts +4 -1
  92. package/src/AWS/Organizations/RootPolicyType.ts +4 -1
  93. package/src/AWS/Organizations/TrustedServiceAccess.ts +4 -1
  94. package/src/AWS/Providers.ts +484 -438
  95. package/src/AWS/RDS/DBCluster.ts +4 -1
  96. package/src/AWS/RDS/DBClusterEndpoint.ts +4 -1
  97. package/src/AWS/RDS/DBClusterParameterGroup.ts +4 -1
  98. package/src/AWS/RDS/DBInstance.ts +4 -1
  99. package/src/AWS/RDS/DBParameterGroup.ts +4 -1
  100. package/src/AWS/RDS/DBProxy.ts +4 -1
  101. package/src/AWS/RDS/DBProxyEndpoint.ts +4 -1
  102. package/src/AWS/RDS/DBProxyTargetGroup.ts +4 -1
  103. package/src/AWS/RDS/DBSubnetGroup.ts +4 -1
  104. package/src/AWS/Route53/Record.ts +4 -1
  105. package/src/AWS/S3/Bucket.ts +3 -1
  106. package/src/AWS/SNS/Subscription.ts +4 -1
  107. package/src/AWS/SNS/Topic.ts +4 -1
  108. package/src/AWS/SQS/Queue.ts +3 -1
  109. package/src/AWS/Scheduler/Schedule.ts +4 -1
  110. package/src/AWS/Scheduler/ScheduleGroup.ts +4 -1
  111. package/src/AWS/SecretsManager/Secret.ts +4 -1
  112. package/src/AWS/Website/AssetDeployment.ts +4 -1
  113. package/src/Apply.ts +3 -3
  114. package/src/Binding.ts +18 -17
  115. package/src/Cloudflare/Container/ContainerApplication.ts +3 -1
  116. package/src/Cloudflare/D1/D1Database.ts +4 -1
  117. package/src/Cloudflare/KV/KVNamespace.ts +7 -4
  118. package/src/Cloudflare/Providers.ts +62 -60
  119. package/src/Cloudflare/R2/R2Bucket.ts +4 -1
  120. package/src/Cloudflare/R2/R2BucketBinding.ts +26 -31
  121. package/src/Cloudflare/Workers/Worker.ts +3 -1
  122. package/src/Cloudflare/Workers/Workflow.ts +3 -1
  123. package/src/Plan.ts +595 -596
  124. package/src/Platform.ts +9 -8
  125. package/src/Provider.ts +145 -23
  126. package/src/Resource.ts +10 -3
  127. package/src/Stack.ts +1 -1
  128. package/src/Util/service.ts +1 -1
  129. package/src/index.ts +10 -7
@@ -6,6 +6,7 @@ import type { Input } from "../../Input.ts";
6
6
  import { createPhysicalName } from "../../PhysicalName.ts";
7
7
  import * as Provider from "../../Provider.ts";
8
8
  import { Resource } from "../../Resource.ts";
9
+ import type { Providers } from "../Providers.ts";
9
10
  import {
10
11
  createInternalTags,
11
12
  createTagsList,
@@ -261,7 +262,9 @@ export interface Rule extends Resource<
261
262
  ruleArn: RuleArn;
262
263
  /** The event bus associated with the rule. */
263
264
  eventBusName: string;
264
- }
265
+ },
266
+ never,
267
+ Providers
265
268
  > {}
266
269
  export const Rule = Resource<Rule>("AWS.EventBridge.Rule");
267
270
 
@@ -4,6 +4,7 @@ import * as Redacted from "effect/Redacted";
4
4
  import { isResolved } from "../../Diff.ts";
5
5
  import * as Provider from "../../Provider.ts";
6
6
  import { Resource } from "../../Resource.ts";
7
+ import type { Providers } from "../Providers.ts";
7
8
  import { toRedactedString } from "./common.ts";
8
9
 
9
10
  export interface AccessKeyProps {
@@ -30,7 +31,9 @@ export interface AccessKey extends Resource<
30
31
  lastUsedDate: Date | undefined;
31
32
  lastUsedServiceName: string | undefined;
32
33
  lastUsedRegion: string | undefined;
33
- }
34
+ },
35
+ never,
36
+ Providers
34
37
  > {}
35
38
 
36
39
  /**
@@ -3,6 +3,7 @@ import * as Effect from "effect/Effect";
3
3
  import { isResolved } from "../../Diff.ts";
4
4
  import * as Provider from "../../Provider.ts";
5
5
  import { Resource } from "../../Resource.ts";
6
+ import type { Providers } from "../Providers.ts";
6
7
 
7
8
  export interface AccountAliasProps {
8
9
  /**
@@ -16,7 +17,9 @@ export interface AccountAlias extends Resource<
16
17
  AccountAliasProps,
17
18
  {
18
19
  accountAlias: string;
19
- }
20
+ },
21
+ never,
22
+ Providers
20
23
  > {}
21
24
 
22
25
  /**
@@ -2,6 +2,7 @@ import * as iam from "@distilled.cloud/aws/iam";
2
2
  import * as Effect from "effect/Effect";
3
3
  import * as Provider from "../../Provider.ts";
4
4
  import { Resource } from "../../Resource.ts";
5
+ import type { Providers } from "../Providers.ts";
5
6
 
6
7
  export interface AccountPasswordPolicyProps
7
8
  extends iam.UpdateAccountPasswordPolicyRequest {}
@@ -9,7 +10,9 @@ export interface AccountPasswordPolicyProps
9
10
  export interface AccountPasswordPolicy extends Resource<
10
11
  "AWS.IAM.AccountPasswordPolicy",
11
12
  AccountPasswordPolicyProps,
12
- iam.PasswordPolicy
13
+ iam.PasswordPolicy,
14
+ never,
15
+ Providers
13
16
  > {}
14
17
 
15
18
  /**
@@ -4,6 +4,7 @@ import { isResolved } from "../../Diff.ts";
4
4
  import { createPhysicalName } from "../../PhysicalName.ts";
5
5
  import * as Provider from "../../Provider.ts";
6
6
  import { Resource } from "../../Resource.ts";
7
+ import type { Providers } from "../Providers.ts";
7
8
  import type { PolicyDocument } from "./Policy.ts";
8
9
  import { parsePolicyDocument, stringifyPolicyDocument } from "./common.ts";
9
10
 
@@ -37,7 +38,9 @@ export interface Group extends Resource<
37
38
  path: string | undefined;
38
39
  managedPolicyArns: string[];
39
40
  inlinePolicies: Record<string, PolicyDocument>;
40
- }
41
+ },
42
+ never,
43
+ Providers
41
44
  > {}
42
45
 
43
46
  /**
@@ -4,6 +4,7 @@ import { isResolved } from "../../Diff.ts";
4
4
  import type { Input } from "../../Input.ts";
5
5
  import * as Provider from "../../Provider.ts";
6
6
  import { Resource } from "../../Resource.ts";
7
+ import type { Providers } from "../Providers.ts";
7
8
 
8
9
  export interface GroupMembershipProps {
9
10
  /**
@@ -22,7 +23,9 @@ export interface GroupMembership extends Resource<
22
23
  {
23
24
  groupName: string;
24
25
  userNames: string[];
25
- }
26
+ },
27
+ never,
28
+ Providers
26
29
  > {}
27
30
 
28
31
  /**
@@ -5,6 +5,7 @@ import type { Input } from "../../Input.ts";
5
5
  import { createPhysicalName } from "../../PhysicalName.ts";
6
6
  import * as Provider from "../../Provider.ts";
7
7
  import { Resource } from "../../Resource.ts";
8
+ import type { Providers } from "../Providers.ts";
8
9
  import {
9
10
  createInternalTags,
10
11
  createTagsList,
@@ -43,7 +44,9 @@ export interface InstanceProfile extends Resource<
43
44
  path: string | undefined;
44
45
  roleName: string | undefined;
45
46
  tags: Record<string, string>;
46
- }
47
+ },
48
+ never,
49
+ Providers
47
50
  > {}
48
51
 
49
52
  /**
@@ -4,6 +4,7 @@ import * as Redacted from "effect/Redacted";
4
4
  import { isResolved } from "../../Diff.ts";
5
5
  import * as Provider from "../../Provider.ts";
6
6
  import { Resource } from "../../Resource.ts";
7
+ import type { Providers } from "../Providers.ts";
7
8
  import { unwrapRedactedString } from "./common.ts";
8
9
 
9
10
  export interface LoginProfileProps {
@@ -28,7 +29,9 @@ export interface LoginProfile extends Resource<
28
29
  userName: string;
29
30
  createDate: Date | undefined;
30
31
  passwordResetRequired: boolean | undefined;
31
- }
32
+ },
33
+ never,
34
+ Providers
32
35
  > {}
33
36
 
34
37
  /**
@@ -3,6 +3,7 @@ import * as Effect from "effect/Effect";
3
3
  import { isResolved } from "../../Diff.ts";
4
4
  import * as Provider from "../../Provider.ts";
5
5
  import { Resource } from "../../Resource.ts";
6
+ import type { Providers } from "../Providers.ts";
6
7
  import { diffTags } from "../../Tags.ts";
7
8
  import { Account } from "../Account.ts";
8
9
  import { toTagRecord } from "./common.ts";
@@ -35,7 +36,9 @@ export interface OpenIDConnectProvider extends Resource<
35
36
  clientIDList: string[];
36
37
  thumbprintList: string[];
37
38
  tags: Record<string, string>;
38
- }
39
+ },
40
+ never,
41
+ Providers
39
42
  > {}
40
43
 
41
44
  /**
@@ -4,6 +4,7 @@ import { isResolved } from "../../Diff.ts";
4
4
  import { createPhysicalName } from "../../PhysicalName.ts";
5
5
  import * as Provider from "../../Provider.ts";
6
6
  import { Resource } from "../../Resource.ts";
7
+ import type { Providers } from "../Providers.ts";
7
8
  import {
8
9
  createInternalTags,
9
10
  createTagsList,
@@ -79,7 +80,9 @@ export interface Policy extends Resource<
79
80
  description: string | undefined;
80
81
  policyDocument: PolicyDocument;
81
82
  tags: Record<string, string>;
82
- }
83
+ },
84
+ never,
85
+ Providers
83
86
  > {}
84
87
 
85
88
  /**
@@ -4,6 +4,7 @@ import { isResolved } from "../../Diff.ts";
4
4
  import { createPhysicalName } from "../../PhysicalName.ts";
5
5
  import * as Provider from "../../Provider.ts";
6
6
  import { Resource } from "../../Resource.ts";
7
+ import type { Providers } from "../Providers.ts";
7
8
  import {
8
9
  createInternalTags,
9
10
  createTagsList,
@@ -77,7 +78,9 @@ export interface Role extends Resource<
77
78
  maxSessionDuration: number | undefined;
78
79
  permissionsBoundary: string | undefined;
79
80
  tags: Record<string, string>;
80
- }
81
+ },
82
+ never,
83
+ Providers
81
84
  > {}
82
85
 
83
86
  /**
@@ -4,6 +4,7 @@ import * as Redacted from "effect/Redacted";
4
4
  import { isResolved } from "../../Diff.ts";
5
5
  import * as Provider from "../../Provider.ts";
6
6
  import { Resource } from "../../Resource.ts";
7
+ import type { Providers } from "../Providers.ts";
7
8
  import { diffTags } from "../../Tags.ts";
8
9
  import { toTagRecord, unwrapRedactedString } from "./common.ts";
9
10
 
@@ -40,7 +41,9 @@ export interface SAMLProvider extends Resource<
40
41
  samlMetadataDocument: string | undefined;
41
42
  assertionEncryptionMode: iam.AssertionEncryptionModeType | undefined;
42
43
  tags: Record<string, string>;
43
- }
44
+ },
45
+ never,
46
+ Providers
44
47
  > {}
45
48
 
46
49
  /**
@@ -3,6 +3,7 @@ import * as Effect from "effect/Effect";
3
3
  import { isResolved } from "../../Diff.ts";
4
4
  import * as Provider from "../../Provider.ts";
5
5
  import { Resource } from "../../Resource.ts";
6
+ import type { Providers } from "../Providers.ts";
6
7
 
7
8
  export interface SSHPublicKeyProps {
8
9
  /**
@@ -30,7 +31,9 @@ export interface SSHPublicKey extends Resource<
30
31
  sshPublicKeyBody: string;
31
32
  status: iam.StatusType;
32
33
  uploadDate: Date | undefined;
33
- }
34
+ },
35
+ never,
36
+ Providers
34
37
  > {}
35
38
 
36
39
  /**
@@ -5,6 +5,7 @@ import { isResolved } from "../../Diff.ts";
5
5
  import { createPhysicalName } from "../../PhysicalName.ts";
6
6
  import * as Provider from "../../Provider.ts";
7
7
  import { Resource } from "../../Resource.ts";
8
+ import type { Providers } from "../Providers.ts";
8
9
  import {
9
10
  createInternalTags,
10
11
  createTagsList,
@@ -54,7 +55,9 @@ export interface ServerCertificate extends Resource<
54
55
  uploadDate: Date | undefined;
55
56
  expiration: Date | undefined;
56
57
  tags: Record<string, string>;
57
- }
58
+ },
59
+ never,
60
+ Providers
58
61
  > {}
59
62
 
60
63
  /**
@@ -4,6 +4,7 @@ import * as Redacted from "effect/Redacted";
4
4
  import { isResolved } from "../../Diff.ts";
5
5
  import * as Provider from "../../Provider.ts";
6
6
  import { Resource } from "../../Resource.ts";
7
+ import type { Providers } from "../Providers.ts";
7
8
  import { toRedactedString } from "./common.ts";
8
9
 
9
10
  export interface ServiceSpecificCredentialProps {
@@ -40,7 +41,9 @@ export interface ServiceSpecificCredential extends Resource<
40
41
  serviceCredentialAlias: string | undefined;
41
42
  servicePassword: Redacted.Redacted<string> | undefined;
42
43
  serviceCredentialSecret: Redacted.Redacted<string> | undefined;
43
- }
44
+ },
45
+ never,
46
+ Providers
44
47
  > {}
45
48
 
46
49
  /**
@@ -3,6 +3,7 @@ import * as Effect from "effect/Effect";
3
3
  import { isResolved } from "../../Diff.ts";
4
4
  import * as Provider from "../../Provider.ts";
5
5
  import { Resource } from "../../Resource.ts";
6
+ import type { Providers } from "../Providers.ts";
6
7
 
7
8
  export interface SigningCertificateProps {
8
9
  /**
@@ -29,7 +30,9 @@ export interface SigningCertificate extends Resource<
29
30
  certificateBody: string;
30
31
  status: iam.StatusType;
31
32
  uploadDate: Date | undefined;
32
- }
33
+ },
34
+ never,
35
+ Providers
33
36
  > {}
34
37
 
35
38
  /**
@@ -4,6 +4,7 @@ import { isResolved } from "../../Diff.ts";
4
4
  import { createPhysicalName } from "../../PhysicalName.ts";
5
5
  import * as Provider from "../../Provider.ts";
6
6
  import { Resource } from "../../Resource.ts";
7
+ import type { Providers } from "../Providers.ts";
7
8
  import {
8
9
  createInternalTags,
9
10
  createTagsList,
@@ -57,7 +58,9 @@ export interface User extends Resource<
57
58
  managedPolicyArns: string[];
58
59
  inlinePolicies: Record<string, PolicyDocument>;
59
60
  tags: Record<string, string>;
60
- }
61
+ },
62
+ never,
63
+ Providers
61
64
  > {}
62
65
 
63
66
  /**
@@ -5,6 +5,7 @@ import { isResolved } from "../../Diff.ts";
5
5
  import { createPhysicalName } from "../../PhysicalName.ts";
6
6
  import * as Provider from "../../Provider.ts";
7
7
  import { Resource } from "../../Resource.ts";
8
+ import type { Providers } from "../Providers.ts";
8
9
  import { createInternalTags, createTagsList, diffTags } from "../../Tags.ts";
9
10
  import { toRedactedBytes, toTagRecord } from "./common.ts";
10
11
 
@@ -48,7 +49,9 @@ export interface VirtualMFADevice extends Resource<
48
49
  | undefined;
49
50
  qrCodePNG: Redacted.Redacted<Uint8Array<ArrayBufferLike>> | undefined;
50
51
  tags: Record<string, string>;
51
- }
52
+ },
53
+ never,
54
+ Providers
52
55
  > {}
53
56
 
54
57
  /**
@@ -5,6 +5,7 @@ import * as Stream from "effect/Stream";
5
5
  import { isResolved } from "../../Diff.ts";
6
6
  import * as Provider from "../../Provider.ts";
7
7
  import { Resource } from "../../Resource.ts";
8
+ import type { Providers } from "../Providers.ts";
8
9
  import { resolveInstance, retryIdentityCenter } from "./common.ts";
9
10
 
10
11
  export interface AccountAssignmentProps {
@@ -41,7 +42,9 @@ export interface AccountAssignment extends Resource<
41
42
  principalType: "USER" | "GROUP";
42
43
  targetId: string;
43
44
  targetType: "AWS_ACCOUNT";
44
- }
45
+ },
46
+ never,
47
+ Providers
45
48
  > {}
46
49
 
47
50
  /**
@@ -3,6 +3,7 @@ import * as Effect from "effect/Effect";
3
3
  import { isResolved } from "../../Diff.ts";
4
4
  import * as Provider from "../../Provider.ts";
5
5
  import { Resource } from "../../Resource.ts";
6
+ import type { Providers } from "../Providers.ts";
6
7
  import {
7
8
  listGroups,
8
9
  resolveIdentityStoreId,
@@ -39,7 +40,9 @@ export interface Group extends Resource<
39
40
  description: string | undefined;
40
41
  createdAt: Date | undefined;
41
42
  updatedAt: Date | undefined;
42
- }
43
+ },
44
+ never,
45
+ Providers
43
46
  > {}
44
47
 
45
48
  /**
@@ -3,6 +3,7 @@ import * as Effect from "effect/Effect";
3
3
  import { isResolved } from "../../Diff.ts";
4
4
  import * as Provider from "../../Provider.ts";
5
5
  import { Resource } from "../../Resource.ts";
6
+ import type { Providers } from "../Providers.ts";
6
7
  import {
7
8
  listInstances,
8
9
  resolveInstance,
@@ -48,7 +49,9 @@ export interface Instance extends Resource<
48
49
  statusReason: string | undefined;
49
50
  createdDate: Date | undefined;
50
51
  mode: "existing" | "account";
51
- }
52
+ },
53
+ never,
54
+ Providers
52
55
  > {}
53
56
 
54
57
  /**
@@ -4,6 +4,7 @@ import * as Stream from "effect/Stream";
4
4
  import { isResolved } from "../../Diff.ts";
5
5
  import * as Provider from "../../Provider.ts";
6
6
  import { Resource } from "../../Resource.ts";
7
+ import type { Providers } from "../Providers.ts";
7
8
  import { resolveInstance, retryIdentityCenter } from "./common.ts";
8
9
 
9
10
  export interface PermissionSetProps {
@@ -41,7 +42,9 @@ export interface PermissionSet extends Resource<
41
42
  sessionDuration: string | undefined;
42
43
  relayState: string | undefined;
43
44
  createdDate: Date | undefined;
44
- }
45
+ },
46
+ never,
47
+ Providers
45
48
  > {}
46
49
 
47
50
  /**
@@ -10,6 +10,7 @@ import { isResolved } from "../../Diff.ts";
10
10
  import { createPhysicalName } from "../../PhysicalName.ts";
11
11
  import * as Provider from "../../Provider.ts";
12
12
  import { Resource } from "../../Resource.ts";
13
+ import type { Providers } from "../Providers.ts";
13
14
  import {
14
15
  createInternalTags,
15
16
  diffTags,
@@ -159,7 +160,9 @@ export interface Stream extends Resource<
159
160
  * Current tags reported for the stream.
160
161
  */
161
162
  tags: Record<string, string>;
162
- }
163
+ },
164
+ never,
165
+ Providers
163
166
  > {}
164
167
 
165
168
  /**
@@ -6,6 +6,7 @@ import type { Input } from "../../Input.ts";
6
6
  import { createPhysicalName } from "../../PhysicalName.ts";
7
7
  import * as Provider from "../../Provider.ts";
8
8
  import { Resource } from "../../Resource.ts";
9
+ import type { Providers } from "../Providers.ts";
9
10
  import {
10
11
  createInternalTags,
11
12
  diffTags,
@@ -46,7 +47,9 @@ export interface StreamConsumer extends Resource<
46
47
  streamArn: StreamArn;
47
48
  consumerCreationTimestamp: Date;
48
49
  tags: Record<string, string>;
49
- }
50
+ },
51
+ never,
52
+ Providers
50
53
  > {}
51
54
 
52
55
  /**
@@ -7,6 +7,7 @@ import * as Stream from "effect/Stream";
7
7
  import { deepEqual, isResolved } from "../../Diff.ts";
8
8
  import * as Provider from "../../Provider.ts";
9
9
  import { Resource } from "../../Resource.ts";
10
+ import type { Providers } from "../Providers.ts";
10
11
  import { createInternalTags, diffTags, hasTags } from "../../Tags.ts";
11
12
  import { Account } from "../Account.ts";
12
13
 
@@ -165,7 +166,9 @@ export interface EventSourceMapping extends Resource<
165
166
  * The current state of the event source mapping.
166
167
  */
167
168
  state: string;
168
- }
169
+ },
170
+ never,
171
+ Providers
169
172
  > {}
170
173
 
171
174
  export const EventSourceMapping = Resource<EventSourceMapping>(
@@ -23,6 +23,7 @@ import { Platform, type Main, type PlatformProps } from "../../Platform.ts";
23
23
  import type { LogLine, LogsInput } from "../../Provider.ts";
24
24
  import * as Provider from "../../Provider.ts";
25
25
  import { Resource, type ResourceBinding } from "../../Resource.ts";
26
+ import type { Providers } from "../Providers.ts";
26
27
  import * as Serverless from "../../Serverless/index.ts";
27
28
  import { Stack } from "../../Stack.ts";
28
29
  import { createInternalTags, createTagsList, hasTags } from "../../Tags.ts";
@@ -103,7 +104,8 @@ export interface Function extends Resource<
103
104
  {
104
105
  env?: Record<string, any>;
105
106
  policyStatements?: PolicyStatement[];
106
- }
107
+ },
108
+ Providers
107
109
  > {}
108
110
 
109
111
  export type FunctionServices = Credentials | Region;
@@ -5,6 +5,7 @@ import { isResolved } from "../../Diff.ts";
5
5
  import { createPhysicalName } from "../../PhysicalName.ts";
6
6
  import * as Provider from "../../Provider.ts";
7
7
  import { Resource } from "../../Resource.ts";
8
+ import type { Providers } from "../Providers.ts";
8
9
 
9
10
  export type { FunctionUrlAuthType } from "@distilled.cloud/aws/lambda";
10
11
 
@@ -72,7 +73,9 @@ export interface Permission extends Resource<
72
73
  statementId: string;
73
74
  /** The function name or ARN the permission is attached to. */
74
75
  functionName: string;
75
- }
76
+ },
77
+ never,
78
+ Providers
76
79
  > {}
77
80
 
78
81
  /**
@@ -5,6 +5,7 @@ import { isResolved } from "../../Diff.ts";
5
5
  import { createPhysicalName } from "../../PhysicalName.ts";
6
6
  import * as Provider from "../../Provider.ts";
7
7
  import { Resource } from "../../Resource.ts";
8
+ import type { Providers } from "../Providers.ts";
8
9
  import { createInternalTags, diffTags } from "../../Tags.ts";
9
10
  import type { AccountID } from "../Account.ts";
10
11
  import { Account } from "../Account.ts";
@@ -42,7 +43,9 @@ export interface LogGroup extends Resource<
42
43
  retentionInDays?: number;
43
44
  kmsKeyId?: string;
44
45
  tags: Record<string, string>;
45
- }
46
+ },
47
+ never,
48
+ Providers
46
49
  > {}
47
50
 
48
51
  /**
@@ -5,6 +5,7 @@ import * as Schedule from "effect/Schedule";
5
5
  import { isResolved } from "../../Diff.ts";
6
6
  import * as Provider from "../../Provider.ts";
7
7
  import { Resource } from "../../Resource.ts";
8
+ import type { Providers } from "../Providers.ts";
8
9
  import {
9
10
  collectPages,
10
11
  ensureOwnedByAlchemy,
@@ -57,7 +58,9 @@ export interface Account extends Resource<
57
58
  joinedMethod: organizations.AccountJoinedMethod | undefined;
58
59
  joinedTimestamp: Date | undefined;
59
60
  tags: Record<string, string>;
60
- }
61
+ },
62
+ never,
63
+ Providers
61
64
  > {}
62
65
 
63
66
  /**
@@ -3,6 +3,7 @@ import * as Effect from "effect/Effect";
3
3
  import { isResolved } from "../../Diff.ts";
4
4
  import * as Provider from "../../Provider.ts";
5
5
  import { Resource } from "../../Resource.ts";
6
+ import type { Providers } from "../Providers.ts";
6
7
  import { collectPages, retryOrganizations } from "./common.ts";
7
8
 
8
9
  export interface DelegatedAdministratorProps {
@@ -26,7 +27,9 @@ export interface DelegatedAdministrator extends Resource<
26
27
  accountEmail: organizations.DelegatedAdministrator["Email"] | undefined;
27
28
  servicePrincipal: string;
28
29
  delegationEnabledDate: Date | undefined;
29
- }
30
+ },
31
+ never,
32
+ Providers
30
33
  > {}
31
34
 
32
35
  /**
@@ -2,6 +2,7 @@ import * as organizations from "@distilled.cloud/aws/organizations";
2
2
  import * as Effect from "effect/Effect";
3
3
  import * as Provider from "../../Provider.ts";
4
4
  import { Resource } from "../../Resource.ts";
5
+ import type { Providers } from "../Providers.ts";
5
6
  import { retryOrganizations } from "./common.ts";
6
7
 
7
8
  export type OrganizationId = string;
@@ -29,7 +30,9 @@ export interface Organization extends Resource<
29
30
  | organizations.Organization["MasterAccountEmail"]
30
31
  | undefined;
31
32
  availablePolicyTypes: organizations.PolicyTypeSummary[];
32
- }
33
+ },
34
+ never,
35
+ Providers
33
36
  > {}
34
37
 
35
38
  /**
@@ -2,6 +2,7 @@ import * as organizations from "@distilled.cloud/aws/organizations";
2
2
  import * as Effect from "effect/Effect";
3
3
  import * as Provider from "../../Provider.ts";
4
4
  import { Resource } from "../../Resource.ts";
5
+ import type { Providers } from "../Providers.ts";
5
6
  import type { PolicyDocument } from "../IAM/Policy.ts";
6
7
  import { retryOrganizations } from "./common.ts";
7
8
 
@@ -19,7 +20,9 @@ export interface OrganizationResourcePolicy extends Resource<
19
20
  resourcePolicyId: string;
20
21
  resourcePolicyArn: string;
21
22
  document: PolicyDocument;
22
- }
23
+ },
24
+ never,
25
+ Providers
23
26
  > {}
24
27
 
25
28
  /**
@@ -3,6 +3,7 @@ import * as Effect from "effect/Effect";
3
3
  import { isResolved } from "../../Diff.ts";
4
4
  import * as Provider from "../../Provider.ts";
5
5
  import { Resource } from "../../Resource.ts";
6
+ import type { Providers } from "../Providers.ts";
6
7
  import {
7
8
  collectPages,
8
9
  createName,
@@ -39,7 +40,9 @@ export interface OrganizationalUnit extends Resource<
39
40
  name: string;
40
41
  parentId: string | undefined;
41
42
  tags: Record<string, string>;
42
- }
43
+ },
44
+ never,
45
+ Providers
43
46
  > {}
44
47
 
45
48
  /**
@@ -3,6 +3,7 @@ import * as Effect from "effect/Effect";
3
3
  import { isResolved } from "../../Diff.ts";
4
4
  import * as Provider from "../../Provider.ts";
5
5
  import { Resource } from "../../Resource.ts";
6
+ import type { Providers } from "../Providers.ts";
6
7
  import type { PolicyDocument } from "../IAM/Policy.ts";
7
8
  import {
8
9
  collectPages,
@@ -52,7 +53,9 @@ export interface Policy extends Resource<
52
53
  awsManaged: boolean | undefined;
53
54
  document: PolicyDocument;
54
55
  tags: Record<string, string>;
55
- }
56
+ },
57
+ never,
58
+ Providers
56
59
  > {}
57
60
 
58
61
  /**