@pulumi/aws 6.4.0-alpha.1696270400 → 6.4.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 (59) hide show
  1. package/batch/jobQueue.d.ts +6 -9
  2. package/batch/jobQueue.js.map +1 -1
  3. package/cleanrooms/configuredTable.d.ts +194 -0
  4. package/cleanrooms/configuredTable.js +114 -0
  5. package/cleanrooms/configuredTable.js.map +1 -0
  6. package/cleanrooms/index.d.ts +3 -0
  7. package/cleanrooms/index.js +6 -1
  8. package/cleanrooms/index.js.map +1 -1
  9. package/cloud9/environmentEC2.d.ts +6 -0
  10. package/cloud9/environmentEC2.js.map +1 -1
  11. package/cloudfront/distribution.d.ts +1 -1
  12. package/connect/getInstanceStorageConfig.d.ts +2 -2
  13. package/connect/instanceStorageConfig.d.ts +3 -3
  14. package/dms/index.d.ts +3 -0
  15. package/dms/index.js +6 -1
  16. package/dms/index.js.map +1 -1
  17. package/dms/replicationConfig.d.ts +239 -0
  18. package/dms/replicationConfig.js +132 -0
  19. package/dms/replicationConfig.js.map +1 -0
  20. package/fsx/ontapFileSystem.d.ts +3 -3
  21. package/fsx/ontapVolume.d.ts +57 -0
  22. package/fsx/ontapVolume.js +8 -0
  23. package/fsx/ontapVolume.js.map +1 -1
  24. package/fsx/openZfsVolume.d.ts +12 -0
  25. package/fsx/openZfsVolume.js +2 -0
  26. package/fsx/openZfsVolume.js.map +1 -1
  27. package/lex/index.d.ts +3 -0
  28. package/lex/index.js +6 -1
  29. package/lex/index.js.map +1 -1
  30. package/lex/v2modelsBot.d.ts +190 -0
  31. package/lex/v2modelsBot.js +106 -0
  32. package/lex/v2modelsBot.js.map +1 -0
  33. package/lightsail/bucket.d.ts +12 -0
  34. package/lightsail/bucket.js +2 -0
  35. package/lightsail/bucket.js.map +1 -1
  36. package/opensearch/outboundConnection.d.ts +37 -0
  37. package/opensearch/outboundConnection.js +7 -0
  38. package/opensearch/outboundConnection.js.map +1 -1
  39. package/package.json +1 -1
  40. package/rds/customDbEngineVersion.d.ts +345 -0
  41. package/rds/customDbEngineVersion.js +188 -0
  42. package/rds/customDbEngineVersion.js.map +1 -0
  43. package/rds/index.d.ts +3 -0
  44. package/rds/index.js +6 -1
  45. package/rds/index.js.map +1 -1
  46. package/route53/hostedZoneDnsSec.d.ts +2 -0
  47. package/route53/hostedZoneDnsSec.js +2 -0
  48. package/route53/hostedZoneDnsSec.js.map +1 -1
  49. package/s3/getBucketObject.d.ts +1 -1
  50. package/s3/getObject.d.ts +1 -1
  51. package/types/input.d.ts +537 -11
  52. package/types/output.d.ts +537 -11
  53. package/vpclattice/getService.d.ts +2 -2
  54. package/vpclattice/getServiceNetwork.d.ts +4 -4
  55. package/vpclattice/getServiceNetwork.js +2 -2
  56. package/vpclattice/listenerRule.d.ts +7 -7
  57. package/vpclattice/targetGroup.d.ts +22 -3
  58. package/vpclattice/targetGroup.js +22 -3
  59. package/vpclattice/targetGroup.js.map +1 -1
@@ -0,0 +1,239 @@
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 DMS Serverless replication config resource.
6
+ *
7
+ * > **NOTE:** Changing most arguments will stop the replication if it is running. You can set `startReplication` to resume the replication afterwards.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as aws from "@pulumi/aws";
14
+ *
15
+ * const name = new aws.dms.ReplicationConfig("name", {
16
+ * replicationConfigIdentifier: "test-dms-serverless-replication-tf",
17
+ * resourceIdentifier: "test-dms-serverless-replication-tf",
18
+ * replicationType: "cdc",
19
+ * sourceEndpointArn: aws_dms_endpoint.source.endpoint_arn,
20
+ * targetEndpointArn: aws_dms_endpoint.target.endpoint_arn,
21
+ * tableMappings: ` {
22
+ * "rules":[{"rule-type":"selection","rule-id":"1","rule-name":"1","object-locator":{"schema-name":"%%","table-name":"%%", "rule-action":"include"}]
23
+ * }
24
+ * `,
25
+ * startReplication: true,
26
+ * computeConfig: {
27
+ * replicationSubnetGroupId: aws_dms_replication_subnet_group["default"].replication_subnet_group_id,
28
+ * maxCapacityUnits: 64,
29
+ * minCapacityUnits: 2,
30
+ * preferredMaintenanceWindow: "sun:23:45-mon:00:30",
31
+ * },
32
+ * });
33
+ * ```
34
+ *
35
+ * ## Import
36
+ *
37
+ * In TODO v1.5.0 and later, use an `import` block to import replication configs using the `arn`. For exampleterraform import {
38
+ *
39
+ * to = aws_dms_replication_config.example
40
+ *
41
+ * id = "arn:aws:dms:us-east-1:123456789012:replication-config:UX6OL6MHMMJKFFOXE3H7LLJCMEKBDUG4ZV7DRSI" } Using `TODO import`, import a replication config using the `arn`. For exampleconsole % TODO import aws_dms_replication_config.example arn:aws:dms:us-east-1:123456789012:replication-config:UX6OL6MHMMJKFFOXE3H7LLJCMEKBDUG4ZV7DRSI
42
+ */
43
+ export declare class ReplicationConfig extends pulumi.CustomResource {
44
+ /**
45
+ * Get an existing ReplicationConfig resource's state with the given name, ID, and optional extra
46
+ * properties used to qualify the lookup.
47
+ *
48
+ * @param name The _unique_ name of the resulting resource.
49
+ * @param id The _unique_ provider ID of the resource to lookup.
50
+ * @param state Any extra arguments used during the lookup.
51
+ * @param opts Optional settings to control the behavior of the CustomResource.
52
+ */
53
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ReplicationConfigState, opts?: pulumi.CustomResourceOptions): ReplicationConfig;
54
+ /**
55
+ * Returns true if the given object is an instance of ReplicationConfig. This is designed to work even
56
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
57
+ */
58
+ static isInstance(obj: any): obj is ReplicationConfig;
59
+ /**
60
+ * The Amazon Resource Name (ARN) for the serverless replication config.
61
+ */
62
+ readonly arn: pulumi.Output<string>;
63
+ /**
64
+ * Configuration block for provisioning an DMS Serverless replication.
65
+ */
66
+ readonly computeConfig: pulumi.Output<outputs.dms.ReplicationConfigComputeConfig>;
67
+ /**
68
+ * Unique identifier that you want to use to create the config.
69
+ */
70
+ readonly replicationConfigIdentifier: pulumi.Output<string>;
71
+ /**
72
+ * An escaped JSON string that are used to provision this replication configuration. For example, [Change processing tuning settings](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.ChangeProcessingTuning.html)
73
+ */
74
+ readonly replicationSettings: pulumi.Output<string>;
75
+ /**
76
+ * The migration type. Can be one of `full-load | cdc | full-load-and-cdc`.
77
+ */
78
+ readonly replicationType: pulumi.Output<string>;
79
+ /**
80
+ * Unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. For more information, see [Fine-grained access control using resource names and tags](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.FineGrainedAccess)
81
+ */
82
+ readonly resourceIdentifier: pulumi.Output<string>;
83
+ /**
84
+ * The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
85
+ */
86
+ readonly sourceEndpointArn: pulumi.Output<string>;
87
+ /**
88
+ * Whether to run or stop the serverless replication, default is false.
89
+ */
90
+ readonly startReplication: pulumi.Output<boolean | undefined>;
91
+ /**
92
+ * JSON settings for specifying supplemental data. For more information see [Specifying supplemental data for task settings](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.TaskData.html)
93
+ */
94
+ readonly supplementalSettings: pulumi.Output<string | undefined>;
95
+ /**
96
+ * An escaped JSON string that contains the table mappings. For information on table mapping see [Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data](http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TableMapping.html)
97
+ */
98
+ readonly tableMappings: pulumi.Output<string>;
99
+ /**
100
+ * A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
101
+ */
102
+ readonly tags: pulumi.Output<{
103
+ [key: string]: string;
104
+ } | undefined>;
105
+ /**
106
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
107
+ *
108
+ * @deprecated Please use `tags` instead.
109
+ */
110
+ readonly tagsAll: pulumi.Output<{
111
+ [key: string]: string;
112
+ }>;
113
+ /**
114
+ * The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
115
+ */
116
+ readonly targetEndpointArn: pulumi.Output<string>;
117
+ /**
118
+ * Create a ReplicationConfig resource with the given unique name, arguments, and options.
119
+ *
120
+ * @param name The _unique_ name of the resource.
121
+ * @param args The arguments to use to populate this resource's properties.
122
+ * @param opts A bag of options that control this resource's behavior.
123
+ */
124
+ constructor(name: string, args: ReplicationConfigArgs, opts?: pulumi.CustomResourceOptions);
125
+ }
126
+ /**
127
+ * Input properties used for looking up and filtering ReplicationConfig resources.
128
+ */
129
+ export interface ReplicationConfigState {
130
+ /**
131
+ * The Amazon Resource Name (ARN) for the serverless replication config.
132
+ */
133
+ arn?: pulumi.Input<string>;
134
+ /**
135
+ * Configuration block for provisioning an DMS Serverless replication.
136
+ */
137
+ computeConfig?: pulumi.Input<inputs.dms.ReplicationConfigComputeConfig>;
138
+ /**
139
+ * Unique identifier that you want to use to create the config.
140
+ */
141
+ replicationConfigIdentifier?: pulumi.Input<string>;
142
+ /**
143
+ * An escaped JSON string that are used to provision this replication configuration. For example, [Change processing tuning settings](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.ChangeProcessingTuning.html)
144
+ */
145
+ replicationSettings?: pulumi.Input<string>;
146
+ /**
147
+ * The migration type. Can be one of `full-load | cdc | full-load-and-cdc`.
148
+ */
149
+ replicationType?: pulumi.Input<string>;
150
+ /**
151
+ * Unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. For more information, see [Fine-grained access control using resource names and tags](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.FineGrainedAccess)
152
+ */
153
+ resourceIdentifier?: pulumi.Input<string>;
154
+ /**
155
+ * The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
156
+ */
157
+ sourceEndpointArn?: pulumi.Input<string>;
158
+ /**
159
+ * Whether to run or stop the serverless replication, default is false.
160
+ */
161
+ startReplication?: pulumi.Input<boolean>;
162
+ /**
163
+ * JSON settings for specifying supplemental data. For more information see [Specifying supplemental data for task settings](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.TaskData.html)
164
+ */
165
+ supplementalSettings?: pulumi.Input<string>;
166
+ /**
167
+ * An escaped JSON string that contains the table mappings. For information on table mapping see [Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data](http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TableMapping.html)
168
+ */
169
+ tableMappings?: pulumi.Input<string>;
170
+ /**
171
+ * A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
172
+ */
173
+ tags?: pulumi.Input<{
174
+ [key: string]: pulumi.Input<string>;
175
+ }>;
176
+ /**
177
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
178
+ *
179
+ * @deprecated Please use `tags` instead.
180
+ */
181
+ tagsAll?: pulumi.Input<{
182
+ [key: string]: pulumi.Input<string>;
183
+ }>;
184
+ /**
185
+ * The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
186
+ */
187
+ targetEndpointArn?: pulumi.Input<string>;
188
+ }
189
+ /**
190
+ * The set of arguments for constructing a ReplicationConfig resource.
191
+ */
192
+ export interface ReplicationConfigArgs {
193
+ /**
194
+ * Configuration block for provisioning an DMS Serverless replication.
195
+ */
196
+ computeConfig: pulumi.Input<inputs.dms.ReplicationConfigComputeConfig>;
197
+ /**
198
+ * Unique identifier that you want to use to create the config.
199
+ */
200
+ replicationConfigIdentifier: pulumi.Input<string>;
201
+ /**
202
+ * An escaped JSON string that are used to provision this replication configuration. For example, [Change processing tuning settings](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.ChangeProcessingTuning.html)
203
+ */
204
+ replicationSettings?: pulumi.Input<string>;
205
+ /**
206
+ * The migration type. Can be one of `full-load | cdc | full-load-and-cdc`.
207
+ */
208
+ replicationType: pulumi.Input<string>;
209
+ /**
210
+ * Unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. For more information, see [Fine-grained access control using resource names and tags](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.FineGrainedAccess)
211
+ */
212
+ resourceIdentifier?: pulumi.Input<string>;
213
+ /**
214
+ * The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
215
+ */
216
+ sourceEndpointArn: pulumi.Input<string>;
217
+ /**
218
+ * Whether to run or stop the serverless replication, default is false.
219
+ */
220
+ startReplication?: pulumi.Input<boolean>;
221
+ /**
222
+ * JSON settings for specifying supplemental data. For more information see [Specifying supplemental data for task settings](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.TaskData.html)
223
+ */
224
+ supplementalSettings?: pulumi.Input<string>;
225
+ /**
226
+ * An escaped JSON string that contains the table mappings. For information on table mapping see [Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data](http://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TableMapping.html)
227
+ */
228
+ tableMappings: pulumi.Input<string>;
229
+ /**
230
+ * A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
231
+ */
232
+ tags?: pulumi.Input<{
233
+ [key: string]: pulumi.Input<string>;
234
+ }>;
235
+ /**
236
+ * The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
237
+ */
238
+ targetEndpointArn: pulumi.Input<string>;
239
+ }
@@ -0,0 +1,132 @@
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.ReplicationConfig = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a DMS Serverless replication config resource.
10
+ *
11
+ * > **NOTE:** Changing most arguments will stop the replication if it is running. You can set `startReplication` to resume the replication afterwards.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as aws from "@pulumi/aws";
18
+ *
19
+ * const name = new aws.dms.ReplicationConfig("name", {
20
+ * replicationConfigIdentifier: "test-dms-serverless-replication-tf",
21
+ * resourceIdentifier: "test-dms-serverless-replication-tf",
22
+ * replicationType: "cdc",
23
+ * sourceEndpointArn: aws_dms_endpoint.source.endpoint_arn,
24
+ * targetEndpointArn: aws_dms_endpoint.target.endpoint_arn,
25
+ * tableMappings: ` {
26
+ * "rules":[{"rule-type":"selection","rule-id":"1","rule-name":"1","object-locator":{"schema-name":"%%","table-name":"%%", "rule-action":"include"}]
27
+ * }
28
+ * `,
29
+ * startReplication: true,
30
+ * computeConfig: {
31
+ * replicationSubnetGroupId: aws_dms_replication_subnet_group["default"].replication_subnet_group_id,
32
+ * maxCapacityUnits: 64,
33
+ * minCapacityUnits: 2,
34
+ * preferredMaintenanceWindow: "sun:23:45-mon:00:30",
35
+ * },
36
+ * });
37
+ * ```
38
+ *
39
+ * ## Import
40
+ *
41
+ * In TODO v1.5.0 and later, use an `import` block to import replication configs using the `arn`. For exampleterraform import {
42
+ *
43
+ * to = aws_dms_replication_config.example
44
+ *
45
+ * id = "arn:aws:dms:us-east-1:123456789012:replication-config:UX6OL6MHMMJKFFOXE3H7LLJCMEKBDUG4ZV7DRSI" } Using `TODO import`, import a replication config using the `arn`. For exampleconsole % TODO import aws_dms_replication_config.example arn:aws:dms:us-east-1:123456789012:replication-config:UX6OL6MHMMJKFFOXE3H7LLJCMEKBDUG4ZV7DRSI
46
+ */
47
+ class ReplicationConfig extends pulumi.CustomResource {
48
+ /**
49
+ * Get an existing ReplicationConfig resource's state with the given name, ID, and optional extra
50
+ * properties used to qualify the lookup.
51
+ *
52
+ * @param name The _unique_ name of the resulting resource.
53
+ * @param id The _unique_ provider ID of the resource to lookup.
54
+ * @param state Any extra arguments used during the lookup.
55
+ * @param opts Optional settings to control the behavior of the CustomResource.
56
+ */
57
+ static get(name, id, state, opts) {
58
+ return new ReplicationConfig(name, state, Object.assign(Object.assign({}, opts), { id: id }));
59
+ }
60
+ /**
61
+ * Returns true if the given object is an instance of ReplicationConfig. This is designed to work even
62
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
63
+ */
64
+ static isInstance(obj) {
65
+ if (obj === undefined || obj === null) {
66
+ return false;
67
+ }
68
+ return obj['__pulumiType'] === ReplicationConfig.__pulumiType;
69
+ }
70
+ constructor(name, argsOrState, opts) {
71
+ let resourceInputs = {};
72
+ opts = opts || {};
73
+ if (opts.id) {
74
+ const state = argsOrState;
75
+ resourceInputs["arn"] = state ? state.arn : undefined;
76
+ resourceInputs["computeConfig"] = state ? state.computeConfig : undefined;
77
+ resourceInputs["replicationConfigIdentifier"] = state ? state.replicationConfigIdentifier : undefined;
78
+ resourceInputs["replicationSettings"] = state ? state.replicationSettings : undefined;
79
+ resourceInputs["replicationType"] = state ? state.replicationType : undefined;
80
+ resourceInputs["resourceIdentifier"] = state ? state.resourceIdentifier : undefined;
81
+ resourceInputs["sourceEndpointArn"] = state ? state.sourceEndpointArn : undefined;
82
+ resourceInputs["startReplication"] = state ? state.startReplication : undefined;
83
+ resourceInputs["supplementalSettings"] = state ? state.supplementalSettings : undefined;
84
+ resourceInputs["tableMappings"] = state ? state.tableMappings : undefined;
85
+ resourceInputs["tags"] = state ? state.tags : undefined;
86
+ resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
87
+ resourceInputs["targetEndpointArn"] = state ? state.targetEndpointArn : undefined;
88
+ }
89
+ else {
90
+ const args = argsOrState;
91
+ if ((!args || args.computeConfig === undefined) && !opts.urn) {
92
+ throw new Error("Missing required property 'computeConfig'");
93
+ }
94
+ if ((!args || args.replicationConfigIdentifier === undefined) && !opts.urn) {
95
+ throw new Error("Missing required property 'replicationConfigIdentifier'");
96
+ }
97
+ if ((!args || args.replicationType === undefined) && !opts.urn) {
98
+ throw new Error("Missing required property 'replicationType'");
99
+ }
100
+ if ((!args || args.sourceEndpointArn === undefined) && !opts.urn) {
101
+ throw new Error("Missing required property 'sourceEndpointArn'");
102
+ }
103
+ if ((!args || args.tableMappings === undefined) && !opts.urn) {
104
+ throw new Error("Missing required property 'tableMappings'");
105
+ }
106
+ if ((!args || args.targetEndpointArn === undefined) && !opts.urn) {
107
+ throw new Error("Missing required property 'targetEndpointArn'");
108
+ }
109
+ resourceInputs["computeConfig"] = args ? args.computeConfig : undefined;
110
+ resourceInputs["replicationConfigIdentifier"] = args ? args.replicationConfigIdentifier : undefined;
111
+ resourceInputs["replicationSettings"] = args ? args.replicationSettings : undefined;
112
+ resourceInputs["replicationType"] = args ? args.replicationType : undefined;
113
+ resourceInputs["resourceIdentifier"] = args ? args.resourceIdentifier : undefined;
114
+ resourceInputs["sourceEndpointArn"] = args ? args.sourceEndpointArn : undefined;
115
+ resourceInputs["startReplication"] = args ? args.startReplication : undefined;
116
+ resourceInputs["supplementalSettings"] = args ? args.supplementalSettings : undefined;
117
+ resourceInputs["tableMappings"] = args ? args.tableMappings : undefined;
118
+ resourceInputs["tags"] = args ? args.tags : undefined;
119
+ resourceInputs["targetEndpointArn"] = args ? args.targetEndpointArn : undefined;
120
+ resourceInputs["arn"] = undefined /*out*/;
121
+ resourceInputs["tagsAll"] = undefined /*out*/;
122
+ }
123
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
124
+ const secretOpts = { additionalSecretOutputs: ["tagsAll"] };
125
+ opts = pulumi.mergeOptions(opts, secretOpts);
126
+ super(ReplicationConfig.__pulumiType, name, resourceInputs, opts);
127
+ }
128
+ }
129
+ exports.ReplicationConfig = ReplicationConfig;
130
+ /** @internal */
131
+ ReplicationConfig.__pulumiType = 'aws:dms/replicationConfig:ReplicationConfig';
132
+ //# sourceMappingURL=replicationConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"replicationConfig.js","sourceRoot":"","sources":["../../dms/replicationConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAiED,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,6BAA6B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,2BAA2B,C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C,SAAS,CAAC,EAAE,CAAC;QAC5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAnJL,8CAoJC;AAtIG,gBAAgB;AACO,8BAAY,GAAG,6CAA6C,CAAC"}
@@ -65,7 +65,7 @@ export declare class OntapFileSystem extends pulumi.CustomResource {
65
65
  */
66
66
  readonly deploymentType: pulumi.Output<string>;
67
67
  /**
68
- * The SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system. See Disk Iops Configuration Below.
68
+ * The SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system. See Disk Iops Configuration below.
69
69
  */
70
70
  readonly diskIopsConfiguration: pulumi.Output<outputs.fsx.OntapFileSystemDiskIopsConfiguration>;
71
71
  /**
@@ -176,7 +176,7 @@ export interface OntapFileSystemState {
176
176
  */
177
177
  deploymentType?: pulumi.Input<string>;
178
178
  /**
179
- * The SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system. See Disk Iops Configuration Below.
179
+ * The SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system. See Disk Iops Configuration below.
180
180
  */
181
181
  diskIopsConfiguration?: pulumi.Input<inputs.fsx.OntapFileSystemDiskIopsConfiguration>;
182
182
  /**
@@ -275,7 +275,7 @@ export interface OntapFileSystemArgs {
275
275
  */
276
276
  deploymentType: pulumi.Input<string>;
277
277
  /**
278
- * The SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system. See Disk Iops Configuration Below.
278
+ * The SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system. See Disk Iops Configuration below.
279
279
  */
280
280
  diskIopsConfiguration?: pulumi.Input<inputs.fsx.OntapFileSystemDiskIopsConfiguration>;
281
281
  /**
@@ -67,6 +67,14 @@ export declare class OntapVolume extends pulumi.CustomResource {
67
67
  * Amazon Resource Name of the volune.
68
68
  */
69
69
  readonly arn: pulumi.Output<string>;
70
+ /**
71
+ * Setting this to `true` allows a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to `false`.
72
+ */
73
+ readonly bypassSnaplockEnterpriseRetention: pulumi.Output<boolean | undefined>;
74
+ /**
75
+ * A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to `false`.
76
+ */
77
+ readonly copyTagsToBackups: pulumi.Output<boolean | undefined>;
70
78
  /**
71
79
  * Describes the file system for the volume, e.g. `fs-12345679`
72
80
  */
@@ -99,6 +107,14 @@ export declare class OntapVolume extends pulumi.CustomResource {
99
107
  * When enabled, will skip the default final backup taken when the volume is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to `false`.
100
108
  */
101
109
  readonly skipFinalBackup: pulumi.Output<boolean | undefined>;
110
+ /**
111
+ * The SnapLock configuration for an FSx for ONTAP volume. See SnapLock Configuration below.
112
+ */
113
+ readonly snaplockConfiguration: pulumi.Output<outputs.fsx.OntapVolumeSnaplockConfiguration | undefined>;
114
+ /**
115
+ * Specifies the snapshot policy for the volume. See [snapshot policies](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/snapshots-ontap.html#snapshot-policies) in the Amazon FSx ONTAP User Guide
116
+ */
117
+ readonly snapshotPolicy: pulumi.Output<string>;
102
118
  /**
103
119
  * Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume.
104
120
  */
@@ -121,6 +137,9 @@ export declare class OntapVolume extends pulumi.CustomResource {
121
137
  readonly tagsAll: pulumi.Output<{
122
138
  [key: string]: string;
123
139
  }>;
140
+ /**
141
+ * The data tiering policy for an FSx for ONTAP volume. See Tiering Policy below.
142
+ */
124
143
  readonly tieringPolicy: pulumi.Output<outputs.fsx.OntapVolumeTieringPolicy | undefined>;
125
144
  /**
126
145
  * The Volume's UUID (universally unique identifier).
@@ -147,6 +166,14 @@ export interface OntapVolumeState {
147
166
  * Amazon Resource Name of the volune.
148
167
  */
149
168
  arn?: pulumi.Input<string>;
169
+ /**
170
+ * Setting this to `true` allows a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to `false`.
171
+ */
172
+ bypassSnaplockEnterpriseRetention?: pulumi.Input<boolean>;
173
+ /**
174
+ * A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to `false`.
175
+ */
176
+ copyTagsToBackups?: pulumi.Input<boolean>;
150
177
  /**
151
178
  * Describes the file system for the volume, e.g. `fs-12345679`
152
179
  */
@@ -179,6 +206,14 @@ export interface OntapVolumeState {
179
206
  * When enabled, will skip the default final backup taken when the volume is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to `false`.
180
207
  */
181
208
  skipFinalBackup?: pulumi.Input<boolean>;
209
+ /**
210
+ * The SnapLock configuration for an FSx for ONTAP volume. See SnapLock Configuration below.
211
+ */
212
+ snaplockConfiguration?: pulumi.Input<inputs.fsx.OntapVolumeSnaplockConfiguration>;
213
+ /**
214
+ * Specifies the snapshot policy for the volume. See [snapshot policies](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/snapshots-ontap.html#snapshot-policies) in the Amazon FSx ONTAP User Guide
215
+ */
216
+ snapshotPolicy?: pulumi.Input<string>;
182
217
  /**
183
218
  * Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume.
184
219
  */
@@ -201,6 +236,9 @@ export interface OntapVolumeState {
201
236
  tagsAll?: pulumi.Input<{
202
237
  [key: string]: pulumi.Input<string>;
203
238
  }>;
239
+ /**
240
+ * The data tiering policy for an FSx for ONTAP volume. See Tiering Policy below.
241
+ */
204
242
  tieringPolicy?: pulumi.Input<inputs.fsx.OntapVolumeTieringPolicy>;
205
243
  /**
206
244
  * The Volume's UUID (universally unique identifier).
@@ -215,6 +253,14 @@ export interface OntapVolumeState {
215
253
  * The set of arguments for constructing a OntapVolume resource.
216
254
  */
217
255
  export interface OntapVolumeArgs {
256
+ /**
257
+ * Setting this to `true` allows a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to `false`.
258
+ */
259
+ bypassSnaplockEnterpriseRetention?: pulumi.Input<boolean>;
260
+ /**
261
+ * A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to `false`.
262
+ */
263
+ copyTagsToBackups?: pulumi.Input<boolean>;
218
264
  /**
219
265
  * Specifies the location in the storage virtual machine's namespace where the volume is mounted. The junctionPath must have a leading forward slash, such as `/vol3`
220
266
  */
@@ -239,6 +285,14 @@ export interface OntapVolumeArgs {
239
285
  * When enabled, will skip the default final backup taken when the volume is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to `false`.
240
286
  */
241
287
  skipFinalBackup?: pulumi.Input<boolean>;
288
+ /**
289
+ * The SnapLock configuration for an FSx for ONTAP volume. See SnapLock Configuration below.
290
+ */
291
+ snaplockConfiguration?: pulumi.Input<inputs.fsx.OntapVolumeSnaplockConfiguration>;
292
+ /**
293
+ * Specifies the snapshot policy for the volume. See [snapshot policies](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/snapshots-ontap.html#snapshot-policies) in the Amazon FSx ONTAP User Guide
294
+ */
295
+ snapshotPolicy?: pulumi.Input<string>;
242
296
  /**
243
297
  * Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume.
244
298
  */
@@ -253,6 +307,9 @@ export interface OntapVolumeArgs {
253
307
  tags?: pulumi.Input<{
254
308
  [key: string]: pulumi.Input<string>;
255
309
  }>;
310
+ /**
311
+ * The data tiering policy for an FSx for ONTAP volume. See Tiering Policy below.
312
+ */
256
313
  tieringPolicy?: pulumi.Input<inputs.fsx.OntapVolumeTieringPolicy>;
257
314
  /**
258
315
  * The type of volume, currently the only valid value is `ONTAP`.
@@ -80,6 +80,8 @@ class OntapVolume extends pulumi.CustomResource {
80
80
  if (opts.id) {
81
81
  const state = argsOrState;
82
82
  resourceInputs["arn"] = state ? state.arn : undefined;
83
+ resourceInputs["bypassSnaplockEnterpriseRetention"] = state ? state.bypassSnaplockEnterpriseRetention : undefined;
84
+ resourceInputs["copyTagsToBackups"] = state ? state.copyTagsToBackups : undefined;
83
85
  resourceInputs["fileSystemId"] = state ? state.fileSystemId : undefined;
84
86
  resourceInputs["flexcacheEndpointType"] = state ? state.flexcacheEndpointType : undefined;
85
87
  resourceInputs["junctionPath"] = state ? state.junctionPath : undefined;
@@ -88,6 +90,8 @@ class OntapVolume extends pulumi.CustomResource {
88
90
  resourceInputs["securityStyle"] = state ? state.securityStyle : undefined;
89
91
  resourceInputs["sizeInMegabytes"] = state ? state.sizeInMegabytes : undefined;
90
92
  resourceInputs["skipFinalBackup"] = state ? state.skipFinalBackup : undefined;
93
+ resourceInputs["snaplockConfiguration"] = state ? state.snaplockConfiguration : undefined;
94
+ resourceInputs["snapshotPolicy"] = state ? state.snapshotPolicy : undefined;
91
95
  resourceInputs["storageEfficiencyEnabled"] = state ? state.storageEfficiencyEnabled : undefined;
92
96
  resourceInputs["storageVirtualMachineId"] = state ? state.storageVirtualMachineId : undefined;
93
97
  resourceInputs["tags"] = state ? state.tags : undefined;
@@ -104,12 +108,16 @@ class OntapVolume extends pulumi.CustomResource {
104
108
  if ((!args || args.storageVirtualMachineId === undefined) && !opts.urn) {
105
109
  throw new Error("Missing required property 'storageVirtualMachineId'");
106
110
  }
111
+ resourceInputs["bypassSnaplockEnterpriseRetention"] = args ? args.bypassSnaplockEnterpriseRetention : undefined;
112
+ resourceInputs["copyTagsToBackups"] = args ? args.copyTagsToBackups : undefined;
107
113
  resourceInputs["junctionPath"] = args ? args.junctionPath : undefined;
108
114
  resourceInputs["name"] = args ? args.name : undefined;
109
115
  resourceInputs["ontapVolumeType"] = args ? args.ontapVolumeType : undefined;
110
116
  resourceInputs["securityStyle"] = args ? args.securityStyle : undefined;
111
117
  resourceInputs["sizeInMegabytes"] = args ? args.sizeInMegabytes : undefined;
112
118
  resourceInputs["skipFinalBackup"] = args ? args.skipFinalBackup : undefined;
119
+ resourceInputs["snaplockConfiguration"] = args ? args.snaplockConfiguration : undefined;
120
+ resourceInputs["snapshotPolicy"] = args ? args.snapshotPolicy : undefined;
113
121
  resourceInputs["storageEfficiencyEnabled"] = args ? args.storageEfficiencyEnabled : undefined;
114
122
  resourceInputs["storageVirtualMachineId"] = args ? args.storageVirtualMachineId : undefined;
115
123
  resourceInputs["tags"] = args ? args.tags : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"ontapVolume.js","sourceRoot":"","sources":["../../fsx/ontapVolume.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IA0ED,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C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,CAAC;IAChE,CAAC;;AAjLL,kCAkLC;AApKG,gBAAgB;AACO,wBAAY,GAAG,iCAAiC,CAAC"}
@@ -50,6 +50,10 @@ export declare class OpenZfsVolume extends pulumi.CustomResource {
50
50
  * Method used to compress the data on the volume. Valid values are `NONE` or `ZSTD`. Child volumes that don't specify compression option will inherit from parent volume. This option on file system applies to the root volume.
51
51
  */
52
52
  readonly dataCompressionType: pulumi.Output<string | undefined>;
53
+ /**
54
+ * Whether to delete all child volumes and snapshots. Valid values: `DELETE_CHILD_VOLUMES_AND_SNAPSHOTS`. This configuration must be applied separately before attempting to delete the resource to have the desired behavior..
55
+ */
56
+ readonly deleteVolumeOptions: pulumi.Output<string | undefined>;
53
57
  /**
54
58
  * The name of the Volume. You can use a maximum of 203 alphanumeric characters, plus the underscore (_) special character.
55
59
  */
@@ -126,6 +130,10 @@ export interface OpenZfsVolumeState {
126
130
  * Method used to compress the data on the volume. Valid values are `NONE` or `ZSTD`. Child volumes that don't specify compression option will inherit from parent volume. This option on file system applies to the root volume.
127
131
  */
128
132
  dataCompressionType?: pulumi.Input<string>;
133
+ /**
134
+ * Whether to delete all child volumes and snapshots. Valid values: `DELETE_CHILD_VOLUMES_AND_SNAPSHOTS`. This configuration must be applied separately before attempting to delete the resource to have the desired behavior..
135
+ */
136
+ deleteVolumeOptions?: pulumi.Input<string>;
129
137
  /**
130
138
  * The name of the Volume. You can use a maximum of 203 alphanumeric characters, plus the underscore (_) special character.
131
139
  */
@@ -190,6 +198,10 @@ export interface OpenZfsVolumeArgs {
190
198
  * Method used to compress the data on the volume. Valid values are `NONE` or `ZSTD`. Child volumes that don't specify compression option will inherit from parent volume. This option on file system applies to the root volume.
191
199
  */
192
200
  dataCompressionType?: pulumi.Input<string>;
201
+ /**
202
+ * Whether to delete all child volumes and snapshots. Valid values: `DELETE_CHILD_VOLUMES_AND_SNAPSHOTS`. This configuration must be applied separately before attempting to delete the resource to have the desired behavior..
203
+ */
204
+ deleteVolumeOptions?: pulumi.Input<string>;
193
205
  /**
194
206
  * The name of the Volume. You can use a maximum of 203 alphanumeric characters, plus the underscore (_) special character.
195
207
  */
@@ -57,6 +57,7 @@ class OpenZfsVolume extends pulumi.CustomResource {
57
57
  resourceInputs["arn"] = state ? state.arn : undefined;
58
58
  resourceInputs["copyTagsToSnapshots"] = state ? state.copyTagsToSnapshots : undefined;
59
59
  resourceInputs["dataCompressionType"] = state ? state.dataCompressionType : undefined;
60
+ resourceInputs["deleteVolumeOptions"] = state ? state.deleteVolumeOptions : undefined;
60
61
  resourceInputs["name"] = state ? state.name : undefined;
61
62
  resourceInputs["nfsExports"] = state ? state.nfsExports : undefined;
62
63
  resourceInputs["originSnapshot"] = state ? state.originSnapshot : undefined;
@@ -77,6 +78,7 @@ class OpenZfsVolume extends pulumi.CustomResource {
77
78
  }
78
79
  resourceInputs["copyTagsToSnapshots"] = args ? args.copyTagsToSnapshots : undefined;
79
80
  resourceInputs["dataCompressionType"] = args ? args.dataCompressionType : undefined;
81
+ resourceInputs["deleteVolumeOptions"] = args ? args.deleteVolumeOptions : undefined;
80
82
  resourceInputs["name"] = args ? args.name : undefined;
81
83
  resourceInputs["nfsExports"] = args ? args.nfsExports : undefined;
82
84
  resourceInputs["originSnapshot"] = args ? args.originSnapshot : undefined;