@pulumi/aws 6.0.0-alpha.1 → 6.0.0-alpha.2

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 (141) hide show
  1. package/README.md +4 -4
  2. package/appintegrations/dataIntegration.d.ts +2 -1
  3. package/appintegrations/dataIntegration.js +4 -0
  4. package/appintegrations/dataIntegration.js.map +1 -1
  5. package/auditmanager/accountRegistration.d.ts +109 -0
  6. package/auditmanager/accountRegistration.js +84 -0
  7. package/auditmanager/accountRegistration.js.map +1 -0
  8. package/auditmanager/assessment.d.ts +204 -0
  9. package/auditmanager/assessment.js +118 -0
  10. package/auditmanager/assessment.js.map +1 -0
  11. package/auditmanager/assessmentDelegation.d.ts +144 -0
  12. package/auditmanager/assessmentDelegation.js +99 -0
  13. package/auditmanager/assessmentDelegation.js.map +1 -0
  14. package/auditmanager/assessmentReport.d.ts +118 -0
  15. package/auditmanager/assessmentReport.js +87 -0
  16. package/auditmanager/assessmentReport.js.map +1 -0
  17. package/auditmanager/control.d.ts +186 -0
  18. package/auditmanager/control.js +98 -0
  19. package/auditmanager/control.js.map +1 -0
  20. package/auditmanager/framework.d.ts +163 -0
  21. package/auditmanager/framework.js +95 -0
  22. package/auditmanager/framework.js.map +1 -0
  23. package/auditmanager/frameworkShare.d.ts +123 -0
  24. package/auditmanager/frameworkShare.js +91 -0
  25. package/auditmanager/frameworkShare.js.map +1 -0
  26. package/auditmanager/getControl.d.ts +146 -0
  27. package/auditmanager/getControl.js +117 -0
  28. package/auditmanager/getControl.js.map +1 -0
  29. package/auditmanager/getFramework.d.ts +74 -0
  30. package/auditmanager/getFramework.js +53 -0
  31. package/auditmanager/getFramework.js.map +1 -0
  32. package/auditmanager/index.d.ts +30 -0
  33. package/auditmanager/index.js +63 -0
  34. package/auditmanager/index.js.map +1 -0
  35. package/auditmanager/organizationAdminAccountRegistration.d.ts +77 -0
  36. package/auditmanager/organizationAdminAccountRegistration.js +75 -0
  37. package/auditmanager/organizationAdminAccountRegistration.js.map +1 -0
  38. package/chime/sdkvoiceVoiceProfileDomain.d.ts +2 -1
  39. package/chime/sdkvoiceVoiceProfileDomain.js +4 -0
  40. package/chime/sdkvoiceVoiceProfileDomain.js.map +1 -1
  41. package/cloudfront/fieldLevelEncryptionProfile.d.ts +1 -0
  42. package/cloudfront/fieldLevelEncryptionProfile.js +1 -0
  43. package/cloudfront/fieldLevelEncryptionProfile.js.map +1 -1
  44. package/cloudfront/keyGroup.d.ts +1 -0
  45. package/cloudfront/keyGroup.js +1 -0
  46. package/cloudfront/keyGroup.js.map +1 -1
  47. package/cloudfront/publicKey.d.ts +1 -0
  48. package/cloudfront/publicKey.js +1 -0
  49. package/cloudfront/publicKey.js.map +1 -1
  50. package/directoryservice/index.d.ts +3 -0
  51. package/directoryservice/index.js +6 -1
  52. package/directoryservice/index.js.map +1 -1
  53. package/directoryservice/trust.d.ts +282 -0
  54. package/directoryservice/trust.js +166 -0
  55. package/directoryservice/trust.js.map +1 -0
  56. package/ec2/securityGroup.d.ts +1 -1
  57. package/ec2/securityGroup.js +1 -1
  58. package/ec2/securityGroupRule.d.ts +2 -2
  59. package/ec2/securityGroupRule.js +2 -2
  60. package/emrcontainers/jobTemplate.d.ts +11 -8
  61. package/emrcontainers/jobTemplate.js +13 -7
  62. package/emrcontainers/jobTemplate.js.map +1 -1
  63. package/glue/dataQualityRuleset.d.ts +8 -2
  64. package/glue/dataQualityRuleset.js +10 -1
  65. package/glue/dataQualityRuleset.js.map +1 -1
  66. package/index.d.ts +4 -1
  67. package/index.js +10 -4
  68. package/index.js.map +1 -1
  69. package/medialive/index.d.ts +3 -0
  70. package/medialive/index.js +6 -1
  71. package/medialive/index.js.map +1 -1
  72. package/medialive/multiplexProgram.d.ts +130 -0
  73. package/medialive/multiplexProgram.js +109 -0
  74. package/medialive/multiplexProgram.js.map +1 -0
  75. package/package.json +2 -2
  76. package/package.json.dev +2 -2
  77. package/quicksight/folderMembership.d.ts +115 -0
  78. package/quicksight/folderMembership.js +89 -0
  79. package/quicksight/folderMembership.js.map +1 -0
  80. package/quicksight/iamPolicyAssignment.d.ts +152 -0
  81. package/quicksight/iamPolicyAssignment.js +95 -0
  82. package/quicksight/iamPolicyAssignment.js.map +1 -0
  83. package/quicksight/index.d.ts +21 -0
  84. package/quicksight/index.js +36 -1
  85. package/quicksight/index.js.map +1 -1
  86. package/quicksight/ingestion.d.ts +131 -0
  87. package/quicksight/ingestion.js +93 -0
  88. package/quicksight/ingestion.js.map +1 -0
  89. package/quicksight/namespace.d.ts +158 -0
  90. package/quicksight/namespace.js +89 -0
  91. package/quicksight/namespace.js.map +1 -0
  92. package/quicksight/refreshSchedule.d.ts +130 -0
  93. package/quicksight/refreshSchedule.js +93 -0
  94. package/quicksight/refreshSchedule.js.map +1 -0
  95. package/quicksight/templateAlias.d.ts +123 -0
  96. package/quicksight/templateAlias.js +91 -0
  97. package/quicksight/templateAlias.js.map +1 -0
  98. package/quicksight/vpcConnection.d.ts +236 -0
  99. package/quicksight/vpcConnection.js +145 -0
  100. package/quicksight/vpcConnection.js.map +1 -0
  101. package/rds/exportTask.d.ts +299 -0
  102. package/rds/exportTask.js +198 -0
  103. package/rds/exportTask.js.map +1 -0
  104. package/rds/index.d.ts +3 -0
  105. package/rds/index.js +6 -1
  106. package/rds/index.js.map +1 -1
  107. package/resourceexplorer/index.d.ts +6 -0
  108. package/resourceexplorer/index.js +27 -0
  109. package/resourceexplorer/index.js.map +1 -0
  110. package/resourceexplorer/index_.d.ts +111 -0
  111. package/resourceexplorer/index_.js +80 -0
  112. package/resourceexplorer/index_.js.map +1 -0
  113. package/resourceexplorer/view.d.ts +155 -0
  114. package/resourceexplorer/view.js +95 -0
  115. package/resourceexplorer/view.js.map +1 -0
  116. package/route53/cidrCollection.d.ts +84 -0
  117. package/route53/cidrCollection.js +76 -0
  118. package/route53/cidrCollection.js.map +1 -0
  119. package/route53/cidrLocation.d.ts +100 -0
  120. package/route53/cidrLocation.js +90 -0
  121. package/route53/cidrLocation.js.map +1 -0
  122. package/route53/index.d.ts +6 -0
  123. package/route53/index.js +11 -1
  124. package/route53/index.js.map +1 -1
  125. package/types/input.d.ts +345 -2
  126. package/types/output.d.ts +298 -2
  127. package/vpc/getSecurityGroupRule.d.ts +117 -0
  128. package/vpc/getSecurityGroupRule.js +49 -0
  129. package/vpc/getSecurityGroupRule.js.map +1 -0
  130. package/vpc/getSecurityGroupRules.d.ts +91 -0
  131. package/vpc/getSecurityGroupRules.js +55 -0
  132. package/vpc/getSecurityGroupRules.js.map +1 -0
  133. package/vpc/index.d.ts +12 -0
  134. package/vpc/index.js +33 -0
  135. package/vpc/index.js.map +1 -0
  136. package/vpc/securityGroupEgressRule.d.ts +223 -0
  137. package/vpc/securityGroupEgressRule.js +109 -0
  138. package/vpc/securityGroupEgressRule.js.map +1 -0
  139. package/vpc/securityGroupIngressRule.d.ts +223 -0
  140. package/vpc/securityGroupIngressRule.js +109 -0
  141. package/vpc/securityGroupIngressRule.js.map +1 -0
@@ -16,6 +16,7 @@ import * as outputs from "../types/output";
16
16
  * deletionWindowInDays: 7,
17
17
  * });
18
18
  * const exampleSdkvoiceVoiceProfileDomain = new aws.chime.SdkvoiceVoiceProfileDomain("exampleSdkvoiceVoiceProfileDomain", {
19
+ * name: "ExampleVoiceProfileDomain",
19
20
  * serverSideEncryptionConfiguration: {
20
21
  * kmsKeyArn: exampleKey.arn,
21
22
  * },
@@ -119,7 +120,7 @@ export interface SdkvoiceVoiceProfileDomainArgs {
119
120
  /**
120
121
  * Name of Voice Profile Domain.
121
122
  */
122
- name?: pulumi.Input<string>;
123
+ name: pulumi.Input<string>;
123
124
  /**
124
125
  * Configuration for server side encryption.
125
126
  */
@@ -20,6 +20,7 @@ const utilities = require("../utilities");
20
20
  * deletionWindowInDays: 7,
21
21
  * });
22
22
  * const exampleSdkvoiceVoiceProfileDomain = new aws.chime.SdkvoiceVoiceProfileDomain("exampleSdkvoiceVoiceProfileDomain", {
23
+ * name: "ExampleVoiceProfileDomain",
23
24
  * serverSideEncryptionConfiguration: {
24
25
  * kmsKeyArn: exampleKey.arn,
25
26
  * },
@@ -75,6 +76,9 @@ class SdkvoiceVoiceProfileDomain extends pulumi.CustomResource {
75
76
  }
76
77
  else {
77
78
  const args = argsOrState;
79
+ if ((!args || args.name === undefined) && !opts.urn) {
80
+ throw new Error("Missing required property 'name'");
81
+ }
78
82
  if ((!args || args.serverSideEncryptionConfiguration === undefined) && !opts.urn) {
79
83
  throw new Error("Missing required property 'serverSideEncryptionConfiguration'");
80
84
  }
@@ -1 +1 @@
1
- {"version":3,"file":"sdkvoiceVoiceProfileDomain.js","sourceRoot":"","sources":["../../chime/sdkvoiceVoiceProfileDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjF,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,0BAA0B,CAAC,YAAY,CAAC;IAC3E,CAAC;IA6BD,YAAY,IAAY,EAAE,WAA8E,EAAE,IAAmC;QACzI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0D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AC,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,mCAAmC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC,CAAC,SAAS,CAAC;YAChH,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;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AAnFL,gEAoFC;AAtEG,gBAAgB;AACO,uCAAY,GAAG,iEAAiE,CAAC"}
@@ -14,6 +14,7 @@ import * as outputs from "../types/output";
14
14
  * const example = new aws.cloudfront.PublicKey("example", {
15
15
  * comment: "test public key",
16
16
  * encodedKey: fs.readFileSync("public_key.pem"),
17
+ * name: "test_key",
17
18
  * });
18
19
  * const test = new aws.cloudfront.FieldLevelEncryptionProfile("test", {
19
20
  * comment: "test comment",
@@ -18,6 +18,7 @@ const utilities = require("../utilities");
18
18
  * const example = new aws.cloudfront.PublicKey("example", {
19
19
  * comment: "test public key",
20
20
  * encodedKey: fs.readFileSync("public_key.pem"),
21
+ * name: "test_key",
21
22
  * });
22
23
  * const test = new aws.cloudfront.FieldLevelEncryptionProfile("test", {
23
24
  * comment: "test comment",
@@ -1 +1 @@
1
- {"version":3,"file":"fieldLevelEncryptionProfile.js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AM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;aAAM;YACH,MAAM,IAAI,GAAG,WAA0D,CAAC;YACxE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,kBAAkB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/D,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;aACrE;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,2BAA2B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChF,CAAC;;AAhFL,kEAiFC;AAnEG,gBAAgB;AACO,wCAAY,GAAG,wEAAwE,CAAC"}
@@ -12,6 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
12
12
  * const examplePublicKey = new aws.cloudfront.PublicKey("examplePublicKey", {
13
13
  * comment: "example public key",
14
14
  * encodedKey: fs.readFileSync("public_key.pem"),
15
+ * name: "example-key",
15
16
  * });
16
17
  * const exampleKeyGroup = new aws.cloudfront.KeyGroup("exampleKeyGroup", {
17
18
  * comment: "example key group",
@@ -18,6 +18,7 @@ const utilities = require("../utilities");
18
18
  * const examplePublicKey = new aws.cloudfront.PublicKey("examplePublicKey", {
19
19
  * comment: "example public key",
20
20
  * encodedKey: fs.readFileSync("public_key.pem"),
21
+ * name: "example-key",
21
22
  * });
22
23
  * const exampleKeyGroup = new aws.cloudfront.KeyGroup("exampleKeyGroup", {
23
24
  * comment: "example key group",
@@ -1 +1 @@
1
- {"version":3,"file":"keyGroup.js","sourceRoot":"","sources":["../../cloudfront/keyGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IA2BD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,C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AI,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;aAAM;YACH,MAAM,IAAI,GAAG,WAAuC,CAAC;YACrD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA1EL,4BA2EC;AA7DG,gBAAgB;AACO,qBAAY,GAAG,kCAAkC,CAAC"}
@@ -12,6 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
12
12
  * const example = new aws.cloudfront.PublicKey("example", {
13
13
  * comment: "test public key",
14
14
  * encodedKey: fs.readFileSync("public_key.pem"),
15
+ * name: "test_key",
15
16
  * });
16
17
  * ```
17
18
  *
@@ -18,6 +18,7 @@ const utilities = require("../utilities");
18
18
  * const example = new aws.cloudfront.PublicKey("example", {
19
19
  * comment: "test public key",
20
20
  * encodedKey: fs.readFileSync("public_key.pem"),
21
+ * name: "test_key",
21
22
  * });
22
23
  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,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAxFL,8BAyFC;AA3EG,gBAAgB;AACO,sBAAY,GAAG,oCAAoC,CAAC"}
@@ -22,3 +22,6 @@ export declare const SharedDirectory: typeof import("./sharedDirectory").SharedD
22
22
  export { SharedDirectoryAccepterArgs, SharedDirectoryAccepterState } from "./sharedDirectoryAccepter";
23
23
  export type SharedDirectoryAccepter = import("./sharedDirectoryAccepter").SharedDirectoryAccepter;
24
24
  export declare const SharedDirectoryAccepter: typeof import("./sharedDirectoryAccepter").SharedDirectoryAccepter;
25
+ export { TrustArgs, TrustState } from "./trust";
26
+ export type Trust = import("./trust").Trust;
27
+ export declare const Trust: typeof import("./trust").Trust;
@@ -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.SharedDirectoryAccepter = exports.SharedDirectory = exports.ServiceRegion = exports.RadiusSettings = exports.LogService = exports.getDirectoryOutput = exports.getDirectory = exports.Directory = exports.ConditionalForwader = void 0;
5
+ exports.Trust = exports.SharedDirectoryAccepter = exports.SharedDirectory = exports.ServiceRegion = exports.RadiusSettings = exports.LogService = exports.getDirectoryOutput = exports.getDirectory = exports.Directory = exports.ConditionalForwader = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.ConditionalForwader = null;
@@ -22,6 +22,8 @@ exports.SharedDirectory = null;
22
22
  utilities.lazyLoad(exports, ["SharedDirectory"], () => require("./sharedDirectory"));
23
23
  exports.SharedDirectoryAccepter = null;
24
24
  utilities.lazyLoad(exports, ["SharedDirectoryAccepter"], () => require("./sharedDirectoryAccepter"));
25
+ exports.Trust = null;
26
+ utilities.lazyLoad(exports, ["Trust"], () => require("./trust"));
25
27
  const _module = {
26
28
  version: utilities.getVersion(),
27
29
  construct: (name, type, urn) => {
@@ -40,6 +42,8 @@ const _module = {
40
42
  return new exports.SharedDirectory(name, undefined, { urn });
41
43
  case "aws:directoryservice/sharedDirectoryAccepter:SharedDirectoryAccepter":
42
44
  return new exports.SharedDirectoryAccepter(name, undefined, { urn });
45
+ case "aws:directoryservice/trust:Trust":
46
+ return new exports.Trust(name, undefined, { urn });
43
47
  default:
44
48
  throw new Error(`unknown resource type ${type}`);
45
49
  }
@@ -52,4 +56,5 @@ pulumi.runtime.registerResourceModule("aws", "directoryservice/radiusSettings",
52
56
  pulumi.runtime.registerResourceModule("aws", "directoryservice/serviceRegion", _module);
53
57
  pulumi.runtime.registerResourceModule("aws", "directoryservice/sharedDirectory", _module);
54
58
  pulumi.runtime.registerResourceModule("aws", "directoryservice/sharedDirectoryAccepter", _module);
59
+ pulumi.runtime.registerResourceModule("aws", "directoryservice/trust", _module);
55
60
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../directoryservice/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,mBAAmB,GAA+D,IAAW,CAAC;AAC3G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,qBAAqB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC,CAAC;AAIhF,QAAA,SAAS,GAA2C,IAAW,CAAC;AAC7E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAG5D,QAAA,YAAY,GAAiD,IAAW,CAAC;AACzE,QAAA,kBAAkB,GAAuD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,EAAC,oBAAoB,CAAC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Ae,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC7D,KAAK,sEAAsE;gBACvE,OAAO,IAAI,+BAAuB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrE,KAAK,kCAAkC;gBACnC,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,sCAAsC,EAAE,OAAO,CAAC,CAAA;AAC7F,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,iCAAiC,EAAE,OAAO,CAAC,CAAA;AACxF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA;AACvF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,kCAAkC,EAAE,OAAO,CAAC,CAAA;AACzF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,0CAA0C,EAAE,OAAO,CAAC,CAAA;AACjG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,282 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Manages a trust relationship between two Active Directory Directories.
4
+ *
5
+ * The directories may either be both AWS Managed Microsoft AD domains or an AWS Managed Microsoft AD domain and a self-managed Active Directory Domain.
6
+ *
7
+ * The Trust relationship must be configured on both sides of the relationship.
8
+ * If a Trust has only been created on one side, it will be in the state `VerifyFailed`.
9
+ * Once the second Trust is created, the first will update to the correct state.
10
+ *
11
+ * ## Example Usage
12
+ * ### Two-Way Trust
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as aws from "@pulumi/aws";
17
+ *
18
+ * const oneDirectory = new aws.directoryservice.Directory("oneDirectory", {
19
+ * name: "one.example.com",
20
+ * type: "MicrosoftAD",
21
+ * });
22
+ * // ...
23
+ * const twoDirectory = new aws.directoryservice.Directory("twoDirectory", {
24
+ * name: "two.example.com",
25
+ * type: "MicrosoftAD",
26
+ * });
27
+ * // ...
28
+ * const oneTrust = new aws.directoryservice.Trust("oneTrust", {
29
+ * directoryId: oneDirectory.id,
30
+ * remoteDomainName: twoDirectory.name,
31
+ * trustDirection: "Two-Way",
32
+ * trustPassword: "Some0therPassword",
33
+ * conditionalForwarderIpAddrs: twoDirectory.dnsIpAddresses,
34
+ * });
35
+ * const twoTrust = new aws.directoryservice.Trust("twoTrust", {
36
+ * directoryId: twoDirectory.id,
37
+ * remoteDomainName: oneDirectory.name,
38
+ * trustDirection: "Two-Way",
39
+ * trustPassword: "Some0therPassword",
40
+ * conditionalForwarderIpAddrs: oneDirectory.dnsIpAddresses,
41
+ * });
42
+ * ```
43
+ * ### One-Way Trust
44
+ *
45
+ * ```typescript
46
+ * import * as pulumi from "@pulumi/pulumi";
47
+ * import * as aws from "@pulumi/aws";
48
+ *
49
+ * const oneDirectory = new aws.directoryservice.Directory("oneDirectory", {
50
+ * name: "one.example.com",
51
+ * type: "MicrosoftAD",
52
+ * });
53
+ * // ...
54
+ * const twoDirectory = new aws.directoryservice.Directory("twoDirectory", {
55
+ * name: "two.example.com",
56
+ * type: "MicrosoftAD",
57
+ * });
58
+ * // ...
59
+ * const oneTrust = new aws.directoryservice.Trust("oneTrust", {
60
+ * directoryId: oneDirectory.id,
61
+ * remoteDomainName: twoDirectory.name,
62
+ * trustDirection: "One-Way: Incoming",
63
+ * trustPassword: "Some0therPassword",
64
+ * conditionalForwarderIpAddrs: twoDirectory.dnsIpAddresses,
65
+ * });
66
+ * const twoTrust = new aws.directoryservice.Trust("twoTrust", {
67
+ * directoryId: twoDirectory.id,
68
+ * remoteDomainName: oneDirectory.name,
69
+ * trustDirection: "One-Way: Outgoing",
70
+ * trustPassword: "Some0therPassword",
71
+ * conditionalForwarderIpAddrs: oneDirectory.dnsIpAddresses,
72
+ * });
73
+ * ```
74
+ *
75
+ * ## Import
76
+ *
77
+ * The Trust relationsiop can be imported using the directory ID and remote domain name, separated by a `/`, e.g.,
78
+ *
79
+ * ```sh
80
+ * $ pulumi import aws:directoryservice/trust:Trust example d-926724cf57/directory.example.com
81
+ * ```
82
+ */
83
+ export declare class Trust extends pulumi.CustomResource {
84
+ /**
85
+ * Get an existing Trust resource's state with the given name, ID, and optional extra
86
+ * properties used to qualify the lookup.
87
+ *
88
+ * @param name The _unique_ name of the resulting resource.
89
+ * @param id The _unique_ provider ID of the resource to lookup.
90
+ * @param state Any extra arguments used during the lookup.
91
+ * @param opts Optional settings to control the behavior of the CustomResource.
92
+ */
93
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TrustState, opts?: pulumi.CustomResourceOptions): Trust;
94
+ /**
95
+ * Returns true if the given object is an instance of Trust. This is designed to work even
96
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
97
+ */
98
+ static isInstance(obj: any): obj is Trust;
99
+ /**
100
+ * Set of IPv4 addresses for the DNS server associated with the remote Directory.
101
+ * Can contain between 1 and 4 values.
102
+ */
103
+ readonly conditionalForwarderIpAddrs: pulumi.Output<string[] | undefined>;
104
+ /**
105
+ * Date and time when the Trust was created.
106
+ */
107
+ readonly createdDateTime: pulumi.Output<string>;
108
+ /**
109
+ * Whether to delete the conditional forwarder when deleting the Trust relationship.
110
+ */
111
+ readonly deleteAssociatedConditionalForwarder: pulumi.Output<boolean>;
112
+ /**
113
+ * ID of the Directory.
114
+ */
115
+ readonly directoryId: pulumi.Output<string>;
116
+ /**
117
+ * Date and time when the Trust was last updated.
118
+ */
119
+ readonly lastUpdatedDateTime: pulumi.Output<string>;
120
+ /**
121
+ * Fully qualified domain name of the remote Directory.
122
+ */
123
+ readonly remoteDomainName: pulumi.Output<string>;
124
+ /**
125
+ * Whether to enable selective authentication.
126
+ * Valid values are `Enabled` and `Disabled`.
127
+ * Default value is `Disabled`.
128
+ */
129
+ readonly selectiveAuth: pulumi.Output<string>;
130
+ /**
131
+ * Date and time when the Trust state in `trustState` was last updated.
132
+ */
133
+ readonly stateLastUpdatedDateTime: pulumi.Output<string>;
134
+ /**
135
+ * The direction of the Trust relationship.
136
+ * Valid values are `One-Way: Outgoing`, `One-Way: Incoming`, and `Two-Way`.
137
+ */
138
+ readonly trustDirection: pulumi.Output<string>;
139
+ /**
140
+ * Password for the Trust.
141
+ * Does not need to match the passwords for either Directory.
142
+ * Can contain upper- and lower-case letters, numbers, and punctuation characters.
143
+ * May be up to 128 characters long.
144
+ */
145
+ readonly trustPassword: pulumi.Output<string>;
146
+ /**
147
+ * State of the Trust relationship.
148
+ * One of `Created`, `VerifyFailed`,`Verified`, `UpdateFailed`,`Updated`,`Deleted`, or `Failed`.
149
+ */
150
+ readonly trustState: pulumi.Output<string>;
151
+ /**
152
+ * Reason for the Trust state set in `trustState`.
153
+ */
154
+ readonly trustStateReason: pulumi.Output<string>;
155
+ /**
156
+ * Type of the Trust relationship.
157
+ * Valid values are `Forest` and `External`.
158
+ * Default value is `Forest`.
159
+ */
160
+ readonly trustType: pulumi.Output<string>;
161
+ /**
162
+ * Create a Trust resource with the given unique name, arguments, and options.
163
+ *
164
+ * @param name The _unique_ name of the resource.
165
+ * @param args The arguments to use to populate this resource's properties.
166
+ * @param opts A bag of options that control this resource's behavior.
167
+ */
168
+ constructor(name: string, args: TrustArgs, opts?: pulumi.CustomResourceOptions);
169
+ }
170
+ /**
171
+ * Input properties used for looking up and filtering Trust resources.
172
+ */
173
+ export interface TrustState {
174
+ /**
175
+ * Set of IPv4 addresses for the DNS server associated with the remote Directory.
176
+ * Can contain between 1 and 4 values.
177
+ */
178
+ conditionalForwarderIpAddrs?: pulumi.Input<pulumi.Input<string>[]>;
179
+ /**
180
+ * Date and time when the Trust was created.
181
+ */
182
+ createdDateTime?: pulumi.Input<string>;
183
+ /**
184
+ * Whether to delete the conditional forwarder when deleting the Trust relationship.
185
+ */
186
+ deleteAssociatedConditionalForwarder?: pulumi.Input<boolean>;
187
+ /**
188
+ * ID of the Directory.
189
+ */
190
+ directoryId?: pulumi.Input<string>;
191
+ /**
192
+ * Date and time when the Trust was last updated.
193
+ */
194
+ lastUpdatedDateTime?: pulumi.Input<string>;
195
+ /**
196
+ * Fully qualified domain name of the remote Directory.
197
+ */
198
+ remoteDomainName?: pulumi.Input<string>;
199
+ /**
200
+ * Whether to enable selective authentication.
201
+ * Valid values are `Enabled` and `Disabled`.
202
+ * Default value is `Disabled`.
203
+ */
204
+ selectiveAuth?: pulumi.Input<string>;
205
+ /**
206
+ * Date and time when the Trust state in `trustState` was last updated.
207
+ */
208
+ stateLastUpdatedDateTime?: pulumi.Input<string>;
209
+ /**
210
+ * The direction of the Trust relationship.
211
+ * Valid values are `One-Way: Outgoing`, `One-Way: Incoming`, and `Two-Way`.
212
+ */
213
+ trustDirection?: pulumi.Input<string>;
214
+ /**
215
+ * Password for the Trust.
216
+ * Does not need to match the passwords for either Directory.
217
+ * Can contain upper- and lower-case letters, numbers, and punctuation characters.
218
+ * May be up to 128 characters long.
219
+ */
220
+ trustPassword?: pulumi.Input<string>;
221
+ /**
222
+ * State of the Trust relationship.
223
+ * One of `Created`, `VerifyFailed`,`Verified`, `UpdateFailed`,`Updated`,`Deleted`, or `Failed`.
224
+ */
225
+ trustState?: pulumi.Input<string>;
226
+ /**
227
+ * Reason for the Trust state set in `trustState`.
228
+ */
229
+ trustStateReason?: pulumi.Input<string>;
230
+ /**
231
+ * Type of the Trust relationship.
232
+ * Valid values are `Forest` and `External`.
233
+ * Default value is `Forest`.
234
+ */
235
+ trustType?: pulumi.Input<string>;
236
+ }
237
+ /**
238
+ * The set of arguments for constructing a Trust resource.
239
+ */
240
+ export interface TrustArgs {
241
+ /**
242
+ * Set of IPv4 addresses for the DNS server associated with the remote Directory.
243
+ * Can contain between 1 and 4 values.
244
+ */
245
+ conditionalForwarderIpAddrs?: pulumi.Input<pulumi.Input<string>[]>;
246
+ /**
247
+ * Whether to delete the conditional forwarder when deleting the Trust relationship.
248
+ */
249
+ deleteAssociatedConditionalForwarder?: pulumi.Input<boolean>;
250
+ /**
251
+ * ID of the Directory.
252
+ */
253
+ directoryId: pulumi.Input<string>;
254
+ /**
255
+ * Fully qualified domain name of the remote Directory.
256
+ */
257
+ remoteDomainName: pulumi.Input<string>;
258
+ /**
259
+ * Whether to enable selective authentication.
260
+ * Valid values are `Enabled` and `Disabled`.
261
+ * Default value is `Disabled`.
262
+ */
263
+ selectiveAuth?: pulumi.Input<string>;
264
+ /**
265
+ * The direction of the Trust relationship.
266
+ * Valid values are `One-Way: Outgoing`, `One-Way: Incoming`, and `Two-Way`.
267
+ */
268
+ trustDirection: pulumi.Input<string>;
269
+ /**
270
+ * Password for the Trust.
271
+ * Does not need to match the passwords for either Directory.
272
+ * Can contain upper- and lower-case letters, numbers, and punctuation characters.
273
+ * May be up to 128 characters long.
274
+ */
275
+ trustPassword: pulumi.Input<string>;
276
+ /**
277
+ * Type of the Trust relationship.
278
+ * Valid values are `Forest` and `External`.
279
+ * Default value is `Forest`.
280
+ */
281
+ trustType?: pulumi.Input<string>;
282
+ }
@@ -0,0 +1,166 @@
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.Trust = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages a trust relationship between two Active Directory Directories.
10
+ *
11
+ * The directories may either be both AWS Managed Microsoft AD domains or an AWS Managed Microsoft AD domain and a self-managed Active Directory Domain.
12
+ *
13
+ * The Trust relationship must be configured on both sides of the relationship.
14
+ * If a Trust has only been created on one side, it will be in the state `VerifyFailed`.
15
+ * Once the second Trust is created, the first will update to the correct state.
16
+ *
17
+ * ## Example Usage
18
+ * ### Two-Way Trust
19
+ *
20
+ * ```typescript
21
+ * import * as pulumi from "@pulumi/pulumi";
22
+ * import * as aws from "@pulumi/aws";
23
+ *
24
+ * const oneDirectory = new aws.directoryservice.Directory("oneDirectory", {
25
+ * name: "one.example.com",
26
+ * type: "MicrosoftAD",
27
+ * });
28
+ * // ...
29
+ * const twoDirectory = new aws.directoryservice.Directory("twoDirectory", {
30
+ * name: "two.example.com",
31
+ * type: "MicrosoftAD",
32
+ * });
33
+ * // ...
34
+ * const oneTrust = new aws.directoryservice.Trust("oneTrust", {
35
+ * directoryId: oneDirectory.id,
36
+ * remoteDomainName: twoDirectory.name,
37
+ * trustDirection: "Two-Way",
38
+ * trustPassword: "Some0therPassword",
39
+ * conditionalForwarderIpAddrs: twoDirectory.dnsIpAddresses,
40
+ * });
41
+ * const twoTrust = new aws.directoryservice.Trust("twoTrust", {
42
+ * directoryId: twoDirectory.id,
43
+ * remoteDomainName: oneDirectory.name,
44
+ * trustDirection: "Two-Way",
45
+ * trustPassword: "Some0therPassword",
46
+ * conditionalForwarderIpAddrs: oneDirectory.dnsIpAddresses,
47
+ * });
48
+ * ```
49
+ * ### One-Way Trust
50
+ *
51
+ * ```typescript
52
+ * import * as pulumi from "@pulumi/pulumi";
53
+ * import * as aws from "@pulumi/aws";
54
+ *
55
+ * const oneDirectory = new aws.directoryservice.Directory("oneDirectory", {
56
+ * name: "one.example.com",
57
+ * type: "MicrosoftAD",
58
+ * });
59
+ * // ...
60
+ * const twoDirectory = new aws.directoryservice.Directory("twoDirectory", {
61
+ * name: "two.example.com",
62
+ * type: "MicrosoftAD",
63
+ * });
64
+ * // ...
65
+ * const oneTrust = new aws.directoryservice.Trust("oneTrust", {
66
+ * directoryId: oneDirectory.id,
67
+ * remoteDomainName: twoDirectory.name,
68
+ * trustDirection: "One-Way: Incoming",
69
+ * trustPassword: "Some0therPassword",
70
+ * conditionalForwarderIpAddrs: twoDirectory.dnsIpAddresses,
71
+ * });
72
+ * const twoTrust = new aws.directoryservice.Trust("twoTrust", {
73
+ * directoryId: twoDirectory.id,
74
+ * remoteDomainName: oneDirectory.name,
75
+ * trustDirection: "One-Way: Outgoing",
76
+ * trustPassword: "Some0therPassword",
77
+ * conditionalForwarderIpAddrs: oneDirectory.dnsIpAddresses,
78
+ * });
79
+ * ```
80
+ *
81
+ * ## Import
82
+ *
83
+ * The Trust relationsiop can be imported using the directory ID and remote domain name, separated by a `/`, e.g.,
84
+ *
85
+ * ```sh
86
+ * $ pulumi import aws:directoryservice/trust:Trust example d-926724cf57/directory.example.com
87
+ * ```
88
+ */
89
+ class Trust extends pulumi.CustomResource {
90
+ /**
91
+ * Get an existing Trust resource's state with the given name, ID, and optional extra
92
+ * properties used to qualify the lookup.
93
+ *
94
+ * @param name The _unique_ name of the resulting resource.
95
+ * @param id The _unique_ provider ID of the resource to lookup.
96
+ * @param state Any extra arguments used during the lookup.
97
+ * @param opts Optional settings to control the behavior of the CustomResource.
98
+ */
99
+ static get(name, id, state, opts) {
100
+ return new Trust(name, state, Object.assign(Object.assign({}, opts), { id: id }));
101
+ }
102
+ /**
103
+ * Returns true if the given object is an instance of Trust. This is designed to work even
104
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
105
+ */
106
+ static isInstance(obj) {
107
+ if (obj === undefined || obj === null) {
108
+ return false;
109
+ }
110
+ return obj['__pulumiType'] === Trust.__pulumiType;
111
+ }
112
+ constructor(name, argsOrState, opts) {
113
+ let resourceInputs = {};
114
+ opts = opts || {};
115
+ if (opts.id) {
116
+ const state = argsOrState;
117
+ resourceInputs["conditionalForwarderIpAddrs"] = state ? state.conditionalForwarderIpAddrs : undefined;
118
+ resourceInputs["createdDateTime"] = state ? state.createdDateTime : undefined;
119
+ resourceInputs["deleteAssociatedConditionalForwarder"] = state ? state.deleteAssociatedConditionalForwarder : undefined;
120
+ resourceInputs["directoryId"] = state ? state.directoryId : undefined;
121
+ resourceInputs["lastUpdatedDateTime"] = state ? state.lastUpdatedDateTime : undefined;
122
+ resourceInputs["remoteDomainName"] = state ? state.remoteDomainName : undefined;
123
+ resourceInputs["selectiveAuth"] = state ? state.selectiveAuth : undefined;
124
+ resourceInputs["stateLastUpdatedDateTime"] = state ? state.stateLastUpdatedDateTime : undefined;
125
+ resourceInputs["trustDirection"] = state ? state.trustDirection : undefined;
126
+ resourceInputs["trustPassword"] = state ? state.trustPassword : undefined;
127
+ resourceInputs["trustState"] = state ? state.trustState : undefined;
128
+ resourceInputs["trustStateReason"] = state ? state.trustStateReason : undefined;
129
+ resourceInputs["trustType"] = state ? state.trustType : undefined;
130
+ }
131
+ else {
132
+ const args = argsOrState;
133
+ if ((!args || args.directoryId === undefined) && !opts.urn) {
134
+ throw new Error("Missing required property 'directoryId'");
135
+ }
136
+ if ((!args || args.remoteDomainName === undefined) && !opts.urn) {
137
+ throw new Error("Missing required property 'remoteDomainName'");
138
+ }
139
+ if ((!args || args.trustDirection === undefined) && !opts.urn) {
140
+ throw new Error("Missing required property 'trustDirection'");
141
+ }
142
+ if ((!args || args.trustPassword === undefined) && !opts.urn) {
143
+ throw new Error("Missing required property 'trustPassword'");
144
+ }
145
+ resourceInputs["conditionalForwarderIpAddrs"] = args ? args.conditionalForwarderIpAddrs : undefined;
146
+ resourceInputs["deleteAssociatedConditionalForwarder"] = args ? args.deleteAssociatedConditionalForwarder : undefined;
147
+ resourceInputs["directoryId"] = args ? args.directoryId : undefined;
148
+ resourceInputs["remoteDomainName"] = args ? args.remoteDomainName : undefined;
149
+ resourceInputs["selectiveAuth"] = args ? args.selectiveAuth : undefined;
150
+ resourceInputs["trustDirection"] = args ? args.trustDirection : undefined;
151
+ resourceInputs["trustPassword"] = args ? args.trustPassword : undefined;
152
+ resourceInputs["trustType"] = args ? args.trustType : undefined;
153
+ resourceInputs["createdDateTime"] = undefined /*out*/;
154
+ resourceInputs["lastUpdatedDateTime"] = undefined /*out*/;
155
+ resourceInputs["stateLastUpdatedDateTime"] = undefined /*out*/;
156
+ resourceInputs["trustState"] = undefined /*out*/;
157
+ resourceInputs["trustStateReason"] = undefined /*out*/;
158
+ }
159
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
160
+ super(Trust.__pulumiType, name, resourceInputs, opts);
161
+ }
162
+ }
163
+ exports.Trust = Trust;
164
+ /** @internal */
165
+ Trust.__pulumiType = 'aws:directoryservice/trust:Trust';
166
+ //# sourceMappingURL=trust.js.map