@pulumi/aws-native 1.33.0-alpha.1756186489 → 1.33.0-alpha.1756214923

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 (177) hide show
  1. package/aps/getResourcePolicy.d.ts +27 -0
  2. package/aps/getResourcePolicy.js +28 -0
  3. package/aps/getResourcePolicy.js.map +1 -0
  4. package/aps/getWorkspace.d.ts +1 -3
  5. package/aps/getWorkspace.js.map +1 -1
  6. package/aps/index.d.ts +6 -0
  7. package/aps/index.js +8 -1
  8. package/aps/index.js.map +1 -1
  9. package/aps/resourcePolicy.d.ts +49 -0
  10. package/aps/resourcePolicy.js +66 -0
  11. package/aps/resourcePolicy.js.map +1 -0
  12. package/aps/workspace.d.ts +2 -6
  13. package/aps/workspace.js.map +1 -1
  14. package/cleanrooms/configuredTable.js +0 -2
  15. package/cleanrooms/configuredTable.js.map +1 -1
  16. package/cleanrooms/getConfiguredTable.d.ts +8 -0
  17. package/cleanrooms/getConfiguredTable.js.map +1 -1
  18. package/cloudfront/function.js +2 -0
  19. package/cloudfront/function.js.map +1 -1
  20. package/cloudfront/getFunction.d.ts +0 -4
  21. package/cloudfront/getFunction.js.map +1 -1
  22. package/codepipeline/getWebhook.d.ts +53 -0
  23. package/codepipeline/getWebhook.js +28 -0
  24. package/codepipeline/getWebhook.js.map +1 -0
  25. package/codepipeline/index.d.ts +6 -0
  26. package/codepipeline/index.js +8 -1
  27. package/codepipeline/index.js.map +1 -1
  28. package/codepipeline/webhook.d.ts +108 -0
  29. package/codepipeline/webhook.js +91 -0
  30. package/codepipeline/webhook.js.map +1 -0
  31. package/connect/getPredefinedAttribute.d.ts +8 -0
  32. package/connect/getPredefinedAttribute.js.map +1 -1
  33. package/connect/predefinedAttribute.d.ts +18 -2
  34. package/connect/predefinedAttribute.js +4 -3
  35. package/connect/predefinedAttribute.js.map +1 -1
  36. package/datazone/getPolicyGrant.d.ts +44 -0
  37. package/datazone/getPolicyGrant.js +36 -0
  38. package/datazone/getPolicyGrant.js.map +1 -0
  39. package/datazone/index.d.ts +6 -0
  40. package/datazone/index.js +8 -1
  41. package/datazone/index.js.map +1 -1
  42. package/datazone/policyGrant.d.ts +60 -0
  43. package/datazone/policyGrant.js +86 -0
  44. package/datazone/policyGrant.js.map +1 -0
  45. package/deadline/fleet.d.ts +4 -0
  46. package/deadline/fleet.js +2 -0
  47. package/deadline/fleet.js.map +1 -1
  48. package/deadline/getFleet.d.ts +4 -0
  49. package/deadline/getFleet.js.map +1 -1
  50. package/deadline/licenseEndpoint.d.ts +2 -2
  51. package/ec2/instance.d.ts +4 -4
  52. package/ec2/vpnConnection.d.ts +9 -0
  53. package/ec2/vpnConnection.js +3 -1
  54. package/ec2/vpnConnection.js.map +1 -1
  55. package/eks/addon.d.ts +8 -0
  56. package/eks/addon.js +3 -1
  57. package/eks/addon.js.map +1 -1
  58. package/entityresolution/getIdMappingWorkflow.d.ts +1 -0
  59. package/entityresolution/getIdMappingWorkflow.js.map +1 -1
  60. package/entityresolution/idMappingWorkflow.d.ts +2 -0
  61. package/entityresolution/idMappingWorkflow.js +2 -0
  62. package/entityresolution/idMappingWorkflow.js.map +1 -1
  63. package/events/getRule.d.ts +4 -0
  64. package/events/getRule.js.map +1 -1
  65. package/events/rule.d.ts +8 -0
  66. package/events/rule.js +2 -0
  67. package/events/rule.js.map +1 -1
  68. package/guardduty/getIpSet.d.ts +2 -2
  69. package/guardduty/getThreatEntitySet.d.ts +77 -0
  70. package/guardduty/getThreatEntitySet.js +30 -0
  71. package/guardduty/getThreatEntitySet.js.map +1 -0
  72. package/guardduty/getThreatIntelSet.d.ts +6 -4
  73. package/guardduty/getThreatIntelSet.js.map +1 -1
  74. package/guardduty/getTrustedEntitySet.d.ts +68 -0
  75. package/guardduty/getTrustedEntitySet.js +30 -0
  76. package/guardduty/getTrustedEntitySet.js.map +1 -0
  77. package/guardduty/index.d.ts +12 -0
  78. package/guardduty/index.js +15 -1
  79. package/guardduty/index.js.map +1 -1
  80. package/guardduty/ipSet.d.ts +8 -8
  81. package/guardduty/threatEntitySet.d.ts +124 -0
  82. package/guardduty/threatEntitySet.js +86 -0
  83. package/guardduty/threatEntitySet.js.map +1 -0
  84. package/guardduty/threatIntelSet.d.ts +14 -10
  85. package/guardduty/threatIntelSet.js.map +1 -1
  86. package/guardduty/trustedEntitySet.d.ts +121 -0
  87. package/guardduty/trustedEntitySet.js +86 -0
  88. package/guardduty/trustedEntitySet.js.map +1 -0
  89. package/inspectorv2/codeSecurityIntegration.d.ts +104 -0
  90. package/inspectorv2/codeSecurityIntegration.js +78 -0
  91. package/inspectorv2/codeSecurityIntegration.js.map +1 -0
  92. package/inspectorv2/codeSecurityScanConfiguration.d.ts +84 -0
  93. package/inspectorv2/codeSecurityScanConfiguration.js +68 -0
  94. package/inspectorv2/codeSecurityScanConfiguration.js.map +1 -0
  95. package/inspectorv2/getCodeSecurityIntegration.d.ts +56 -0
  96. package/inspectorv2/getCodeSecurityIntegration.js +28 -0
  97. package/inspectorv2/getCodeSecurityIntegration.js.map +1 -0
  98. package/inspectorv2/getCodeSecurityScanConfiguration.d.ts +32 -0
  99. package/inspectorv2/getCodeSecurityScanConfiguration.js +28 -0
  100. package/inspectorv2/getCodeSecurityScanConfiguration.js.map +1 -0
  101. package/inspectorv2/index.d.ts +12 -0
  102. package/inspectorv2/index.js +15 -1
  103. package/inspectorv2/index.js.map +1 -1
  104. package/iot/encryptionConfiguration.d.ts +24 -0
  105. package/iot/encryptionConfiguration.js.map +1 -1
  106. package/iot/getEncryptionConfiguration.d.ts +21 -0
  107. package/iot/getEncryptionConfiguration.js.map +1 -1
  108. package/ivs/getStage.d.ts +2 -2
  109. package/ivs/getStage.js +2 -2
  110. package/ivs/stage.d.ts +1 -1
  111. package/ivs/stage.js +1 -1
  112. package/logs/getLogGroup.d.ts +2 -0
  113. package/logs/getLogGroup.js.map +1 -1
  114. package/logs/logGroup.d.ts +4 -0
  115. package/logs/logGroup.js.map +1 -1
  116. package/package.json +3 -3
  117. package/package.json.dev +2 -2
  118. package/route53/getHealthCheck.d.ts +1 -1
  119. package/route53/healthCheck.d.ts +2 -2
  120. package/s3/bucket.d.ts +4 -0
  121. package/s3/bucket.js.map +1 -1
  122. package/s3/getBucket.d.ts +2 -0
  123. package/s3/getBucket.js.map +1 -1
  124. package/types/enums/b2bi/index.d.ts +5 -0
  125. package/types/enums/b2bi/index.js +5 -1
  126. package/types/enums/b2bi/index.js.map +1 -1
  127. package/types/enums/cloudfront/index.d.ts +6 -0
  128. package/types/enums/cloudfront/index.js +6 -1
  129. package/types/enums/cloudfront/index.js.map +1 -1
  130. package/types/enums/codepipeline/index.d.ts +9 -0
  131. package/types/enums/codepipeline/index.js +6 -1
  132. package/types/enums/codepipeline/index.js.map +1 -1
  133. package/types/enums/datazone/index.d.ts +17 -0
  134. package/types/enums/datazone/index.js +15 -1
  135. package/types/enums/datazone/index.js.map +1 -1
  136. package/types/enums/deadline/index.d.ts +2 -0
  137. package/types/enums/deadline/index.js +2 -0
  138. package/types/enums/deadline/index.js.map +1 -1
  139. package/types/enums/dynamodb/index.d.ts +16 -0
  140. package/types/enums/dynamodb/index.js +9 -1
  141. package/types/enums/dynamodb/index.js.map +1 -1
  142. package/types/enums/ec2/index.d.ts +8 -0
  143. package/types/enums/ec2/index.js +5 -1
  144. package/types/enums/ec2/index.js.map +1 -1
  145. package/types/enums/entityresolution/index.d.ts +4 -0
  146. package/types/enums/entityresolution/index.js +4 -1
  147. package/types/enums/entityresolution/index.js.map +1 -1
  148. package/types/enums/guardduty/index.d.ts +26 -0
  149. package/types/enums/guardduty/index.js +19 -1
  150. package/types/enums/guardduty/index.js.map +1 -1
  151. package/types/enums/inspectorv2/index.d.ts +39 -0
  152. package/types/enums/inspectorv2/index.js +33 -1
  153. package/types/enums/inspectorv2/index.js.map +1 -1
  154. package/types/enums/iot/index.d.ts +6 -0
  155. package/types/enums/iot/index.js.map +1 -1
  156. package/types/enums/kinesisanalyticsv2/index.d.ts +8 -0
  157. package/types/enums/kinesisanalyticsv2/index.js +5 -1
  158. package/types/enums/kinesisanalyticsv2/index.js.map +1 -1
  159. package/types/enums/quicksight/index.d.ts +4 -0
  160. package/types/enums/quicksight/index.js +4 -0
  161. package/types/enums/quicksight/index.js.map +1 -1
  162. package/types/input.d.ts +480 -55
  163. package/types/output.d.ts +489 -55
  164. package/types/output.js.map +1 -1
  165. package/vpclattice/getResourceGateway.d.ts +4 -0
  166. package/vpclattice/getResourceGateway.js.map +1 -1
  167. package/vpclattice/resourceGateway.d.ts +8 -0
  168. package/vpclattice/resourceGateway.js +2 -0
  169. package/vpclattice/resourceGateway.js.map +1 -1
  170. package/workspacesweb/getPortal.d.ts +3 -0
  171. package/workspacesweb/getPortal.js.map +1 -1
  172. package/workspacesweb/getSessionLogger.d.ts +24 -0
  173. package/workspacesweb/getSessionLogger.js.map +1 -1
  174. package/workspacesweb/portal.d.ts +6 -0
  175. package/workspacesweb/portal.js.map +1 -1
  176. package/workspacesweb/sessionLogger.d.ts +39 -0
  177. package/workspacesweb/sessionLogger.js.map +1 -1
@@ -0,0 +1,121 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ import * as enums from "../types/enums";
5
+ /**
6
+ * Resource Type definition for AWS::GuardDuty::TrustedEntitySet
7
+ */
8
+ export declare class TrustedEntitySet extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing TrustedEntitySet resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param opts Optional settings to control the behavior of the CustomResource.
16
+ */
17
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): TrustedEntitySet;
18
+ /**
19
+ * Returns true if the given object is an instance of TrustedEntitySet. This is designed to work even
20
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
21
+ */
22
+ static isInstance(obj: any): obj is TrustedEntitySet;
23
+ /**
24
+ * A boolean value that determines if GuardDuty can start using this list for custom threat detection. For GuardDuty to prevent generating findings based on an activity associated with these entries, this list must be active.
25
+ */
26
+ readonly activate: pulumi.Output<boolean | undefined>;
27
+ readonly awsId: pulumi.Output<string>;
28
+ /**
29
+ * The timestamp when the trusted entity set was created.
30
+ */
31
+ readonly createdAt: pulumi.Output<string>;
32
+ /**
33
+ * The unique regional detector ID of the GuardDuty account for which you want to create a trusted entity set.
34
+ *
35
+ * To find the `detectorId` in the current Region, see the Settings page in the GuardDuty console, or run the [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) API.
36
+ */
37
+ readonly detectorId: pulumi.Output<string | undefined>;
38
+ /**
39
+ * Specifies the error details when the status of the trusted entity set shows as *Error* .
40
+ */
41
+ readonly errorDetails: pulumi.Output<string>;
42
+ /**
43
+ * The AWS account ID that owns the Amazon S3 bucket specified in the *Location* field.
44
+ *
45
+ * Whether or not you provide the account ID for this optional field, GuardDuty validates that the account ID associated with the `DetectorId` value owns the S3 bucket in the `Location` field. If GuardDuty finds that this S3 bucket doesn't belong to the specified account ID, you will get an error at the time of activating this list.
46
+ */
47
+ readonly expectedBucketOwner: pulumi.Output<string | undefined>;
48
+ /**
49
+ * The format of the file that contains the trusted entity set. For information about supported formats, see [List formats](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_upload-lists.html#prepare_list) in the *Amazon GuardDuty User Guide* .
50
+ */
51
+ readonly format: pulumi.Output<string>;
52
+ /**
53
+ * The URI of the file that contains the trusted entity set.
54
+ */
55
+ readonly location: pulumi.Output<string>;
56
+ /**
57
+ * A user-friendly name to identify the trusted entity set. Valid characters include lowercase letters, uppercase letters, numbers, dash(-), and underscore (_).
58
+ */
59
+ readonly name: pulumi.Output<string | undefined>;
60
+ /**
61
+ * The status of your `TrustedEntitySet` . For information about valid status values, see [Understanding list statuses](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_upload-lists.html#guardduty-entity-list-statuses) in the *Amazon GuardDuty User Guide* .
62
+ */
63
+ readonly status: pulumi.Output<enums.guardduty.TrustedEntitySetStatus>;
64
+ /**
65
+ * The tags to be added to a new trusted entity set resource. Each tag consists of a key and an optional value, both of which you define.
66
+ *
67
+ * For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
68
+ */
69
+ readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
70
+ /**
71
+ * The timestamp when the trusted entity set was updated.
72
+ */
73
+ readonly updatedAt: pulumi.Output<string>;
74
+ /**
75
+ * Create a TrustedEntitySet resource with the given unique name, arguments, and options.
76
+ *
77
+ * @param name The _unique_ name of the resource.
78
+ * @param args The arguments to use to populate this resource's properties.
79
+ * @param opts A bag of options that control this resource's behavior.
80
+ */
81
+ constructor(name: string, args: TrustedEntitySetArgs, opts?: pulumi.CustomResourceOptions);
82
+ }
83
+ /**
84
+ * The set of arguments for constructing a TrustedEntitySet resource.
85
+ */
86
+ export interface TrustedEntitySetArgs {
87
+ /**
88
+ * A boolean value that determines if GuardDuty can start using this list for custom threat detection. For GuardDuty to prevent generating findings based on an activity associated with these entries, this list must be active.
89
+ */
90
+ activate?: pulumi.Input<boolean>;
91
+ /**
92
+ * The unique regional detector ID of the GuardDuty account for which you want to create a trusted entity set.
93
+ *
94
+ * To find the `detectorId` in the current Region, see the Settings page in the GuardDuty console, or run the [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) API.
95
+ */
96
+ detectorId?: pulumi.Input<string>;
97
+ /**
98
+ * The AWS account ID that owns the Amazon S3 bucket specified in the *Location* field.
99
+ *
100
+ * Whether or not you provide the account ID for this optional field, GuardDuty validates that the account ID associated with the `DetectorId` value owns the S3 bucket in the `Location` field. If GuardDuty finds that this S3 bucket doesn't belong to the specified account ID, you will get an error at the time of activating this list.
101
+ */
102
+ expectedBucketOwner?: pulumi.Input<string>;
103
+ /**
104
+ * The format of the file that contains the trusted entity set. For information about supported formats, see [List formats](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_upload-lists.html#prepare_list) in the *Amazon GuardDuty User Guide* .
105
+ */
106
+ format: pulumi.Input<string>;
107
+ /**
108
+ * The URI of the file that contains the trusted entity set.
109
+ */
110
+ location: pulumi.Input<string>;
111
+ /**
112
+ * A user-friendly name to identify the trusted entity set. Valid characters include lowercase letters, uppercase letters, numbers, dash(-), and underscore (_).
113
+ */
114
+ name?: pulumi.Input<string>;
115
+ /**
116
+ * The tags to be added to a new trusted entity set resource. Each tag consists of a key and an optional value, both of which you define.
117
+ *
118
+ * For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
119
+ */
120
+ tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
121
+ }
@@ -0,0 +1,86 @@
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.TrustedEntitySet = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource Type definition for AWS::GuardDuty::TrustedEntitySet
10
+ */
11
+ class TrustedEntitySet extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing TrustedEntitySet resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param opts Optional settings to control the behavior of the CustomResource.
19
+ */
20
+ static get(name, id, opts) {
21
+ return new TrustedEntitySet(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of TrustedEntitySet. This is designed to work even
25
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
26
+ */
27
+ static isInstance(obj) {
28
+ if (obj === undefined || obj === null) {
29
+ return false;
30
+ }
31
+ return obj['__pulumiType'] === TrustedEntitySet.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a TrustedEntitySet resource with the given unique name, arguments, and options.
35
+ *
36
+ * @param name The _unique_ name of the resource.
37
+ * @param args The arguments to use to populate this resource's properties.
38
+ * @param opts A bag of options that control this resource's behavior.
39
+ */
40
+ constructor(name, args, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (!opts.id) {
44
+ if ((!args || args.format === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'format'");
46
+ }
47
+ if ((!args || args.location === undefined) && !opts.urn) {
48
+ throw new Error("Missing required property 'location'");
49
+ }
50
+ resourceInputs["activate"] = args ? args.activate : undefined;
51
+ resourceInputs["detectorId"] = args ? args.detectorId : undefined;
52
+ resourceInputs["expectedBucketOwner"] = args ? args.expectedBucketOwner : undefined;
53
+ resourceInputs["format"] = args ? args.format : undefined;
54
+ resourceInputs["location"] = args ? args.location : undefined;
55
+ resourceInputs["name"] = args ? args.name : undefined;
56
+ resourceInputs["tags"] = args ? args.tags : undefined;
57
+ resourceInputs["awsId"] = undefined /*out*/;
58
+ resourceInputs["createdAt"] = undefined /*out*/;
59
+ resourceInputs["errorDetails"] = undefined /*out*/;
60
+ resourceInputs["status"] = undefined /*out*/;
61
+ resourceInputs["updatedAt"] = undefined /*out*/;
62
+ }
63
+ else {
64
+ resourceInputs["activate"] = undefined /*out*/;
65
+ resourceInputs["awsId"] = undefined /*out*/;
66
+ resourceInputs["createdAt"] = undefined /*out*/;
67
+ resourceInputs["detectorId"] = undefined /*out*/;
68
+ resourceInputs["errorDetails"] = undefined /*out*/;
69
+ resourceInputs["expectedBucketOwner"] = undefined /*out*/;
70
+ resourceInputs["format"] = undefined /*out*/;
71
+ resourceInputs["location"] = undefined /*out*/;
72
+ resourceInputs["name"] = undefined /*out*/;
73
+ resourceInputs["status"] = undefined /*out*/;
74
+ resourceInputs["tags"] = undefined /*out*/;
75
+ resourceInputs["updatedAt"] = undefined /*out*/;
76
+ }
77
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
78
+ const replaceOnChanges = { replaceOnChanges: ["detectorId", "format"] };
79
+ opts = pulumi.mergeOptions(opts, replaceOnChanges);
80
+ super(TrustedEntitySet.__pulumiType, name, resourceInputs, opts);
81
+ }
82
+ }
83
+ exports.TrustedEntitySet = TrustedEntitySet;
84
+ /** @internal */
85
+ TrustedEntitySet.__pulumiType = 'aws-native:guardduty:TrustedEntitySet';
86
+ //# sourceMappingURL=trustedEntitySet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trustedEntitySet.js","sourceRoot":"","sources":["../../guardduty/trustedEntitySet.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAsDD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA0B,EAAE,IAAmC;QACrF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,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C;;AA9HL,4CA+HC;AAlHG,gBAAgB;AACO,6BAAY,GAAG,uCAAuC,CAAC"}
@@ -0,0 +1,104 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ import * as enums from "../types/enums";
5
+ /**
6
+ * Inspector CodeSecurityIntegration resource schema
7
+ */
8
+ export declare class CodeSecurityIntegration extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing CodeSecurityIntegration resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param opts Optional settings to control the behavior of the CustomResource.
16
+ */
17
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CodeSecurityIntegration;
18
+ /**
19
+ * Returns true if the given object is an instance of CodeSecurityIntegration. This is designed to work even
20
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
21
+ */
22
+ static isInstance(obj: any): obj is CodeSecurityIntegration;
23
+ /**
24
+ * Code Security Integration ARN
25
+ */
26
+ readonly arn: pulumi.Output<string>;
27
+ /**
28
+ * Authorization URL for OAuth flow
29
+ */
30
+ readonly authorizationUrl: pulumi.Output<string>;
31
+ /**
32
+ * Create Integration Details
33
+ */
34
+ readonly createIntegrationDetails: pulumi.Output<outputs.inspectorv2.CodeSecurityIntegrationCreateDetails | undefined>;
35
+ /**
36
+ * Creation timestamp
37
+ */
38
+ readonly createdAt: pulumi.Output<string>;
39
+ /**
40
+ * Last update timestamp
41
+ */
42
+ readonly lastUpdatedAt: pulumi.Output<string>;
43
+ /**
44
+ * Code Security Integration name
45
+ */
46
+ readonly name: pulumi.Output<string | undefined>;
47
+ /**
48
+ * Integration Status
49
+ */
50
+ readonly status: pulumi.Output<enums.inspectorv2.CodeSecurityIntegrationIntegrationStatus>;
51
+ /**
52
+ * Reason for the current status
53
+ */
54
+ readonly statusReason: pulumi.Output<string>;
55
+ /**
56
+ * The tags to apply to the code security integration.
57
+ */
58
+ readonly tags: pulumi.Output<{
59
+ [key: string]: string;
60
+ } | undefined>;
61
+ /**
62
+ * Integration Type
63
+ */
64
+ readonly type: pulumi.Output<enums.inspectorv2.CodeSecurityIntegrationIntegrationType | undefined>;
65
+ /**
66
+ * Update Integration Details
67
+ */
68
+ readonly updateIntegrationDetails: pulumi.Output<outputs.inspectorv2.CodeSecurityIntegrationUpdateDetails | undefined>;
69
+ /**
70
+ * Create a CodeSecurityIntegration resource with the given unique name, arguments, and options.
71
+ *
72
+ * @param name The _unique_ name of the resource.
73
+ * @param args The arguments to use to populate this resource's properties.
74
+ * @param opts A bag of options that control this resource's behavior.
75
+ */
76
+ constructor(name: string, args?: CodeSecurityIntegrationArgs, opts?: pulumi.CustomResourceOptions);
77
+ }
78
+ /**
79
+ * The set of arguments for constructing a CodeSecurityIntegration resource.
80
+ */
81
+ export interface CodeSecurityIntegrationArgs {
82
+ /**
83
+ * Create Integration Details
84
+ */
85
+ createIntegrationDetails?: pulumi.Input<inputs.inspectorv2.CodeSecurityIntegrationCreateDetailsArgs>;
86
+ /**
87
+ * Code Security Integration name
88
+ */
89
+ name?: pulumi.Input<string>;
90
+ /**
91
+ * The tags to apply to the code security integration.
92
+ */
93
+ tags?: pulumi.Input<{
94
+ [key: string]: pulumi.Input<string>;
95
+ }>;
96
+ /**
97
+ * Integration Type
98
+ */
99
+ type?: pulumi.Input<enums.inspectorv2.CodeSecurityIntegrationIntegrationType>;
100
+ /**
101
+ * Update Integration Details
102
+ */
103
+ updateIntegrationDetails?: pulumi.Input<inputs.inspectorv2.CodeSecurityIntegrationUpdateDetailsArgs>;
104
+ }
@@ -0,0 +1,78 @@
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.CodeSecurityIntegration = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Inspector CodeSecurityIntegration resource schema
10
+ */
11
+ class CodeSecurityIntegration extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing CodeSecurityIntegration resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param opts Optional settings to control the behavior of the CustomResource.
19
+ */
20
+ static get(name, id, opts) {
21
+ return new CodeSecurityIntegration(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of CodeSecurityIntegration. This is designed to work even
25
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
26
+ */
27
+ static isInstance(obj) {
28
+ if (obj === undefined || obj === null) {
29
+ return false;
30
+ }
31
+ return obj['__pulumiType'] === CodeSecurityIntegration.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a CodeSecurityIntegration resource with the given unique name, arguments, and options.
35
+ *
36
+ * @param name The _unique_ name of the resource.
37
+ * @param args The arguments to use to populate this resource's properties.
38
+ * @param opts A bag of options that control this resource's behavior.
39
+ */
40
+ constructor(name, args, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (!opts.id) {
44
+ resourceInputs["createIntegrationDetails"] = args ? args.createIntegrationDetails : undefined;
45
+ resourceInputs["name"] = args ? args.name : undefined;
46
+ resourceInputs["tags"] = args ? args.tags : undefined;
47
+ resourceInputs["type"] = args ? args.type : undefined;
48
+ resourceInputs["updateIntegrationDetails"] = args ? args.updateIntegrationDetails : undefined;
49
+ resourceInputs["arn"] = undefined /*out*/;
50
+ resourceInputs["authorizationUrl"] = undefined /*out*/;
51
+ resourceInputs["createdAt"] = undefined /*out*/;
52
+ resourceInputs["lastUpdatedAt"] = undefined /*out*/;
53
+ resourceInputs["status"] = undefined /*out*/;
54
+ resourceInputs["statusReason"] = undefined /*out*/;
55
+ }
56
+ else {
57
+ resourceInputs["arn"] = undefined /*out*/;
58
+ resourceInputs["authorizationUrl"] = undefined /*out*/;
59
+ resourceInputs["createIntegrationDetails"] = undefined /*out*/;
60
+ resourceInputs["createdAt"] = undefined /*out*/;
61
+ resourceInputs["lastUpdatedAt"] = undefined /*out*/;
62
+ resourceInputs["name"] = undefined /*out*/;
63
+ resourceInputs["status"] = undefined /*out*/;
64
+ resourceInputs["statusReason"] = undefined /*out*/;
65
+ resourceInputs["tags"] = undefined /*out*/;
66
+ resourceInputs["type"] = undefined /*out*/;
67
+ resourceInputs["updateIntegrationDetails"] = undefined /*out*/;
68
+ }
69
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
70
+ const replaceOnChanges = { replaceOnChanges: ["createIntegrationDetails", "tags.*"] };
71
+ opts = pulumi.mergeOptions(opts, replaceOnChanges);
72
+ super(CodeSecurityIntegration.__pulumiType, name, resourceInputs, opts);
73
+ }
74
+ }
75
+ exports.CodeSecurityIntegration = CodeSecurityIntegration;
76
+ /** @internal */
77
+ CodeSecurityIntegration.__pulumiType = 'aws-native:inspectorv2:CodeSecurityIntegration';
78
+ //# sourceMappingURL=codeSecurityIntegration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"codeSecurityIntegration.js","sourceRoot":"","sources":["../../inspectorv2/codeSecurityIntegration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GA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../types/input";
3
+ import * as outputs from "../types/output";
4
+ import * as enums from "../types/enums";
5
+ /**
6
+ * Inspector CodeSecurityScanConfiguration resource schema
7
+ */
8
+ export declare class CodeSecurityScanConfiguration extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing CodeSecurityScanConfiguration resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param opts Optional settings to control the behavior of the CustomResource.
16
+ */
17
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CodeSecurityScanConfiguration;
18
+ /**
19
+ * Returns true if the given object is an instance of CodeSecurityScanConfiguration. This is designed to work even
20
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
21
+ */
22
+ static isInstance(obj: any): obj is CodeSecurityScanConfiguration;
23
+ /**
24
+ * Code Security Scan Configuration ARN
25
+ */
26
+ readonly arn: pulumi.Output<string>;
27
+ /**
28
+ * Code Security Scan Configuration
29
+ */
30
+ readonly configuration: pulumi.Output<outputs.inspectorv2.CodeSecurityScanConfiguration | undefined>;
31
+ /**
32
+ * Configuration Level
33
+ */
34
+ readonly level: pulumi.Output<enums.inspectorv2.CodeSecurityScanConfigurationConfigurationLevel | undefined>;
35
+ /**
36
+ * Code Security Scan Configuration name
37
+ */
38
+ readonly name: pulumi.Output<string | undefined>;
39
+ /**
40
+ * Scope Settings
41
+ */
42
+ readonly scopeSettings: pulumi.Output<outputs.inspectorv2.CodeSecurityScanConfigurationScopeSettings | undefined>;
43
+ /**
44
+ * The tags to apply to the scan configuration.
45
+ */
46
+ readonly tags: pulumi.Output<{
47
+ [key: string]: string;
48
+ } | undefined>;
49
+ /**
50
+ * Create a CodeSecurityScanConfiguration resource with the given unique name, arguments, and options.
51
+ *
52
+ * @param name The _unique_ name of the resource.
53
+ * @param args The arguments to use to populate this resource's properties.
54
+ * @param opts A bag of options that control this resource's behavior.
55
+ */
56
+ constructor(name: string, args?: CodeSecurityScanConfigurationArgs, opts?: pulumi.CustomResourceOptions);
57
+ }
58
+ /**
59
+ * The set of arguments for constructing a CodeSecurityScanConfiguration resource.
60
+ */
61
+ export interface CodeSecurityScanConfigurationArgs {
62
+ /**
63
+ * Code Security Scan Configuration
64
+ */
65
+ configuration?: pulumi.Input<inputs.inspectorv2.CodeSecurityScanConfigurationArgs>;
66
+ /**
67
+ * Configuration Level
68
+ */
69
+ level?: pulumi.Input<enums.inspectorv2.CodeSecurityScanConfigurationConfigurationLevel>;
70
+ /**
71
+ * Code Security Scan Configuration name
72
+ */
73
+ name?: pulumi.Input<string>;
74
+ /**
75
+ * Scope Settings
76
+ */
77
+ scopeSettings?: pulumi.Input<inputs.inspectorv2.CodeSecurityScanConfigurationScopeSettingsArgs>;
78
+ /**
79
+ * The tags to apply to the scan configuration.
80
+ */
81
+ tags?: pulumi.Input<{
82
+ [key: string]: pulumi.Input<string>;
83
+ }>;
84
+ }
@@ -0,0 +1,68 @@
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.CodeSecurityScanConfiguration = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Inspector CodeSecurityScanConfiguration resource schema
10
+ */
11
+ class CodeSecurityScanConfiguration extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing CodeSecurityScanConfiguration resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param opts Optional settings to control the behavior of the CustomResource.
19
+ */
20
+ static get(name, id, opts) {
21
+ return new CodeSecurityScanConfiguration(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of CodeSecurityScanConfiguration. This is designed to work even
25
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
26
+ */
27
+ static isInstance(obj) {
28
+ if (obj === undefined || obj === null) {
29
+ return false;
30
+ }
31
+ return obj['__pulumiType'] === CodeSecurityScanConfiguration.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a CodeSecurityScanConfiguration resource with the given unique name, arguments, and options.
35
+ *
36
+ * @param name The _unique_ name of the resource.
37
+ * @param args The arguments to use to populate this resource's properties.
38
+ * @param opts A bag of options that control this resource's behavior.
39
+ */
40
+ constructor(name, args, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (!opts.id) {
44
+ resourceInputs["configuration"] = args ? args.configuration : undefined;
45
+ resourceInputs["level"] = args ? args.level : undefined;
46
+ resourceInputs["name"] = args ? args.name : undefined;
47
+ resourceInputs["scopeSettings"] = args ? args.scopeSettings : undefined;
48
+ resourceInputs["tags"] = args ? args.tags : undefined;
49
+ resourceInputs["arn"] = undefined /*out*/;
50
+ }
51
+ else {
52
+ resourceInputs["arn"] = undefined /*out*/;
53
+ resourceInputs["configuration"] = undefined /*out*/;
54
+ resourceInputs["level"] = undefined /*out*/;
55
+ resourceInputs["name"] = undefined /*out*/;
56
+ resourceInputs["scopeSettings"] = undefined /*out*/;
57
+ resourceInputs["tags"] = undefined /*out*/;
58
+ }
59
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
60
+ const replaceOnChanges = { replaceOnChanges: ["level", "name", "scopeSettings", "tags.*"] };
61
+ opts = pulumi.mergeOptions(opts, replaceOnChanges);
62
+ super(CodeSecurityScanConfiguration.__pulumiType, name, resourceInputs, opts);
63
+ }
64
+ }
65
+ exports.CodeSecurityScanConfiguration = CodeSecurityScanConfiguration;
66
+ /** @internal */
67
+ CodeSecurityScanConfiguration.__pulumiType = 'aws-native:inspectorv2:CodeSecurityScanConfiguration';
68
+ //# sourceMappingURL=codeSecurityScanConfiguration.js.map
@@ -0,0 +1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C,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;aAAM;YACH,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,QAAQ,CAAC,EAAE,CAAC;QAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,6BAA6B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;;AAjFL,sEAkFC;AArEG,gBAAgB;AACO,0CAAY,GAAG,sDAAsD,CAAC"}
@@ -0,0 +1,56 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as enums from "../types/enums";
3
+ /**
4
+ * Inspector CodeSecurityIntegration resource schema
5
+ */
6
+ export declare function getCodeSecurityIntegration(args: GetCodeSecurityIntegrationArgs, opts?: pulumi.InvokeOptions): Promise<GetCodeSecurityIntegrationResult>;
7
+ export interface GetCodeSecurityIntegrationArgs {
8
+ /**
9
+ * Code Security Integration ARN
10
+ */
11
+ arn: string;
12
+ }
13
+ export interface GetCodeSecurityIntegrationResult {
14
+ /**
15
+ * Code Security Integration ARN
16
+ */
17
+ readonly arn?: string;
18
+ /**
19
+ * Authorization URL for OAuth flow
20
+ */
21
+ readonly authorizationUrl?: string;
22
+ /**
23
+ * Creation timestamp
24
+ */
25
+ readonly createdAt?: string;
26
+ /**
27
+ * Last update timestamp
28
+ */
29
+ readonly lastUpdatedAt?: string;
30
+ /**
31
+ * Code Security Integration name
32
+ */
33
+ readonly name?: string;
34
+ /**
35
+ * Integration Status
36
+ */
37
+ readonly status?: enums.inspectorv2.CodeSecurityIntegrationIntegrationStatus;
38
+ /**
39
+ * Reason for the current status
40
+ */
41
+ readonly statusReason?: string;
42
+ /**
43
+ * Integration Type
44
+ */
45
+ readonly type?: enums.inspectorv2.CodeSecurityIntegrationIntegrationType;
46
+ }
47
+ /**
48
+ * Inspector CodeSecurityIntegration resource schema
49
+ */
50
+ export declare function getCodeSecurityIntegrationOutput(args: GetCodeSecurityIntegrationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCodeSecurityIntegrationResult>;
51
+ export interface GetCodeSecurityIntegrationOutputArgs {
52
+ /**
53
+ * Code Security Integration ARN
54
+ */
55
+ arn: pulumi.Input<string>;
56
+ }
@@ -0,0 +1,28 @@
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.getCodeSecurityIntegrationOutput = exports.getCodeSecurityIntegration = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Inspector CodeSecurityIntegration resource schema
10
+ */
11
+ function getCodeSecurityIntegration(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("aws-native:inspectorv2:getCodeSecurityIntegration", {
14
+ "arn": args.arn,
15
+ }, opts);
16
+ }
17
+ exports.getCodeSecurityIntegration = getCodeSecurityIntegration;
18
+ /**
19
+ * Inspector CodeSecurityIntegration resource schema
20
+ */
21
+ function getCodeSecurityIntegrationOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("aws-native:inspectorv2:getCodeSecurityIntegration", {
24
+ "arn": args.arn,
25
+ }, opts);
26
+ }
27
+ exports.getCodeSecurityIntegrationOutput = getCodeSecurityIntegrationOutput;
28
+ //# sourceMappingURL=getCodeSecurityIntegration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCodeSecurityIntegration.js","sourceRoot":"","sources":["../../inspectorv2/getCodeSecurityIntegration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gEAKC;AA2CD;;GAEG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAAiC;IAC1H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mDAAmD,EAAE;QACpF,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4EAKC"}