@pulumi/aws 5.4.0 → 5.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. package/acm/certificate.d.ts +33 -6
  2. package/acm/certificate.js +17 -0
  3. package/acm/certificate.js.map +1 -1
  4. package/acm/getCertificate.d.ts +8 -0
  5. package/acm/getCertificate.js.map +1 -1
  6. package/appconfig/eventIntegration.d.ts +158 -0
  7. package/appconfig/eventIntegration.js +96 -0
  8. package/appconfig/eventIntegration.js.map +1 -0
  9. package/appconfig/index.d.ts +1 -0
  10. package/appconfig/index.js +5 -0
  11. package/appconfig/index.js.map +1 -1
  12. package/appflow/connectorProfile.d.ts +133 -0
  13. package/appflow/connectorProfile.js +89 -0
  14. package/appflow/connectorProfile.js.map +1 -0
  15. package/appflow/flow.d.ts +279 -0
  16. package/appflow/flow.js +193 -0
  17. package/appflow/flow.js.map +1 -0
  18. package/appflow/index.d.ts +2 -0
  19. package/appflow/index.js +42 -0
  20. package/appflow/index.js.map +1 -0
  21. package/apprunner/service.d.ts +2 -1
  22. package/apprunner/service.js +2 -1
  23. package/apprunner/service.js.map +1 -1
  24. package/athena/dataCatalog.d.ts +210 -0
  25. package/athena/dataCatalog.js +146 -0
  26. package/athena/dataCatalog.js.map +1 -0
  27. package/athena/index.d.ts +1 -0
  28. package/athena/index.js +5 -0
  29. package/athena/index.js.map +1 -1
  30. package/autoscaling/getGroup.d.ts +4 -0
  31. package/autoscaling/getGroup.js.map +1 -1
  32. package/cloudfront/getOriginAccessIdentities.d.ts +71 -0
  33. package/cloudfront/getOriginAccessIdentities.js +51 -0
  34. package/cloudfront/getOriginAccessIdentities.js.map +1 -0
  35. package/cloudfront/index.d.ts +1 -0
  36. package/cloudfront/index.js +1 -0
  37. package/cloudfront/index.js.map +1 -1
  38. package/cloudtrail/trail.d.ts +1 -1
  39. package/cloudtrail/trail.js +1 -1
  40. package/cloudwatch/dashboard.d.ts +1 -1
  41. package/cloudwatch/dashboard.js +1 -1
  42. package/codebuild/reportGroup.d.ts +4 -3
  43. package/codebuild/reportGroup.js +4 -3
  44. package/codebuild/reportGroup.js.map +1 -1
  45. package/codestarconnections/getConnection.d.ts +23 -4
  46. package/codestarconnections/getConnection.js +13 -0
  47. package/codestarconnections/getConnection.js.map +1 -1
  48. package/config/vars.d.ts +1 -0
  49. package/config/vars.js +6 -0
  50. package/config/vars.js.map +1 -1
  51. package/connect/getRoutingProfile.d.ts +117 -0
  52. package/connect/getRoutingProfile.js +54 -0
  53. package/connect/getRoutingProfile.js.map +1 -0
  54. package/connect/getSecurityProfile.d.ts +112 -0
  55. package/connect/getSecurityProfile.js +54 -0
  56. package/connect/getSecurityProfile.js.map +1 -0
  57. package/connect/getUserHierarchyStructure.d.ts +50 -0
  58. package/connect/getUserHierarchyStructure.js +36 -0
  59. package/connect/getUserHierarchyStructure.js.map +1 -0
  60. package/connect/index.d.ts +4 -0
  61. package/connect/index.js +8 -0
  62. package/connect/index.js.map +1 -1
  63. package/connect/userHierarchyGroup.d.ts +193 -0
  64. package/connect/userHierarchyGroup.js +117 -0
  65. package/connect/userHierarchyGroup.js.map +1 -0
  66. package/costexplorer/costCategory.d.ts +175 -0
  67. package/costexplorer/costCategory.js +123 -0
  68. package/costexplorer/costCategory.js.map +1 -0
  69. package/costexplorer/getCostCategory.d.ts +67 -0
  70. package/costexplorer/getCostCategory.js +36 -0
  71. package/costexplorer/getCostCategory.js.map +1 -0
  72. package/costexplorer/getTags.d.ts +89 -0
  73. package/costexplorer/getTags.js +43 -0
  74. package/costexplorer/getTags.js.map +1 -0
  75. package/costexplorer/index.d.ts +3 -0
  76. package/costexplorer/index.js +39 -0
  77. package/costexplorer/index.js.map +1 -0
  78. package/dlm/lifecyclePolicy.d.ts +4 -4
  79. package/dlm/lifecyclePolicy.js +4 -4
  80. package/docdb/eventSubscription.d.ts +195 -0
  81. package/docdb/eventSubscription.js +113 -0
  82. package/docdb/eventSubscription.js.map +1 -0
  83. package/docdb/index.d.ts +1 -0
  84. package/docdb/index.js +5 -0
  85. package/docdb/index.js.map +1 -1
  86. package/ebs/volume.d.ts +3 -3
  87. package/ec2/ami.d.ts +12 -0
  88. package/ec2/ami.js +2 -0
  89. package/ec2/ami.js.map +1 -1
  90. package/ec2/amiCopy.d.ts +12 -0
  91. package/ec2/amiCopy.js +2 -0
  92. package/ec2/amiCopy.js.map +1 -1
  93. package/ec2/amiFromInstance.d.ts +12 -0
  94. package/ec2/amiFromInstance.js +2 -0
  95. package/ec2/amiFromInstance.js.map +1 -1
  96. package/ec2/getAmi.d.ts +4 -0
  97. package/ec2/getAmi.js.map +1 -1
  98. package/ec2/getInstance.d.ts +5 -1
  99. package/ec2/getInstance.js.map +1 -1
  100. package/ec2/getLaunchTemplate.d.ts +2 -0
  101. package/ec2/getLaunchTemplate.js.map +1 -1
  102. package/ec2/instance.d.ts +12 -0
  103. package/ec2/instance.js +2 -0
  104. package/ec2/instance.js.map +1 -1
  105. package/ec2/launchTemplate.d.ts +27 -3
  106. package/ec2/launchTemplate.js +4 -0
  107. package/ec2/launchTemplate.js.map +1 -1
  108. package/ec2/securityGroup.d.ts +0 -84
  109. package/ec2/securityGroup.js +0 -84
  110. package/ec2/securityGroup.js.map +1 -1
  111. package/ec2/spotFleetRequest.d.ts +18 -0
  112. package/ec2/spotFleetRequest.js +2 -0
  113. package/ec2/spotFleetRequest.js.map +1 -1
  114. package/ec2/spotInstanceRequest.d.ts +12 -0
  115. package/ec2/spotInstanceRequest.js +2 -0
  116. package/ec2/spotInstanceRequest.js.map +1 -1
  117. package/ec2/vpcIpam.d.ts +1 -1
  118. package/ec2/vpcIpam.js +1 -1
  119. package/elasticache/cluster.d.ts +17 -8
  120. package/elasticache/cluster.js.map +1 -1
  121. package/elasticache/replicationGroup.d.ts +17 -5
  122. package/elasticache/replicationGroup.js.map +1 -1
  123. package/emr/cluster.d.ts +12 -12
  124. package/emr/cluster.js +2 -2
  125. package/emr/cluster.js.map +1 -1
  126. package/emrcontainers/getVirtualCluster.d.ts +86 -0
  127. package/emrcontainers/getVirtualCluster.js +39 -0
  128. package/emrcontainers/getVirtualCluster.js.map +1 -0
  129. package/emrcontainers/index.d.ts +2 -0
  130. package/emrcontainers/index.js +38 -0
  131. package/emrcontainers/index.js.map +1 -0
  132. package/emrcontainers/virtualCluster.d.ts +134 -0
  133. package/emrcontainers/virtualCluster.js +89 -0
  134. package/emrcontainers/virtualCluster.js.map +1 -0
  135. package/getAmi.d.ts +4 -0
  136. package/getAmi.js.map +1 -1
  137. package/globalaccelerator/accelerator.d.ts +1 -1
  138. package/globalaccelerator/accelerator.js +1 -1
  139. package/grafana/getWorkspace.d.ts +18 -0
  140. package/grafana/getWorkspace.js +1 -0
  141. package/grafana/getWorkspace.js.map +1 -1
  142. package/grafana/workspace.d.ts +39 -3
  143. package/grafana/workspace.js +4 -0
  144. package/grafana/workspace.js.map +1 -1
  145. package/iam/getInstanceProfiles.d.ts +59 -0
  146. package/iam/getInstanceProfiles.js +38 -0
  147. package/iam/getInstanceProfiles.js.map +1 -0
  148. package/iam/index.d.ts +1 -0
  149. package/iam/index.js +1 -0
  150. package/iam/index.js.map +1 -1
  151. package/index.d.ts +5 -1
  152. package/index.js +12 -4
  153. package/index.js.map +1 -1
  154. package/iot/index.d.ts +1 -0
  155. package/iot/index.js +5 -0
  156. package/iot/index.js.map +1 -1
  157. package/iot/topicRule.d.ts +12 -3
  158. package/iot/topicRule.js +6 -0
  159. package/iot/topicRule.js.map +1 -1
  160. package/iot/topicRuleDestination.d.ts +78 -0
  161. package/iot/topicRuleDestination.js +65 -0
  162. package/iot/topicRuleDestination.js.map +1 -0
  163. package/kinesis/firehoseDeliveryStream.d.ts +46 -0
  164. package/kinesis/firehoseDeliveryStream.js +46 -0
  165. package/kinesis/firehoseDeliveryStream.js.map +1 -1
  166. package/kms/key.d.ts +3 -3
  167. package/lambda/permission.d.ts +13 -1
  168. package/lambda/permission.js +2 -0
  169. package/lambda/permission.js.map +1 -1
  170. package/location/getMap.d.ts +84 -0
  171. package/location/getMap.js +37 -0
  172. package/location/getMap.js.map +1 -0
  173. package/location/index.d.ts +2 -0
  174. package/location/index.js +38 -0
  175. package/location/index.js.map +1 -0
  176. package/location/map.d.ts +140 -0
  177. package/location/map.js +94 -0
  178. package/location/map.js.map +1 -0
  179. package/mq/getInstanceTypeOfferings.d.ts +89 -0
  180. package/mq/getInstanceTypeOfferings.js +51 -0
  181. package/mq/getInstanceTypeOfferings.js.map +1 -0
  182. package/mq/index.d.ts +1 -0
  183. package/mq/index.js +1 -0
  184. package/mq/index.js.map +1 -1
  185. package/msk/cluster.d.ts +27 -3
  186. package/msk/cluster.js +6 -0
  187. package/msk/cluster.js.map +1 -1
  188. package/msk/getCluster.d.ts +12 -0
  189. package/msk/getCluster.js.map +1 -1
  190. package/package.json +2 -2
  191. package/package.json.dev +2 -2
  192. package/provider.d.ts +1 -0
  193. package/provider.js +1 -0
  194. package/provider.js.map +1 -1
  195. package/rds/cluster.d.ts +12 -0
  196. package/rds/cluster.js +2 -0
  197. package/rds/cluster.js.map +1 -1
  198. package/route53/hostedZoneDnsSec.d.ts +13 -4
  199. package/route53/hostedZoneDnsSec.js +13 -4
  200. package/route53/hostedZoneDnsSec.js.map +1 -1
  201. package/sagemaker/app.d.ts +2 -2
  202. package/sagemaker/app.js +2 -2
  203. package/sagemaker/appImageConfig.d.ts +2 -2
  204. package/sagemaker/appImageConfig.js +2 -2
  205. package/sagemaker/codeRepository.d.ts +2 -2
  206. package/sagemaker/codeRepository.js +2 -2
  207. package/sagemaker/device.d.ts +2 -2
  208. package/sagemaker/device.js +2 -2
  209. package/sagemaker/deviceFleet.d.ts +2 -2
  210. package/sagemaker/deviceFleet.js +2 -2
  211. package/sagemaker/domain.d.ts +2 -2
  212. package/sagemaker/domain.js +2 -2
  213. package/sagemaker/flowDefinition.d.ts +2 -2
  214. package/sagemaker/flowDefinition.js +2 -2
  215. package/sagemaker/humanTaskUI.d.ts +2 -2
  216. package/sagemaker/humanTaskUI.js +2 -2
  217. package/sagemaker/image.d.ts +2 -2
  218. package/sagemaker/image.js +2 -2
  219. package/sagemaker/imageVersion.d.ts +2 -2
  220. package/sagemaker/imageVersion.js +2 -2
  221. package/sagemaker/modelPackageGroup.d.ts +2 -2
  222. package/sagemaker/modelPackageGroup.js +2 -2
  223. package/sagemaker/modelPackageGroupPolicy.d.ts +2 -2
  224. package/sagemaker/modelPackageGroupPolicy.js +2 -2
  225. package/sagemaker/notebookInstance.d.ts +2 -2
  226. package/sagemaker/notebookInstance.js +2 -2
  227. package/sagemaker/project.d.ts +3 -3
  228. package/sagemaker/project.js +3 -3
  229. package/sagemaker/studioLifecycleConfig.d.ts +2 -2
  230. package/sagemaker/studioLifecycleConfig.js +2 -2
  231. package/sagemaker/userProfile.d.ts +2 -2
  232. package/sagemaker/userProfile.js +2 -2
  233. package/sagemaker/workforce.d.ts +2 -2
  234. package/sagemaker/workforce.js +2 -2
  235. package/sagemaker/workteam.d.ts +2 -2
  236. package/sagemaker/workteam.js +2 -2
  237. package/secretsmanager/getSecrets.d.ts +57 -0
  238. package/secretsmanager/getSecrets.js +40 -0
  239. package/secretsmanager/getSecrets.js.map +1 -0
  240. package/secretsmanager/index.d.ts +1 -0
  241. package/secretsmanager/index.js +1 -0
  242. package/secretsmanager/index.js.map +1 -1
  243. package/ssm/getPatchBaseline.d.ts +34 -1
  244. package/ssm/getPatchBaseline.js.map +1 -1
  245. package/types/input.d.ts +7702 -4520
  246. package/types/output.d.ts +8512 -5004
  247. package/xray/encryptionConfig.d.ts +4 -3
  248. package/xray/encryptionConfig.js +4 -3
  249. package/xray/encryptionConfig.js.map +1 -1
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.CostCategory = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a CE Cost Category.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ *
17
+ * const test = new aws.costexplorer.CostCategory("test", {
18
+ * rules: [
19
+ * {
20
+ * rule: {
21
+ * dimension: {
22
+ * key: "LINKED_ACCOUNT_NAME",
23
+ * matchOptions: ["ENDS_WITH"],
24
+ * values: ["-prod"],
25
+ * },
26
+ * },
27
+ * value: "production",
28
+ * },
29
+ * {
30
+ * rule: {
31
+ * dimension: {
32
+ * key: "LINKED_ACCOUNT_NAME",
33
+ * matchOptions: ["ENDS_WITH"],
34
+ * values: ["-stg"],
35
+ * },
36
+ * },
37
+ * value: "staging",
38
+ * },
39
+ * {
40
+ * rule: {
41
+ * dimension: {
42
+ * key: "LINKED_ACCOUNT_NAME",
43
+ * matchOptions: ["ENDS_WITH"],
44
+ * values: ["-dev"],
45
+ * },
46
+ * },
47
+ * value: "testing",
48
+ * },
49
+ * ],
50
+ * ruleVersion: "CostCategoryExpression.v1",
51
+ * });
52
+ * ```
53
+ *
54
+ * ## Import
55
+ *
56
+ * `aws_ce_cost_category` can be imported using the id, e.g.
57
+ *
58
+ * ```sh
59
+ * $ pulumi import aws:costexplorer/costCategory:CostCategory example costCategoryARN
60
+ * ```
61
+ */
62
+ class CostCategory extends pulumi.CustomResource {
63
+ constructor(name, argsOrState, opts) {
64
+ let resourceInputs = {};
65
+ opts = opts || {};
66
+ if (opts.id) {
67
+ const state = argsOrState;
68
+ resourceInputs["arn"] = state ? state.arn : undefined;
69
+ resourceInputs["defaultValue"] = state ? state.defaultValue : undefined;
70
+ resourceInputs["effectiveEnd"] = state ? state.effectiveEnd : undefined;
71
+ resourceInputs["effectiveStart"] = state ? state.effectiveStart : undefined;
72
+ resourceInputs["name"] = state ? state.name : undefined;
73
+ resourceInputs["ruleVersion"] = state ? state.ruleVersion : undefined;
74
+ resourceInputs["rules"] = state ? state.rules : undefined;
75
+ resourceInputs["splitChargeRules"] = state ? state.splitChargeRules : undefined;
76
+ }
77
+ else {
78
+ const args = argsOrState;
79
+ if ((!args || args.ruleVersion === undefined) && !opts.urn) {
80
+ throw new Error("Missing required property 'ruleVersion'");
81
+ }
82
+ if ((!args || args.rules === undefined) && !opts.urn) {
83
+ throw new Error("Missing required property 'rules'");
84
+ }
85
+ resourceInputs["defaultValue"] = args ? args.defaultValue : undefined;
86
+ resourceInputs["name"] = args ? args.name : undefined;
87
+ resourceInputs["ruleVersion"] = args ? args.ruleVersion : undefined;
88
+ resourceInputs["rules"] = args ? args.rules : undefined;
89
+ resourceInputs["splitChargeRules"] = args ? args.splitChargeRules : undefined;
90
+ resourceInputs["arn"] = undefined /*out*/;
91
+ resourceInputs["effectiveEnd"] = undefined /*out*/;
92
+ resourceInputs["effectiveStart"] = undefined /*out*/;
93
+ }
94
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
95
+ super(CostCategory.__pulumiType, name, resourceInputs, opts);
96
+ }
97
+ /**
98
+ * Get an existing CostCategory resource's state with the given name, ID, and optional extra
99
+ * properties used to qualify the lookup.
100
+ *
101
+ * @param name The _unique_ name of the resulting resource.
102
+ * @param id The _unique_ provider ID of the resource to lookup.
103
+ * @param state Any extra arguments used during the lookup.
104
+ * @param opts Optional settings to control the behavior of the CustomResource.
105
+ */
106
+ static get(name, id, state, opts) {
107
+ return new CostCategory(name, state, Object.assign(Object.assign({}, opts), { id: id }));
108
+ }
109
+ /**
110
+ * Returns true if the given object is an instance of CostCategory. This is designed to work even
111
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
112
+ */
113
+ static isInstance(obj) {
114
+ if (obj === undefined || obj === null) {
115
+ return false;
116
+ }
117
+ return obj['__pulumiType'] === CostCategory.__pulumiType;
118
+ }
119
+ }
120
+ exports.CostCategory = CostCategory;
121
+ /** @internal */
122
+ CostCategory.__pulumiType = 'aws:costexplorer/costCategory:CostCategory';
123
+ //# sourceMappingURL=costCategory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"costCategory.js","sourceRoot":"","sources":["../../costexplorer/costCategory.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,67 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "../types";
3
+ /**
4
+ * Provides details about a specific CostExplorer Cost Category.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as aws from "@pulumi/aws";
11
+ *
12
+ * const example = pulumi.output(aws.costexplorer.getCostCategory({
13
+ * costCategoryArn: "costCategoryARN",
14
+ * }));
15
+ * ```
16
+ */
17
+ export declare function getCostCategory(args: GetCostCategoryArgs, opts?: pulumi.InvokeOptions): Promise<GetCostCategoryResult>;
18
+ /**
19
+ * A collection of arguments for invoking getCostCategory.
20
+ */
21
+ export interface GetCostCategoryArgs {
22
+ /**
23
+ * Unique name for the Cost Category.
24
+ */
25
+ costCategoryArn: string;
26
+ }
27
+ /**
28
+ * A collection of values returned by getCostCategory.
29
+ */
30
+ export interface GetCostCategoryResult {
31
+ readonly costCategoryArn: string;
32
+ /**
33
+ * Effective end data of your Cost Category.
34
+ */
35
+ readonly effectiveEnd: string;
36
+ /**
37
+ * Effective state data of your Cost Category.
38
+ */
39
+ readonly effectiveStart: string;
40
+ /**
41
+ * The provider-assigned unique ID for this managed resource.
42
+ */
43
+ readonly id: string;
44
+ readonly name: string;
45
+ /**
46
+ * Rule schema version in this particular Cost Category.
47
+ */
48
+ readonly ruleVersion: string;
49
+ /**
50
+ * Configuration block for the `Expression` object used to categorize costs. See below.
51
+ */
52
+ readonly rules: outputs.costexplorer.GetCostCategoryRule[];
53
+ /**
54
+ * Configuration block for the split charge rules used to allocate your charges between your Cost Category values. See below.
55
+ */
56
+ readonly splitChargeRules: outputs.costexplorer.GetCostCategorySplitChargeRule[];
57
+ }
58
+ export declare function getCostCategoryOutput(args: GetCostCategoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCostCategoryResult>;
59
+ /**
60
+ * A collection of arguments for invoking getCostCategory.
61
+ */
62
+ export interface GetCostCategoryOutputArgs {
63
+ /**
64
+ * Unique name for the Cost Category.
65
+ */
66
+ costCategoryArn: pulumi.Input<string>;
67
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.getCostCategoryOutput = exports.getCostCategory = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides details about a specific CostExplorer Cost Category.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ *
17
+ * const example = pulumi.output(aws.costexplorer.getCostCategory({
18
+ * costCategoryArn: "costCategoryARN",
19
+ * }));
20
+ * ```
21
+ */
22
+ function getCostCategory(args, opts) {
23
+ if (!opts) {
24
+ opts = {};
25
+ }
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
27
+ return pulumi.runtime.invoke("aws:costexplorer/getCostCategory:getCostCategory", {
28
+ "costCategoryArn": args.costCategoryArn,
29
+ }, opts);
30
+ }
31
+ exports.getCostCategory = getCostCategory;
32
+ function getCostCategoryOutput(args, opts) {
33
+ return pulumi.output(args).apply(a => getCostCategory(a, opts));
34
+ }
35
+ exports.getCostCategoryOutput = getCostCategoryOutput;
36
+ //# sourceMappingURL=getCostCategory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCostCategory.js","sourceRoot":"","sources":["../../costexplorer/getCostCategory.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0CASC;AA4CD,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,sDAEC"}
@@ -0,0 +1,89 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * Provides details about a specific CE Tags.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as aws from "@pulumi/aws";
11
+ *
12
+ * const test = pulumi.output(aws.costexplorer.getTags({
13
+ * timePeriod: {
14
+ * end: "2022-12-01",
15
+ * start: "2021-01-01",
16
+ * },
17
+ * }));
18
+ * ```
19
+ */
20
+ export declare function getTags(args: GetTagsArgs, opts?: pulumi.InvokeOptions): Promise<GetTagsResult>;
21
+ /**
22
+ * A collection of arguments for invoking getTags.
23
+ */
24
+ export interface GetTagsArgs {
25
+ /**
26
+ * Configuration block for the `Expression` object used to categorize costs. See below.
27
+ */
28
+ filter?: inputs.costexplorer.GetTagsFilter;
29
+ /**
30
+ * Value that you want to search for.
31
+ */
32
+ searchString?: string;
33
+ /**
34
+ * Configuration block for the value by which you want to sort the data. See below.
35
+ */
36
+ sortBies?: inputs.costexplorer.GetTagsSortBy[];
37
+ /**
38
+ * Key of the tag that you want to return values for.
39
+ */
40
+ tagKey?: string;
41
+ /**
42
+ * Configuration block for the start and end dates for retrieving the dimension values.
43
+ */
44
+ timePeriod: inputs.costexplorer.GetTagsTimePeriod;
45
+ }
46
+ /**
47
+ * A collection of values returned by getTags.
48
+ */
49
+ export interface GetTagsResult {
50
+ readonly filter?: outputs.costexplorer.GetTagsFilter;
51
+ /**
52
+ * The provider-assigned unique ID for this managed resource.
53
+ */
54
+ readonly id: string;
55
+ readonly searchString?: string;
56
+ readonly sortBies?: outputs.costexplorer.GetTagsSortBy[];
57
+ readonly tagKey?: string;
58
+ /**
59
+ * Tags that match your request.
60
+ */
61
+ readonly tags: string[];
62
+ readonly timePeriod: outputs.costexplorer.GetTagsTimePeriod;
63
+ }
64
+ export declare function getTagsOutput(args: GetTagsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTagsResult>;
65
+ /**
66
+ * A collection of arguments for invoking getTags.
67
+ */
68
+ export interface GetTagsOutputArgs {
69
+ /**
70
+ * Configuration block for the `Expression` object used to categorize costs. See below.
71
+ */
72
+ filter?: pulumi.Input<inputs.costexplorer.GetTagsFilterArgs>;
73
+ /**
74
+ * Value that you want to search for.
75
+ */
76
+ searchString?: pulumi.Input<string>;
77
+ /**
78
+ * Configuration block for the value by which you want to sort the data. See below.
79
+ */
80
+ sortBies?: pulumi.Input<pulumi.Input<inputs.costexplorer.GetTagsSortByArgs>[]>;
81
+ /**
82
+ * Key of the tag that you want to return values for.
83
+ */
84
+ tagKey?: pulumi.Input<string>;
85
+ /**
86
+ * Configuration block for the start and end dates for retrieving the dimension values.
87
+ */
88
+ timePeriod: pulumi.Input<inputs.costexplorer.GetTagsTimePeriodArgs>;
89
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.getTagsOutput = exports.getTags = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides details about a specific CE Tags.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ *
17
+ * const test = pulumi.output(aws.costexplorer.getTags({
18
+ * timePeriod: {
19
+ * end: "2022-12-01",
20
+ * start: "2021-01-01",
21
+ * },
22
+ * }));
23
+ * ```
24
+ */
25
+ function getTags(args, opts) {
26
+ if (!opts) {
27
+ opts = {};
28
+ }
29
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
30
+ return pulumi.runtime.invoke("aws:costexplorer/getTags:getTags", {
31
+ "filter": args.filter,
32
+ "searchString": args.searchString,
33
+ "sortBies": args.sortBies,
34
+ "tagKey": args.tagKey,
35
+ "timePeriod": args.timePeriod,
36
+ }, opts);
37
+ }
38
+ exports.getTags = getTags;
39
+ function getTagsOutput(args, opts) {
40
+ return pulumi.output(args).apply(a => getTags(a, opts));
41
+ }
42
+ exports.getTagsOutput = getTagsOutput;
43
+ //# sourceMappingURL=getTags.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTags.js","sourceRoot":"","sources":["../../costexplorer/getTags.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,0BAaC;AA+CD,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,sCAEC"}
@@ -0,0 +1,3 @@
1
+ export * from "./costCategory";
2
+ export * from "./getCostCategory";
3
+ export * from "./getTags";
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
16
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ const pulumi = require("@pulumi/pulumi");
20
+ const utilities = require("../utilities");
21
+ // Export members:
22
+ __exportStar(require("./costCategory"), exports);
23
+ __exportStar(require("./getCostCategory"), exports);
24
+ __exportStar(require("./getTags"), exports);
25
+ // Import resources to register:
26
+ const costCategory_1 = require("./costCategory");
27
+ const _module = {
28
+ version: utilities.getVersion(),
29
+ construct: (name, type, urn) => {
30
+ switch (type) {
31
+ case "aws:costexplorer/costCategory:CostCategory":
32
+ return new costCategory_1.CostCategory(name, undefined, { urn });
33
+ default:
34
+ throw new Error(`unknown resource type ${type}`);
35
+ }
36
+ },
37
+ };
38
+ pulumi.runtime.registerResourceModule("aws", "costexplorer/costCategory", _module);
39
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../costexplorer/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,iDAA+B;AAC/B,oDAAkC;AAClC,4CAA0B;AAE1B,gCAAgC;AAChC,iDAA8C;AAE9C,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,4CAA4C;gBAC7C,OAAO,IAAI,2BAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA"}
@@ -85,10 +85,10 @@ import { input as inputs, output as outputs } from "../types";
85
85
  * import * as pulumi from "@pulumi/pulumi";
86
86
  * import * as aws from "@pulumi/aws";
87
87
  *
88
- * // ...other configuration...
88
+ * const current = aws.getCallerIdentity({});
89
89
  * const dlmCrossRegionCopyCmk = new aws.kms.Key("dlmCrossRegionCopyCmk", {
90
90
  * description: "Example Alternate Region KMS Key",
91
- * policy: `{
91
+ * policy: current.then(current => `{
92
92
  * "Version": "2012-10-17",
93
93
  * "Id": "dlm-cross-region-copy-cmk",
94
94
  * "Statement": [
@@ -96,14 +96,14 @@ import { input as inputs, output as outputs } from "../types";
96
96
  * "Sid": "Enable IAM User Permissions",
97
97
  * "Effect": "Allow",
98
98
  * "Principal": {
99
- * "AWS": "*"
99
+ * "AWS": "arn:aws:iam::${current.accountId}:root"
100
100
  * },
101
101
  * "Action": "kms:*",
102
102
  * "Resource": "*"
103
103
  * }
104
104
  * ]
105
105
  * }
106
- * `,
106
+ * `),
107
107
  * }, {
108
108
  * provider: aws.alternate,
109
109
  * });
@@ -90,10 +90,10 @@ const utilities = require("../utilities");
90
90
  * import * as pulumi from "@pulumi/pulumi";
91
91
  * import * as aws from "@pulumi/aws";
92
92
  *
93
- * // ...other configuration...
93
+ * const current = aws.getCallerIdentity({});
94
94
  * const dlmCrossRegionCopyCmk = new aws.kms.Key("dlmCrossRegionCopyCmk", {
95
95
  * description: "Example Alternate Region KMS Key",
96
- * policy: `{
96
+ * policy: current.then(current => `{
97
97
  * "Version": "2012-10-17",
98
98
  * "Id": "dlm-cross-region-copy-cmk",
99
99
  * "Statement": [
@@ -101,14 +101,14 @@ const utilities = require("../utilities");
101
101
  * "Sid": "Enable IAM User Permissions",
102
102
  * "Effect": "Allow",
103
103
  * "Principal": {
104
- * "AWS": "*"
104
+ * "AWS": "arn:aws:iam::${current.accountId}:root"
105
105
  * },
106
106
  * "Action": "kms:*",
107
107
  * "Resource": "*"
108
108
  * }
109
109
  * ]
110
110
  * }
111
- * `,
111
+ * `),
112
112
  * }, {
113
113
  * provider: aws.alternate,
114
114
  * });