@pulumi/aws 5.28.0 → 5.29.0-alpha.1675272489

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 (59) hide show
  1. package/appmesh/virtualGateway.d.ts +0 -21
  2. package/appmesh/virtualGateway.js +0 -21
  3. package/appmesh/virtualGateway.js.map +1 -1
  4. package/costexplorer/anomalySubscription.d.ts +22 -4
  5. package/costexplorer/anomalySubscription.js +2 -3
  6. package/costexplorer/anomalySubscription.js.map +1 -1
  7. package/cur/reportDefinition.d.ts +3 -3
  8. package/datasync/index.d.ts +3 -0
  9. package/datasync/index.js +6 -1
  10. package/datasync/index.js.map +1 -1
  11. package/datasync/locationObjectStorage.d.ts +216 -0
  12. package/datasync/locationObjectStorage.js +110 -0
  13. package/datasync/locationObjectStorage.js.map +1 -0
  14. package/dynamodb/tableReplica.d.ts +3 -3
  15. package/ec2/amiCopy.d.ts +3 -9
  16. package/ec2/amiCopy.js.map +1 -1
  17. package/ec2/flowLog.d.ts +46 -32
  18. package/ec2/flowLog.js +46 -32
  19. package/ec2/flowLog.js.map +1 -1
  20. package/ec2/instance.d.ts +6 -9
  21. package/ec2/instance.js.map +1 -1
  22. package/ec2/launchConfiguration.d.ts +12 -3
  23. package/ec2/launchConfiguration.js.map +1 -1
  24. package/ec2/spotInstanceRequest.d.ts +6 -9
  25. package/ec2/spotInstanceRequest.js.map +1 -1
  26. package/ec2/vpcIpamPoolCidrAllocation.d.ts +2 -2
  27. package/ec2/vpcIpamPoolCidrAllocation.js +2 -2
  28. package/grafana/workspace.d.ts +12 -0
  29. package/grafana/workspace.js +2 -0
  30. package/grafana/workspace.js.map +1 -1
  31. package/iam/role.d.ts +2 -2
  32. package/iam/role.js +2 -2
  33. package/imagebuilder/component.d.ts +12 -0
  34. package/imagebuilder/component.js +2 -0
  35. package/imagebuilder/component.js.map +1 -1
  36. package/kinesis/firehoseDeliveryStream.d.ts +3 -6
  37. package/kinesis/firehoseDeliveryStream.js.map +1 -1
  38. package/lambda/eventSourceMapping.d.ts +12 -0
  39. package/lambda/eventSourceMapping.js +2 -0
  40. package/lambda/eventSourceMapping.js.map +1 -1
  41. package/package.json +2 -2
  42. package/package.json.dev +2 -2
  43. package/qldb/stream.d.ts +21 -0
  44. package/qldb/stream.js +21 -0
  45. package/qldb/stream.js.map +1 -1
  46. package/rds/cluster.d.ts +3 -3
  47. package/redshiftserverless/workgroup.d.ts +3 -3
  48. package/rum/appMonitor.d.ts +12 -0
  49. package/rum/appMonitor.js +2 -0
  50. package/rum/appMonitor.js.map +1 -1
  51. package/s3/bucketV2.d.ts +4 -4
  52. package/servicecatalog/portfolioShare.d.ts +12 -0
  53. package/servicecatalog/portfolioShare.js +2 -0
  54. package/servicecatalog/portfolioShare.js.map +1 -1
  55. package/types/input.d.ts +6656 -4350
  56. package/types/output.d.ts +6667 -4351
  57. package/wafv2/webAcl.d.ts +14 -12
  58. package/wafv2/webAcl.js +2 -0
  59. package/wafv2/webAcl.js.map +1 -1
@@ -5,27 +5,6 @@ import * as outputs from "../types/output";
5
5
  * Provides an AWS App Mesh virtual gateway resource.
6
6
  *
7
7
  * ## Example Usage
8
- * ### Basic
9
- *
10
- * ```typescript
11
- * import * as pulumi from "@pulumi/pulumi";
12
- * import * as aws from "@pulumi/aws";
13
- *
14
- * const example = new aws.appmesh.VirtualGateway("example", {
15
- * meshName: "example-service-mesh",
16
- * spec: {
17
- * listener: {
18
- * portMapping: {
19
- * port: 8080,
20
- * protocol: "http",
21
- * },
22
- * },
23
- * },
24
- * tags: {
25
- * Environment: "test",
26
- * },
27
- * });
28
- * ```
29
8
  * ### Access Logs and TLS
30
9
  *
31
10
  * ```typescript
@@ -9,27 +9,6 @@ const utilities = require("../utilities");
9
9
  * Provides an AWS App Mesh virtual gateway resource.
10
10
  *
11
11
  * ## Example Usage
12
- * ### Basic
13
- *
14
- * ```typescript
15
- * import * as pulumi from "@pulumi/pulumi";
16
- * import * as aws from "@pulumi/aws";
17
- *
18
- * const example = new aws.appmesh.VirtualGateway("example", {
19
- * meshName: "example-service-mesh",
20
- * spec: {
21
- * listener: {
22
- * portMapping: {
23
- * port: 8080,
24
- * protocol: "http",
25
- * },
26
- * },
27
- * },
28
- * tags: {
29
- * Environment: "test",
30
- * },
31
- * });
32
- * ```
33
12
  * ### Access Logs and TLS
34
13
  *
35
14
  * ```typescript
@@ -1 +1 @@
1
- {"version":3,"file":"virtualGateway.js","sourceRoot":"","sources":["../../appmesh/virtualGateway.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkEG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAmDD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAA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AC,SAAS,CAAC;YAC9D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAjHL,wCAkHC;AApGG,gBAAgB;AACO,2BAAY,GAAG,2CAA2C,CAAC"}
@@ -154,9 +154,15 @@ export declare class AnomalySubscription extends pulumi.CustomResource {
154
154
  [key: string]: string;
155
155
  }>;
156
156
  /**
157
- * The dollar value that triggers a notification if the threshold is exceeded.
157
+ * The dollar value that triggers a notification if the threshold is exceeded. Depracated, use `thresholdExpression` instead.
158
+ *
159
+ * @deprecated use threshold_expression instead
158
160
  */
159
161
  readonly threshold: pulumi.Output<number>;
162
+ /**
163
+ * An Expression object used to specify the anomalies that you want to generate alerts for. See Threshold Expression.
164
+ */
165
+ readonly thresholdExpression: pulumi.Output<outputs.costexplorer.AnomalySubscriptionThresholdExpression>;
160
166
  /**
161
167
  * Create a AnomalySubscription resource with the given unique name, arguments, and options.
162
168
  *
@@ -207,9 +213,15 @@ export interface AnomalySubscriptionState {
207
213
  [key: string]: pulumi.Input<string>;
208
214
  }>;
209
215
  /**
210
- * The dollar value that triggers a notification if the threshold is exceeded.
216
+ * The dollar value that triggers a notification if the threshold is exceeded. Depracated, use `thresholdExpression` instead.
217
+ *
218
+ * @deprecated use threshold_expression instead
211
219
  */
212
220
  threshold?: pulumi.Input<number>;
221
+ /**
222
+ * An Expression object used to specify the anomalies that you want to generate alerts for. See Threshold Expression.
223
+ */
224
+ thresholdExpression?: pulumi.Input<inputs.costexplorer.AnomalySubscriptionThresholdExpression>;
213
225
  }
214
226
  /**
215
227
  * The set of arguments for constructing a AnomalySubscription resource.
@@ -242,7 +254,13 @@ export interface AnomalySubscriptionArgs {
242
254
  [key: string]: pulumi.Input<string>;
243
255
  }>;
244
256
  /**
245
- * The dollar value that triggers a notification if the threshold is exceeded.
257
+ * The dollar value that triggers a notification if the threshold is exceeded. Depracated, use `thresholdExpression` instead.
258
+ *
259
+ * @deprecated use threshold_expression instead
260
+ */
261
+ threshold?: pulumi.Input<number>;
262
+ /**
263
+ * An Expression object used to specify the anomalies that you want to generate alerts for. See Threshold Expression.
246
264
  */
247
- threshold: pulumi.Input<number>;
265
+ thresholdExpression?: pulumi.Input<inputs.costexplorer.AnomalySubscriptionThresholdExpression>;
248
266
  }
@@ -142,6 +142,7 @@ class AnomalySubscription extends pulumi.CustomResource {
142
142
  resourceInputs["tags"] = state ? state.tags : undefined;
143
143
  resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
144
144
  resourceInputs["threshold"] = state ? state.threshold : undefined;
145
+ resourceInputs["thresholdExpression"] = state ? state.thresholdExpression : undefined;
145
146
  }
146
147
  else {
147
148
  const args = argsOrState;
@@ -154,9 +155,6 @@ class AnomalySubscription extends pulumi.CustomResource {
154
155
  if ((!args || args.subscribers === undefined) && !opts.urn) {
155
156
  throw new Error("Missing required property 'subscribers'");
156
157
  }
157
- if ((!args || args.threshold === undefined) && !opts.urn) {
158
- throw new Error("Missing required property 'threshold'");
159
- }
160
158
  resourceInputs["accountId"] = args ? args.accountId : undefined;
161
159
  resourceInputs["frequency"] = args ? args.frequency : undefined;
162
160
  resourceInputs["monitorArnLists"] = args ? args.monitorArnLists : undefined;
@@ -164,6 +162,7 @@ class AnomalySubscription extends pulumi.CustomResource {
164
162
  resourceInputs["subscribers"] = args ? args.subscribers : undefined;
165
163
  resourceInputs["tags"] = args ? args.tags : undefined;
166
164
  resourceInputs["threshold"] = args ? args.threshold : undefined;
165
+ resourceInputs["thresholdExpression"] = args ? args.thresholdExpression : undefined;
167
166
  resourceInputs["arn"] = undefined /*out*/;
168
167
  resourceInputs["tagsAll"] = undefined /*out*/;
169
168
  }
@@ -1 +1 @@
1
- {"version":3,"file":"anomalySubscription.js","sourceRoot":"","sources":["../../costexplorer/anomalySubscription.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmGG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,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C,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAtHL,kDAuHC;AAzGG,gBAAgB;AACO,gCAAY,GAAG,0DAA0D,CAAC"}
@@ -96,7 +96,7 @@ export declare class ReportDefinition extends pulumi.CustomResource {
96
96
  */
97
97
  readonly s3Region: pulumi.Output<string>;
98
98
  /**
99
- * The frequency on which report data are measured and displayed. Valid values are: `HOURLY`, `DAILY`.
99
+ * The frequency on which report data are measured and displayed. Valid values are: `DAILY`, `HOURLY`, `MONTHLY`.
100
100
  */
101
101
  readonly timeUnit: pulumi.Output<string>;
102
102
  /**
@@ -157,7 +157,7 @@ export interface ReportDefinitionState {
157
157
  */
158
158
  s3Region?: pulumi.Input<string>;
159
159
  /**
160
- * The frequency on which report data are measured and displayed. Valid values are: `HOURLY`, `DAILY`.
160
+ * The frequency on which report data are measured and displayed. Valid values are: `DAILY`, `HOURLY`, `MONTHLY`.
161
161
  */
162
162
  timeUnit?: pulumi.Input<string>;
163
163
  }
@@ -206,7 +206,7 @@ export interface ReportDefinitionArgs {
206
206
  */
207
207
  s3Region: pulumi.Input<string>;
208
208
  /**
209
- * The frequency on which report data are measured and displayed. Valid values are: `HOURLY`, `DAILY`.
209
+ * The frequency on which report data are measured and displayed. Valid values are: `DAILY`, `HOURLY`, `MONTHLY`.
210
210
  */
211
211
  timeUnit: pulumi.Input<string>;
212
212
  }
@@ -16,6 +16,9 @@ export declare const LocationFsxWindows: typeof import("./locationFsxWindows").L
16
16
  export { LocationHdfsArgs, LocationHdfsState } from "./locationHdfs";
17
17
  export type LocationHdfs = import("./locationHdfs").LocationHdfs;
18
18
  export declare const LocationHdfs: typeof import("./locationHdfs").LocationHdfs;
19
+ export { LocationObjectStorageArgs, LocationObjectStorageState } from "./locationObjectStorage";
20
+ export type LocationObjectStorage = import("./locationObjectStorage").LocationObjectStorage;
21
+ export declare const LocationObjectStorage: typeof import("./locationObjectStorage").LocationObjectStorage;
19
22
  export { LocationSmbArgs, LocationSmbState } from "./locationSmb";
20
23
  export type LocationSmb = import("./locationSmb").LocationSmb;
21
24
  export declare const LocationSmb: typeof import("./locationSmb").LocationSmb;
package/datasync/index.js CHANGED
@@ -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.Task = exports.S3Location = exports.NfsLocation = exports.LocationSmb = exports.LocationHdfs = exports.LocationFsxWindows = exports.LocationFsxLustre = exports.FsxOpenZfsFileSystem = exports.EfsLocation = exports.Agent = void 0;
5
+ exports.Task = exports.S3Location = exports.NfsLocation = exports.LocationSmb = exports.LocationObjectStorage = exports.LocationHdfs = exports.LocationFsxWindows = exports.LocationFsxLustre = exports.FsxOpenZfsFileSystem = exports.EfsLocation = exports.Agent = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.Agent = null;
@@ -17,6 +17,8 @@ exports.LocationFsxWindows = null;
17
17
  utilities.lazyLoad(exports, ["LocationFsxWindows"], () => require("./locationFsxWindows"));
18
18
  exports.LocationHdfs = null;
19
19
  utilities.lazyLoad(exports, ["LocationHdfs"], () => require("./locationHdfs"));
20
+ exports.LocationObjectStorage = null;
21
+ utilities.lazyLoad(exports, ["LocationObjectStorage"], () => require("./locationObjectStorage"));
20
22
  exports.LocationSmb = null;
21
23
  utilities.lazyLoad(exports, ["LocationSmb"], () => require("./locationSmb"));
22
24
  exports.NfsLocation = null;
@@ -41,6 +43,8 @@ const _module = {
41
43
  return new exports.LocationFsxWindows(name, undefined, { urn });
42
44
  case "aws:datasync/locationHdfs:LocationHdfs":
43
45
  return new exports.LocationHdfs(name, undefined, { urn });
46
+ case "aws:datasync/locationObjectStorage:LocationObjectStorage":
47
+ return new exports.LocationObjectStorage(name, undefined, { urn });
44
48
  case "aws:datasync/locationSmb:LocationSmb":
45
49
  return new exports.LocationSmb(name, undefined, { urn });
46
50
  case "aws:datasync/nfsLocation:NfsLocation":
@@ -60,6 +64,7 @@ pulumi.runtime.registerResourceModule("aws", "datasync/fsxOpenZfsFileSystem", _m
60
64
  pulumi.runtime.registerResourceModule("aws", "datasync/locationFsxLustre", _module);
61
65
  pulumi.runtime.registerResourceModule("aws", "datasync/locationFsxWindows", _module);
62
66
  pulumi.runtime.registerResourceModule("aws", "datasync/locationHdfs", _module);
67
+ pulumi.runtime.registerResourceModule("aws", "datasync/locationObjectStorage", _module);
63
68
  pulumi.runtime.registerResourceModule("aws", "datasync/locationSmb", _module);
64
69
  pulumi.runtime.registerResourceModule("aws", "datasync/nfsLocation", _module);
65
70
  pulumi.runtime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ACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AACvE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,+BAA+B,EAAE,OAAO,CAAC,CAAA;AACtF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA;AACvF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,216 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Manages a Object Storage Location within AWS DataSync.
4
+ *
5
+ * > **NOTE:** The DataSync Agents must be available before creating this resource.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as aws from "@pulumi/aws";
12
+ *
13
+ * const example = new aws.datasync.LocationObjectStorage("example", {
14
+ * agentArns: [aws_datasync_agent.example.arn],
15
+ * serverHostname: "example",
16
+ * bucketName: "example",
17
+ * });
18
+ * ```
19
+ *
20
+ * ## Import
21
+ *
22
+ * `aws_datasync_location_object_storage` can be imported by using the Amazon Resource Name (ARN), e.g.,
23
+ *
24
+ * ```sh
25
+ * $ pulumi import aws:datasync/locationObjectStorage:LocationObjectStorage example arn:aws:datasync:us-east-1:123456789012:location/loc-12345678901234567
26
+ * ```
27
+ */
28
+ export declare class LocationObjectStorage extends pulumi.CustomResource {
29
+ /**
30
+ * Get an existing LocationObjectStorage resource's state with the given name, ID, and optional extra
31
+ * properties used to qualify the lookup.
32
+ *
33
+ * @param name The _unique_ name of the resulting resource.
34
+ * @param id The _unique_ provider ID of the resource to lookup.
35
+ * @param state Any extra arguments used during the lookup.
36
+ * @param opts Optional settings to control the behavior of the CustomResource.
37
+ */
38
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LocationObjectStorageState, opts?: pulumi.CustomResourceOptions): LocationObjectStorage;
39
+ /**
40
+ * Returns true if the given object is an instance of LocationObjectStorage. This is designed to work even
41
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
42
+ */
43
+ static isInstance(obj: any): obj is LocationObjectStorage;
44
+ /**
45
+ * The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use `accessKey` and `secretKey` to provide the user name and password, respectively.
46
+ */
47
+ readonly accessKey: pulumi.Output<string | undefined>;
48
+ /**
49
+ * A list of DataSync Agent ARNs with which this location will be associated.
50
+ */
51
+ readonly agentArns: pulumi.Output<string[]>;
52
+ /**
53
+ * Amazon Resource Name (ARN) of the DataSync Location.
54
+ */
55
+ readonly arn: pulumi.Output<string>;
56
+ /**
57
+ * The bucket on the self-managed object storage server that is used to read data from.
58
+ */
59
+ readonly bucketName: pulumi.Output<string>;
60
+ /**
61
+ * The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use `accessKey` and `secretKey` to provide the user name and password, respectively.
62
+ */
63
+ readonly secretKey: pulumi.Output<string | undefined>;
64
+ /**
65
+ * Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem file (for example, file:///home/user/.ssh/storage_sys_certificate.pem). The certificate can be up to 32768 bytes (before Base64 encoding).
66
+ */
67
+ readonly serverCertificate: pulumi.Output<string | undefined>;
68
+ /**
69
+ * The name of the self-managed object storage server. This value is the IP address or Domain Name Service (DNS) name of the object storage server. An agent uses this host name to mount the object storage server in a network.
70
+ */
71
+ readonly serverHostname: pulumi.Output<string>;
72
+ /**
73
+ * The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (`HTTP`) or TCP 443 (`HTTPS`). You can specify a custom port if your self-managed object storage server requires one.
74
+ */
75
+ readonly serverPort: pulumi.Output<number | undefined>;
76
+ /**
77
+ * The protocol that the object storage server uses to communicate. Valid values are `HTTP` or `HTTPS`.
78
+ */
79
+ readonly serverProtocol: pulumi.Output<string | undefined>;
80
+ /**
81
+ * A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.
82
+ */
83
+ readonly subdirectory: pulumi.Output<string>;
84
+ /**
85
+ * Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
86
+ */
87
+ readonly tags: pulumi.Output<{
88
+ [key: string]: string;
89
+ } | undefined>;
90
+ /**
91
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
92
+ */
93
+ readonly tagsAll: pulumi.Output<{
94
+ [key: string]: string;
95
+ }>;
96
+ /**
97
+ * The URL of the Object Storage location that was described.
98
+ */
99
+ readonly uri: pulumi.Output<string>;
100
+ /**
101
+ * Create a LocationObjectStorage resource with the given unique name, arguments, and options.
102
+ *
103
+ * @param name The _unique_ name of the resource.
104
+ * @param args The arguments to use to populate this resource's properties.
105
+ * @param opts A bag of options that control this resource's behavior.
106
+ */
107
+ constructor(name: string, args: LocationObjectStorageArgs, opts?: pulumi.CustomResourceOptions);
108
+ }
109
+ /**
110
+ * Input properties used for looking up and filtering LocationObjectStorage resources.
111
+ */
112
+ export interface LocationObjectStorageState {
113
+ /**
114
+ * The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use `accessKey` and `secretKey` to provide the user name and password, respectively.
115
+ */
116
+ accessKey?: pulumi.Input<string>;
117
+ /**
118
+ * A list of DataSync Agent ARNs with which this location will be associated.
119
+ */
120
+ agentArns?: pulumi.Input<pulumi.Input<string>[]>;
121
+ /**
122
+ * Amazon Resource Name (ARN) of the DataSync Location.
123
+ */
124
+ arn?: pulumi.Input<string>;
125
+ /**
126
+ * The bucket on the self-managed object storage server that is used to read data from.
127
+ */
128
+ bucketName?: pulumi.Input<string>;
129
+ /**
130
+ * The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use `accessKey` and `secretKey` to provide the user name and password, respectively.
131
+ */
132
+ secretKey?: pulumi.Input<string>;
133
+ /**
134
+ * Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem file (for example, file:///home/user/.ssh/storage_sys_certificate.pem). The certificate can be up to 32768 bytes (before Base64 encoding).
135
+ */
136
+ serverCertificate?: pulumi.Input<string>;
137
+ /**
138
+ * The name of the self-managed object storage server. This value is the IP address or Domain Name Service (DNS) name of the object storage server. An agent uses this host name to mount the object storage server in a network.
139
+ */
140
+ serverHostname?: pulumi.Input<string>;
141
+ /**
142
+ * The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (`HTTP`) or TCP 443 (`HTTPS`). You can specify a custom port if your self-managed object storage server requires one.
143
+ */
144
+ serverPort?: pulumi.Input<number>;
145
+ /**
146
+ * The protocol that the object storage server uses to communicate. Valid values are `HTTP` or `HTTPS`.
147
+ */
148
+ serverProtocol?: pulumi.Input<string>;
149
+ /**
150
+ * A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.
151
+ */
152
+ subdirectory?: pulumi.Input<string>;
153
+ /**
154
+ * Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
155
+ */
156
+ tags?: pulumi.Input<{
157
+ [key: string]: pulumi.Input<string>;
158
+ }>;
159
+ /**
160
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
161
+ */
162
+ tagsAll?: pulumi.Input<{
163
+ [key: string]: pulumi.Input<string>;
164
+ }>;
165
+ /**
166
+ * The URL of the Object Storage location that was described.
167
+ */
168
+ uri?: pulumi.Input<string>;
169
+ }
170
+ /**
171
+ * The set of arguments for constructing a LocationObjectStorage resource.
172
+ */
173
+ export interface LocationObjectStorageArgs {
174
+ /**
175
+ * The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use `accessKey` and `secretKey` to provide the user name and password, respectively.
176
+ */
177
+ accessKey?: pulumi.Input<string>;
178
+ /**
179
+ * A list of DataSync Agent ARNs with which this location will be associated.
180
+ */
181
+ agentArns: pulumi.Input<pulumi.Input<string>[]>;
182
+ /**
183
+ * The bucket on the self-managed object storage server that is used to read data from.
184
+ */
185
+ bucketName: pulumi.Input<string>;
186
+ /**
187
+ * The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use `accessKey` and `secretKey` to provide the user name and password, respectively.
188
+ */
189
+ secretKey?: pulumi.Input<string>;
190
+ /**
191
+ * Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem file (for example, file:///home/user/.ssh/storage_sys_certificate.pem). The certificate can be up to 32768 bytes (before Base64 encoding).
192
+ */
193
+ serverCertificate?: pulumi.Input<string>;
194
+ /**
195
+ * The name of the self-managed object storage server. This value is the IP address or Domain Name Service (DNS) name of the object storage server. An agent uses this host name to mount the object storage server in a network.
196
+ */
197
+ serverHostname: pulumi.Input<string>;
198
+ /**
199
+ * The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (`HTTP`) or TCP 443 (`HTTPS`). You can specify a custom port if your self-managed object storage server requires one.
200
+ */
201
+ serverPort?: pulumi.Input<number>;
202
+ /**
203
+ * The protocol that the object storage server uses to communicate. Valid values are `HTTP` or `HTTPS`.
204
+ */
205
+ serverProtocol?: pulumi.Input<string>;
206
+ /**
207
+ * A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.
208
+ */
209
+ subdirectory?: pulumi.Input<string>;
210
+ /**
211
+ * Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider `defaultTags` 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
+ }
@@ -0,0 +1,110 @@
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.LocationObjectStorage = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages a Object Storage Location within AWS DataSync.
10
+ *
11
+ * > **NOTE:** The DataSync Agents must be available before creating this resource.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as aws from "@pulumi/aws";
18
+ *
19
+ * const example = new aws.datasync.LocationObjectStorage("example", {
20
+ * agentArns: [aws_datasync_agent.example.arn],
21
+ * serverHostname: "example",
22
+ * bucketName: "example",
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * `aws_datasync_location_object_storage` can be imported by using the Amazon Resource Name (ARN), e.g.,
29
+ *
30
+ * ```sh
31
+ * $ pulumi import aws:datasync/locationObjectStorage:LocationObjectStorage example arn:aws:datasync:us-east-1:123456789012:location/loc-12345678901234567
32
+ * ```
33
+ */
34
+ class LocationObjectStorage extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing LocationObjectStorage resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name, id, state, opts) {
45
+ return new LocationObjectStorage(name, state, Object.assign(Object.assign({}, opts), { id: id }));
46
+ }
47
+ /**
48
+ * Returns true if the given object is an instance of LocationObjectStorage. This is designed to work even
49
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
50
+ */
51
+ static isInstance(obj) {
52
+ if (obj === undefined || obj === null) {
53
+ return false;
54
+ }
55
+ return obj['__pulumiType'] === LocationObjectStorage.__pulumiType;
56
+ }
57
+ constructor(name, argsOrState, opts) {
58
+ let resourceInputs = {};
59
+ opts = opts || {};
60
+ if (opts.id) {
61
+ const state = argsOrState;
62
+ resourceInputs["accessKey"] = state ? state.accessKey : undefined;
63
+ resourceInputs["agentArns"] = state ? state.agentArns : undefined;
64
+ resourceInputs["arn"] = state ? state.arn : undefined;
65
+ resourceInputs["bucketName"] = state ? state.bucketName : undefined;
66
+ resourceInputs["secretKey"] = state ? state.secretKey : undefined;
67
+ resourceInputs["serverCertificate"] = state ? state.serverCertificate : undefined;
68
+ resourceInputs["serverHostname"] = state ? state.serverHostname : undefined;
69
+ resourceInputs["serverPort"] = state ? state.serverPort : undefined;
70
+ resourceInputs["serverProtocol"] = state ? state.serverProtocol : undefined;
71
+ resourceInputs["subdirectory"] = state ? state.subdirectory : undefined;
72
+ resourceInputs["tags"] = state ? state.tags : undefined;
73
+ resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
74
+ resourceInputs["uri"] = state ? state.uri : undefined;
75
+ }
76
+ else {
77
+ const args = argsOrState;
78
+ if ((!args || args.agentArns === undefined) && !opts.urn) {
79
+ throw new Error("Missing required property 'agentArns'");
80
+ }
81
+ if ((!args || args.bucketName === undefined) && !opts.urn) {
82
+ throw new Error("Missing required property 'bucketName'");
83
+ }
84
+ if ((!args || args.serverHostname === undefined) && !opts.urn) {
85
+ throw new Error("Missing required property 'serverHostname'");
86
+ }
87
+ resourceInputs["accessKey"] = args ? args.accessKey : undefined;
88
+ resourceInputs["agentArns"] = args ? args.agentArns : undefined;
89
+ resourceInputs["bucketName"] = args ? args.bucketName : undefined;
90
+ resourceInputs["secretKey"] = (args === null || args === void 0 ? void 0 : args.secretKey) ? pulumi.secret(args.secretKey) : undefined;
91
+ resourceInputs["serverCertificate"] = args ? args.serverCertificate : undefined;
92
+ resourceInputs["serverHostname"] = args ? args.serverHostname : undefined;
93
+ resourceInputs["serverPort"] = args ? args.serverPort : undefined;
94
+ resourceInputs["serverProtocol"] = args ? args.serverProtocol : undefined;
95
+ resourceInputs["subdirectory"] = args ? args.subdirectory : undefined;
96
+ resourceInputs["tags"] = args ? args.tags : undefined;
97
+ resourceInputs["arn"] = undefined /*out*/;
98
+ resourceInputs["tagsAll"] = undefined /*out*/;
99
+ resourceInputs["uri"] = undefined /*out*/;
100
+ }
101
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
102
+ const secretOpts = { additionalSecretOutputs: ["secretKey"] };
103
+ opts = pulumi.mergeOptions(opts, secretOpts);
104
+ super(LocationObjectStorage.__pulumiType, name, resourceInputs, opts);
105
+ }
106
+ }
107
+ exports.LocationObjectStorage = LocationObjectStorage;
108
+ /** @internal */
109
+ LocationObjectStorage.__pulumiType = 'aws:datasync/locationObjectStorage:LocationObjectStorage';
110
+ //# sourceMappingURL=locationObjectStorage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locationObjectStorage.js","sourceRoot":"","sources":["../../datasync/locationObjectStorage.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AC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;QAC9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AAxIL,sDAyIC;AA3HG,gBAAgB;AACO,kCAAY,GAAG,0DAA0D,CAAC"}
@@ -71,7 +71,7 @@ export declare class TableReplica extends pulumi.CustomResource {
71
71
  */
72
72
  readonly globalTableArn: pulumi.Output<string>;
73
73
  /**
74
- * ARN of the CMK that should be used for the AWS KMS encryption.
74
+ * ARN of the CMK that should be used for the AWS KMS encryption. This argument should only be used if the key is different from the default KMS-managed DynamoDB key, `alias/aws/dynamodb`. **Note:** This attribute will _not_ be populated with the ARN of _default_ keys.
75
75
  */
76
76
  readonly kmsKeyArn: pulumi.Output<string>;
77
77
  /**
@@ -116,7 +116,7 @@ export interface TableReplicaState {
116
116
  */
117
117
  globalTableArn?: pulumi.Input<string>;
118
118
  /**
119
- * ARN of the CMK that should be used for the AWS KMS encryption.
119
+ * ARN of the CMK that should be used for the AWS KMS encryption. This argument should only be used if the key is different from the default KMS-managed DynamoDB key, `alias/aws/dynamodb`. **Note:** This attribute will _not_ be populated with the ARN of _default_ keys.
120
120
  */
121
121
  kmsKeyArn?: pulumi.Input<string>;
122
122
  /**
@@ -149,7 +149,7 @@ export interface TableReplicaArgs {
149
149
  */
150
150
  globalTableArn: pulumi.Input<string>;
151
151
  /**
152
- * ARN of the CMK that should be used for the AWS KMS encryption.
152
+ * ARN of the CMK that should be used for the AWS KMS encryption. This argument should only be used if the key is different from the default KMS-managed DynamoDB key, `alias/aws/dynamodb`. **Note:** This attribute will _not_ be populated with the ARN of _default_ keys.
153
153
  */
154
154
  kmsKeyArn?: pulumi.Input<string>;
155
155
  /**