@pulumi/aws 4.35.0-alpha.1642548637 → 4.36.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 (119) hide show
  1. package/appsync/apiCache.d.ts +132 -0
  2. package/appsync/apiCache.js +97 -0
  3. package/appsync/apiCache.js.map +1 -0
  4. package/appsync/domainName.d.ts +111 -0
  5. package/appsync/domainName.js +88 -0
  6. package/appsync/domainName.js.map +1 -0
  7. package/appsync/domainNameApiAssociation.d.ts +83 -0
  8. package/appsync/domainNameApiAssociation.js +82 -0
  9. package/appsync/domainNameApiAssociation.js.map +1 -0
  10. package/appsync/index.d.ts +3 -0
  11. package/appsync/index.js +15 -0
  12. package/appsync/index.js.map +1 -1
  13. package/cloudfront/getFunction.d.ts +84 -0
  14. package/cloudfront/getFunction.js +41 -0
  15. package/cloudfront/getFunction.js.map +1 -0
  16. package/cloudfront/getOriginAccessIdentity.d.ts +58 -0
  17. package/cloudfront/getOriginAccessIdentity.js +24 -0
  18. package/cloudfront/getOriginAccessIdentity.js.map +1 -0
  19. package/cloudfront/index.d.ts +2 -0
  20. package/cloudfront/index.js +2 -0
  21. package/cloudfront/index.js.map +1 -1
  22. package/cloudsearch/domain.d.ts +138 -0
  23. package/cloudsearch/domain.js +76 -0
  24. package/cloudsearch/domain.js.map +1 -0
  25. package/cloudsearch/domainServiceAccessPolicy.d.ts +69 -0
  26. package/cloudsearch/domainServiceAccessPolicy.js +68 -0
  27. package/cloudsearch/domainServiceAccessPolicy.js.map +1 -0
  28. package/cloudsearch/index.d.ts +2 -0
  29. package/cloudsearch/index.js +38 -0
  30. package/cloudsearch/index.js.map +1 -0
  31. package/cloudtrail/getFunction.d.ts +2 -1
  32. package/cloudtrail/getFunction.js +3 -1
  33. package/cloudtrail/getFunction.js.map +1 -1
  34. package/cloudwatch/eventTarget.d.ts +4 -7
  35. package/cloudwatch/eventTarget.js +4 -7
  36. package/cloudwatch/eventTarget.js.map +1 -1
  37. package/cognito/getUserPoolClients.d.ts +4 -0
  38. package/cognito/getUserPoolClients.js.map +1 -1
  39. package/detective/graph.d.ts +1 -1
  40. package/detective/graph.js +1 -1
  41. package/detective/index.d.ts +2 -0
  42. package/detective/index.js +10 -0
  43. package/detective/index.js.map +1 -1
  44. package/detective/invitationAccepter.d.ts +78 -0
  45. package/detective/invitationAccepter.js +84 -0
  46. package/detective/invitationAccepter.js.map +1 -0
  47. package/detective/member.d.ts +165 -0
  48. package/detective/member.js +107 -0
  49. package/detective/member.js.map +1 -0
  50. package/ec2/getIpamPreviewNextCidr.d.ts +53 -0
  51. package/ec2/getIpamPreviewNextCidr.js +26 -0
  52. package/ec2/getIpamPreviewNextCidr.js.map +1 -0
  53. package/ec2/index.d.ts +1 -0
  54. package/ec2/index.js +1 -0
  55. package/ec2/index.js.map +1 -1
  56. package/elasticloadbalancing/loadBalancerPolicy.d.ts +1 -1
  57. package/elb/loadBalancerPolicy.d.ts +1 -1
  58. package/fsx/dataRepositoryAssociation.d.ts +219 -0
  59. package/fsx/dataRepositoryAssociation.js +129 -0
  60. package/fsx/dataRepositoryAssociation.js.map +1 -0
  61. package/fsx/index.d.ts +1 -0
  62. package/fsx/index.js +5 -0
  63. package/fsx/index.js.map +1 -1
  64. package/fsx/lustreFileSystem.d.ts +47 -33
  65. package/fsx/lustreFileSystem.js +4 -0
  66. package/fsx/lustreFileSystem.js.map +1 -1
  67. package/glue/schema.d.ts +3 -3
  68. package/imagebuilder/getImageRecipe.d.ts +4 -0
  69. package/imagebuilder/getImageRecipe.js.map +1 -1
  70. package/imagebuilder/imageRecipe.d.ts +15 -3
  71. package/imagebuilder/imageRecipe.js +2 -0
  72. package/imagebuilder/imageRecipe.js.map +1 -1
  73. package/index.d.ts +2 -1
  74. package/index.js +6 -4
  75. package/index.js.map +1 -1
  76. package/lambda/eventSourceMapping.d.ts +3 -3
  77. package/lambda/index.d.ts +1 -0
  78. package/lambda/index.js +5 -0
  79. package/lambda/index.js.map +1 -1
  80. package/lambda/invocation.d.ts +114 -0
  81. package/lambda/invocation.js +90 -0
  82. package/lambda/invocation.js.map +1 -0
  83. package/opsworks/customLayer.d.ts +15 -3
  84. package/opsworks/customLayer.js +2 -0
  85. package/opsworks/customLayer.js.map +1 -1
  86. package/opsworks/gangliaLayer.d.ts +3 -0
  87. package/opsworks/gangliaLayer.js +2 -0
  88. package/opsworks/gangliaLayer.js.map +1 -1
  89. package/opsworks/haproxyLayer.d.ts +3 -0
  90. package/opsworks/haproxyLayer.js +2 -0
  91. package/opsworks/haproxyLayer.js.map +1 -1
  92. package/opsworks/javaAppLayer.d.ts +3 -0
  93. package/opsworks/javaAppLayer.js +2 -0
  94. package/opsworks/javaAppLayer.js.map +1 -1
  95. package/opsworks/memcachedLayer.d.ts +3 -0
  96. package/opsworks/memcachedLayer.js +2 -0
  97. package/opsworks/memcachedLayer.js.map +1 -1
  98. package/opsworks/mysqlLayer.d.ts +3 -0
  99. package/opsworks/mysqlLayer.js +2 -0
  100. package/opsworks/mysqlLayer.js.map +1 -1
  101. package/opsworks/nodejsAppLayer.d.ts +3 -0
  102. package/opsworks/nodejsAppLayer.js +2 -0
  103. package/opsworks/nodejsAppLayer.js.map +1 -1
  104. package/opsworks/phpAppLayer.d.ts +3 -0
  105. package/opsworks/phpAppLayer.js +2 -0
  106. package/opsworks/phpAppLayer.js.map +1 -1
  107. package/opsworks/railsAppLayer.d.ts +3 -0
  108. package/opsworks/railsAppLayer.js +2 -0
  109. package/opsworks/railsAppLayer.js.map +1 -1
  110. package/opsworks/staticWebLayer.d.ts +3 -0
  111. package/opsworks/staticWebLayer.js +2 -0
  112. package/opsworks/staticWebLayer.js.map +1 -1
  113. package/package.json +2 -2
  114. package/package.json.dev +1 -1
  115. package/types/enums/iam/index.d.ts +4 -0
  116. package/types/enums/iam/index.js +4 -0
  117. package/types/enums/iam/index.js.map +1 -1
  118. package/types/input.d.ts +295 -0
  119. package/types/output.d.ts +295 -0
@@ -0,0 +1,38 @@
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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
7
+ }) : (function(o, m, k, k2) {
8
+ if (k2 === undefined) k2 = k;
9
+ o[k2] = m[k];
10
+ }));
11
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
12
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ const pulumi = require("@pulumi/pulumi");
16
+ const utilities = require("../utilities");
17
+ // Export members:
18
+ __exportStar(require("./domain"), exports);
19
+ __exportStar(require("./domainServiceAccessPolicy"), exports);
20
+ // Import resources to register:
21
+ const domain_1 = require("./domain");
22
+ const domainServiceAccessPolicy_1 = require("./domainServiceAccessPolicy");
23
+ const _module = {
24
+ version: utilities.getVersion(),
25
+ construct: (name, type, urn) => {
26
+ switch (type) {
27
+ case "aws:cloudsearch/domain:Domain":
28
+ return new domain_1.Domain(name, undefined, { urn });
29
+ case "aws:cloudsearch/domainServiceAccessPolicy:DomainServiceAccessPolicy":
30
+ return new domainServiceAccessPolicy_1.DomainServiceAccessPolicy(name, undefined, { urn });
31
+ default:
32
+ throw new Error(`unknown resource type ${type}`);
33
+ }
34
+ },
35
+ };
36
+ pulumi.runtime.registerResourceModule("aws", "cloudsearch/domain", _module);
37
+ pulumi.runtime.registerResourceModule("aws", "cloudsearch/domainServiceAccessPolicy", _module);
38
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../cloudsearch/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,2CAAyB;AACzB,8DAA4C;AAE5C,gCAAgC;AAChC,qCAAkC;AAClC,2EAAwE;AAExE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,+BAA+B;gBAChC,OAAO,IAAI,eAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,qEAAqE;gBACtE,OAAO,IAAI,qDAAyB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,uCAAuC,EAAE,OAAO,CAAC,CAAA"}
@@ -10,11 +10,12 @@ import * as pulumi from "@pulumi/pulumi";
10
10
  *
11
11
  * const config = new pulumi.Config();
12
12
  * const functionName = config.require("functionName");
13
- * const existing = aws.cloudtrail.getFunction({
13
+ * const existing = aws.cloudfront.getFunction({
14
14
  * name: functionName,
15
15
  * });
16
16
  * ```
17
17
  */
18
+ /** @deprecated aws.cloudtrail.getFunction has been deprecated in favor of aws.cloudfront.getFunction */
18
19
  export declare function getFunction(args: GetFunctionArgs, opts?: pulumi.InvokeOptions): Promise<GetFunctionResult>;
19
20
  /**
20
21
  * A collection of arguments for invoking getFunction.
@@ -16,12 +16,14 @@ const utilities = require("../utilities");
16
16
  *
17
17
  * const config = new pulumi.Config();
18
18
  * const functionName = config.require("functionName");
19
- * const existing = aws.cloudtrail.getFunction({
19
+ * const existing = aws.cloudfront.getFunction({
20
20
  * name: functionName,
21
21
  * });
22
22
  * ```
23
23
  */
24
+ /** @deprecated aws.cloudtrail.getFunction has been deprecated in favor of aws.cloudfront.getFunction */
24
25
  function getFunction(args, opts) {
26
+ pulumi.log.warn("getFunction is deprecated: aws.cloudtrail.getFunction has been deprecated in favor of aws.cloudfront.getFunction");
25
27
  if (!opts) {
26
28
  opts = {};
27
29
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getFunction.js","sourceRoot":"","sources":["../../cloudtrail/getFunction.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,kCAYC;AAwDD,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
1
+ {"version":3,"file":"getFunction.js","sourceRoot":"","sources":["../../cloudtrail/getFunction.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,wGAAwG;AACxG,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,kHAAkH,CAAC,CAAA;IACnI,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,kCAaC;AAwDD,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
@@ -175,9 +175,7 @@ import { input as inputs, output as outputs } from "../types";
175
175
  * import * as pulumi from "@pulumi/pulumi";
176
176
  * import * as aws from "@pulumi/aws";
177
177
  *
178
- * const eventBusInvokeRemoteEventBusRole = aws.iam.getRole({
179
- * name: "event-bus-invoke-remote-event-bus",
180
- * assumeRolePolicy: `{
178
+ * const eventBusInvokeRemoteEventBusRole = new aws.iam.Role("eventBusInvokeRemoteEventBusRole", {assumeRolePolicy: `{
181
179
  * "Version": "2012-10-17",
182
180
  * "Statement": [
183
181
  * {
@@ -189,8 +187,7 @@ import { input as inputs, output as outputs } from "../types";
189
187
  * }
190
188
  * ]
191
189
  * }
192
- * `,
193
- * });
190
+ * `});
194
191
  * const eventBusInvokeRemoteEventBusPolicyDocument = aws.iam.getPolicyDocument({
195
192
  * statements: [{
196
193
  * effect: "Allow",
@@ -200,7 +197,7 @@ import { input as inputs, output as outputs } from "../types";
200
197
  * });
201
198
  * const eventBusInvokeRemoteEventBusPolicy = new aws.iam.Policy("eventBusInvokeRemoteEventBusPolicy", {policy: eventBusInvokeRemoteEventBusPolicyDocument.then(eventBusInvokeRemoteEventBusPolicyDocument => eventBusInvokeRemoteEventBusPolicyDocument.json)});
202
199
  * const eventBusInvokeRemoteEventBusRolePolicyAttachment = new aws.iam.RolePolicyAttachment("eventBusInvokeRemoteEventBusRolePolicyAttachment", {
203
- * role: aws_iam_role.event_bus_invoke_remote_event_bus.name,
200
+ * role: eventBusInvokeRemoteEventBusRole.name,
204
201
  * policyArn: eventBusInvokeRemoteEventBusPolicy.arn,
205
202
  * });
206
203
  * const stopInstancesEventRule = new aws.cloudwatch.EventRule("stopInstancesEventRule", {
@@ -210,7 +207,7 @@ import { input as inputs, output as outputs } from "../types";
210
207
  * const stopInstancesEventTarget = new aws.cloudwatch.EventTarget("stopInstancesEventTarget", {
211
208
  * arn: "arn:aws:events:eu-west-1:1234567890:event-bus/My-Event-Bus",
212
209
  * rule: stopInstancesEventRule.name,
213
- * roleArn: aws_iam_role.event_bus_invoke_remote_event_bus.arn,
210
+ * roleArn: eventBusInvokeRemoteEventBusRole.arn,
214
211
  * });
215
212
  * ```
216
213
  *
@@ -180,9 +180,7 @@ const utilities = require("../utilities");
180
180
  * import * as pulumi from "@pulumi/pulumi";
181
181
  * import * as aws from "@pulumi/aws";
182
182
  *
183
- * const eventBusInvokeRemoteEventBusRole = aws.iam.getRole({
184
- * name: "event-bus-invoke-remote-event-bus",
185
- * assumeRolePolicy: `{
183
+ * const eventBusInvokeRemoteEventBusRole = new aws.iam.Role("eventBusInvokeRemoteEventBusRole", {assumeRolePolicy: `{
186
184
  * "Version": "2012-10-17",
187
185
  * "Statement": [
188
186
  * {
@@ -194,8 +192,7 @@ const utilities = require("../utilities");
194
192
  * }
195
193
  * ]
196
194
  * }
197
- * `,
198
- * });
195
+ * `});
199
196
  * const eventBusInvokeRemoteEventBusPolicyDocument = aws.iam.getPolicyDocument({
200
197
  * statements: [{
201
198
  * effect: "Allow",
@@ -205,7 +202,7 @@ const utilities = require("../utilities");
205
202
  * });
206
203
  * const eventBusInvokeRemoteEventBusPolicy = new aws.iam.Policy("eventBusInvokeRemoteEventBusPolicy", {policy: eventBusInvokeRemoteEventBusPolicyDocument.then(eventBusInvokeRemoteEventBusPolicyDocument => eventBusInvokeRemoteEventBusPolicyDocument.json)});
207
204
  * const eventBusInvokeRemoteEventBusRolePolicyAttachment = new aws.iam.RolePolicyAttachment("eventBusInvokeRemoteEventBusRolePolicyAttachment", {
208
- * role: aws_iam_role.event_bus_invoke_remote_event_bus.name,
205
+ * role: eventBusInvokeRemoteEventBusRole.name,
209
206
  * policyArn: eventBusInvokeRemoteEventBusPolicy.arn,
210
207
  * });
211
208
  * const stopInstancesEventRule = new aws.cloudwatch.EventRule("stopInstancesEventRule", {
@@ -215,7 +212,7 @@ const utilities = require("../utilities");
215
212
  * const stopInstancesEventTarget = new aws.cloudwatch.EventTarget("stopInstancesEventTarget", {
216
213
  * arn: "arn:aws:events:eu-west-1:1234567890:event-bus/My-Event-Bus",
217
214
  * rule: stopInstancesEventRule.name,
218
- * roleArn: aws_iam_role.event_bus_invoke_remote_event_bus.arn,
215
+ * roleArn: eventBusInvokeRemoteEventBusRole.arn,
219
216
  * });
220
217
  * ```
221
218
  *
@@ -1 +1 @@
1
- {"version":3,"file":"eventTarget.js","sourceRoot":"","sources":["../../cloudwatch/eventTarget.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,MAAM,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;IA5JD;;;;;;;;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;;AA1BL,kCA8JC;AAhJG,gBAAgB;AACO,wBAAY,GAAG,wCAAwC,CAAC"}
@@ -31,6 +31,10 @@ export interface GetUserPoolClientsResult {
31
31
  * List of Cognito user pool client IDs.
32
32
  */
33
33
  readonly clientIds: string[];
34
+ /**
35
+ * List of Cognito user pool client names.
36
+ */
37
+ readonly clientNames: string[];
34
38
  /**
35
39
  * The provider-assigned unique ID for this managed resource.
36
40
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getUserPoolClients.js","sourceRoot":"","sources":["../../cognito/getUserPoolClients.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,gDAWC;AA2BD,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,4DAEC"}
1
+ {"version":3,"file":"getUserPoolClients.js","sourceRoot":"","sources":["../../cognito/getUserPoolClients.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,gDAWC;AA+BD,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,4DAEC"}
@@ -17,7 +17,7 @@ import * as pulumi from "@pulumi/pulumi";
17
17
  *
18
18
  * ## Import
19
19
  *
20
- * `aws_detective_graph` can be imported using the arn, e.g.
20
+ * `aws_detective_graph` can be imported using the ARN, e.g.
21
21
  *
22
22
  * ```sh
23
23
  * $ pulumi import aws:detective/graph:Graph example arn:aws:detective:us-east-1:123456789101:graph:231684d34gh74g4bae1dbc7bd807d02d
@@ -23,7 +23,7 @@ const utilities = require("../utilities");
23
23
  *
24
24
  * ## Import
25
25
  *
26
- * `aws_detective_graph` can be imported using the arn, e.g.
26
+ * `aws_detective_graph` can be imported using the ARN, e.g.
27
27
  *
28
28
  * ```sh
29
29
  * $ pulumi import aws:detective/graph:Graph example arn:aws:detective:us-east-1:123456789101:graph:231684d34gh74g4bae1dbc7bd807d02d
@@ -1 +1,3 @@
1
1
  export * from "./graph";
2
+ export * from "./invitationAccepter";
3
+ export * from "./member";
@@ -16,18 +16,28 @@ const pulumi = require("@pulumi/pulumi");
16
16
  const utilities = require("../utilities");
17
17
  // Export members:
18
18
  __exportStar(require("./graph"), exports);
19
+ __exportStar(require("./invitationAccepter"), exports);
20
+ __exportStar(require("./member"), exports);
19
21
  // Import resources to register:
20
22
  const graph_1 = require("./graph");
23
+ const invitationAccepter_1 = require("./invitationAccepter");
24
+ const member_1 = require("./member");
21
25
  const _module = {
22
26
  version: utilities.getVersion(),
23
27
  construct: (name, type, urn) => {
24
28
  switch (type) {
25
29
  case "aws:detective/graph:Graph":
26
30
  return new graph_1.Graph(name, undefined, { urn });
31
+ case "aws:detective/invitationAccepter:InvitationAccepter":
32
+ return new invitationAccepter_1.InvitationAccepter(name, undefined, { urn });
33
+ case "aws:detective/member:Member":
34
+ return new member_1.Member(name, undefined, { urn });
27
35
  default:
28
36
  throw new Error(`unknown resource type ${type}`);
29
37
  }
30
38
  },
31
39
  };
32
40
  pulumi.runtime.registerResourceModule("aws", "detective/graph", _module);
41
+ pulumi.runtime.registerResourceModule("aws", "detective/invitationAccepter", _module);
42
+ pulumi.runtime.registerResourceModule("aws", "detective/member", _module);
33
43
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../detective/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,0CAAwB;AAExB,gCAAgC;AAChC,mCAAgC;AAEhC,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,2BAA2B;gBAC5B,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,iBAAiB,EAAE,OAAO,CAAC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../detective/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,0CAAwB;AACxB,uDAAqC;AACrC,2CAAyB;AAEzB,gCAAgC;AAChC,mCAAgC;AAChC,6DAA0D;AAC1D,qCAAkC;AAElC,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,2BAA2B;gBAC5B,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD,KAAK,qDAAqD;gBACtD,OAAO,IAAI,uCAAkB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAChE,KAAK,6BAA6B;gBAC9B,OAAO,IAAI,eAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,78 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage an [Amazon Detective Invitation Accepter](https://docs.aws.amazon.com/detective/latest/APIReference/API_AcceptInvitation.html). Ensure that the accepter is configured to use the AWS account you wish to _accept_ the invitation from the primary graph owner account.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as aws from "@pulumi/aws";
10
+ *
11
+ * const primaryGraph = new aws.detective.Graph("primaryGraph", {});
12
+ * const primaryMember = new aws.detective.Member("primaryMember", {
13
+ * accountId: "ACCOUNT ID",
14
+ * email: "EMAIL",
15
+ * graphArn: primaryGraph.id,
16
+ * message: "Message of the invite",
17
+ * });
18
+ * const member = new aws.detective.InvitationAccepter("member", {graphArn: primaryMember.graphArn}, {
19
+ * provider: "awsalternate",
20
+ * dependsOn: [aws_detective_member.test],
21
+ * });
22
+ * ```
23
+ *
24
+ * ## Import
25
+ *
26
+ * `aws_detective_invitation_accepter` can be imported using the graph ARN, e.g.
27
+ *
28
+ * ```sh
29
+ * $ pulumi import aws:detective/invitationAccepter:InvitationAccepter example arn:aws:detective:us-east-1:123456789101:graph:231684d34gh74g4bae1dbc7bd807d02d
30
+ * ```
31
+ */
32
+ export declare class InvitationAccepter extends pulumi.CustomResource {
33
+ /**
34
+ * Get an existing InvitationAccepter resource's state with the given name, ID, and optional extra
35
+ * properties used to qualify the lookup.
36
+ *
37
+ * @param name The _unique_ name of the resulting resource.
38
+ * @param id The _unique_ provider ID of the resource to lookup.
39
+ * @param state Any extra arguments used during the lookup.
40
+ * @param opts Optional settings to control the behavior of the CustomResource.
41
+ */
42
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InvitationAccepterState, opts?: pulumi.CustomResourceOptions): InvitationAccepter;
43
+ /**
44
+ * Returns true if the given object is an instance of InvitationAccepter. This is designed to work even
45
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
46
+ */
47
+ static isInstance(obj: any): obj is InvitationAccepter;
48
+ /**
49
+ * ARN of the behavior graph that the member account is accepting the invitation for.
50
+ */
51
+ readonly graphArn: pulumi.Output<string>;
52
+ /**
53
+ * Create a InvitationAccepter resource with the given unique name, arguments, and options.
54
+ *
55
+ * @param name The _unique_ name of the resource.
56
+ * @param args The arguments to use to populate this resource's properties.
57
+ * @param opts A bag of options that control this resource's behavior.
58
+ */
59
+ constructor(name: string, args: InvitationAccepterArgs, opts?: pulumi.CustomResourceOptions);
60
+ }
61
+ /**
62
+ * Input properties used for looking up and filtering InvitationAccepter resources.
63
+ */
64
+ export interface InvitationAccepterState {
65
+ /**
66
+ * ARN of the behavior graph that the member account is accepting the invitation for.
67
+ */
68
+ graphArn?: pulumi.Input<string>;
69
+ }
70
+ /**
71
+ * The set of arguments for constructing a InvitationAccepter resource.
72
+ */
73
+ export interface InvitationAccepterArgs {
74
+ /**
75
+ * ARN of the behavior graph that the member account is accepting the invitation for.
76
+ */
77
+ graphArn: pulumi.Input<string>;
78
+ }
@@ -0,0 +1,84 @@
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.InvitationAccepter = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage an [Amazon Detective Invitation Accepter](https://docs.aws.amazon.com/detective/latest/APIReference/API_AcceptInvitation.html). Ensure that the accepter is configured to use the AWS account you wish to _accept_ the invitation from the primary graph owner account.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ *
17
+ * const primaryGraph = new aws.detective.Graph("primaryGraph", {});
18
+ * const primaryMember = new aws.detective.Member("primaryMember", {
19
+ * accountId: "ACCOUNT ID",
20
+ * email: "EMAIL",
21
+ * graphArn: primaryGraph.id,
22
+ * message: "Message of the invite",
23
+ * });
24
+ * const member = new aws.detective.InvitationAccepter("member", {graphArn: primaryMember.graphArn}, {
25
+ * provider: "awsalternate",
26
+ * dependsOn: [aws_detective_member.test],
27
+ * });
28
+ * ```
29
+ *
30
+ * ## Import
31
+ *
32
+ * `aws_detective_invitation_accepter` can be imported using the graph ARN, e.g.
33
+ *
34
+ * ```sh
35
+ * $ pulumi import aws:detective/invitationAccepter:InvitationAccepter example arn:aws:detective:us-east-1:123456789101:graph:231684d34gh74g4bae1dbc7bd807d02d
36
+ * ```
37
+ */
38
+ class InvitationAccepter extends pulumi.CustomResource {
39
+ constructor(name, argsOrState, opts) {
40
+ let inputs = {};
41
+ opts = opts || {};
42
+ if (opts.id) {
43
+ const state = argsOrState;
44
+ inputs["graphArn"] = state ? state.graphArn : undefined;
45
+ }
46
+ else {
47
+ const args = argsOrState;
48
+ if ((!args || args.graphArn === undefined) && !opts.urn) {
49
+ throw new Error("Missing required property 'graphArn'");
50
+ }
51
+ inputs["graphArn"] = args ? args.graphArn : undefined;
52
+ }
53
+ if (!opts.version) {
54
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
55
+ }
56
+ super(InvitationAccepter.__pulumiType, name, inputs, opts);
57
+ }
58
+ /**
59
+ * Get an existing InvitationAccepter resource's state with the given name, ID, and optional extra
60
+ * properties used to qualify the lookup.
61
+ *
62
+ * @param name The _unique_ name of the resulting resource.
63
+ * @param id The _unique_ provider ID of the resource to lookup.
64
+ * @param state Any extra arguments used during the lookup.
65
+ * @param opts Optional settings to control the behavior of the CustomResource.
66
+ */
67
+ static get(name, id, state, opts) {
68
+ return new InvitationAccepter(name, state, Object.assign(Object.assign({}, opts), { id: id }));
69
+ }
70
+ /**
71
+ * Returns true if the given object is an instance of InvitationAccepter. This is designed to work even
72
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
73
+ */
74
+ static isInstance(obj) {
75
+ if (obj === undefined || obj === null) {
76
+ return false;
77
+ }
78
+ return obj['__pulumiType'] === InvitationAccepter.__pulumiType;
79
+ }
80
+ }
81
+ exports.InvitationAccepter = InvitationAccepter;
82
+ /** @internal */
83
+ InvitationAccepter.__pulumiType = 'aws:detective/invitationAccepter:InvitationAccepter';
84
+ //# sourceMappingURL=invitationAccepter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invitationAccepter.js","sourceRoot":"","sources":["../../detective/invitationAccepter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;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,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;;AA1BL,gDA2DC;AA7CG,gBAAgB;AACO,+BAAY,GAAG,qDAAqD,CAAC"}
@@ -0,0 +1,165 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage an [Amazon Detective Member](https://docs.aws.amazon.com/detective/latest/APIReference/API_CreateMembers.html).
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as aws from "@pulumi/aws";
10
+ *
11
+ * const exampleGraph = new aws.detective.Graph("exampleGraph", {});
12
+ * const exampleMember = new aws.detective.Member("exampleMember", {
13
+ * accountId: "AWS ACCOUNT ID",
14
+ * email: "EMAIL",
15
+ * graphArn: exampleGraph.id,
16
+ * message: "Message of the invitation",
17
+ * disableEmailNotification: true,
18
+ * });
19
+ * ```
20
+ *
21
+ * ## Import
22
+ *
23
+ * `aws_detective_member` can be imported using the ARN of the graph followed by the account ID of the member account, e.g.
24
+ *
25
+ * ```sh
26
+ * $ pulumi import aws:detective/member:Member example arn:aws:detective:us-east-1:123456789101:graph:231684d34gh74g4bae1dbc7bd807d02d/123456789012
27
+ * ```
28
+ */
29
+ export declare class Member extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing Member resource's state with the given name, ID, and optional extra
32
+ * properties used to qualify the lookup.
33
+ *
34
+ * @param name The _unique_ name of the resulting resource.
35
+ * @param id The _unique_ provider ID of the resource to lookup.
36
+ * @param state Any extra arguments used during the lookup.
37
+ * @param opts Optional settings to control the behavior of the CustomResource.
38
+ */
39
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MemberState, opts?: pulumi.CustomResourceOptions): Member;
40
+ /**
41
+ * Returns true if the given object is an instance of Member. This is designed to work even
42
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
43
+ */
44
+ static isInstance(obj: any): obj is Member;
45
+ /**
46
+ * AWS account ID for the account.
47
+ */
48
+ readonly accountId: pulumi.Output<string>;
49
+ /**
50
+ * AWS account ID for the administrator account.
51
+ */
52
+ readonly administratorId: pulumi.Output<string>;
53
+ /**
54
+ * If set to true, then the root user of the invited account will _not_ receive an email notification. This notification is in addition to an alert that the root user receives in AWS Personal Health Dashboard. By default, this is set to `false`.
55
+ */
56
+ readonly disableEmailNotification: pulumi.Output<boolean | undefined>;
57
+ readonly disabledReason: pulumi.Output<string>;
58
+ /**
59
+ * Email address for the account.
60
+ */
61
+ readonly emailAddress: pulumi.Output<string>;
62
+ /**
63
+ * ARN of the behavior graph to invite the member accounts to contribute their data to.
64
+ */
65
+ readonly graphArn: pulumi.Output<string>;
66
+ /**
67
+ * Date and time, in UTC and extended RFC 3339 format, when an Amazon Detective membership invitation was last sent to the account.
68
+ */
69
+ readonly invitedTime: pulumi.Output<string>;
70
+ /**
71
+ * A custom message to include in the invitation. Amazon Detective adds this message to the standard content that it sends for an invitation.
72
+ */
73
+ readonly message: pulumi.Output<string | undefined>;
74
+ /**
75
+ * Current membership status of the member account.
76
+ */
77
+ readonly status: pulumi.Output<string>;
78
+ /**
79
+ * Date and time, in UTC and extended RFC 3339 format, of the most recent change to the member account's status.
80
+ */
81
+ readonly updatedTime: pulumi.Output<string>;
82
+ /**
83
+ * Data volume in bytes per day for the member account.
84
+ */
85
+ readonly volumeUsageInBytes: pulumi.Output<string>;
86
+ /**
87
+ * Create a Member resource with the given unique name, arguments, and options.
88
+ *
89
+ * @param name The _unique_ name of the resource.
90
+ * @param args The arguments to use to populate this resource's properties.
91
+ * @param opts A bag of options that control this resource's behavior.
92
+ */
93
+ constructor(name: string, args: MemberArgs, opts?: pulumi.CustomResourceOptions);
94
+ }
95
+ /**
96
+ * Input properties used for looking up and filtering Member resources.
97
+ */
98
+ export interface MemberState {
99
+ /**
100
+ * AWS account ID for the account.
101
+ */
102
+ accountId?: pulumi.Input<string>;
103
+ /**
104
+ * AWS account ID for the administrator account.
105
+ */
106
+ administratorId?: pulumi.Input<string>;
107
+ /**
108
+ * If set to true, then the root user of the invited account will _not_ receive an email notification. This notification is in addition to an alert that the root user receives in AWS Personal Health Dashboard. By default, this is set to `false`.
109
+ */
110
+ disableEmailNotification?: pulumi.Input<boolean>;
111
+ disabledReason?: pulumi.Input<string>;
112
+ /**
113
+ * Email address for the account.
114
+ */
115
+ emailAddress?: pulumi.Input<string>;
116
+ /**
117
+ * ARN of the behavior graph to invite the member accounts to contribute their data to.
118
+ */
119
+ graphArn?: pulumi.Input<string>;
120
+ /**
121
+ * Date and time, in UTC and extended RFC 3339 format, when an Amazon Detective membership invitation was last sent to the account.
122
+ */
123
+ invitedTime?: pulumi.Input<string>;
124
+ /**
125
+ * A custom message to include in the invitation. Amazon Detective adds this message to the standard content that it sends for an invitation.
126
+ */
127
+ message?: pulumi.Input<string>;
128
+ /**
129
+ * Current membership status of the member account.
130
+ */
131
+ status?: pulumi.Input<string>;
132
+ /**
133
+ * Date and time, in UTC and extended RFC 3339 format, of the most recent change to the member account's status.
134
+ */
135
+ updatedTime?: pulumi.Input<string>;
136
+ /**
137
+ * Data volume in bytes per day for the member account.
138
+ */
139
+ volumeUsageInBytes?: pulumi.Input<string>;
140
+ }
141
+ /**
142
+ * The set of arguments for constructing a Member resource.
143
+ */
144
+ export interface MemberArgs {
145
+ /**
146
+ * AWS account ID for the account.
147
+ */
148
+ accountId: pulumi.Input<string>;
149
+ /**
150
+ * If set to true, then the root user of the invited account will _not_ receive an email notification. This notification is in addition to an alert that the root user receives in AWS Personal Health Dashboard. By default, this is set to `false`.
151
+ */
152
+ disableEmailNotification?: pulumi.Input<boolean>;
153
+ /**
154
+ * Email address for the account.
155
+ */
156
+ emailAddress: pulumi.Input<string>;
157
+ /**
158
+ * ARN of the behavior graph to invite the member accounts to contribute their data to.
159
+ */
160
+ graphArn: pulumi.Input<string>;
161
+ /**
162
+ * A custom message to include in the invitation. Amazon Detective adds this message to the standard content that it sends for an invitation.
163
+ */
164
+ message?: pulumi.Input<string>;
165
+ }