@pulumi/aws 7.12.0-alpha.1763161567 → 7.12.0-alpha.1763660660

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 (242) hide show
  1. package/acm/certificate.d.ts +2 -2
  2. package/acm/certificate.js +2 -2
  3. package/acmpca/certificate.d.ts +2 -2
  4. package/acmpca/certificate.js +2 -2
  5. package/apigateway/account.d.ts +0 -2
  6. package/apigateway/account.js +0 -2
  7. package/apigateway/account.js.map +1 -1
  8. package/appsync/graphQLApi.d.ts +45 -0
  9. package/appsync/graphQLApi.js +45 -0
  10. package/appsync/graphQLApi.js.map +1 -1
  11. package/bedrock/agentAgentAlias.d.ts +55 -0
  12. package/bedrock/agentAgentAlias.js +55 -0
  13. package/bedrock/agentAgentAlias.js.map +1 -1
  14. package/bedrock/agentcoreAgentRuntime.d.ts +2 -2
  15. package/bedrock/agentcoreAgentRuntime.js +2 -2
  16. package/bedrock/agentcoreBrowser.d.ts +22 -0
  17. package/bedrock/agentcoreBrowser.js +22 -0
  18. package/bedrock/agentcoreBrowser.js.map +1 -1
  19. package/bedrock/agentcoreGatewayTarget.d.ts +117 -3
  20. package/bedrock/agentcoreGatewayTarget.js +114 -0
  21. package/bedrock/agentcoreGatewayTarget.js.map +1 -1
  22. package/bedrock/agentcoreMemory.d.ts +19 -4
  23. package/bedrock/agentcoreMemory.js +16 -1
  24. package/bedrock/agentcoreMemory.js.map +1 -1
  25. package/bedrock/agentcoreOauth2CredentialProvider.d.ts +20 -0
  26. package/bedrock/agentcoreOauth2CredentialProvider.js +20 -0
  27. package/bedrock/agentcoreOauth2CredentialProvider.js.map +1 -1
  28. package/bedrockmodel/invocationLoggingConfiguration.d.ts +1 -1
  29. package/bedrockmodel/invocationLoggingConfiguration.js +1 -1
  30. package/cloudfront/distribution.d.ts +8 -0
  31. package/cloudfront/distribution.js +2 -0
  32. package/cloudfront/distribution.js.map +1 -1
  33. package/cloudhsmv2/cluster.d.ts +36 -0
  34. package/cloudhsmv2/cluster.js +36 -0
  35. package/cloudhsmv2/cluster.js.map +1 -1
  36. package/cloudtrail/trail.d.ts +1 -1
  37. package/cloudtrail/trail.js +1 -1
  38. package/cloudwatch/contributorManagedInsightRule.d.ts +11 -0
  39. package/cloudwatch/contributorManagedInsightRule.js +11 -0
  40. package/cloudwatch/contributorManagedInsightRule.js.map +1 -1
  41. package/cloudwatch/logDeliveryDestination.d.ts +21 -5
  42. package/cloudwatch/logDeliveryDestination.js +13 -1
  43. package/cloudwatch/logDeliveryDestination.js.map +1 -1
  44. package/codebuild/webhook.d.ts +1 -1
  45. package/codebuild/webhook.js +1 -1
  46. package/codepipeline/webhook.d.ts +1 -1
  47. package/codepipeline/webhook.js +1 -1
  48. package/connect/routingProfile.d.ts +21 -9
  49. package/connect/routingProfile.js +17 -5
  50. package/connect/routingProfile.js.map +1 -1
  51. package/datasync/locationFsxOntapFileSystem.d.ts +18 -0
  52. package/datasync/locationFsxOntapFileSystem.js +18 -0
  53. package/datasync/locationFsxOntapFileSystem.js.map +1 -1
  54. package/datazone/project.d.ts +13 -0
  55. package/datazone/project.js +13 -0
  56. package/datazone/project.js.map +1 -1
  57. package/detective/organizationConfiguration.d.ts +11 -0
  58. package/detective/organizationConfiguration.js +11 -0
  59. package/detective/organizationConfiguration.js.map +1 -1
  60. package/ec2/allowedImagesSettings.d.ts +124 -0
  61. package/ec2/allowedImagesSettings.js +106 -0
  62. package/ec2/allowedImagesSettings.js.map +1 -0
  63. package/ec2/getCoipPools.d.ts +32 -0
  64. package/ec2/getCoipPools.js +32 -0
  65. package/ec2/getCoipPools.js.map +1 -1
  66. package/ec2/imageBlockPublicAccess.d.ts +12 -0
  67. package/ec2/imageBlockPublicAccess.js +2 -0
  68. package/ec2/imageBlockPublicAccess.js.map +1 -1
  69. package/ec2/index.d.ts +3 -0
  70. package/ec2/index.js +10 -5
  71. package/ec2/index.js.map +1 -1
  72. package/ec2/securityGroup.d.ts +2 -2
  73. package/ec2/securityGroup.js +2 -2
  74. package/ec2/serialConsoleAccess.d.ts +12 -0
  75. package/ec2/serialConsoleAccess.js +2 -0
  76. package/ec2/serialConsoleAccess.js.map +1 -1
  77. package/ec2/vpcEndpoint.d.ts +50 -0
  78. package/ec2/vpcEndpoint.js +50 -0
  79. package/ec2/vpcEndpoint.js.map +1 -1
  80. package/ec2clientvpn/authorizationRule.d.ts +3 -3
  81. package/ec2clientvpn/route.d.ts +3 -3
  82. package/ec2transitgateway/instanceConnectEndpoint.d.ts +12 -0
  83. package/ec2transitgateway/instanceConnectEndpoint.js +2 -0
  84. package/ec2transitgateway/instanceConnectEndpoint.js.map +1 -1
  85. package/ecrpublic/getImages.d.ts +36 -0
  86. package/ecrpublic/getImages.js +36 -0
  87. package/ecrpublic/getImages.js.map +1 -1
  88. package/ecs/getService.d.ts +94 -3
  89. package/ecs/getService.js.map +1 -1
  90. package/ecs/service.d.ts +40 -0
  91. package/ecs/service.js +40 -0
  92. package/ecs/service.js.map +1 -1
  93. package/elasticache/getReplicationGroup.d.ts +12 -8
  94. package/elasticache/getReplicationGroup.js.map +1 -1
  95. package/elasticache/replicationGroup.d.ts +47 -0
  96. package/elasticache/replicationGroup.js +37 -0
  97. package/elasticache/replicationGroup.js.map +1 -1
  98. package/elasticache/reservedCacheNode.d.ts +17 -0
  99. package/elasticache/reservedCacheNode.js +17 -0
  100. package/elasticache/reservedCacheNode.js.map +1 -1
  101. package/finspace/kxCluster.d.ts +39 -0
  102. package/finspace/kxCluster.js +39 -0
  103. package/finspace/kxCluster.js.map +1 -1
  104. package/fis/index.d.ts +3 -0
  105. package/fis/index.js +6 -1
  106. package/fis/index.js.map +1 -1
  107. package/fis/targetAccountConfiguration.d.ts +129 -0
  108. package/fis/targetAccountConfiguration.js +90 -0
  109. package/fis/targetAccountConfiguration.js.map +1 -0
  110. package/glue/job.d.ts +3 -3
  111. package/guardduty/malwareProtectionPlan.d.ts +26 -0
  112. package/guardduty/malwareProtectionPlan.js +26 -0
  113. package/guardduty/malwareProtectionPlan.js.map +1 -1
  114. package/guardduty/memberDetectorFeature.d.ts +23 -0
  115. package/guardduty/memberDetectorFeature.js +23 -0
  116. package/guardduty/memberDetectorFeature.js.map +1 -1
  117. package/index.d.ts +4 -1
  118. package/index.js +10 -3
  119. package/index.js.map +1 -1
  120. package/invoicing/index.d.ts +3 -0
  121. package/invoicing/index.js +22 -0
  122. package/invoicing/index.js.map +1 -0
  123. package/invoicing/invoiceUnit.d.ts +195 -0
  124. package/invoicing/invoiceUnit.js +102 -0
  125. package/invoicing/invoiceUnit.js.map +1 -0
  126. package/iot/caCertificate.d.ts +6 -6
  127. package/iot/caCertificate.js +6 -6
  128. package/iot/getRegistrationCode.d.ts +6 -6
  129. package/iot/getRegistrationCode.js +6 -6
  130. package/ivschat/loggingConfiguration.d.ts +15 -0
  131. package/ivschat/loggingConfiguration.js +15 -0
  132. package/ivschat/loggingConfiguration.js.map +1 -1
  133. package/kinesis/getStream.d.ts +4 -0
  134. package/kinesis/getStream.js.map +1 -1
  135. package/kinesis/stream.d.ts +12 -0
  136. package/kinesis/stream.js +2 -0
  137. package/kinesis/stream.js.map +1 -1
  138. package/kms/key.d.ts +3 -3
  139. package/licensemanager/licenseGrant.d.ts +19 -0
  140. package/licensemanager/licenseGrant.js +19 -0
  141. package/licensemanager/licenseGrant.js.map +1 -1
  142. package/m2/environment.d.ts +79 -0
  143. package/m2/environment.js +79 -0
  144. package/m2/environment.js.map +1 -1
  145. package/networkfirewall/tlsInspectionConfiguration.d.ts +44 -0
  146. package/networkfirewall/tlsInspectionConfiguration.js +44 -0
  147. package/networkfirewall/tlsInspectionConfiguration.js.map +1 -1
  148. package/networkflowmonitor/index.d.ts +6 -0
  149. package/networkflowmonitor/index.js +27 -0
  150. package/networkflowmonitor/index.js.map +1 -0
  151. package/networkflowmonitor/monitor.d.ts +187 -0
  152. package/networkflowmonitor/monitor.js +113 -0
  153. package/networkflowmonitor/monitor.js.map +1 -0
  154. package/networkflowmonitor/scope.d.ts +153 -0
  155. package/networkflowmonitor/scope.js +97 -0
  156. package/networkflowmonitor/scope.js.map +1 -0
  157. package/observabilityadmin/centralizationRuleForOrganization.d.ts +246 -0
  158. package/observabilityadmin/centralizationRuleForOrganization.js +189 -0
  159. package/observabilityadmin/centralizationRuleForOrganization.js.map +1 -0
  160. package/observabilityadmin/index.d.ts +3 -0
  161. package/observabilityadmin/index.js +22 -0
  162. package/observabilityadmin/index.js.map +1 -0
  163. package/opensearch/authorizeVpcEndpointAccess.d.ts +2 -2
  164. package/opensearch/authorizeVpcEndpointAccess.js +2 -2
  165. package/opensearch/domain.d.ts +21 -0
  166. package/opensearch/domain.js +2 -0
  167. package/opensearch/domain.js.map +1 -1
  168. package/opensearch/getDomain.d.ts +5 -10
  169. package/opensearch/getDomain.js +0 -2
  170. package/opensearch/getDomain.js.map +1 -1
  171. package/opensearchingest/pipeline.d.ts +1 -1
  172. package/opensearchingest/pipeline.js +1 -1
  173. package/organizations/getPolicies.d.ts +2 -2
  174. package/organizations/getPoliciesForTarget.d.ts +2 -2
  175. package/organizations/getPolicy.d.ts +1 -1
  176. package/organizations/organization.d.ts +3 -3
  177. package/organizations/policy.d.ts +15 -3
  178. package/organizations/policy.js.map +1 -1
  179. package/package.json +2 -2
  180. package/quicksight/analysis.d.ts +55 -0
  181. package/quicksight/analysis.js +55 -0
  182. package/quicksight/analysis.js.map +1 -1
  183. package/quicksight/dashboard.d.ts +56 -0
  184. package/quicksight/dashboard.js +56 -0
  185. package/quicksight/dashboard.js.map +1 -1
  186. package/quicksight/dataSource.d.ts +1 -1
  187. package/quicksight/dataSource.js +1 -1
  188. package/quicksight/template.d.ts +64 -0
  189. package/quicksight/template.js +64 -0
  190. package/quicksight/template.js.map +1 -1
  191. package/redshift/clusterSnapshot.d.ts +14 -0
  192. package/redshift/clusterSnapshot.js +14 -0
  193. package/redshift/clusterSnapshot.js.map +1 -1
  194. package/redshift/getCluster.d.ts +58 -0
  195. package/redshift/getCluster.js +58 -0
  196. package/redshift/getCluster.js.map +1 -1
  197. package/redshift/snapshotCopyGrant.d.ts +11 -0
  198. package/redshift/snapshotCopyGrant.js +11 -0
  199. package/redshift/snapshotCopyGrant.js.map +1 -1
  200. package/route53/profilesAssociation.d.ts +16 -0
  201. package/route53/profilesAssociation.js +16 -0
  202. package/route53/profilesAssociation.js.map +1 -1
  203. package/route53/profilesResourceAssociation.d.ts +19 -0
  204. package/route53/profilesResourceAssociation.js +19 -0
  205. package/route53/profilesResourceAssociation.js.map +1 -1
  206. package/s3control/multiRegionAccessPointPolicy.d.ts +39 -0
  207. package/s3control/multiRegionAccessPointPolicy.js +39 -0
  208. package/s3control/multiRegionAccessPointPolicy.js.map +1 -1
  209. package/s3tables/table.d.ts +30 -0
  210. package/s3tables/table.js +4 -0
  211. package/s3tables/table.js.map +1 -1
  212. package/s3tables/tableBucket.d.ts +30 -0
  213. package/s3tables/tableBucket.js +4 -0
  214. package/s3tables/tableBucket.js.map +1 -1
  215. package/sagemaker/endpointConfiguration.d.ts +40 -28
  216. package/sagemaker/endpointConfiguration.js +2 -0
  217. package/sagemaker/endpointConfiguration.js.map +1 -1
  218. package/ssmincidents/getResponsePlan.d.ts +14 -0
  219. package/ssmincidents/getResponsePlan.js +14 -0
  220. package/ssmincidents/getResponsePlan.js.map +1 -1
  221. package/ssoadmin/accountAssignment.d.ts +2 -2
  222. package/ssoadmin/accountAssignment.js +2 -2
  223. package/transfer/profile.d.ts +11 -0
  224. package/transfer/profile.js +11 -0
  225. package/transfer/profile.js.map +1 -1
  226. package/transfer/server.d.ts +3 -0
  227. package/transfer/server.js.map +1 -1
  228. package/transfer/sshKey.d.ts +3 -3
  229. package/transfer/sshKey.js +3 -3
  230. package/types/input.d.ts +462 -140
  231. package/types/input.js.map +1 -1
  232. package/types/output.d.ts +779 -95
  233. package/types/output.js.map +1 -1
  234. package/wafv2/ruleGroup.d.ts +223 -0
  235. package/wafv2/ruleGroup.js +223 -0
  236. package/wafv2/ruleGroup.js.map +1 -1
  237. package/workspacesweb/sessionLoggerAssociation.d.ts +47 -0
  238. package/workspacesweb/sessionLoggerAssociation.js +47 -0
  239. package/workspacesweb/sessionLoggerAssociation.js.map +1 -1
  240. package/workspacesweb/trustStoreAssociation.d.ts +17 -0
  241. package/workspacesweb/trustStoreAssociation.js +17 -0
  242. package/workspacesweb/trustStoreAssociation.js.map +1 -1
@@ -140,6 +140,50 @@ const utilities = require("../utilities");
140
140
  *
141
141
  * ### Outbound with encryption configuration
142
142
  *
143
+ * ```typescript
144
+ * import * as pulumi from "@pulumi/pulumi";
145
+ * import * as aws from "@pulumi/aws";
146
+ *
147
+ * const example = new aws.kms.Key("example", {
148
+ * description: "example",
149
+ * deletionWindowInDays: 7,
150
+ * });
151
+ * const exampleTlsInspectionConfiguration = new aws.networkfirewall.TlsInspectionConfiguration("example", {
152
+ * name: "example",
153
+ * description: "example",
154
+ * encryptionConfigurations: [{
155
+ * keyId: example.arn,
156
+ * type: "CUSTOMER_KMS",
157
+ * }],
158
+ * tlsInspectionConfiguration: {
159
+ * serverCertificateConfigurations: [{
160
+ * certificateAuthorityArn: example1.arn,
161
+ * checkCertificateRevocationStatus: [{
162
+ * revokedStatusAction: "REJECT",
163
+ * unknownStatusAction: "PASS",
164
+ * }],
165
+ * scope: [{
166
+ * protocols: [6],
167
+ * destinationPorts: [{
168
+ * fromPort: 443,
169
+ * toPort: 443,
170
+ * }],
171
+ * destination: [{
172
+ * addressDefinition: "0.0.0.0/0",
173
+ * }],
174
+ * sourcePorts: [{
175
+ * fromPort: 0,
176
+ * toPort: 65535,
177
+ * }],
178
+ * source: [{
179
+ * addressDefinition: "0.0.0.0/0",
180
+ * }],
181
+ * }],
182
+ * }],
183
+ * },
184
+ * });
185
+ * ```
186
+ *
143
187
  * ### Combined inbound and outbound
144
188
  *
145
189
  * ```typescript
@@ -1 +1 @@
1
- {"version":3,"file":"tlsInspectionConfiguration.js","sourceRoot":"","sources":["../../networkfirewall/tlsInspectionConfiguration.ts"],"names":[],"mappings":";A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CAAC;IAC/E,CAAC;;AA5HL,gEA6HC;AA/GG,gBAAgB;AACO,uCAAY,GAAG,2EAA2E,CAAC"}
@@ -0,0 +1,6 @@
1
+ export { MonitorArgs, MonitorState } from "./monitor";
2
+ export type Monitor = import("./monitor").Monitor;
3
+ export declare const Monitor: typeof import("./monitor").Monitor;
4
+ export { ScopeArgs, ScopeState } from "./scope";
5
+ export type Scope = import("./scope").Scope;
6
+ export declare const Scope: typeof import("./scope").Scope;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Scope = exports.Monitor = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ exports.Monitor = null;
9
+ utilities.lazyLoad(exports, ["Monitor"], () => require("./monitor"));
10
+ exports.Scope = null;
11
+ utilities.lazyLoad(exports, ["Scope"], () => require("./scope"));
12
+ const _module = {
13
+ version: utilities.getVersion(),
14
+ construct: (name, type, urn) => {
15
+ switch (type) {
16
+ case "aws:networkflowmonitor/monitor:Monitor":
17
+ return new exports.Monitor(name, undefined, { urn });
18
+ case "aws:networkflowmonitor/scope:Scope":
19
+ return new exports.Scope(name, undefined, { urn });
20
+ default:
21
+ throw new Error(`unknown resource type ${type}`);
22
+ }
23
+ },
24
+ };
25
+ pulumi.runtime.registerResourceModule("aws", "networkflowmonitor/monitor", _module);
26
+ pulumi.runtime.registerResourceModule("aws", "networkflowmonitor/scope", _module);
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../networkflowmonitor/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,KAAK,GAAmC,IAAW,CAAC;AACjE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;AAGjE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,wCAAwC;gBACzC,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD,KAAK,oCAAoC;gBACrC,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,187 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Manages a Network Flow Monitor Monitor.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ### Basic Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as aws from "@pulumi/aws";
14
+ *
15
+ * const example = new aws.ec2.Vpc("example", {
16
+ * cidrBlock: "10.0.0.0/16",
17
+ * tags: {
18
+ * Name: "example",
19
+ * },
20
+ * });
21
+ * const exampleMonitor = new aws.networkflowmonitor.Monitor("example", {
22
+ * monitorName: "example-monitor",
23
+ * scopeArn: exampleAwsNetworkflowmonitorScope.scopeArn,
24
+ * localResources: [{
25
+ * type: "AWS::EC2::VPC",
26
+ * identifier: example.arn,
27
+ * }],
28
+ * remoteResources: [{
29
+ * type: "AWS::EC2::VPC",
30
+ * identifier: example.arn,
31
+ * }],
32
+ * tags: {
33
+ * Name: "example",
34
+ * },
35
+ * });
36
+ * ```
37
+ *
38
+ * ## Import
39
+ *
40
+ * Using `pulumi import`, import Network Flow Monitor Monitor using the monitor name. For example:
41
+ *
42
+ * ```sh
43
+ * $ pulumi import aws:networkflowmonitor/monitor:Monitor example example-monitor
44
+ * ```
45
+ */
46
+ export declare class Monitor extends pulumi.CustomResource {
47
+ /**
48
+ * Get an existing Monitor resource's state with the given name, ID, and optional extra
49
+ * properties used to qualify the lookup.
50
+ *
51
+ * @param name The _unique_ name of the resulting resource.
52
+ * @param id The _unique_ provider ID of the resource to lookup.
53
+ * @param state Any extra arguments used during the lookup.
54
+ * @param opts Optional settings to control the behavior of the CustomResource.
55
+ */
56
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MonitorState, opts?: pulumi.CustomResourceOptions): Monitor;
57
+ /**
58
+ * Returns true if the given object is an instance of Monitor. This is designed to work even
59
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
60
+ */
61
+ static isInstance(obj: any): obj is Monitor;
62
+ /**
63
+ * The local resources to monitor. A local resource in a workload is the location of the hosts where the Network Flow Monitor agent is installed.
64
+ */
65
+ readonly localResources: pulumi.Output<outputs.networkflowmonitor.MonitorLocalResource[] | undefined>;
66
+ /**
67
+ * The Amazon Resource Name (ARN) of the monitor.
68
+ */
69
+ readonly monitorArn: pulumi.Output<string>;
70
+ /**
71
+ * The name of the monitor. Cannot be changed after creation.
72
+ */
73
+ readonly monitorName: pulumi.Output<string>;
74
+ /**
75
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
76
+ */
77
+ readonly region: pulumi.Output<string>;
78
+ /**
79
+ * The remote resources to monitor. A remote resource is the other endpoint specified for the network flow of a workload, with a local resource.
80
+ */
81
+ readonly remoteResources: pulumi.Output<outputs.networkflowmonitor.MonitorRemoteResource[] | undefined>;
82
+ /**
83
+ * The Amazon Resource Name (ARN) of the scope for the monitor. Cannot be changed after creation.
84
+ *
85
+ * The following arguments are optional:
86
+ */
87
+ readonly scopeArn: pulumi.Output<string>;
88
+ /**
89
+ * A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
90
+ */
91
+ readonly tags: pulumi.Output<{
92
+ [key: string]: string;
93
+ } | undefined>;
94
+ /**
95
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
96
+ */
97
+ readonly tagsAll: pulumi.Output<{
98
+ [key: string]: string;
99
+ }>;
100
+ readonly timeouts: pulumi.Output<outputs.networkflowmonitor.MonitorTimeouts | undefined>;
101
+ /**
102
+ * Create a Monitor resource with the given unique name, arguments, and options.
103
+ *
104
+ * @param name The _unique_ name of the resource.
105
+ * @param args The arguments to use to populate this resource's properties.
106
+ * @param opts A bag of options that control this resource's behavior.
107
+ */
108
+ constructor(name: string, args: MonitorArgs, opts?: pulumi.CustomResourceOptions);
109
+ }
110
+ /**
111
+ * Input properties used for looking up and filtering Monitor resources.
112
+ */
113
+ export interface MonitorState {
114
+ /**
115
+ * The local resources to monitor. A local resource in a workload is the location of the hosts where the Network Flow Monitor agent is installed.
116
+ */
117
+ localResources?: pulumi.Input<pulumi.Input<inputs.networkflowmonitor.MonitorLocalResource>[]>;
118
+ /**
119
+ * The Amazon Resource Name (ARN) of the monitor.
120
+ */
121
+ monitorArn?: pulumi.Input<string>;
122
+ /**
123
+ * The name of the monitor. Cannot be changed after creation.
124
+ */
125
+ monitorName?: pulumi.Input<string>;
126
+ /**
127
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
128
+ */
129
+ region?: pulumi.Input<string>;
130
+ /**
131
+ * The remote resources to monitor. A remote resource is the other endpoint specified for the network flow of a workload, with a local resource.
132
+ */
133
+ remoteResources?: pulumi.Input<pulumi.Input<inputs.networkflowmonitor.MonitorRemoteResource>[]>;
134
+ /**
135
+ * The Amazon Resource Name (ARN) of the scope for the monitor. Cannot be changed after creation.
136
+ *
137
+ * The following arguments are optional:
138
+ */
139
+ scopeArn?: pulumi.Input<string>;
140
+ /**
141
+ * A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
142
+ */
143
+ tags?: pulumi.Input<{
144
+ [key: string]: pulumi.Input<string>;
145
+ }>;
146
+ /**
147
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
148
+ */
149
+ tagsAll?: pulumi.Input<{
150
+ [key: string]: pulumi.Input<string>;
151
+ }>;
152
+ timeouts?: pulumi.Input<inputs.networkflowmonitor.MonitorTimeouts>;
153
+ }
154
+ /**
155
+ * The set of arguments for constructing a Monitor resource.
156
+ */
157
+ export interface MonitorArgs {
158
+ /**
159
+ * The local resources to monitor. A local resource in a workload is the location of the hosts where the Network Flow Monitor agent is installed.
160
+ */
161
+ localResources?: pulumi.Input<pulumi.Input<inputs.networkflowmonitor.MonitorLocalResource>[]>;
162
+ /**
163
+ * The name of the monitor. Cannot be changed after creation.
164
+ */
165
+ monitorName: pulumi.Input<string>;
166
+ /**
167
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
168
+ */
169
+ region?: pulumi.Input<string>;
170
+ /**
171
+ * The remote resources to monitor. A remote resource is the other endpoint specified for the network flow of a workload, with a local resource.
172
+ */
173
+ remoteResources?: pulumi.Input<pulumi.Input<inputs.networkflowmonitor.MonitorRemoteResource>[]>;
174
+ /**
175
+ * The Amazon Resource Name (ARN) of the scope for the monitor. Cannot be changed after creation.
176
+ *
177
+ * The following arguments are optional:
178
+ */
179
+ scopeArn: pulumi.Input<string>;
180
+ /**
181
+ * A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
182
+ */
183
+ tags?: pulumi.Input<{
184
+ [key: string]: pulumi.Input<string>;
185
+ }>;
186
+ timeouts?: pulumi.Input<inputs.networkflowmonitor.MonitorTimeouts>;
187
+ }
@@ -0,0 +1,113 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Monitor = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages a Network Flow Monitor Monitor.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ### Basic Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as aws from "@pulumi/aws";
18
+ *
19
+ * const example = new aws.ec2.Vpc("example", {
20
+ * cidrBlock: "10.0.0.0/16",
21
+ * tags: {
22
+ * Name: "example",
23
+ * },
24
+ * });
25
+ * const exampleMonitor = new aws.networkflowmonitor.Monitor("example", {
26
+ * monitorName: "example-monitor",
27
+ * scopeArn: exampleAwsNetworkflowmonitorScope.scopeArn,
28
+ * localResources: [{
29
+ * type: "AWS::EC2::VPC",
30
+ * identifier: example.arn,
31
+ * }],
32
+ * remoteResources: [{
33
+ * type: "AWS::EC2::VPC",
34
+ * identifier: example.arn,
35
+ * }],
36
+ * tags: {
37
+ * Name: "example",
38
+ * },
39
+ * });
40
+ * ```
41
+ *
42
+ * ## Import
43
+ *
44
+ * Using `pulumi import`, import Network Flow Monitor Monitor using the monitor name. For example:
45
+ *
46
+ * ```sh
47
+ * $ pulumi import aws:networkflowmonitor/monitor:Monitor example example-monitor
48
+ * ```
49
+ */
50
+ class Monitor extends pulumi.CustomResource {
51
+ /**
52
+ * Get an existing Monitor resource's state with the given name, ID, and optional extra
53
+ * properties used to qualify the lookup.
54
+ *
55
+ * @param name The _unique_ name of the resulting resource.
56
+ * @param id The _unique_ provider ID of the resource to lookup.
57
+ * @param state Any extra arguments used during the lookup.
58
+ * @param opts Optional settings to control the behavior of the CustomResource.
59
+ */
60
+ static get(name, id, state, opts) {
61
+ return new Monitor(name, state, { ...opts, id: id });
62
+ }
63
+ /**
64
+ * Returns true if the given object is an instance of Monitor. This is designed to work even
65
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
66
+ */
67
+ static isInstance(obj) {
68
+ if (obj === undefined || obj === null) {
69
+ return false;
70
+ }
71
+ return obj['__pulumiType'] === Monitor.__pulumiType;
72
+ }
73
+ constructor(name, argsOrState, opts) {
74
+ let resourceInputs = {};
75
+ opts = opts || {};
76
+ if (opts.id) {
77
+ const state = argsOrState;
78
+ resourceInputs["localResources"] = state?.localResources;
79
+ resourceInputs["monitorArn"] = state?.monitorArn;
80
+ resourceInputs["monitorName"] = state?.monitorName;
81
+ resourceInputs["region"] = state?.region;
82
+ resourceInputs["remoteResources"] = state?.remoteResources;
83
+ resourceInputs["scopeArn"] = state?.scopeArn;
84
+ resourceInputs["tags"] = state?.tags;
85
+ resourceInputs["tagsAll"] = state?.tagsAll;
86
+ resourceInputs["timeouts"] = state?.timeouts;
87
+ }
88
+ else {
89
+ const args = argsOrState;
90
+ if (args?.monitorName === undefined && !opts.urn) {
91
+ throw new Error("Missing required property 'monitorName'");
92
+ }
93
+ if (args?.scopeArn === undefined && !opts.urn) {
94
+ throw new Error("Missing required property 'scopeArn'");
95
+ }
96
+ resourceInputs["localResources"] = args?.localResources;
97
+ resourceInputs["monitorName"] = args?.monitorName;
98
+ resourceInputs["region"] = args?.region;
99
+ resourceInputs["remoteResources"] = args?.remoteResources;
100
+ resourceInputs["scopeArn"] = args?.scopeArn;
101
+ resourceInputs["tags"] = args?.tags;
102
+ resourceInputs["timeouts"] = args?.timeouts;
103
+ resourceInputs["monitorArn"] = undefined /*out*/;
104
+ resourceInputs["tagsAll"] = undefined /*out*/;
105
+ }
106
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
107
+ super(Monitor.__pulumiType, name, resourceInputs, opts);
108
+ }
109
+ }
110
+ exports.Monitor = Monitor;
111
+ /** @internal */
112
+ Monitor.__pulumiType = 'aws:networkflowmonitor/monitor:Monitor';
113
+ //# sourceMappingURL=monitor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"monitor.js","sourceRoot":"","sources":["../../networkflowmonitor/monitor.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IA8CD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KA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M,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA1GL,0BA2GC;AA7FG,gBAAgB;AACO,oBAAY,GAAG,wCAAwC,CAAC"}
@@ -0,0 +1,153 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Manages a Network Flow Monitor Scope.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ### Basic Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as aws from "@pulumi/aws";
14
+ *
15
+ * const current = aws.getCallerIdentity({});
16
+ * const example = new aws.networkflowmonitor.Scope("example", {
17
+ * targets: [{
18
+ * region: "us-east-1",
19
+ * targetIdentifier: {
20
+ * targetType: "ACCOUNT",
21
+ * targetId: {
22
+ * accountId: current.then(current => current.accountId),
23
+ * },
24
+ * },
25
+ * }],
26
+ * tags: {
27
+ * Name: "example",
28
+ * },
29
+ * });
30
+ * ```
31
+ *
32
+ * ## Import
33
+ *
34
+ * Using `pulumi import`, import Network Flow Monitor Scope using the scope ID. For example:
35
+ *
36
+ * ```sh
37
+ * $ pulumi import aws:networkflowmonitor/scope:Scope example example-scope-id
38
+ * ```
39
+ */
40
+ export declare class Scope extends pulumi.CustomResource {
41
+ /**
42
+ * Get an existing Scope resource's state with the given name, ID, and optional extra
43
+ * properties used to qualify the lookup.
44
+ *
45
+ * @param name The _unique_ name of the resulting resource.
46
+ * @param id The _unique_ provider ID of the resource to lookup.
47
+ * @param state Any extra arguments used during the lookup.
48
+ * @param opts Optional settings to control the behavior of the CustomResource.
49
+ */
50
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ScopeState, opts?: pulumi.CustomResourceOptions): Scope;
51
+ /**
52
+ * Returns true if the given object is an instance of Scope. This is designed to work even
53
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
54
+ */
55
+ static isInstance(obj: any): obj is Scope;
56
+ /**
57
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
58
+ */
59
+ readonly region: pulumi.Output<string>;
60
+ /**
61
+ * The Amazon Resource Name (ARN) of the scope.
62
+ */
63
+ readonly scopeArn: pulumi.Output<string>;
64
+ /**
65
+ * The identifier for the scope that includes the resources you want to get data results for.
66
+ */
67
+ readonly scopeId: pulumi.Output<string>;
68
+ /**
69
+ * A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
70
+ */
71
+ readonly tags: pulumi.Output<{
72
+ [key: string]: string;
73
+ } | undefined>;
74
+ /**
75
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
76
+ */
77
+ readonly tagsAll: pulumi.Output<{
78
+ [key: string]: string;
79
+ }>;
80
+ /**
81
+ * The targets to define the scope to be monitored. A target is an array of target resources, which are currently Region-account pairs.
82
+ *
83
+ * The following arguments are optional:
84
+ */
85
+ readonly targets: pulumi.Output<outputs.networkflowmonitor.ScopeTarget[] | undefined>;
86
+ readonly timeouts: pulumi.Output<outputs.networkflowmonitor.ScopeTimeouts | undefined>;
87
+ /**
88
+ * Create a Scope resource with the given unique name, arguments, and options.
89
+ *
90
+ * @param name The _unique_ name of the resource.
91
+ * @param args The arguments to use to populate this resource's properties.
92
+ * @param opts A bag of options that control this resource's behavior.
93
+ */
94
+ constructor(name: string, args?: ScopeArgs, opts?: pulumi.CustomResourceOptions);
95
+ }
96
+ /**
97
+ * Input properties used for looking up and filtering Scope resources.
98
+ */
99
+ export interface ScopeState {
100
+ /**
101
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
102
+ */
103
+ region?: pulumi.Input<string>;
104
+ /**
105
+ * The Amazon Resource Name (ARN) of the scope.
106
+ */
107
+ scopeArn?: pulumi.Input<string>;
108
+ /**
109
+ * The identifier for the scope that includes the resources you want to get data results for.
110
+ */
111
+ scopeId?: pulumi.Input<string>;
112
+ /**
113
+ * A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
114
+ */
115
+ tags?: pulumi.Input<{
116
+ [key: string]: pulumi.Input<string>;
117
+ }>;
118
+ /**
119
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
120
+ */
121
+ tagsAll?: pulumi.Input<{
122
+ [key: string]: pulumi.Input<string>;
123
+ }>;
124
+ /**
125
+ * The targets to define the scope to be monitored. A target is an array of target resources, which are currently Region-account pairs.
126
+ *
127
+ * The following arguments are optional:
128
+ */
129
+ targets?: pulumi.Input<pulumi.Input<inputs.networkflowmonitor.ScopeTarget>[]>;
130
+ timeouts?: pulumi.Input<inputs.networkflowmonitor.ScopeTimeouts>;
131
+ }
132
+ /**
133
+ * The set of arguments for constructing a Scope resource.
134
+ */
135
+ export interface ScopeArgs {
136
+ /**
137
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
138
+ */
139
+ region?: pulumi.Input<string>;
140
+ /**
141
+ * A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
142
+ */
143
+ tags?: pulumi.Input<{
144
+ [key: string]: pulumi.Input<string>;
145
+ }>;
146
+ /**
147
+ * The targets to define the scope to be monitored. A target is an array of target resources, which are currently Region-account pairs.
148
+ *
149
+ * The following arguments are optional:
150
+ */
151
+ targets?: pulumi.Input<pulumi.Input<inputs.networkflowmonitor.ScopeTarget>[]>;
152
+ timeouts?: pulumi.Input<inputs.networkflowmonitor.ScopeTimeouts>;
153
+ }
@@ -0,0 +1,97 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Scope = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages a Network Flow Monitor Scope.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ### Basic Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as aws from "@pulumi/aws";
18
+ *
19
+ * const current = aws.getCallerIdentity({});
20
+ * const example = new aws.networkflowmonitor.Scope("example", {
21
+ * targets: [{
22
+ * region: "us-east-1",
23
+ * targetIdentifier: {
24
+ * targetType: "ACCOUNT",
25
+ * targetId: {
26
+ * accountId: current.then(current => current.accountId),
27
+ * },
28
+ * },
29
+ * }],
30
+ * tags: {
31
+ * Name: "example",
32
+ * },
33
+ * });
34
+ * ```
35
+ *
36
+ * ## Import
37
+ *
38
+ * Using `pulumi import`, import Network Flow Monitor Scope using the scope ID. For example:
39
+ *
40
+ * ```sh
41
+ * $ pulumi import aws:networkflowmonitor/scope:Scope example example-scope-id
42
+ * ```
43
+ */
44
+ class Scope extends pulumi.CustomResource {
45
+ /**
46
+ * Get an existing Scope resource's state with the given name, ID, and optional extra
47
+ * properties used to qualify the lookup.
48
+ *
49
+ * @param name The _unique_ name of the resulting resource.
50
+ * @param id The _unique_ provider ID of the resource to lookup.
51
+ * @param state Any extra arguments used during the lookup.
52
+ * @param opts Optional settings to control the behavior of the CustomResource.
53
+ */
54
+ static get(name, id, state, opts) {
55
+ return new Scope(name, state, { ...opts, id: id });
56
+ }
57
+ /**
58
+ * Returns true if the given object is an instance of Scope. This is designed to work even
59
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
60
+ */
61
+ static isInstance(obj) {
62
+ if (obj === undefined || obj === null) {
63
+ return false;
64
+ }
65
+ return obj['__pulumiType'] === Scope.__pulumiType;
66
+ }
67
+ constructor(name, argsOrState, opts) {
68
+ let resourceInputs = {};
69
+ opts = opts || {};
70
+ if (opts.id) {
71
+ const state = argsOrState;
72
+ resourceInputs["region"] = state?.region;
73
+ resourceInputs["scopeArn"] = state?.scopeArn;
74
+ resourceInputs["scopeId"] = state?.scopeId;
75
+ resourceInputs["tags"] = state?.tags;
76
+ resourceInputs["tagsAll"] = state?.tagsAll;
77
+ resourceInputs["targets"] = state?.targets;
78
+ resourceInputs["timeouts"] = state?.timeouts;
79
+ }
80
+ else {
81
+ const args = argsOrState;
82
+ resourceInputs["region"] = args?.region;
83
+ resourceInputs["tags"] = args?.tags;
84
+ resourceInputs["targets"] = args?.targets;
85
+ resourceInputs["timeouts"] = args?.timeouts;
86
+ resourceInputs["scopeArn"] = undefined /*out*/;
87
+ resourceInputs["scopeId"] = undefined /*out*/;
88
+ resourceInputs["tagsAll"] = undefined /*out*/;
89
+ }
90
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
91
+ super(Scope.__pulumiType, name, resourceInputs, opts);
92
+ }
93
+ }
94
+ exports.Scope = Scope;
95
+ /** @internal */
96
+ Scope.__pulumiType = 'aws:networkflowmonitor/scope:Scope';
97
+ //# sourceMappingURL=scope.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scope.js","sourceRoot":"","sources":["../../networkflowmonitor/scope.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,KAAM,SAAQ,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