@pulumi/aws 4.29.0 → 4.31.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.
- package/accessanalyzer/analyzer.d.ts +6 -0
- package/accessanalyzer/analyzer.js.map +1 -1
- package/account/alternativeContact.d.ts +133 -0
- package/account/alternativeContact.js +98 -0
- package/account/alternativeContact.js.map +1 -0
- package/account/index.d.ts +1 -0
- package/account/index.js +33 -0
- package/account/index.js.map +1 -0
- package/alb/getLoadBalancer.d.ts +2 -0
- package/alb/getLoadBalancer.js.map +1 -1
- package/alb/getTargetGroup.d.ts +1 -0
- package/alb/getTargetGroup.js.map +1 -1
- package/alb/loadBalancer.d.ts +27 -3
- package/alb/loadBalancer.js +4 -0
- package/alb/loadBalancer.js.map +1 -1
- package/alb/targetGroup.d.ts +12 -0
- package/alb/targetGroup.js +2 -0
- package/alb/targetGroup.js.map +1 -1
- package/applicationloadbalancing/getLoadBalancer.d.ts +2 -0
- package/applicationloadbalancing/getLoadBalancer.js.map +1 -1
- package/applicationloadbalancing/getTargetGroup.d.ts +1 -0
- package/applicationloadbalancing/getTargetGroup.js.map +1 -1
- package/applicationloadbalancing/loadBalancer.d.ts +27 -3
- package/applicationloadbalancing/loadBalancer.js +4 -0
- package/applicationloadbalancing/loadBalancer.js.map +1 -1
- package/applicationloadbalancing/targetGroup.d.ts +12 -0
- package/applicationloadbalancing/targetGroup.js +2 -0
- package/applicationloadbalancing/targetGroup.js.map +1 -1
- package/appstream/fleetStackAssociation.d.ts +91 -0
- package/appstream/fleetStackAssociation.js +90 -0
- package/appstream/fleetStackAssociation.js.map +1 -0
- package/appstream/index.d.ts +3 -0
- package/appstream/index.js +15 -0
- package/appstream/index.js.map +1 -1
- package/appstream/user.d.ts +149 -0
- package/appstream/user.js +96 -0
- package/appstream/user.js.map +1 -0
- package/appstream/userStackAssociation.d.ts +113 -0
- package/appstream/userStackAssociation.js +95 -0
- package/appstream/userStackAssociation.js.map +1 -0
- package/cfg/remediationConfiguration.d.ts +74 -20
- package/cfg/remediationConfiguration.js +17 -0
- package/cfg/remediationConfiguration.js.map +1 -1
- package/codecommit/approvalRuleTemplate.d.ts +144 -0
- package/codecommit/approvalRuleTemplate.js +100 -0
- package/codecommit/approvalRuleTemplate.js.map +1 -0
- package/codecommit/getApprovalRuleTemplate.d.ts +73 -0
- package/codecommit/getApprovalRuleTemplate.js +38 -0
- package/codecommit/getApprovalRuleTemplate.js.map +1 -0
- package/codecommit/index.d.ts +2 -0
- package/codecommit/index.js +6 -0
- package/codecommit/index.js.map +1 -1
- package/dlm/lifecyclePolicy.d.ts +67 -1
- package/dlm/lifecyclePolicy.js +67 -1
- package/dlm/lifecyclePolicy.js.map +1 -1
- package/ec2/defaultVpc.d.ts +16 -0
- package/ec2/defaultVpc.js +9 -1
- package/ec2/defaultVpc.js.map +1 -1
- package/ec2/getInstanceTypes.d.ts +70 -0
- package/ec2/getInstanceTypes.js +59 -0
- package/ec2/getInstanceTypes.js.map +1 -0
- package/ec2/getVpcIamPool.d.ts +151 -0
- package/ec2/getVpcIamPool.js +53 -0
- package/ec2/getVpcIamPool.js.map +1 -0
- package/ec2/index.d.ts +8 -0
- package/ec2/index.js +32 -0
- package/ec2/index.js.map +1 -1
- package/ec2/vpc.d.ts +69 -11
- package/ec2/vpc.js +36 -4
- package/ec2/vpc.js.map +1 -1
- package/ec2/vpcIpam.d.ts +178 -0
- package/ec2/vpcIpam.js +121 -0
- package/ec2/vpcIpam.js.map +1 -0
- package/ec2/vpcIpamPool.d.ts +299 -0
- package/ec2/vpcIpamPool.js +151 -0
- package/ec2/vpcIpamPool.js.map +1 -0
- package/ec2/vpcIpamPoolCidr.d.ts +136 -0
- package/ec2/vpcIpamPoolCidr.js +121 -0
- package/ec2/vpcIpamPoolCidr.js.map +1 -0
- package/ec2/vpcIpamPoolCidrAllocation.d.ts +150 -0
- package/ec2/vpcIpamPoolCidrAllocation.js +108 -0
- package/ec2/vpcIpamPoolCidrAllocation.js.map +1 -0
- package/ec2/vpcIpamScope.d.ts +132 -0
- package/ec2/vpcIpamScope.js +99 -0
- package/ec2/vpcIpamScope.js.map +1 -0
- package/ec2/vpcIpv4CidrBlockAssociation.d.ts +28 -4
- package/ec2/vpcIpv4CidrBlockAssociation.js +4 -3
- package/ec2/vpcIpv4CidrBlockAssociation.js.map +1 -1
- package/ec2/vpcIpv6CidrBlockAssociation.d.ts +102 -0
- package/ec2/vpcIpv6CidrBlockAssociation.js +90 -0
- package/ec2/vpcIpv6CidrBlockAssociation.js.map +1 -0
- package/ecs/accountSettingDefault.d.ts +71 -0
- package/ecs/accountSettingDefault.js +67 -0
- package/ecs/accountSettingDefault.js.map +1 -0
- package/ecs/capacityProvider.d.ts +1 -1
- package/ecs/capacityProvider.js +1 -1
- package/ecs/index.d.ts +1 -0
- package/ecs/index.js +5 -0
- package/ecs/index.js.map +1 -1
- package/ecs/service.d.ts +30 -30
- package/elasticloadbalancing/getLoadBalancer.d.ts +1 -0
- package/elasticloadbalancing/getLoadBalancer.js.map +1 -1
- package/elasticloadbalancing/loadBalancer.d.ts +12 -0
- package/elasticloadbalancing/loadBalancer.js +2 -0
- package/elasticloadbalancing/loadBalancer.js.map +1 -1
- package/elasticloadbalancingv2/getLoadBalancer.d.ts +2 -0
- package/elasticloadbalancingv2/getLoadBalancer.js.map +1 -1
- package/elasticloadbalancingv2/getTargetGroup.d.ts +1 -0
- package/elasticloadbalancingv2/getTargetGroup.js.map +1 -1
- package/elasticloadbalancingv2/loadBalancer.d.ts +27 -3
- package/elasticloadbalancingv2/loadBalancer.js +4 -0
- package/elasticloadbalancingv2/loadBalancer.js.map +1 -1
- package/elasticloadbalancingv2/targetGroup.d.ts +12 -0
- package/elasticloadbalancingv2/targetGroup.js +2 -0
- package/elasticloadbalancingv2/targetGroup.js.map +1 -1
- package/elb/getLoadBalancer.d.ts +1 -0
- package/elb/getLoadBalancer.js.map +1 -1
- package/elb/loadBalancer.d.ts +12 -0
- package/elb/loadBalancer.js +2 -0
- package/elb/loadBalancer.js.map +1 -1
- package/fsx/index.d.ts +2 -0
- package/fsx/index.js +10 -0
- package/fsx/index.js.map +1 -1
- package/fsx/ontapStorageVirtualMachine.d.ts +210 -0
- package/fsx/ontapStorageVirtualMachine.js +134 -0
- package/fsx/ontapStorageVirtualMachine.js.map +1 -0
- package/fsx/ontapVolume.d.ts +240 -0
- package/fsx/ontapVolume.js +137 -0
- package/fsx/ontapVolume.js.map +1 -0
- package/imagebuilder/getImageRecipes.d.ts +67 -0
- package/imagebuilder/getImageRecipes.js +44 -0
- package/imagebuilder/getImageRecipes.js.map +1 -0
- package/imagebuilder/index.d.ts +1 -0
- package/imagebuilder/index.js +1 -0
- package/imagebuilder/index.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +5 -3
- package/index.js.map +1 -1
- package/iot/thingGroup.d.ts +0 -3
- package/iot/thingGroup.js +1 -1
- package/iot/thingGroup.js.map +1 -1
- package/iot/thingType.d.ts +0 -6
- package/iot/thingType.js +1 -1
- package/iot/thingType.js.map +1 -1
- package/lambda/getFunction.d.ts +4 -0
- package/lambda/getFunction.js.map +1 -1
- package/lb/getLoadBalancer.d.ts +2 -0
- package/lb/getLoadBalancer.js.map +1 -1
- package/lb/getTargetGroup.d.ts +1 -0
- package/lb/getTargetGroup.js.map +1 -1
- package/lb/loadBalancer.d.ts +27 -3
- package/lb/loadBalancer.js +4 -0
- package/lb/loadBalancer.js.map +1 -1
- package/lb/targetGroup.d.ts +12 -0
- package/lb/targetGroup.js +2 -0
- package/lb/targetGroup.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/quicksight/user.d.ts +6 -6
- package/synthetics/canary.d.ts +15 -3
- package/synthetics/canary.js +2 -0
- package/synthetics/canary.js.map +1 -1
- package/types/input.d.ts +1556 -126
- package/types/output.d.ts +1424 -18
- package/wafv2/ruleGroup.d.ts +15 -3
- package/wafv2/ruleGroup.js +2 -0
- package/wafv2/ruleGroup.js.map +1 -1
- package/wafv2/webAcl.d.ts +20 -7
- package/wafv2/webAcl.js +7 -4
- package/wafv2/webAcl.js.map +1 -1
package/elb/loadBalancer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loadBalancer.js","sourceRoot":"","sources":["../../elb/loadBalancer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6EG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"loadBalancer.js","sourceRoot":"","sources":["../../elb/loadBalancer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6EG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IAgInD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,MAAM,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CA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;IACzD,CAAC;IA5LD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCA8LC;AAhLG,gBAAgB;AACO,yBAAY,GAAG,mCAAmC,CAAC"}
|
package/fsx/index.d.ts
CHANGED
package/fsx/index.js
CHANGED
|
@@ -18,11 +18,15 @@ const utilities = require("../utilities");
|
|
|
18
18
|
__exportStar(require("./backup"), exports);
|
|
19
19
|
__exportStar(require("./lustreFileSystem"), exports);
|
|
20
20
|
__exportStar(require("./ontapFileSystem"), exports);
|
|
21
|
+
__exportStar(require("./ontapStorageVirtualMachine"), exports);
|
|
22
|
+
__exportStar(require("./ontapVolume"), exports);
|
|
21
23
|
__exportStar(require("./windowsFileSystem"), exports);
|
|
22
24
|
// Import resources to register:
|
|
23
25
|
const backup_1 = require("./backup");
|
|
24
26
|
const lustreFileSystem_1 = require("./lustreFileSystem");
|
|
25
27
|
const ontapFileSystem_1 = require("./ontapFileSystem");
|
|
28
|
+
const ontapStorageVirtualMachine_1 = require("./ontapStorageVirtualMachine");
|
|
29
|
+
const ontapVolume_1 = require("./ontapVolume");
|
|
26
30
|
const windowsFileSystem_1 = require("./windowsFileSystem");
|
|
27
31
|
const _module = {
|
|
28
32
|
version: utilities.getVersion(),
|
|
@@ -34,6 +38,10 @@ const _module = {
|
|
|
34
38
|
return new lustreFileSystem_1.LustreFileSystem(name, undefined, { urn });
|
|
35
39
|
case "aws:fsx/ontapFileSystem:OntapFileSystem":
|
|
36
40
|
return new ontapFileSystem_1.OntapFileSystem(name, undefined, { urn });
|
|
41
|
+
case "aws:fsx/ontapStorageVirtualMachine:OntapStorageVirtualMachine":
|
|
42
|
+
return new ontapStorageVirtualMachine_1.OntapStorageVirtualMachine(name, undefined, { urn });
|
|
43
|
+
case "aws:fsx/ontapVolume:OntapVolume":
|
|
44
|
+
return new ontapVolume_1.OntapVolume(name, undefined, { urn });
|
|
37
45
|
case "aws:fsx/windowsFileSystem:WindowsFileSystem":
|
|
38
46
|
return new windowsFileSystem_1.WindowsFileSystem(name, undefined, { urn });
|
|
39
47
|
default:
|
|
@@ -44,5 +52,7 @@ const _module = {
|
|
|
44
52
|
pulumi.runtime.registerResourceModule("aws", "fsx/backup", _module);
|
|
45
53
|
pulumi.runtime.registerResourceModule("aws", "fsx/lustreFileSystem", _module);
|
|
46
54
|
pulumi.runtime.registerResourceModule("aws", "fsx/ontapFileSystem", _module);
|
|
55
|
+
pulumi.runtime.registerResourceModule("aws", "fsx/ontapStorageVirtualMachine", _module);
|
|
56
|
+
pulumi.runtime.registerResourceModule("aws", "fsx/ontapVolume", _module);
|
|
47
57
|
pulumi.runtime.registerResourceModule("aws", "fsx/windowsFileSystem", _module);
|
|
48
58
|
//# sourceMappingURL=index.js.map
|
package/fsx/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../fsx/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,2CAAyB;AACzB,qDAAmC;AACnC,oDAAkC;AAClC,sDAAoC;AAEpC,gCAAgC;AAChC,qCAAkC;AAClC,yDAAsD;AACtD,uDAAoD;AACpD,2DAAwD;AAExD,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE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AC,KAAK,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA;AACvF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Manages a FSx Storage Virtual Machine.
|
|
5
|
+
* See the [FSx ONTAP User Guide](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-svms.html) for more information.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
* ### Basic Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as aws from "@pulumi/aws";
|
|
13
|
+
*
|
|
14
|
+
* const test = new aws.fsx.OntapStorageVirtualMachine("test", {fileSystemId: aws_fsx_ontap_file_system.test.id});
|
|
15
|
+
* ```
|
|
16
|
+
* ### Using a Self-Managed Microsoft Active Directory
|
|
17
|
+
*
|
|
18
|
+
* Additional information for using AWS Directory Service with ONTAP File Systems can be found in the [FSx ONTAP Guide](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/self-managed-AD.html).
|
|
19
|
+
*
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
+
* import * as aws from "@pulumi/aws";
|
|
23
|
+
*
|
|
24
|
+
* const test = new aws.fsx.OntapStorageVirtualMachine("test", {
|
|
25
|
+
* fileSystemId: aws_fsx_ontap_file_system.test.id,
|
|
26
|
+
* activeDirectoryConfiguration: {
|
|
27
|
+
* netbiosName: "mysvm",
|
|
28
|
+
* selfManagedActiveDirectoryConfiguration: {
|
|
29
|
+
* dnsIps: [
|
|
30
|
+
* "10.0.0.111",
|
|
31
|
+
* "10.0.0.222",
|
|
32
|
+
* ],
|
|
33
|
+
* domainName: "corp.example.com",
|
|
34
|
+
* password: "avoid-plaintext-passwords",
|
|
35
|
+
* username: "Admin",
|
|
36
|
+
* },
|
|
37
|
+
* },
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* ## Import
|
|
42
|
+
*
|
|
43
|
+
* FSx Storage Virtual Machine can be imported using the `id`, e.g.,
|
|
44
|
+
*
|
|
45
|
+
* ```sh
|
|
46
|
+
* $ pulumi import aws:fsx/ontapStorageVirtualMachine:OntapStorageVirtualMachine example svm-12345678abcdef123
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* Certain resource arguments, like `svm_admin_password` and the `self_managed_active_directory` configuation block `password`, do not have a FSx API method for reading the information after creation. If these arguments are set in the Terraform configuration on an imported resource, Terraform will always show a difference. To workaround this behavior, either omit the argument from the Terraform configuration or use [`ignore_changes`](https://www.terraform.io/docs/configuration/meta-arguments/lifecycle.html#ignore_changes) to hide the difference, e.g., terraform resource "aws_fsx_ontap_storage_virtual_machine" "example" {
|
|
50
|
+
*
|
|
51
|
+
* # ... other configuration ...
|
|
52
|
+
*
|
|
53
|
+
* svm_admin_password = "avoid-plaintext-passwords"
|
|
54
|
+
*
|
|
55
|
+
* # There is no FSx API for reading svm_admin_password
|
|
56
|
+
*
|
|
57
|
+
* lifecycle {
|
|
58
|
+
*
|
|
59
|
+
* ignore_changes = [svm_admin_password]
|
|
60
|
+
*
|
|
61
|
+
* } }
|
|
62
|
+
*/
|
|
63
|
+
export declare class OntapStorageVirtualMachine extends pulumi.CustomResource {
|
|
64
|
+
/**
|
|
65
|
+
* Get an existing OntapStorageVirtualMachine resource's state with the given name, ID, and optional extra
|
|
66
|
+
* properties used to qualify the lookup.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resulting resource.
|
|
69
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
70
|
+
* @param state Any extra arguments used during the lookup.
|
|
71
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
72
|
+
*/
|
|
73
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OntapStorageVirtualMachineState, opts?: pulumi.CustomResourceOptions): OntapStorageVirtualMachine;
|
|
74
|
+
/**
|
|
75
|
+
* Returns true if the given object is an instance of OntapStorageVirtualMachine. This is designed to work even
|
|
76
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
77
|
+
*/
|
|
78
|
+
static isInstance(obj: any): obj is OntapStorageVirtualMachine;
|
|
79
|
+
/**
|
|
80
|
+
* Configuration block that Amazon FSx uses to join the FSx ONTAP Storage Virtual Machine(SVM) to your Microsoft Active Directory (AD) directory. Detailed below.
|
|
81
|
+
*/
|
|
82
|
+
readonly activeDirectoryConfiguration: pulumi.Output<outputs.fsx.OntapStorageVirtualMachineActiveDirectoryConfiguration | undefined>;
|
|
83
|
+
/**
|
|
84
|
+
* Amazon Resource Name of the storage virtual machine.
|
|
85
|
+
*/
|
|
86
|
+
readonly arn: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The endpoints that are used to access data or to manage the storage virtual machine using the NetApp ONTAP CLI, REST API, or NetApp SnapMirror. See Endpoints below.
|
|
89
|
+
*/
|
|
90
|
+
readonly endpoints: pulumi.Output<outputs.fsx.OntapStorageVirtualMachineEndpoint[]>;
|
|
91
|
+
/**
|
|
92
|
+
* The ID of the Amazon FSx ONTAP File System that this SVM will be created on.
|
|
93
|
+
*/
|
|
94
|
+
readonly fileSystemId: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* The name of the SVM. You can use a maximum of 47 alphanumeric characters, plus the underscore (_) special character.
|
|
97
|
+
*/
|
|
98
|
+
readonly name: pulumi.Output<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Specifies the root volume security style, Valid values are `UNIX`, `NTFS`, and `MIXED`. All volumes created under this SVM will inherit the root security style unless the security style is specified on the volume. Default value is `UNIX`.
|
|
101
|
+
*/
|
|
102
|
+
readonly rootVolumeSecurityStyle: pulumi.Output<string | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* Describes the SVM's subtype, e.g. `DEFAULT`
|
|
105
|
+
*/
|
|
106
|
+
readonly subtype: pulumi.Output<string>;
|
|
107
|
+
readonly svmAdminPassword: pulumi.Output<string | undefined>;
|
|
108
|
+
/**
|
|
109
|
+
* A map of tags to assign to the storage virtual machine. 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.
|
|
110
|
+
*/
|
|
111
|
+
readonly tags: pulumi.Output<{
|
|
112
|
+
[key: string]: string;
|
|
113
|
+
} | undefined>;
|
|
114
|
+
/**
|
|
115
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
116
|
+
*/
|
|
117
|
+
readonly tagsAll: pulumi.Output<{
|
|
118
|
+
[key: string]: string;
|
|
119
|
+
}>;
|
|
120
|
+
/**
|
|
121
|
+
* The SVM's UUID (universally unique identifier).
|
|
122
|
+
*/
|
|
123
|
+
readonly uuid: pulumi.Output<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Create a OntapStorageVirtualMachine resource with the given unique name, arguments, and options.
|
|
126
|
+
*
|
|
127
|
+
* @param name The _unique_ name of the resource.
|
|
128
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
129
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
130
|
+
*/
|
|
131
|
+
constructor(name: string, args: OntapStorageVirtualMachineArgs, opts?: pulumi.CustomResourceOptions);
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Input properties used for looking up and filtering OntapStorageVirtualMachine resources.
|
|
135
|
+
*/
|
|
136
|
+
export interface OntapStorageVirtualMachineState {
|
|
137
|
+
/**
|
|
138
|
+
* Configuration block that Amazon FSx uses to join the FSx ONTAP Storage Virtual Machine(SVM) to your Microsoft Active Directory (AD) directory. Detailed below.
|
|
139
|
+
*/
|
|
140
|
+
activeDirectoryConfiguration?: pulumi.Input<inputs.fsx.OntapStorageVirtualMachineActiveDirectoryConfiguration>;
|
|
141
|
+
/**
|
|
142
|
+
* Amazon Resource Name of the storage virtual machine.
|
|
143
|
+
*/
|
|
144
|
+
arn?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* The endpoints that are used to access data or to manage the storage virtual machine using the NetApp ONTAP CLI, REST API, or NetApp SnapMirror. See Endpoints below.
|
|
147
|
+
*/
|
|
148
|
+
endpoints?: pulumi.Input<pulumi.Input<inputs.fsx.OntapStorageVirtualMachineEndpoint>[]>;
|
|
149
|
+
/**
|
|
150
|
+
* The ID of the Amazon FSx ONTAP File System that this SVM will be created on.
|
|
151
|
+
*/
|
|
152
|
+
fileSystemId?: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* The name of the SVM. You can use a maximum of 47 alphanumeric characters, plus the underscore (_) special character.
|
|
155
|
+
*/
|
|
156
|
+
name?: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* Specifies the root volume security style, Valid values are `UNIX`, `NTFS`, and `MIXED`. All volumes created under this SVM will inherit the root security style unless the security style is specified on the volume. Default value is `UNIX`.
|
|
159
|
+
*/
|
|
160
|
+
rootVolumeSecurityStyle?: pulumi.Input<string>;
|
|
161
|
+
/**
|
|
162
|
+
* Describes the SVM's subtype, e.g. `DEFAULT`
|
|
163
|
+
*/
|
|
164
|
+
subtype?: pulumi.Input<string>;
|
|
165
|
+
svmAdminPassword?: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* A map of tags to assign to the storage virtual machine. 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.
|
|
168
|
+
*/
|
|
169
|
+
tags?: pulumi.Input<{
|
|
170
|
+
[key: string]: pulumi.Input<string>;
|
|
171
|
+
}>;
|
|
172
|
+
/**
|
|
173
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
174
|
+
*/
|
|
175
|
+
tagsAll?: pulumi.Input<{
|
|
176
|
+
[key: string]: pulumi.Input<string>;
|
|
177
|
+
}>;
|
|
178
|
+
/**
|
|
179
|
+
* The SVM's UUID (universally unique identifier).
|
|
180
|
+
*/
|
|
181
|
+
uuid?: pulumi.Input<string>;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* The set of arguments for constructing a OntapStorageVirtualMachine resource.
|
|
185
|
+
*/
|
|
186
|
+
export interface OntapStorageVirtualMachineArgs {
|
|
187
|
+
/**
|
|
188
|
+
* Configuration block that Amazon FSx uses to join the FSx ONTAP Storage Virtual Machine(SVM) to your Microsoft Active Directory (AD) directory. Detailed below.
|
|
189
|
+
*/
|
|
190
|
+
activeDirectoryConfiguration?: pulumi.Input<inputs.fsx.OntapStorageVirtualMachineActiveDirectoryConfiguration>;
|
|
191
|
+
/**
|
|
192
|
+
* The ID of the Amazon FSx ONTAP File System that this SVM will be created on.
|
|
193
|
+
*/
|
|
194
|
+
fileSystemId: pulumi.Input<string>;
|
|
195
|
+
/**
|
|
196
|
+
* The name of the SVM. You can use a maximum of 47 alphanumeric characters, plus the underscore (_) special character.
|
|
197
|
+
*/
|
|
198
|
+
name?: pulumi.Input<string>;
|
|
199
|
+
/**
|
|
200
|
+
* Specifies the root volume security style, Valid values are `UNIX`, `NTFS`, and `MIXED`. All volumes created under this SVM will inherit the root security style unless the security style is specified on the volume. Default value is `UNIX`.
|
|
201
|
+
*/
|
|
202
|
+
rootVolumeSecurityStyle?: pulumi.Input<string>;
|
|
203
|
+
svmAdminPassword?: pulumi.Input<string>;
|
|
204
|
+
/**
|
|
205
|
+
* A map of tags to assign to the storage virtual machine. 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.
|
|
206
|
+
*/
|
|
207
|
+
tags?: pulumi.Input<{
|
|
208
|
+
[key: string]: pulumi.Input<string>;
|
|
209
|
+
}>;
|
|
210
|
+
}
|
|
@@ -0,0 +1,134 @@
|
|
|
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.OntapStorageVirtualMachine = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a FSx Storage Virtual Machine.
|
|
10
|
+
* See the [FSx ONTAP User Guide](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-svms.html) for more information.
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
* ### Basic Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const test = new aws.fsx.OntapStorageVirtualMachine("test", {fileSystemId: aws_fsx_ontap_file_system.test.id});
|
|
20
|
+
* ```
|
|
21
|
+
* ### Using a Self-Managed Microsoft Active Directory
|
|
22
|
+
*
|
|
23
|
+
* Additional information for using AWS Directory Service with ONTAP File Systems can be found in the [FSx ONTAP Guide](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/self-managed-AD.html).
|
|
24
|
+
*
|
|
25
|
+
* ```typescript
|
|
26
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
27
|
+
* import * as aws from "@pulumi/aws";
|
|
28
|
+
*
|
|
29
|
+
* const test = new aws.fsx.OntapStorageVirtualMachine("test", {
|
|
30
|
+
* fileSystemId: aws_fsx_ontap_file_system.test.id,
|
|
31
|
+
* activeDirectoryConfiguration: {
|
|
32
|
+
* netbiosName: "mysvm",
|
|
33
|
+
* selfManagedActiveDirectoryConfiguration: {
|
|
34
|
+
* dnsIps: [
|
|
35
|
+
* "10.0.0.111",
|
|
36
|
+
* "10.0.0.222",
|
|
37
|
+
* ],
|
|
38
|
+
* domainName: "corp.example.com",
|
|
39
|
+
* password: "avoid-plaintext-passwords",
|
|
40
|
+
* username: "Admin",
|
|
41
|
+
* },
|
|
42
|
+
* },
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* ## Import
|
|
47
|
+
*
|
|
48
|
+
* FSx Storage Virtual Machine can be imported using the `id`, e.g.,
|
|
49
|
+
*
|
|
50
|
+
* ```sh
|
|
51
|
+
* $ pulumi import aws:fsx/ontapStorageVirtualMachine:OntapStorageVirtualMachine example svm-12345678abcdef123
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* Certain resource arguments, like `svm_admin_password` and the `self_managed_active_directory` configuation block `password`, do not have a FSx API method for reading the information after creation. If these arguments are set in the Terraform configuration on an imported resource, Terraform will always show a difference. To workaround this behavior, either omit the argument from the Terraform configuration or use [`ignore_changes`](https://www.terraform.io/docs/configuration/meta-arguments/lifecycle.html#ignore_changes) to hide the difference, e.g., terraform resource "aws_fsx_ontap_storage_virtual_machine" "example" {
|
|
55
|
+
*
|
|
56
|
+
* # ... other configuration ...
|
|
57
|
+
*
|
|
58
|
+
* svm_admin_password = "avoid-plaintext-passwords"
|
|
59
|
+
*
|
|
60
|
+
* # There is no FSx API for reading svm_admin_password
|
|
61
|
+
*
|
|
62
|
+
* lifecycle {
|
|
63
|
+
*
|
|
64
|
+
* ignore_changes = [svm_admin_password]
|
|
65
|
+
*
|
|
66
|
+
* } }
|
|
67
|
+
*/
|
|
68
|
+
class OntapStorageVirtualMachine extends pulumi.CustomResource {
|
|
69
|
+
constructor(name, argsOrState, opts) {
|
|
70
|
+
let inputs = {};
|
|
71
|
+
opts = opts || {};
|
|
72
|
+
if (opts.id) {
|
|
73
|
+
const state = argsOrState;
|
|
74
|
+
inputs["activeDirectoryConfiguration"] = state ? state.activeDirectoryConfiguration : undefined;
|
|
75
|
+
inputs["arn"] = state ? state.arn : undefined;
|
|
76
|
+
inputs["endpoints"] = state ? state.endpoints : undefined;
|
|
77
|
+
inputs["fileSystemId"] = state ? state.fileSystemId : undefined;
|
|
78
|
+
inputs["name"] = state ? state.name : undefined;
|
|
79
|
+
inputs["rootVolumeSecurityStyle"] = state ? state.rootVolumeSecurityStyle : undefined;
|
|
80
|
+
inputs["subtype"] = state ? state.subtype : undefined;
|
|
81
|
+
inputs["svmAdminPassword"] = state ? state.svmAdminPassword : undefined;
|
|
82
|
+
inputs["tags"] = state ? state.tags : undefined;
|
|
83
|
+
inputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
84
|
+
inputs["uuid"] = state ? state.uuid : undefined;
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
const args = argsOrState;
|
|
88
|
+
if ((!args || args.fileSystemId === undefined) && !opts.urn) {
|
|
89
|
+
throw new Error("Missing required property 'fileSystemId'");
|
|
90
|
+
}
|
|
91
|
+
inputs["activeDirectoryConfiguration"] = args ? args.activeDirectoryConfiguration : undefined;
|
|
92
|
+
inputs["fileSystemId"] = args ? args.fileSystemId : undefined;
|
|
93
|
+
inputs["name"] = args ? args.name : undefined;
|
|
94
|
+
inputs["rootVolumeSecurityStyle"] = args ? args.rootVolumeSecurityStyle : undefined;
|
|
95
|
+
inputs["svmAdminPassword"] = args ? args.svmAdminPassword : undefined;
|
|
96
|
+
inputs["tags"] = args ? args.tags : undefined;
|
|
97
|
+
inputs["arn"] = undefined /*out*/;
|
|
98
|
+
inputs["endpoints"] = undefined /*out*/;
|
|
99
|
+
inputs["subtype"] = undefined /*out*/;
|
|
100
|
+
inputs["tagsAll"] = undefined /*out*/;
|
|
101
|
+
inputs["uuid"] = undefined /*out*/;
|
|
102
|
+
}
|
|
103
|
+
if (!opts.version) {
|
|
104
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
105
|
+
}
|
|
106
|
+
super(OntapStorageVirtualMachine.__pulumiType, name, inputs, opts);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Get an existing OntapStorageVirtualMachine resource's state with the given name, ID, and optional extra
|
|
110
|
+
* properties used to qualify the lookup.
|
|
111
|
+
*
|
|
112
|
+
* @param name The _unique_ name of the resulting resource.
|
|
113
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
114
|
+
* @param state Any extra arguments used during the lookup.
|
|
115
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
116
|
+
*/
|
|
117
|
+
static get(name, id, state, opts) {
|
|
118
|
+
return new OntapStorageVirtualMachine(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Returns true if the given object is an instance of OntapStorageVirtualMachine. This is designed to work even
|
|
122
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
123
|
+
*/
|
|
124
|
+
static isInstance(obj) {
|
|
125
|
+
if (obj === undefined || obj === null) {
|
|
126
|
+
return false;
|
|
127
|
+
}
|
|
128
|
+
return obj['__pulumiType'] === OntapStorageVirtualMachine.__pulumiType;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
exports.OntapStorageVirtualMachine = OntapStorageVirtualMachine;
|
|
132
|
+
/** @internal */
|
|
133
|
+
OntapStorageVirtualMachine.__pulumiType = 'aws:fsx/ontapStorageVirtualMachine:OntapStorageVirtualMachine';
|
|
134
|
+
//# sourceMappingURL=ontapStorageVirtualMachine.js.map
|
|
@@ -0,0 +1 @@
|
|
|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