@pulumi/aws 5.17.0 → 5.18.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 (162) hide show
  1. package/amp/workspace.d.ts +29 -5
  2. package/amp/workspace.js +17 -5
  3. package/amp/workspace.js.map +1 -1
  4. package/cloudfront/distribution.d.ts +1 -1
  5. package/cloudfront/distribution.js +1 -1
  6. package/codepipeline/customActionType.d.ts +188 -0
  7. package/codepipeline/customActionType.js +116 -0
  8. package/codepipeline/customActionType.js.map +1 -0
  9. package/codepipeline/index.d.ts +3 -0
  10. package/codepipeline/index.js +6 -1
  11. package/codepipeline/index.js.map +1 -1
  12. package/cognito/userPool.d.ts +12 -0
  13. package/cognito/userPool.js +2 -0
  14. package/cognito/userPool.js.map +1 -1
  15. package/comprehend/documentClassifier.d.ts +275 -0
  16. package/comprehend/documentClassifier.js +115 -0
  17. package/comprehend/documentClassifier.js.map +1 -0
  18. package/comprehend/index.d.ts +3 -0
  19. package/comprehend/index.js +6 -1
  20. package/comprehend/index.js.map +1 -1
  21. package/directconnect/connection.d.ts +8 -0
  22. package/directconnect/connection.js +2 -0
  23. package/directconnect/connection.js.map +1 -1
  24. package/directconnect/getConnection.d.ts +4 -0
  25. package/directconnect/getConnection.js.map +1 -1
  26. package/ebs/volume.d.ts +1 -1
  27. package/ebs/volume.js +1 -1
  28. package/ec2/defaultVpc.d.ts +3 -0
  29. package/ec2/defaultVpc.js +2 -0
  30. package/ec2/defaultVpc.js.map +1 -1
  31. package/ec2/getNatGateway.d.ts +0 -2
  32. package/ec2/getNatGateway.js +0 -2
  33. package/ec2/getNatGateway.js.map +1 -1
  34. package/ec2/getVpc.d.ts +4 -0
  35. package/ec2/getVpc.js.map +1 -1
  36. package/ec2/getVpcIamPools.d.ts +64 -0
  37. package/ec2/getVpcIamPools.js +50 -0
  38. package/ec2/getVpcIamPools.js.map +1 -0
  39. package/ec2/index.d.ts +3 -0
  40. package/ec2/index.js +6 -3
  41. package/ec2/index.js.map +1 -1
  42. package/ec2/networkInterface.d.ts +9 -0
  43. package/ec2/networkInterface.js.map +1 -1
  44. package/ec2/securityGroupRule.d.ts +2 -2
  45. package/ec2/securityGroupRule.js +2 -2
  46. package/ec2/vpc.d.ts +15 -3
  47. package/ec2/vpc.js +2 -0
  48. package/ec2/vpc.js.map +1 -1
  49. package/ec2clientvpn/route.d.ts +3 -3
  50. package/ec2transitgateway/connectPeer.d.ts +1 -1
  51. package/ec2transitgateway/connectPeer.js +1 -1
  52. package/elasticache/getCluster.d.ts +1 -1
  53. package/elasticache/getCluster.js +1 -1
  54. package/elasticache/getReplicationGroup.d.ts +1 -1
  55. package/elasticache/getReplicationGroup.js +1 -1
  56. package/elasticache/getUser.d.ts +1 -1
  57. package/elasticache/getUser.js +1 -1
  58. package/elasticache/globalReplicationGroup.d.ts +30 -2
  59. package/elasticache/globalReplicationGroup.js +3 -1
  60. package/elasticache/globalReplicationGroup.js.map +1 -1
  61. package/elasticache/parameterGroup.d.ts +1 -1
  62. package/elasticache/parameterGroup.js +1 -1
  63. package/elasticache/subnetGroup.d.ts +3 -3
  64. package/emrcontainers/virtualCluster.d.ts +2 -2
  65. package/emrcontainers/virtualCluster.js +2 -2
  66. package/globalaccelerator/accelerator.d.ts +13 -0
  67. package/globalaccelerator/accelerator.js +3 -0
  68. package/globalaccelerator/accelerator.js.map +1 -1
  69. package/identitystore/group.d.ts +3 -3
  70. package/index.d.ts +2 -1
  71. package/index.js +4 -2
  72. package/index.js.map +1 -1
  73. package/inspector2/delegatedAdminAccount.d.ts +76 -0
  74. package/inspector2/delegatedAdminAccount.js +74 -0
  75. package/inspector2/delegatedAdminAccount.js.map +1 -0
  76. package/inspector2/index.d.ts +3 -0
  77. package/inspector2/index.js +6 -1
  78. package/inspector2/index.js.map +1 -1
  79. package/networkmanager/link.d.ts +1 -1
  80. package/networkmanager/link.js +1 -1
  81. package/opsworks/customLayer.d.ts +12 -0
  82. package/opsworks/customLayer.js +2 -0
  83. package/opsworks/customLayer.js.map +1 -1
  84. package/opsworks/ecsClusterLayer.d.ts +3 -0
  85. package/opsworks/ecsClusterLayer.js +2 -0
  86. package/opsworks/ecsClusterLayer.js.map +1 -1
  87. package/opsworks/gangliaLayer.d.ts +3 -0
  88. package/opsworks/gangliaLayer.js +2 -0
  89. package/opsworks/gangliaLayer.js.map +1 -1
  90. package/opsworks/haproxyLayer.d.ts +3 -0
  91. package/opsworks/haproxyLayer.js +2 -0
  92. package/opsworks/haproxyLayer.js.map +1 -1
  93. package/opsworks/javaAppLayer.d.ts +3 -0
  94. package/opsworks/javaAppLayer.js +2 -0
  95. package/opsworks/javaAppLayer.js.map +1 -1
  96. package/opsworks/memcachedLayer.d.ts +3 -0
  97. package/opsworks/memcachedLayer.js +2 -0
  98. package/opsworks/memcachedLayer.js.map +1 -1
  99. package/opsworks/mysqlLayer.d.ts +3 -0
  100. package/opsworks/mysqlLayer.js +2 -0
  101. package/opsworks/mysqlLayer.js.map +1 -1
  102. package/opsworks/nodejsAppLayer.d.ts +3 -0
  103. package/opsworks/nodejsAppLayer.js +2 -0
  104. package/opsworks/nodejsAppLayer.js.map +1 -1
  105. package/opsworks/phpAppLayer.d.ts +3 -0
  106. package/opsworks/phpAppLayer.js +2 -0
  107. package/opsworks/phpAppLayer.js.map +1 -1
  108. package/opsworks/railsAppLayer.d.ts +3 -0
  109. package/opsworks/railsAppLayer.js +2 -0
  110. package/opsworks/railsAppLayer.js.map +1 -1
  111. package/opsworks/staticWebLayer.d.ts +3 -0
  112. package/opsworks/staticWebLayer.js +2 -0
  113. package/opsworks/staticWebLayer.js.map +1 -1
  114. package/package.json +2 -2
  115. package/package.json.dev +2 -2
  116. package/ram/resourceShare.d.ts +1 -1
  117. package/ram/resourceShare.js +1 -1
  118. package/rds/getReservedInstanceOffering.d.ts +97 -0
  119. package/rds/getReservedInstanceOffering.js +44 -0
  120. package/rds/getReservedInstanceOffering.js.map +1 -0
  121. package/rds/index.d.ts +6 -0
  122. package/rds/index.js +9 -1
  123. package/rds/index.js.map +1 -1
  124. package/rds/optionGroup.d.ts +1 -1
  125. package/rds/optionGroup.js +1 -1
  126. package/rds/reservedInstance.d.ts +219 -0
  127. package/rds/reservedInstance.js +115 -0
  128. package/rds/reservedInstance.js.map +1 -0
  129. package/s3control/index.d.ts +3 -0
  130. package/s3control/index.js +6 -1
  131. package/s3control/index.js.map +1 -1
  132. package/s3control/storageLensConfiguration.d.ts +157 -0
  133. package/s3control/storageLensConfiguration.js +122 -0
  134. package/s3control/storageLensConfiguration.js.map +1 -0
  135. package/servicecatalog/product.d.ts +17 -0
  136. package/servicecatalog/product.js +17 -0
  137. package/servicecatalog/product.js.map +1 -1
  138. package/ses/domainDkim.d.ts +2 -2
  139. package/ses/domainDkim.js +2 -2
  140. package/sesv2/configurationSet.d.ts +175 -0
  141. package/sesv2/configurationSet.js +107 -0
  142. package/sesv2/configurationSet.js.map +1 -0
  143. package/sesv2/index.d.ts +3 -0
  144. package/sesv2/index.js +22 -0
  145. package/sesv2/index.js.map +1 -0
  146. package/transfer/index.d.ts +3 -0
  147. package/transfer/index.js +6 -1
  148. package/transfer/index.js.map +1 -1
  149. package/transfer/server.d.ts +2 -0
  150. package/transfer/server.js +2 -0
  151. package/transfer/server.js.map +1 -1
  152. package/transfer/tag.d.ts +100 -0
  153. package/transfer/tag.js +90 -0
  154. package/transfer/tag.js.map +1 -0
  155. package/types/input.d.ts +714 -22
  156. package/types/output.d.ts +762 -4
  157. package/waf/getSubscribedRuleGroup.d.ts +16 -17
  158. package/waf/getSubscribedRuleGroup.js +16 -17
  159. package/waf/getSubscribedRuleGroup.js.map +1 -1
  160. package/wafregional/getSubscribedRuleGroup.d.ts +16 -17
  161. package/wafregional/getSubscribedRuleGroup.js +16 -17
  162. package/wafregional/getSubscribedRuleGroup.js.map +1 -1
@@ -0,0 +1,219 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as aws from "@pulumi/aws";
10
+ *
11
+ * const test = aws.rds.getReservedInstanceOffering({
12
+ * dbInstanceClass: "db.t2.micro",
13
+ * duration: 31536000,
14
+ * multiAz: false,
15
+ * offeringType: "All Upfront",
16
+ * productDescription: "mysql",
17
+ * });
18
+ * const example = new aws.rds.ReservedInstance("example", {
19
+ * offeringId: test.then(test => test.offeringId),
20
+ * reservationId: "optionalCustomReservationID",
21
+ * instanceCount: 3,
22
+ * });
23
+ * ```
24
+ *
25
+ * ## Import
26
+ *
27
+ * RDS DB Instance Reservations can be imported using the `instance_id`, e.g.,
28
+ *
29
+ * ```sh
30
+ * $ pulumi import aws:rds/reservedInstance:ReservedInstance reservation_instance CustomReservationID
31
+ * ```
32
+ */
33
+ export declare class ReservedInstance extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing ReservedInstance resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param state Any extra arguments used during the lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ReservedInstanceState, opts?: pulumi.CustomResourceOptions): ReservedInstance;
44
+ /**
45
+ * Returns true if the given object is an instance of ReservedInstance. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ static isInstance(obj: any): obj is ReservedInstance;
49
+ /**
50
+ * ARN for the reserved DB instance.
51
+ */
52
+ readonly arn: pulumi.Output<string>;
53
+ /**
54
+ * Currency code for the reserved DB instance.
55
+ */
56
+ readonly currencyCode: pulumi.Output<string>;
57
+ readonly dbInstanceClass: pulumi.Output<string>;
58
+ /**
59
+ * Duration of the reservation in seconds.
60
+ */
61
+ readonly duration: pulumi.Output<number>;
62
+ /**
63
+ * Fixed price charged for this reserved DB instance.
64
+ */
65
+ readonly fixedPrice: pulumi.Output<number>;
66
+ /**
67
+ * Number of instances to reserve. Default value is `1`.
68
+ */
69
+ readonly instanceCount: pulumi.Output<number | undefined>;
70
+ /**
71
+ * Unique identifier for the lease associated with the reserved DB instance. Amazon Web Services Support might request the lease ID for an issue related to a reserved DB instance.
72
+ */
73
+ readonly leaseId: pulumi.Output<string>;
74
+ /**
75
+ * Whether the reservation applies to Multi-AZ deployments.
76
+ */
77
+ readonly multiAz: pulumi.Output<boolean>;
78
+ /**
79
+ * ID of the Reserved DB instance offering to purchase. To determine an `offeringId`, see the `aws.rds.getReservedInstanceOffering` data source.
80
+ */
81
+ readonly offeringId: pulumi.Output<string>;
82
+ /**
83
+ * Offering type of this reserved DB instance.
84
+ */
85
+ readonly offeringType: pulumi.Output<string>;
86
+ /**
87
+ * Description of the reserved DB instance.
88
+ */
89
+ readonly productDescription: pulumi.Output<string>;
90
+ /**
91
+ * Recurring price charged to run this reserved DB instance.
92
+ */
93
+ readonly recurringCharges: pulumi.Output<outputs.rds.ReservedInstanceRecurringCharge[]>;
94
+ readonly reservationId: pulumi.Output<string | undefined>;
95
+ /**
96
+ * Time the reservation started.
97
+ */
98
+ readonly startTime: pulumi.Output<string>;
99
+ /**
100
+ * State of the reserved DB instance.
101
+ */
102
+ readonly state: pulumi.Output<string>;
103
+ /**
104
+ * Map of tags to assign to the DB reservation. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
105
+ */
106
+ readonly tags: pulumi.Output<{
107
+ [key: string]: string;
108
+ } | undefined>;
109
+ readonly tagsAll: pulumi.Output<{
110
+ [key: string]: string;
111
+ }>;
112
+ /**
113
+ * Hourly price charged for this reserved DB instance.
114
+ */
115
+ readonly usagePrice: pulumi.Output<number>;
116
+ /**
117
+ * Create a ReservedInstance resource with the given unique name, arguments, and options.
118
+ *
119
+ * @param name The _unique_ name of the resource.
120
+ * @param args The arguments to use to populate this resource's properties.
121
+ * @param opts A bag of options that control this resource's behavior.
122
+ */
123
+ constructor(name: string, args: ReservedInstanceArgs, opts?: pulumi.CustomResourceOptions);
124
+ }
125
+ /**
126
+ * Input properties used for looking up and filtering ReservedInstance resources.
127
+ */
128
+ export interface ReservedInstanceState {
129
+ /**
130
+ * ARN for the reserved DB instance.
131
+ */
132
+ arn?: pulumi.Input<string>;
133
+ /**
134
+ * Currency code for the reserved DB instance.
135
+ */
136
+ currencyCode?: pulumi.Input<string>;
137
+ dbInstanceClass?: pulumi.Input<string>;
138
+ /**
139
+ * Duration of the reservation in seconds.
140
+ */
141
+ duration?: pulumi.Input<number>;
142
+ /**
143
+ * Fixed price charged for this reserved DB instance.
144
+ */
145
+ fixedPrice?: pulumi.Input<number>;
146
+ /**
147
+ * Number of instances to reserve. Default value is `1`.
148
+ */
149
+ instanceCount?: pulumi.Input<number>;
150
+ /**
151
+ * Unique identifier for the lease associated with the reserved DB instance. Amazon Web Services Support might request the lease ID for an issue related to a reserved DB instance.
152
+ */
153
+ leaseId?: pulumi.Input<string>;
154
+ /**
155
+ * Whether the reservation applies to Multi-AZ deployments.
156
+ */
157
+ multiAz?: pulumi.Input<boolean>;
158
+ /**
159
+ * ID of the Reserved DB instance offering to purchase. To determine an `offeringId`, see the `aws.rds.getReservedInstanceOffering` data source.
160
+ */
161
+ offeringId?: pulumi.Input<string>;
162
+ /**
163
+ * Offering type of this reserved DB instance.
164
+ */
165
+ offeringType?: pulumi.Input<string>;
166
+ /**
167
+ * Description of the reserved DB instance.
168
+ */
169
+ productDescription?: pulumi.Input<string>;
170
+ /**
171
+ * Recurring price charged to run this reserved DB instance.
172
+ */
173
+ recurringCharges?: pulumi.Input<pulumi.Input<inputs.rds.ReservedInstanceRecurringCharge>[]>;
174
+ reservationId?: pulumi.Input<string>;
175
+ /**
176
+ * Time the reservation started.
177
+ */
178
+ startTime?: pulumi.Input<string>;
179
+ /**
180
+ * State of the reserved DB instance.
181
+ */
182
+ state?: pulumi.Input<string>;
183
+ /**
184
+ * Map of tags to assign to the DB reservation. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
185
+ */
186
+ tags?: pulumi.Input<{
187
+ [key: string]: pulumi.Input<string>;
188
+ }>;
189
+ tagsAll?: pulumi.Input<{
190
+ [key: string]: pulumi.Input<string>;
191
+ }>;
192
+ /**
193
+ * Hourly price charged for this reserved DB instance.
194
+ */
195
+ usagePrice?: pulumi.Input<number>;
196
+ }
197
+ /**
198
+ * The set of arguments for constructing a ReservedInstance resource.
199
+ */
200
+ export interface ReservedInstanceArgs {
201
+ /**
202
+ * Number of instances to reserve. Default value is `1`.
203
+ */
204
+ instanceCount?: pulumi.Input<number>;
205
+ /**
206
+ * ID of the Reserved DB instance offering to purchase. To determine an `offeringId`, see the `aws.rds.getReservedInstanceOffering` data source.
207
+ */
208
+ offeringId: pulumi.Input<string>;
209
+ reservationId?: pulumi.Input<string>;
210
+ /**
211
+ * Map of tags to assign to the DB reservation. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
212
+ */
213
+ tags?: pulumi.Input<{
214
+ [key: string]: pulumi.Input<string>;
215
+ }>;
216
+ tagsAll?: pulumi.Input<{
217
+ [key: string]: pulumi.Input<string>;
218
+ }>;
219
+ }
@@ -0,0 +1,115 @@
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.ReservedInstance = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as aws from "@pulumi/aws";
14
+ *
15
+ * const test = aws.rds.getReservedInstanceOffering({
16
+ * dbInstanceClass: "db.t2.micro",
17
+ * duration: 31536000,
18
+ * multiAz: false,
19
+ * offeringType: "All Upfront",
20
+ * productDescription: "mysql",
21
+ * });
22
+ * const example = new aws.rds.ReservedInstance("example", {
23
+ * offeringId: test.then(test => test.offeringId),
24
+ * reservationId: "optionalCustomReservationID",
25
+ * instanceCount: 3,
26
+ * });
27
+ * ```
28
+ *
29
+ * ## Import
30
+ *
31
+ * RDS DB Instance Reservations can be imported using the `instance_id`, e.g.,
32
+ *
33
+ * ```sh
34
+ * $ pulumi import aws:rds/reservedInstance:ReservedInstance reservation_instance CustomReservationID
35
+ * ```
36
+ */
37
+ class ReservedInstance extends pulumi.CustomResource {
38
+ constructor(name, argsOrState, opts) {
39
+ let resourceInputs = {};
40
+ opts = opts || {};
41
+ if (opts.id) {
42
+ const state = argsOrState;
43
+ resourceInputs["arn"] = state ? state.arn : undefined;
44
+ resourceInputs["currencyCode"] = state ? state.currencyCode : undefined;
45
+ resourceInputs["dbInstanceClass"] = state ? state.dbInstanceClass : undefined;
46
+ resourceInputs["duration"] = state ? state.duration : undefined;
47
+ resourceInputs["fixedPrice"] = state ? state.fixedPrice : undefined;
48
+ resourceInputs["instanceCount"] = state ? state.instanceCount : undefined;
49
+ resourceInputs["leaseId"] = state ? state.leaseId : undefined;
50
+ resourceInputs["multiAz"] = state ? state.multiAz : undefined;
51
+ resourceInputs["offeringId"] = state ? state.offeringId : undefined;
52
+ resourceInputs["offeringType"] = state ? state.offeringType : undefined;
53
+ resourceInputs["productDescription"] = state ? state.productDescription : undefined;
54
+ resourceInputs["recurringCharges"] = state ? state.recurringCharges : undefined;
55
+ resourceInputs["reservationId"] = state ? state.reservationId : undefined;
56
+ resourceInputs["startTime"] = state ? state.startTime : undefined;
57
+ resourceInputs["state"] = state ? state.state : undefined;
58
+ resourceInputs["tags"] = state ? state.tags : undefined;
59
+ resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
60
+ resourceInputs["usagePrice"] = state ? state.usagePrice : undefined;
61
+ }
62
+ else {
63
+ const args = argsOrState;
64
+ if ((!args || args.offeringId === undefined) && !opts.urn) {
65
+ throw new Error("Missing required property 'offeringId'");
66
+ }
67
+ resourceInputs["instanceCount"] = args ? args.instanceCount : undefined;
68
+ resourceInputs["offeringId"] = args ? args.offeringId : undefined;
69
+ resourceInputs["reservationId"] = args ? args.reservationId : undefined;
70
+ resourceInputs["tags"] = args ? args.tags : undefined;
71
+ resourceInputs["tagsAll"] = args ? args.tagsAll : undefined;
72
+ resourceInputs["arn"] = undefined /*out*/;
73
+ resourceInputs["currencyCode"] = undefined /*out*/;
74
+ resourceInputs["dbInstanceClass"] = undefined /*out*/;
75
+ resourceInputs["duration"] = undefined /*out*/;
76
+ resourceInputs["fixedPrice"] = undefined /*out*/;
77
+ resourceInputs["leaseId"] = undefined /*out*/;
78
+ resourceInputs["multiAz"] = undefined /*out*/;
79
+ resourceInputs["offeringType"] = undefined /*out*/;
80
+ resourceInputs["productDescription"] = undefined /*out*/;
81
+ resourceInputs["recurringCharges"] = undefined /*out*/;
82
+ resourceInputs["startTime"] = undefined /*out*/;
83
+ resourceInputs["state"] = undefined /*out*/;
84
+ resourceInputs["usagePrice"] = undefined /*out*/;
85
+ }
86
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
87
+ super(ReservedInstance.__pulumiType, name, resourceInputs, opts);
88
+ }
89
+ /**
90
+ * Get an existing ReservedInstance resource's state with the given name, ID, and optional extra
91
+ * properties used to qualify the lookup.
92
+ *
93
+ * @param name The _unique_ name of the resulting resource.
94
+ * @param id The _unique_ provider ID of the resource to lookup.
95
+ * @param state Any extra arguments used during the lookup.
96
+ * @param opts Optional settings to control the behavior of the CustomResource.
97
+ */
98
+ static get(name, id, state, opts) {
99
+ return new ReservedInstance(name, state, Object.assign(Object.assign({}, opts), { id: id }));
100
+ }
101
+ /**
102
+ * Returns true if the given object is an instance of ReservedInstance. This is designed to work even
103
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
104
+ */
105
+ static isInstance(obj) {
106
+ if (obj === undefined || obj === null) {
107
+ return false;
108
+ }
109
+ return obj['__pulumiType'] === ReservedInstance.__pulumiType;
110
+ }
111
+ }
112
+ exports.ReservedInstance = ReservedInstance;
113
+ /** @internal */
114
+ ReservedInstance.__pulumiType = 'aws:rds/reservedInstance:ReservedInstance';
115
+ //# sourceMappingURL=reservedInstance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reservedInstance.js","sourceRoot":"","sources":["../../rds/reservedInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IAoGvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,K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G,gBAAgB;AACO,6BAAY,GAAG,2CAA2C,CAAC"}
@@ -22,3 +22,6 @@ export declare const ObjectLambdaAccessPoint: typeof import("./objectLambdaAcces
22
22
  export { ObjectLambdaAccessPointPolicyArgs, ObjectLambdaAccessPointPolicyState } from "./objectLambdaAccessPointPolicy";
23
23
  export declare type ObjectLambdaAccessPointPolicy = import("./objectLambdaAccessPointPolicy").ObjectLambdaAccessPointPolicy;
24
24
  export declare const ObjectLambdaAccessPointPolicy: typeof import("./objectLambdaAccessPointPolicy").ObjectLambdaAccessPointPolicy;
25
+ export { StorageLensConfigurationArgs, StorageLensConfigurationState } from "./storageLensConfiguration";
26
+ export declare type StorageLensConfiguration = import("./storageLensConfiguration").StorageLensConfiguration;
27
+ export declare const StorageLensConfiguration: typeof import("./storageLensConfiguration").StorageLensConfiguration;
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.ObjectLambdaAccessPointPolicy = exports.ObjectLambdaAccessPoint = exports.MultiRegionAccessPointPolicy = exports.MultiRegionAccessPoint = exports.BucketPolicy = exports.BucketLifecycleConfiguration = exports.Bucket = exports.AccessPointPolicy = void 0;
5
+ exports.StorageLensConfiguration = exports.ObjectLambdaAccessPointPolicy = exports.ObjectLambdaAccessPoint = exports.MultiRegionAccessPointPolicy = exports.MultiRegionAccessPoint = exports.BucketPolicy = exports.BucketLifecycleConfiguration = exports.Bucket = exports.AccessPointPolicy = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.AccessPointPolicy = null;
@@ -13,6 +13,7 @@ exports.MultiRegionAccessPoint = null;
13
13
  exports.MultiRegionAccessPointPolicy = null;
14
14
  exports.ObjectLambdaAccessPoint = null;
15
15
  exports.ObjectLambdaAccessPointPolicy = null;
16
+ exports.StorageLensConfiguration = null;
16
17
  utilities.lazyLoad(exports, ["AccessPointPolicy"], () => require("./accessPointPolicy"));
17
18
  utilities.lazyLoad(exports, ["Bucket"], () => require("./bucket"));
18
19
  utilities.lazyLoad(exports, ["BucketLifecycleConfiguration"], () => require("./bucketLifecycleConfiguration"));
@@ -21,6 +22,7 @@ utilities.lazyLoad(exports, ["MultiRegionAccessPoint"], () => require("./multiRe
21
22
  utilities.lazyLoad(exports, ["MultiRegionAccessPointPolicy"], () => require("./multiRegionAccessPointPolicy"));
22
23
  utilities.lazyLoad(exports, ["ObjectLambdaAccessPoint"], () => require("./objectLambdaAccessPoint"));
23
24
  utilities.lazyLoad(exports, ["ObjectLambdaAccessPointPolicy"], () => require("./objectLambdaAccessPointPolicy"));
25
+ utilities.lazyLoad(exports, ["StorageLensConfiguration"], () => require("./storageLensConfiguration"));
24
26
  const _module = {
25
27
  version: utilities.getVersion(),
26
28
  construct: (name, type, urn) => {
@@ -41,6 +43,8 @@ const _module = {
41
43
  return new exports.ObjectLambdaAccessPoint(name, undefined, { urn });
42
44
  case "aws:s3control/objectLambdaAccessPointPolicy:ObjectLambdaAccessPointPolicy":
43
45
  return new exports.ObjectLambdaAccessPointPolicy(name, undefined, { urn });
46
+ case "aws:s3control/storageLensConfiguration:StorageLensConfiguration":
47
+ return new exports.StorageLensConfiguration(name, undefined, { urn });
44
48
  default:
45
49
  throw new Error(`unknown resource type ${type}`);
46
50
  }
@@ -54,4 +58,5 @@ pulumi.runtime.registerResourceModule("aws", "s3control/multiRegionAccessPoint",
54
58
  pulumi.runtime.registerResourceModule("aws", "s3control/multiRegionAccessPointPolicy", _module);
55
59
  pulumi.runtime.registerResourceModule("aws", "s3control/objectLambdaAccessPoint", _module);
56
60
  pulumi.runtime.registerResourceModule("aws", "s3control/objectLambdaAccessPointPolicy", _module);
61
+ pulumi.runtime.registerResourceModule("aws", "s3control/storageLensConfiguration", _module);
57
62
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index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ACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,wCAAwC,EAAE,OAAO,CAAC,CAAA;AAC/F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,kCAAkC,EAAE,OAAO,CAAC,CAAA;AACzF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,wCAAwC,EAAE,OAAO,CAAC,CAAA;AAC/F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,mCAAmC,EAAE,OAAO,CAAC,CAAA;AAC1F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,yCAAyC,EAAE,OAAO,CAAC,CAAA;AAChG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oCAAoC,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,157 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Provides a resource to manage an S3 Storage Lens configuration.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as aws from "@pulumi/aws";
12
+ *
13
+ * const current = aws.getCallerIdentity({});
14
+ * const example = new aws.s3control.StorageLensConfiguration("example", {
15
+ * configId: "example-1",
16
+ * storageLensConfiguration: {
17
+ * enabled: true,
18
+ * accountLevel: {
19
+ * activityMetrics: {
20
+ * enabled: true,
21
+ * },
22
+ * bucketLevel: {
23
+ * activityMetrics: {
24
+ * enabled: true,
25
+ * },
26
+ * },
27
+ * },
28
+ * dataExport: {
29
+ * cloudWatchMetrics: {
30
+ * enabled: true,
31
+ * },
32
+ * s3BucketDestination: {
33
+ * accountId: current.then(current => current.accountId),
34
+ * arn: aws_s3_bucket.target.arn,
35
+ * format: "CSV",
36
+ * outputSchemaVersion: "V_1",
37
+ * encryption: {
38
+ * sseS3s: [{}],
39
+ * },
40
+ * },
41
+ * },
42
+ * exclude: {
43
+ * buckets: [
44
+ * aws_s3_bucket.b1.arn,
45
+ * aws_s3_bucket.b2.arn,
46
+ * ],
47
+ * regions: ["us-east-2"],
48
+ * },
49
+ * },
50
+ * });
51
+ * ```
52
+ *
53
+ * ## Import
54
+ *
55
+ * S3 Storage Lens configurations can be imported using the `account_id` and `config_id`, separated by a colon (`:`), e.g.
56
+ *
57
+ * ```sh
58
+ * $ pulumi import aws:s3control/storageLensConfiguration:StorageLensConfiguration example 123456789012:example-1
59
+ * ```
60
+ */
61
+ export declare class StorageLensConfiguration extends pulumi.CustomResource {
62
+ /**
63
+ * Get an existing StorageLensConfiguration resource's state with the given name, ID, and optional extra
64
+ * properties used to qualify the lookup.
65
+ *
66
+ * @param name The _unique_ name of the resulting resource.
67
+ * @param id The _unique_ provider ID of the resource to lookup.
68
+ * @param state Any extra arguments used during the lookup.
69
+ * @param opts Optional settings to control the behavior of the CustomResource.
70
+ */
71
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: StorageLensConfigurationState, opts?: pulumi.CustomResourceOptions): StorageLensConfiguration;
72
+ /**
73
+ * Returns true if the given object is an instance of StorageLensConfiguration. This is designed to work even
74
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
75
+ */
76
+ static isInstance(obj: any): obj is StorageLensConfiguration;
77
+ /**
78
+ * The account ID of the owner of the S3 Storage Lens metrics export bucket.
79
+ */
80
+ readonly accountId: pulumi.Output<string>;
81
+ /**
82
+ * The Amazon Resource Name (ARN) of the bucket.
83
+ */
84
+ readonly arn: pulumi.Output<string>;
85
+ /**
86
+ * The ID of the S3 Storage Lens configuration.
87
+ */
88
+ readonly configId: pulumi.Output<string>;
89
+ /**
90
+ * The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.
91
+ */
92
+ readonly storageLensConfiguration: pulumi.Output<outputs.s3control.StorageLensConfigurationStorageLensConfiguration>;
93
+ readonly tags: pulumi.Output<{
94
+ [key: string]: string;
95
+ } | undefined>;
96
+ readonly tagsAll: pulumi.Output<{
97
+ [key: string]: string;
98
+ }>;
99
+ /**
100
+ * Create a StorageLensConfiguration resource with the given unique name, arguments, and options.
101
+ *
102
+ * @param name The _unique_ name of the resource.
103
+ * @param args The arguments to use to populate this resource's properties.
104
+ * @param opts A bag of options that control this resource's behavior.
105
+ */
106
+ constructor(name: string, args: StorageLensConfigurationArgs, opts?: pulumi.CustomResourceOptions);
107
+ }
108
+ /**
109
+ * Input properties used for looking up and filtering StorageLensConfiguration resources.
110
+ */
111
+ export interface StorageLensConfigurationState {
112
+ /**
113
+ * The account ID of the owner of the S3 Storage Lens metrics export bucket.
114
+ */
115
+ accountId?: pulumi.Input<string>;
116
+ /**
117
+ * The Amazon Resource Name (ARN) of the bucket.
118
+ */
119
+ arn?: pulumi.Input<string>;
120
+ /**
121
+ * The ID of the S3 Storage Lens configuration.
122
+ */
123
+ configId?: pulumi.Input<string>;
124
+ /**
125
+ * The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.
126
+ */
127
+ storageLensConfiguration?: pulumi.Input<inputs.s3control.StorageLensConfigurationStorageLensConfiguration>;
128
+ tags?: pulumi.Input<{
129
+ [key: string]: pulumi.Input<string>;
130
+ }>;
131
+ tagsAll?: pulumi.Input<{
132
+ [key: string]: pulumi.Input<string>;
133
+ }>;
134
+ }
135
+ /**
136
+ * The set of arguments for constructing a StorageLensConfiguration resource.
137
+ */
138
+ export interface StorageLensConfigurationArgs {
139
+ /**
140
+ * The account ID of the owner of the S3 Storage Lens metrics export bucket.
141
+ */
142
+ accountId?: pulumi.Input<string>;
143
+ /**
144
+ * The ID of the S3 Storage Lens configuration.
145
+ */
146
+ configId: pulumi.Input<string>;
147
+ /**
148
+ * The S3 Storage Lens configuration. See Storage Lens Configuration below for more details.
149
+ */
150
+ storageLensConfiguration: pulumi.Input<inputs.s3control.StorageLensConfigurationStorageLensConfiguration>;
151
+ tags?: pulumi.Input<{
152
+ [key: string]: pulumi.Input<string>;
153
+ }>;
154
+ tagsAll?: pulumi.Input<{
155
+ [key: string]: pulumi.Input<string>;
156
+ }>;
157
+ }