@byteplus/pulumi-bytepluscc 0.0.46 → 0.0.48

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 (175) hide show
  1. package/autoscaling/getNotificationConfiguration.d.ts +57 -0
  2. package/autoscaling/getNotificationConfiguration.d.ts.map +1 -0
  3. package/autoscaling/getNotificationConfiguration.js +51 -0
  4. package/autoscaling/getNotificationConfiguration.js.map +1 -0
  5. package/autoscaling/getNotificationConfigurations.d.ts +23 -0
  6. package/autoscaling/getNotificationConfigurations.d.ts.map +1 -0
  7. package/autoscaling/getNotificationConfigurations.js +47 -0
  8. package/autoscaling/getNotificationConfigurations.js.map +1 -0
  9. package/autoscaling/index.d.ts +9 -0
  10. package/autoscaling/index.d.ts.map +1 -1
  11. package/autoscaling/index.js +12 -1
  12. package/autoscaling/index.js.map +1 -1
  13. package/autoscaling/notificationConfiguration.d.ts +122 -0
  14. package/autoscaling/notificationConfiguration.d.ts.map +1 -0
  15. package/autoscaling/notificationConfiguration.js +122 -0
  16. package/autoscaling/notificationConfiguration.js.map +1 -0
  17. package/certificateservice/getOrganizationInfo.d.ts +106 -0
  18. package/certificateservice/getOrganizationInfo.d.ts.map +1 -0
  19. package/certificateservice/getOrganizationInfo.js +51 -0
  20. package/certificateservice/getOrganizationInfo.js.map +1 -0
  21. package/certificateservice/getOrganizationInfos.d.ts +23 -0
  22. package/certificateservice/getOrganizationInfos.d.ts.map +1 -0
  23. package/certificateservice/getOrganizationInfos.js +47 -0
  24. package/certificateservice/getOrganizationInfos.js.map +1 -0
  25. package/certificateservice/index.d.ts +9 -0
  26. package/certificateservice/index.d.ts.map +1 -1
  27. package/certificateservice/index.js +12 -1
  28. package/certificateservice/index.js.map +1 -1
  29. package/certificateservice/organizationInfo.d.ts +273 -0
  30. package/certificateservice/organizationInfo.d.ts.map +1 -0
  31. package/certificateservice/organizationInfo.js +152 -0
  32. package/certificateservice/organizationInfo.js.map +1 -0
  33. package/config/configurationRecorder.d.ts +127 -0
  34. package/config/configurationRecorder.d.ts.map +1 -0
  35. package/config/configurationRecorder.js +109 -0
  36. package/config/configurationRecorder.js.map +1 -0
  37. package/config/getConfigurationRecorder.d.ts +65 -0
  38. package/config/getConfigurationRecorder.d.ts.map +1 -0
  39. package/config/getConfigurationRecorder.js +51 -0
  40. package/config/getConfigurationRecorder.js.map +1 -0
  41. package/config/getConfigurationRecorders.d.ts +23 -0
  42. package/config/getConfigurationRecorders.d.ts.map +1 -0
  43. package/config/getConfigurationRecorders.js +47 -0
  44. package/config/getConfigurationRecorders.js.map +1 -0
  45. package/config/getGroupRule.d.ts +86 -0
  46. package/config/getGroupRule.d.ts.map +1 -0
  47. package/config/getGroupRule.js +51 -0
  48. package/config/getGroupRule.js.map +1 -0
  49. package/config/getGroupRules.d.ts +23 -0
  50. package/config/getGroupRules.d.ts.map +1 -0
  51. package/config/getGroupRules.js +47 -0
  52. package/config/getGroupRules.js.map +1 -0
  53. package/config/getRule.d.ts +82 -0
  54. package/config/getRule.d.ts.map +1 -0
  55. package/config/getRule.js +51 -0
  56. package/config/getRule.js.map +1 -0
  57. package/config/getRules.d.ts +23 -0
  58. package/config/getRules.d.ts.map +1 -0
  59. package/config/getRules.js +47 -0
  60. package/config/getRules.js.map +1 -0
  61. package/config/groupRule.d.ts +227 -0
  62. package/config/groupRule.d.ts.map +1 -0
  63. package/config/groupRule.js +164 -0
  64. package/config/groupRule.js.map +1 -0
  65. package/config/index.d.ts +27 -0
  66. package/config/index.d.ts.map +1 -1
  67. package/config/index.js +57 -1
  68. package/config/index.js.map +1 -1
  69. package/config/rule.d.ts +214 -0
  70. package/config/rule.d.ts.map +1 -0
  71. package/config/rule.js +161 -0
  72. package/config/rule.js.map +1 -0
  73. package/config/vars.d.ts +18 -6
  74. package/config/vars.d.ts.map +1 -1
  75. package/config/vars.js +18 -0
  76. package/config/vars.js.map +1 -1
  77. package/ecs/getScheduledInstance.d.ts +69 -0
  78. package/ecs/getScheduledInstance.d.ts.map +1 -0
  79. package/ecs/getScheduledInstance.js +51 -0
  80. package/ecs/getScheduledInstance.js.map +1 -0
  81. package/ecs/getScheduledInstances.d.ts +23 -0
  82. package/ecs/getScheduledInstances.d.ts.map +1 -0
  83. package/ecs/getScheduledInstances.js +47 -0
  84. package/ecs/getScheduledInstances.js.map +1 -0
  85. package/ecs/index.d.ts +9 -0
  86. package/ecs/index.d.ts.map +1 -1
  87. package/ecs/index.js +12 -1
  88. package/ecs/index.js.map +1 -1
  89. package/ecs/scheduledInstance.d.ts +741 -0
  90. package/ecs/scheduledInstance.d.ts.map +1 -0
  91. package/ecs/scheduledInstance.js +248 -0
  92. package/ecs/scheduledInstance.js.map +1 -0
  93. package/package.json +1 -1
  94. package/provider.d.ts +31 -11
  95. package/provider.d.ts.map +1 -1
  96. package/provider.js +5 -0
  97. package/provider.js.map +1 -1
  98. package/rdsmysql/getInstance.d.ts +5 -5
  99. package/rdsmysql/getInstance.d.ts.map +1 -1
  100. package/rdsmysql/instance.d.ts +15 -15
  101. package/rdsmysql/instance.d.ts.map +1 -1
  102. package/rdsmysql/instance.js +2 -2
  103. package/rdsmysql/instance.js.map +1 -1
  104. package/transitrouter/getTransitRouterTrafficQosMarkingEntries.d.ts +23 -0
  105. package/transitrouter/getTransitRouterTrafficQosMarkingEntries.d.ts.map +1 -0
  106. package/transitrouter/getTransitRouterTrafficQosMarkingEntries.js +47 -0
  107. package/transitrouter/getTransitRouterTrafficQosMarkingEntries.js.map +1 -0
  108. package/transitrouter/getTransitRouterTrafficQosMarkingEntry.d.ts +129 -0
  109. package/transitrouter/getTransitRouterTrafficQosMarkingEntry.d.ts.map +1 -0
  110. package/transitrouter/getTransitRouterTrafficQosMarkingEntry.js +51 -0
  111. package/transitrouter/getTransitRouterTrafficQosMarkingEntry.js.map +1 -0
  112. package/transitrouter/getTransitRouterTrafficQosMarkingPolicies.d.ts +23 -0
  113. package/transitrouter/getTransitRouterTrafficQosMarkingPolicies.d.ts.map +1 -0
  114. package/transitrouter/getTransitRouterTrafficQosMarkingPolicies.js +47 -0
  115. package/transitrouter/getTransitRouterTrafficQosMarkingPolicies.js.map +1 -0
  116. package/transitrouter/getTransitRouterTrafficQosMarkingPolicy.d.ts +65 -0
  117. package/transitrouter/getTransitRouterTrafficQosMarkingPolicy.d.ts.map +1 -0
  118. package/transitrouter/getTransitRouterTrafficQosMarkingPolicy.js +51 -0
  119. package/transitrouter/getTransitRouterTrafficQosMarkingPolicy.js.map +1 -0
  120. package/transitrouter/getTransitRouterTrafficQosQueueEntries.d.ts +23 -0
  121. package/transitrouter/getTransitRouterTrafficQosQueueEntries.d.ts.map +1 -0
  122. package/transitrouter/getTransitRouterTrafficQosQueueEntries.js +47 -0
  123. package/transitrouter/getTransitRouterTrafficQosQueueEntries.js.map +1 -0
  124. package/transitrouter/getTransitRouterTrafficQosQueueEntry.d.ts +81 -0
  125. package/transitrouter/getTransitRouterTrafficQosQueueEntry.d.ts.map +1 -0
  126. package/transitrouter/getTransitRouterTrafficQosQueueEntry.js +51 -0
  127. package/transitrouter/getTransitRouterTrafficQosQueueEntry.js.map +1 -0
  128. package/transitrouter/index.d.ts +27 -0
  129. package/transitrouter/index.d.ts.map +1 -1
  130. package/transitrouter/index.js +35 -1
  131. package/transitrouter/index.js.map +1 -1
  132. package/transitrouter/transitRouterTrafficQosMarkingEntry.d.ts +329 -0
  133. package/transitrouter/transitRouterTrafficQosMarkingEntry.d.ts.map +1 -0
  134. package/transitrouter/transitRouterTrafficQosMarkingEntry.js +163 -0
  135. package/transitrouter/transitRouterTrafficQosMarkingEntry.js.map +1 -0
  136. package/transitrouter/transitRouterTrafficQosMarkingPolicy.d.ts +127 -0
  137. package/transitrouter/transitRouterTrafficQosMarkingPolicy.d.ts.map +1 -0
  138. package/transitrouter/transitRouterTrafficQosMarkingPolicy.js +109 -0
  139. package/transitrouter/transitRouterTrafficQosMarkingPolicy.js.map +1 -0
  140. package/transitrouter/transitRouterTrafficQosQueueEntry.d.ts +177 -0
  141. package/transitrouter/transitRouterTrafficQosQueueEntry.d.ts.map +1 -0
  142. package/transitrouter/transitRouterTrafficQosQueueEntry.js +129 -0
  143. package/transitrouter/transitRouterTrafficQosQueueEntry.js.map +1 -0
  144. package/types/input.d.ts +524 -0
  145. package/types/input.d.ts.map +1 -1
  146. package/types/output.d.ts +1069 -28
  147. package/types/output.d.ts.map +1 -1
  148. package/vpc/getIpPool.d.ts +114 -0
  149. package/vpc/getIpPool.d.ts.map +1 -0
  150. package/vpc/getIpPool.js +51 -0
  151. package/vpc/getIpPool.js.map +1 -0
  152. package/vpc/getIpPoolCidrBlock.d.ts +65 -0
  153. package/vpc/getIpPoolCidrBlock.d.ts.map +1 -0
  154. package/vpc/getIpPoolCidrBlock.js +51 -0
  155. package/vpc/getIpPoolCidrBlock.js.map +1 -0
  156. package/vpc/getIpPoolCidrBlocks.d.ts +23 -0
  157. package/vpc/getIpPoolCidrBlocks.d.ts.map +1 -0
  158. package/vpc/getIpPoolCidrBlocks.js +47 -0
  159. package/vpc/getIpPoolCidrBlocks.js.map +1 -0
  160. package/vpc/getIpPools.d.ts +23 -0
  161. package/vpc/getIpPools.d.ts.map +1 -0
  162. package/vpc/getIpPools.js +47 -0
  163. package/vpc/getIpPools.js.map +1 -0
  164. package/vpc/index.d.ts +18 -0
  165. package/vpc/index.d.ts.map +1 -1
  166. package/vpc/index.js +24 -2
  167. package/vpc/index.js.map +1 -1
  168. package/vpc/ipPool.d.ts +250 -0
  169. package/vpc/ipPool.d.ts.map +1 -0
  170. package/vpc/ipPool.js +139 -0
  171. package/vpc/ipPool.js.map +1 -0
  172. package/vpc/ipPoolCidrBlock.d.ts +126 -0
  173. package/vpc/ipPoolCidrBlock.d.ts.map +1 -0
  174. package/vpc/ipPoolCidrBlock.js +108 -0
  175. package/vpc/ipPoolCidrBlock.js.map +1 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"groupRule.d.ts","sourceRoot":"","sources":["../../config/groupRule.ts"],"names":[],"mappings":"AAGA,O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,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC;CAC1E"}
@@ -0,0 +1,164 @@
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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.GroupRule = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Configure audit account group rule
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
39
+ *
40
+ * const example = new bytepluscc.config.GroupRule("example", {
41
+ * accountGroupId: "00000000-0000-0000-0000-000000000000",
42
+ * ruleTemplateId: "00000000-0000-0000-0000-000000000000",
43
+ * ruleName: "ccapi-config-grouprule-full",
44
+ * description: "ccapi config group rule full",
45
+ * triggers: [{
46
+ * trigger_type: "Periodic",
47
+ * maximum_execution_frequency: "TwentyFourHours",
48
+ * }],
49
+ * inputParameters: "{}",
50
+ * scope: {
51
+ * resource_types: {
52
+ * include: ["Byteplus::Redis::AllowList"],
53
+ * },
54
+ * resource_ids: {
55
+ * include: ["example-resource-id"],
56
+ * },
57
+ * regions: {
58
+ * include: ["ap-southeast-1"],
59
+ * },
60
+ * projects: {
61
+ * include: ["default"],
62
+ * },
63
+ * tags: {
64
+ * include: [{
65
+ * key: "k1",
66
+ * value: "v1",
67
+ * }],
68
+ * },
69
+ * },
70
+ * riskLevel: "Medium",
71
+ * });
72
+ * ```
73
+ *
74
+ * ## Import
75
+ *
76
+ * ```sh
77
+ * $ pulumi import bytepluscc:config/groupRule:GroupRule example "account_group_id|rule_id"
78
+ * ```
79
+ */
80
+ class GroupRule extends pulumi.CustomResource {
81
+ /**
82
+ * Get an existing GroupRule resource's state with the given name, ID, and optional extra
83
+ * properties used to qualify the lookup.
84
+ *
85
+ * @param name The _unique_ name of the resulting resource.
86
+ * @param id The _unique_ provider ID of the resource to lookup.
87
+ * @param state Any extra arguments used during the lookup.
88
+ * @param opts Optional settings to control the behavior of the CustomResource.
89
+ */
90
+ static get(name, id, state, opts) {
91
+ return new GroupRule(name, state, { ...opts, id: id });
92
+ }
93
+ /** @internal */
94
+ static __pulumiType = 'bytepluscc:config/groupRule:GroupRule';
95
+ /**
96
+ * Returns true if the given object is an instance of GroupRule. This is designed to work even
97
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
98
+ */
99
+ static isInstance(obj) {
100
+ if (obj === undefined || obj === null) {
101
+ return false;
102
+ }
103
+ return obj['__pulumiType'] === GroupRule.__pulumiType;
104
+ }
105
+ constructor(name, argsOrState, opts) {
106
+ let resourceInputs = {};
107
+ opts = opts || {};
108
+ if (opts.id) {
109
+ const state = argsOrState;
110
+ resourceInputs["accountGroupId"] = state?.accountGroupId;
111
+ resourceInputs["createdTime"] = state?.createdTime;
112
+ resourceInputs["description"] = state?.description;
113
+ resourceInputs["inputParameters"] = state?.inputParameters;
114
+ resourceInputs["riskLevel"] = state?.riskLevel;
115
+ resourceInputs["ruleId"] = state?.ruleId;
116
+ resourceInputs["ruleName"] = state?.ruleName;
117
+ resourceInputs["ruleStatus"] = state?.ruleStatus;
118
+ resourceInputs["ruleTemplateId"] = state?.ruleTemplateId;
119
+ resourceInputs["scope"] = state?.scope;
120
+ resourceInputs["startRuleEvaluation"] = state?.startRuleEvaluation;
121
+ resourceInputs["triggers"] = state?.triggers;
122
+ }
123
+ else {
124
+ const args = argsOrState;
125
+ if (args?.description === undefined && !opts.urn) {
126
+ throw new Error("Missing required property 'description'");
127
+ }
128
+ if (args?.inputParameters === undefined && !opts.urn) {
129
+ throw new Error("Missing required property 'inputParameters'");
130
+ }
131
+ if (args?.riskLevel === undefined && !opts.urn) {
132
+ throw new Error("Missing required property 'riskLevel'");
133
+ }
134
+ if (args?.ruleName === undefined && !opts.urn) {
135
+ throw new Error("Missing required property 'ruleName'");
136
+ }
137
+ if (args?.ruleTemplateId === undefined && !opts.urn) {
138
+ throw new Error("Missing required property 'ruleTemplateId'");
139
+ }
140
+ if (args?.scope === undefined && !opts.urn) {
141
+ throw new Error("Missing required property 'scope'");
142
+ }
143
+ if (args?.triggers === undefined && !opts.urn) {
144
+ throw new Error("Missing required property 'triggers'");
145
+ }
146
+ resourceInputs["accountGroupId"] = args?.accountGroupId;
147
+ resourceInputs["description"] = args?.description;
148
+ resourceInputs["inputParameters"] = args?.inputParameters;
149
+ resourceInputs["riskLevel"] = args?.riskLevel;
150
+ resourceInputs["ruleName"] = args?.ruleName;
151
+ resourceInputs["ruleStatus"] = args?.ruleStatus;
152
+ resourceInputs["ruleTemplateId"] = args?.ruleTemplateId;
153
+ resourceInputs["scope"] = args?.scope;
154
+ resourceInputs["startRuleEvaluation"] = args?.startRuleEvaluation;
155
+ resourceInputs["triggers"] = args?.triggers;
156
+ resourceInputs["createdTime"] = undefined /*out*/;
157
+ resourceInputs["ruleId"] = undefined /*out*/;
158
+ }
159
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
160
+ super(GroupRule.__pulumiType, name, resourceInputs, opts);
161
+ }
162
+ }
163
+ exports.GroupRule = GroupRule;
164
+ //# sourceMappingURL=groupRule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"groupRule.js","sourceRoot":"","sources":["../../config/groupRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,uCAAuC,CAAC;IAE9E;;;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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IA4DD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,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CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA7IL,8BA8IC"}
package/config/index.d.ts CHANGED
@@ -1,2 +1,29 @@
1
+ export { ConfigurationRecorderArgs, ConfigurationRecorderState } from "./configurationRecorder";
2
+ export type ConfigurationRecorder = import("./configurationRecorder").ConfigurationRecorder;
3
+ export declare const ConfigurationRecorder: typeof import("./configurationRecorder").ConfigurationRecorder;
4
+ export { GetConfigurationRecorderArgs, GetConfigurationRecorderResult, GetConfigurationRecorderOutputArgs } from "./getConfigurationRecorder";
5
+ export declare const getConfigurationRecorder: typeof import("./getConfigurationRecorder").getConfigurationRecorder;
6
+ export declare const getConfigurationRecorderOutput: typeof import("./getConfigurationRecorder").getConfigurationRecorderOutput;
7
+ export { GetConfigurationRecordersResult } from "./getConfigurationRecorders";
8
+ export declare const getConfigurationRecorders: typeof import("./getConfigurationRecorders").getConfigurationRecorders;
9
+ export declare const getConfigurationRecordersOutput: typeof import("./getConfigurationRecorders").getConfigurationRecordersOutput;
10
+ export { GetGroupRuleArgs, GetGroupRuleResult, GetGroupRuleOutputArgs } from "./getGroupRule";
11
+ export declare const getGroupRule: typeof import("./getGroupRule").getGroupRule;
12
+ export declare const getGroupRuleOutput: typeof import("./getGroupRule").getGroupRuleOutput;
13
+ export { GetGroupRulesResult } from "./getGroupRules";
14
+ export declare const getGroupRules: typeof import("./getGroupRules").getGroupRules;
15
+ export declare const getGroupRulesOutput: typeof import("./getGroupRules").getGroupRulesOutput;
16
+ export { GetRuleArgs, GetRuleResult, GetRuleOutputArgs } from "./getRule";
17
+ export declare const getRule: typeof import("./getRule").getRule;
18
+ export declare const getRuleOutput: typeof import("./getRule").getRuleOutput;
19
+ export { GetRulesResult } from "./getRules";
20
+ export declare const getRules: typeof import("./getRules").getRules;
21
+ export declare const getRulesOutput: typeof import("./getRules").getRulesOutput;
22
+ export { GroupRuleArgs, GroupRuleState } from "./groupRule";
23
+ export type GroupRule = import("./groupRule").GroupRule;
24
+ export declare const GroupRule: typeof import("./groupRule").GroupRule;
25
+ export { RuleArgs, RuleState } from "./rule";
26
+ export type Rule = import("./rule").Rule;
27
+ export declare const Rule: typeof import("./rule").Rule;
1
28
  export * from "./vars";
2
29
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAChG,MAAM,MAAM,qBAAqB,GAAG,OAAO,yBAAyB,EAAE,qBAAqB,CAAC;AAC5F,eAAO,MAAM,qBAAqB,EAAE,cAAc,yBAAyB,EAAE,qBAAmC,CAAC;AAGjH,OAAO,EAAE,4BAA4B,EAAE,8BAA8B,EAAE,kCAAkC,EAAE,MAAM,4BAA4B,CAAC;AAC9I,eAAO,MAAM,wBAAwB,EAAE,cAAc,4BAA4B,EAAE,wBAAsC,CAAC;AAC1H,eAAO,MAAM,8BAA8B,EAAE,cAAc,4BAA4B,EAAE,8BAA4C,CAAC;AAGtI,OAAO,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC;AAC9E,eAAO,MAAM,yBAAyB,EAAE,cAAc,6BAA6B,EAAE,yBAAuC,CAAC;AAC7H,eAAO,MAAM,+BAA+B,EAAE,cAAc,6BAA6B,EAAE,+BAA6C,CAAC;AAGzI,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAC9F,eAAO,MAAM,YAAY,EAAE,cAAc,gBAAgB,EAAE,YAA0B,CAAC;AACtF,eAAO,MAAM,kBAAkB,EAAE,cAAc,gBAAgB,EAAE,kBAAgC,CAAC;AAGlG,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,eAAO,MAAM,aAAa,EAAE,cAAc,iBAAiB,EAAE,aAA2B,CAAC;AACzF,eAAO,MAAM,mBAAmB,EAAE,cAAc,iBAAiB,EAAE,mBAAiC,CAAC;AAGrG,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC1E,eAAO,MAAM,OAAO,EAAE,cAAc,WAAW,EAAE,OAAqB,CAAC;AACvE,eAAO,MAAM,aAAa,EAAE,cAAc,WAAW,EAAE,aAA2B,CAAC;AAGnF,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,eAAO,MAAM,QAAQ,EAAE,cAAc,YAAY,EAAE,QAAsB,CAAC;AAC1E,eAAO,MAAM,cAAc,EAAE,cAAc,YAAY,EAAE,cAA4B,CAAC;AAGtF,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC5D,MAAM,MAAM,SAAS,GAAG,OAAO,aAAa,EAAE,SAAS,CAAC;AACxD,eAAO,MAAM,SAAS,EAAE,cAAc,aAAa,EAAE,SAAuB,CAAC;AAG7E,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7C,MAAM,MAAM,IAAI,GAAG,OAAO,QAAQ,EAAE,IAAI,CAAC;AACzC,eAAO,MAAM,IAAI,EAAE,cAAc,QAAQ,EAAE,IAAkB,CAAC;AAG9D,cAAc,QAAQ,CAAC"}
package/config/index.js CHANGED
@@ -12,10 +12,66 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
12
12
  if (k2 === undefined) k2 = k;
13
13
  o[k2] = m[k];
14
14
  }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
15
27
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
28
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
29
  };
18
30
  Object.defineProperty(exports, "__esModule", { value: true });
19
- // Export members:
31
+ exports.Rule = exports.GroupRule = exports.getRulesOutput = exports.getRules = exports.getRuleOutput = exports.getRule = exports.getGroupRulesOutput = exports.getGroupRules = exports.getGroupRuleOutput = exports.getGroupRule = exports.getConfigurationRecordersOutput = exports.getConfigurationRecorders = exports.getConfigurationRecorderOutput = exports.getConfigurationRecorder = exports.ConfigurationRecorder = void 0;
32
+ const pulumi = __importStar(require("@pulumi/pulumi"));
33
+ const utilities = __importStar(require("../utilities"));
34
+ exports.ConfigurationRecorder = null;
35
+ utilities.lazyLoad(exports, ["ConfigurationRecorder"], () => require("./configurationRecorder"));
36
+ exports.getConfigurationRecorder = null;
37
+ exports.getConfigurationRecorderOutput = null;
38
+ utilities.lazyLoad(exports, ["getConfigurationRecorder", "getConfigurationRecorderOutput"], () => require("./getConfigurationRecorder"));
39
+ exports.getConfigurationRecorders = null;
40
+ exports.getConfigurationRecordersOutput = null;
41
+ utilities.lazyLoad(exports, ["getConfigurationRecorders", "getConfigurationRecordersOutput"], () => require("./getConfigurationRecorders"));
42
+ exports.getGroupRule = null;
43
+ exports.getGroupRuleOutput = null;
44
+ utilities.lazyLoad(exports, ["getGroupRule", "getGroupRuleOutput"], () => require("./getGroupRule"));
45
+ exports.getGroupRules = null;
46
+ exports.getGroupRulesOutput = null;
47
+ utilities.lazyLoad(exports, ["getGroupRules", "getGroupRulesOutput"], () => require("./getGroupRules"));
48
+ exports.getRule = null;
49
+ exports.getRuleOutput = null;
50
+ utilities.lazyLoad(exports, ["getRule", "getRuleOutput"], () => require("./getRule"));
51
+ exports.getRules = null;
52
+ exports.getRulesOutput = null;
53
+ utilities.lazyLoad(exports, ["getRules", "getRulesOutput"], () => require("./getRules"));
54
+ exports.GroupRule = null;
55
+ utilities.lazyLoad(exports, ["GroupRule"], () => require("./groupRule"));
56
+ exports.Rule = null;
57
+ utilities.lazyLoad(exports, ["Rule"], () => require("./rule"));
20
58
  __exportStar(require("./vars"), exports);
59
+ const _module = {
60
+ version: utilities.getVersion(),
61
+ construct: (name, type, urn) => {
62
+ switch (type) {
63
+ case "bytepluscc:config/configurationRecorder:ConfigurationRecorder":
64
+ return new exports.ConfigurationRecorder(name, undefined, { urn });
65
+ case "bytepluscc:config/groupRule:GroupRule":
66
+ return new exports.GroupRule(name, undefined, { urn });
67
+ case "bytepluscc:config/rule:Rule":
68
+ return new exports.Rule(name, undefined, { urn });
69
+ default:
70
+ throw new Error(`unknown resource type ${type}`);
71
+ }
72
+ },
73
+ };
74
+ pulumi.runtime.registerResourceModule("bytepluscc", "config/configurationRecorder", _module);
75
+ pulumi.runtime.registerResourceModule("bytepluscc", "config/groupRule", _module);
76
+ pulumi.runtime.registerResourceModule("bytepluscc", "config/rule", _module);
21
77
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;A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CAAC,CAAA;AAC5F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,214 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Configuration audit rule
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
12
+ *
13
+ * const example = new bytepluscc.config.Rule("example", {
14
+ * ruleTemplateId: "00000000-0000-0000-0000-000000000000",
15
+ * ruleName: "ccapi-config-rule-full",
16
+ * description: "ccapi config rule full",
17
+ * triggers: [{
18
+ * trigger_type: "Periodic",
19
+ * maximum_execution_frequency: "TwentyFourHours",
20
+ * }],
21
+ * inputParameters: "{}",
22
+ * scope: {
23
+ * resource_types: {
24
+ * include: ["Byteplus::Redis::AllowList"],
25
+ * },
26
+ * resource_ids: {
27
+ * include: ["example-resource-id"],
28
+ * },
29
+ * regions: {
30
+ * include: ["ap-southeast-1"],
31
+ * },
32
+ * projects: {
33
+ * include: ["default"],
34
+ * },
35
+ * tags: {
36
+ * include: [{
37
+ * key: "k1",
38
+ * value: "v1",
39
+ * }],
40
+ * },
41
+ * },
42
+ * riskLevel: "Medium",
43
+ * });
44
+ * ```
45
+ *
46
+ * ## Import
47
+ *
48
+ * ```sh
49
+ * $ pulumi import bytepluscc:config/rule:Rule example "rule_id"
50
+ * ```
51
+ */
52
+ export declare class Rule extends pulumi.CustomResource {
53
+ /**
54
+ * Get an existing Rule resource's state with the given name, ID, and optional extra
55
+ * properties used to qualify the lookup.
56
+ *
57
+ * @param name The _unique_ name of the resulting resource.
58
+ * @param id The _unique_ provider ID of the resource to lookup.
59
+ * @param state Any extra arguments used during the lookup.
60
+ * @param opts Optional settings to control the behavior of the CustomResource.
61
+ */
62
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RuleState, opts?: pulumi.CustomResourceOptions): Rule;
63
+ /**
64
+ * Returns true if the given object is an instance of Rule. 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: any): obj is Rule;
68
+ /**
69
+ * Creation time
70
+ */
71
+ readonly createdTime: pulumi.Output<string>;
72
+ /**
73
+ * Rule description
74
+ */
75
+ readonly description: pulumi.Output<string>;
76
+ /**
77
+ * Rule runtime parameters (JSON string)
78
+ */
79
+ readonly inputParameters: pulumi.Output<string>;
80
+ /**
81
+ * Risk level. Options: Low, Medium, High
82
+ */
83
+ readonly riskLevel: pulumi.Output<string>;
84
+ /**
85
+ * Rule ID
86
+ */
87
+ readonly ruleId: pulumi.Output<string>;
88
+ /**
89
+ * Rule name
90
+ */
91
+ readonly ruleName: pulumi.Output<string>;
92
+ /**
93
+ * Rule enable status. Options: Enabled, Disabled
94
+ */
95
+ readonly ruleStatus: pulumi.Output<string>;
96
+ /**
97
+ * Rule template ID
98
+ */
99
+ readonly ruleTemplateId: pulumi.Output<string>;
100
+ /**
101
+ * Resource evaluation scope
102
+ */
103
+ readonly scope: pulumi.Output<outputs.config.RuleScope>;
104
+ /**
105
+ * Whether to trigger regular rule re-evaluation. If true, StartRuleEvaluation is called during update
106
+ */
107
+ readonly startRuleEvaluation: pulumi.Output<boolean>;
108
+ /**
109
+ * Rule trigger configuration
110
+ * Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
111
+ */
112
+ readonly triggers: pulumi.Output<outputs.config.RuleTrigger[]>;
113
+ /**
114
+ * Create a Rule resource with the given unique name, arguments, and options.
115
+ *
116
+ * @param name The _unique_ name of the resource.
117
+ * @param args The arguments to use to populate this resource's properties.
118
+ * @param opts A bag of options that control this resource's behavior.
119
+ */
120
+ constructor(name: string, args: RuleArgs, opts?: pulumi.CustomResourceOptions);
121
+ }
122
+ /**
123
+ * Input properties used for looking up and filtering Rule resources.
124
+ */
125
+ export interface RuleState {
126
+ /**
127
+ * Creation time
128
+ */
129
+ createdTime?: pulumi.Input<string | undefined>;
130
+ /**
131
+ * Rule description
132
+ */
133
+ description?: pulumi.Input<string | undefined>;
134
+ /**
135
+ * Rule runtime parameters (JSON string)
136
+ */
137
+ inputParameters?: pulumi.Input<string | undefined>;
138
+ /**
139
+ * Risk level. Options: Low, Medium, High
140
+ */
141
+ riskLevel?: pulumi.Input<string | undefined>;
142
+ /**
143
+ * Rule ID
144
+ */
145
+ ruleId?: pulumi.Input<string | undefined>;
146
+ /**
147
+ * Rule name
148
+ */
149
+ ruleName?: pulumi.Input<string | undefined>;
150
+ /**
151
+ * Rule enable status. Options: Enabled, Disabled
152
+ */
153
+ ruleStatus?: pulumi.Input<string | undefined>;
154
+ /**
155
+ * Rule template ID
156
+ */
157
+ ruleTemplateId?: pulumi.Input<string | undefined>;
158
+ /**
159
+ * Resource evaluation scope
160
+ */
161
+ scope?: pulumi.Input<inputs.config.RuleScope | undefined>;
162
+ /**
163
+ * Whether to trigger regular rule re-evaluation. If true, StartRuleEvaluation is called during update
164
+ */
165
+ startRuleEvaluation?: pulumi.Input<boolean | undefined>;
166
+ /**
167
+ * Rule trigger configuration
168
+ * Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
169
+ */
170
+ triggers?: pulumi.Input<pulumi.Input<inputs.config.RuleTrigger>[] | undefined>;
171
+ }
172
+ /**
173
+ * The set of arguments for constructing a Rule resource.
174
+ */
175
+ export interface RuleArgs {
176
+ /**
177
+ * Rule description
178
+ */
179
+ description: pulumi.Input<string>;
180
+ /**
181
+ * Rule runtime parameters (JSON string)
182
+ */
183
+ inputParameters: pulumi.Input<string>;
184
+ /**
185
+ * Risk level. Options: Low, Medium, High
186
+ */
187
+ riskLevel: pulumi.Input<string>;
188
+ /**
189
+ * Rule name
190
+ */
191
+ ruleName: pulumi.Input<string>;
192
+ /**
193
+ * Rule enable status. Options: Enabled, Disabled
194
+ */
195
+ ruleStatus?: pulumi.Input<string | undefined>;
196
+ /**
197
+ * Rule template ID
198
+ */
199
+ ruleTemplateId: pulumi.Input<string>;
200
+ /**
201
+ * Resource evaluation scope
202
+ */
203
+ scope: pulumi.Input<inputs.config.RuleScope>;
204
+ /**
205
+ * Whether to trigger regular rule re-evaluation. If true, StartRuleEvaluation is called during update
206
+ */
207
+ startRuleEvaluation?: pulumi.Input<boolean | undefined>;
208
+ /**
209
+ * Rule trigger configuration
210
+ * Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
211
+ */
212
+ triggers: pulumi.Input<pulumi.Input<inputs.config.RuleTrigger>[]>;
213
+ }
214
+ //# sourceMappingURL=rule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rule.d.ts","sourceRoot":"","sources":["../../config/rule.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,qBAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG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