@pulumi/aws-native 1.33.0-alpha.1756187826 → 1.33.0-alpha.1756274360

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 (177) hide show
  1. package/aps/getResourcePolicy.d.ts +27 -0
  2. package/aps/getResourcePolicy.js +28 -0
  3. package/aps/getResourcePolicy.js.map +1 -0
  4. package/aps/getWorkspace.d.ts +1 -3
  5. package/aps/getWorkspace.js.map +1 -1
  6. package/aps/index.d.ts +6 -0
  7. package/aps/index.js +8 -1
  8. package/aps/index.js.map +1 -1
  9. package/aps/resourcePolicy.d.ts +49 -0
  10. package/aps/resourcePolicy.js +66 -0
  11. package/aps/resourcePolicy.js.map +1 -0
  12. package/aps/workspace.d.ts +2 -6
  13. package/aps/workspace.js.map +1 -1
  14. package/cleanrooms/configuredTable.js +0 -2
  15. package/cleanrooms/configuredTable.js.map +1 -1
  16. package/cleanrooms/getConfiguredTable.d.ts +8 -0
  17. package/cleanrooms/getConfiguredTable.js.map +1 -1
  18. package/cloudfront/function.js +2 -0
  19. package/cloudfront/function.js.map +1 -1
  20. package/cloudfront/getFunction.d.ts +0 -4
  21. package/cloudfront/getFunction.js.map +1 -1
  22. package/codepipeline/getWebhook.d.ts +53 -0
  23. package/codepipeline/getWebhook.js +28 -0
  24. package/codepipeline/getWebhook.js.map +1 -0
  25. package/codepipeline/index.d.ts +6 -0
  26. package/codepipeline/index.js +8 -1
  27. package/codepipeline/index.js.map +1 -1
  28. package/codepipeline/webhook.d.ts +108 -0
  29. package/codepipeline/webhook.js +91 -0
  30. package/codepipeline/webhook.js.map +1 -0
  31. package/connect/getPredefinedAttribute.d.ts +8 -0
  32. package/connect/getPredefinedAttribute.js.map +1 -1
  33. package/connect/predefinedAttribute.d.ts +18 -2
  34. package/connect/predefinedAttribute.js +4 -3
  35. package/connect/predefinedAttribute.js.map +1 -1
  36. package/datazone/getPolicyGrant.d.ts +44 -0
  37. package/datazone/getPolicyGrant.js +36 -0
  38. package/datazone/getPolicyGrant.js.map +1 -0
  39. package/datazone/index.d.ts +6 -0
  40. package/datazone/index.js +8 -1
  41. package/datazone/index.js.map +1 -1
  42. package/datazone/policyGrant.d.ts +60 -0
  43. package/datazone/policyGrant.js +86 -0
  44. package/datazone/policyGrant.js.map +1 -0
  45. package/deadline/fleet.d.ts +4 -0
  46. package/deadline/fleet.js +2 -0
  47. package/deadline/fleet.js.map +1 -1
  48. package/deadline/getFleet.d.ts +4 -0
  49. package/deadline/getFleet.js.map +1 -1
  50. package/deadline/licenseEndpoint.d.ts +2 -2
  51. package/ec2/instance.d.ts +4 -4
  52. package/ec2/vpnConnection.d.ts +9 -0
  53. package/ec2/vpnConnection.js +3 -1
  54. package/ec2/vpnConnection.js.map +1 -1
  55. package/eks/addon.d.ts +8 -0
  56. package/eks/addon.js +3 -1
  57. package/eks/addon.js.map +1 -1
  58. package/entityresolution/getIdMappingWorkflow.d.ts +1 -0
  59. package/entityresolution/getIdMappingWorkflow.js.map +1 -1
  60. package/entityresolution/idMappingWorkflow.d.ts +2 -0
  61. package/entityresolution/idMappingWorkflow.js +2 -0
  62. package/entityresolution/idMappingWorkflow.js.map +1 -1
  63. package/events/getRule.d.ts +4 -0
  64. package/events/getRule.js.map +1 -1
  65. package/events/rule.d.ts +8 -0
  66. package/events/rule.js +2 -0
  67. package/events/rule.js.map +1 -1
  68. package/guardduty/getIpSet.d.ts +2 -2
  69. package/guardduty/getThreatEntitySet.d.ts +77 -0
  70. package/guardduty/getThreatEntitySet.js +30 -0
  71. package/guardduty/getThreatEntitySet.js.map +1 -0
  72. package/guardduty/getThreatIntelSet.d.ts +6 -4
  73. package/guardduty/getThreatIntelSet.js.map +1 -1
  74. package/guardduty/getTrustedEntitySet.d.ts +68 -0
  75. package/guardduty/getTrustedEntitySet.js +30 -0
  76. package/guardduty/getTrustedEntitySet.js.map +1 -0
  77. package/guardduty/index.d.ts +12 -0
  78. package/guardduty/index.js +15 -1
  79. package/guardduty/index.js.map +1 -1
  80. package/guardduty/ipSet.d.ts +8 -8
  81. package/guardduty/threatEntitySet.d.ts +124 -0
  82. package/guardduty/threatEntitySet.js +86 -0
  83. package/guardduty/threatEntitySet.js.map +1 -0
  84. package/guardduty/threatIntelSet.d.ts +14 -10
  85. package/guardduty/threatIntelSet.js.map +1 -1
  86. package/guardduty/trustedEntitySet.d.ts +121 -0
  87. package/guardduty/trustedEntitySet.js +86 -0
  88. package/guardduty/trustedEntitySet.js.map +1 -0
  89. package/inspectorv2/codeSecurityIntegration.d.ts +104 -0
  90. package/inspectorv2/codeSecurityIntegration.js +78 -0
  91. package/inspectorv2/codeSecurityIntegration.js.map +1 -0
  92. package/inspectorv2/codeSecurityScanConfiguration.d.ts +84 -0
  93. package/inspectorv2/codeSecurityScanConfiguration.js +68 -0
  94. package/inspectorv2/codeSecurityScanConfiguration.js.map +1 -0
  95. package/inspectorv2/getCodeSecurityIntegration.d.ts +56 -0
  96. package/inspectorv2/getCodeSecurityIntegration.js +28 -0
  97. package/inspectorv2/getCodeSecurityIntegration.js.map +1 -0
  98. package/inspectorv2/getCodeSecurityScanConfiguration.d.ts +32 -0
  99. package/inspectorv2/getCodeSecurityScanConfiguration.js +28 -0
  100. package/inspectorv2/getCodeSecurityScanConfiguration.js.map +1 -0
  101. package/inspectorv2/index.d.ts +12 -0
  102. package/inspectorv2/index.js +15 -1
  103. package/inspectorv2/index.js.map +1 -1
  104. package/iot/encryptionConfiguration.d.ts +24 -0
  105. package/iot/encryptionConfiguration.js.map +1 -1
  106. package/iot/getEncryptionConfiguration.d.ts +21 -0
  107. package/iot/getEncryptionConfiguration.js.map +1 -1
  108. package/ivs/getStage.d.ts +2 -2
  109. package/ivs/getStage.js +2 -2
  110. package/ivs/stage.d.ts +1 -1
  111. package/ivs/stage.js +1 -1
  112. package/logs/getLogGroup.d.ts +2 -0
  113. package/logs/getLogGroup.js.map +1 -1
  114. package/logs/logGroup.d.ts +4 -0
  115. package/logs/logGroup.js.map +1 -1
  116. package/package.json +3 -3
  117. package/package.json.dev +2 -2
  118. package/route53/getHealthCheck.d.ts +1 -1
  119. package/route53/healthCheck.d.ts +2 -2
  120. package/s3/bucket.d.ts +4 -0
  121. package/s3/bucket.js.map +1 -1
  122. package/s3/getBucket.d.ts +2 -0
  123. package/s3/getBucket.js.map +1 -1
  124. package/types/enums/b2bi/index.d.ts +5 -0
  125. package/types/enums/b2bi/index.js +5 -1
  126. package/types/enums/b2bi/index.js.map +1 -1
  127. package/types/enums/cloudfront/index.d.ts +6 -0
  128. package/types/enums/cloudfront/index.js +6 -1
  129. package/types/enums/cloudfront/index.js.map +1 -1
  130. package/types/enums/codepipeline/index.d.ts +9 -0
  131. package/types/enums/codepipeline/index.js +6 -1
  132. package/types/enums/codepipeline/index.js.map +1 -1
  133. package/types/enums/datazone/index.d.ts +17 -0
  134. package/types/enums/datazone/index.js +15 -1
  135. package/types/enums/datazone/index.js.map +1 -1
  136. package/types/enums/deadline/index.d.ts +2 -0
  137. package/types/enums/deadline/index.js +2 -0
  138. package/types/enums/deadline/index.js.map +1 -1
  139. package/types/enums/dynamodb/index.d.ts +16 -0
  140. package/types/enums/dynamodb/index.js +9 -1
  141. package/types/enums/dynamodb/index.js.map +1 -1
  142. package/types/enums/ec2/index.d.ts +8 -0
  143. package/types/enums/ec2/index.js +5 -1
  144. package/types/enums/ec2/index.js.map +1 -1
  145. package/types/enums/entityresolution/index.d.ts +4 -0
  146. package/types/enums/entityresolution/index.js +4 -1
  147. package/types/enums/entityresolution/index.js.map +1 -1
  148. package/types/enums/guardduty/index.d.ts +26 -0
  149. package/types/enums/guardduty/index.js +19 -1
  150. package/types/enums/guardduty/index.js.map +1 -1
  151. package/types/enums/inspectorv2/index.d.ts +39 -0
  152. package/types/enums/inspectorv2/index.js +33 -1
  153. package/types/enums/inspectorv2/index.js.map +1 -1
  154. package/types/enums/iot/index.d.ts +6 -0
  155. package/types/enums/iot/index.js.map +1 -1
  156. package/types/enums/kinesisanalyticsv2/index.d.ts +8 -0
  157. package/types/enums/kinesisanalyticsv2/index.js +5 -1
  158. package/types/enums/kinesisanalyticsv2/index.js.map +1 -1
  159. package/types/enums/quicksight/index.d.ts +4 -0
  160. package/types/enums/quicksight/index.js +4 -0
  161. package/types/enums/quicksight/index.js.map +1 -1
  162. package/types/input.d.ts +480 -55
  163. package/types/output.d.ts +489 -55
  164. package/types/output.js.map +1 -1
  165. package/vpclattice/getResourceGateway.d.ts +4 -0
  166. package/vpclattice/getResourceGateway.js.map +1 -1
  167. package/vpclattice/resourceGateway.d.ts +8 -0
  168. package/vpclattice/resourceGateway.js +2 -0
  169. package/vpclattice/resourceGateway.js.map +1 -1
  170. package/workspacesweb/getPortal.d.ts +3 -0
  171. package/workspacesweb/getPortal.js.map +1 -1
  172. package/workspacesweb/getSessionLogger.d.ts +24 -0
  173. package/workspacesweb/getSessionLogger.js.map +1 -1
  174. package/workspacesweb/portal.d.ts +6 -0
  175. package/workspacesweb/portal.js.map +1 -1
  176. package/workspacesweb/sessionLogger.d.ts +39 -0
  177. package/workspacesweb/sessionLogger.js.map +1 -1
@@ -0,0 +1,108 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ import * as enums from "../types/enums";
5
+ /**
6
+ * Resource Type definition for AWS::CodePipeline::Webhook
7
+ */
8
+ export declare class Webhook extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing Webhook resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param opts Optional settings to control the behavior of the CustomResource.
16
+ */
17
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Webhook;
18
+ /**
19
+ * Returns true if the given object is an instance of Webhook. This is designed to work even
20
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
21
+ */
22
+ static isInstance(obj: any): obj is Webhook;
23
+ /**
24
+ * Supported options are GITHUB_HMAC, IP, and UNAUTHENTICATED.
25
+ */
26
+ readonly authentication: pulumi.Output<enums.codepipeline.WebhookAuthentication>;
27
+ /**
28
+ * Properties that configure the authentication applied to incoming webhook trigger requests
29
+ */
30
+ readonly authenticationConfiguration: pulumi.Output<outputs.codepipeline.WebhookAuthConfiguration>;
31
+ /**
32
+ * logical id of the webhook
33
+ */
34
+ readonly awsId: pulumi.Output<string>;
35
+ /**
36
+ * A list of rules applied to the body/payload sent in the POST request to a webhook URL
37
+ */
38
+ readonly filters: pulumi.Output<outputs.codepipeline.WebhookFilterRule[]>;
39
+ /**
40
+ * The name of the webhook
41
+ */
42
+ readonly name: pulumi.Output<string | undefined>;
43
+ /**
44
+ * Configures a connection between the webhook that was created and the external tool with events to be detected.
45
+ */
46
+ readonly registerWithThirdParty: pulumi.Output<boolean | undefined>;
47
+ /**
48
+ * The name of the action in a pipeline you want to connect to the webhook.
49
+ */
50
+ readonly targetAction: pulumi.Output<string>;
51
+ /**
52
+ * The name of the pipeline you want to connect to the webhook.
53
+ */
54
+ readonly targetPipeline: pulumi.Output<string>;
55
+ /**
56
+ * The version number of the pipeline to be connected to the trigger request.
57
+ */
58
+ readonly targetPipelineVersion: pulumi.Output<number | undefined>;
59
+ /**
60
+ * The webhook URL generated by AWS CodePipeline
61
+ */
62
+ readonly url: pulumi.Output<string>;
63
+ /**
64
+ * Create a Webhook resource with the given unique name, arguments, and options.
65
+ *
66
+ * @param name The _unique_ name of the resource.
67
+ * @param args The arguments to use to populate this resource's properties.
68
+ * @param opts A bag of options that control this resource's behavior.
69
+ */
70
+ constructor(name: string, args: WebhookArgs, opts?: pulumi.CustomResourceOptions);
71
+ }
72
+ /**
73
+ * The set of arguments for constructing a Webhook resource.
74
+ */
75
+ export interface WebhookArgs {
76
+ /**
77
+ * Supported options are GITHUB_HMAC, IP, and UNAUTHENTICATED.
78
+ */
79
+ authentication: pulumi.Input<enums.codepipeline.WebhookAuthentication>;
80
+ /**
81
+ * Properties that configure the authentication applied to incoming webhook trigger requests
82
+ */
83
+ authenticationConfiguration: pulumi.Input<inputs.codepipeline.WebhookAuthConfigurationArgs>;
84
+ /**
85
+ * A list of rules applied to the body/payload sent in the POST request to a webhook URL
86
+ */
87
+ filters: pulumi.Input<pulumi.Input<inputs.codepipeline.WebhookFilterRuleArgs>[]>;
88
+ /**
89
+ * The name of the webhook
90
+ */
91
+ name?: pulumi.Input<string>;
92
+ /**
93
+ * Configures a connection between the webhook that was created and the external tool with events to be detected.
94
+ */
95
+ registerWithThirdParty?: pulumi.Input<boolean>;
96
+ /**
97
+ * The name of the action in a pipeline you want to connect to the webhook.
98
+ */
99
+ targetAction: pulumi.Input<string>;
100
+ /**
101
+ * The name of the pipeline you want to connect to the webhook.
102
+ */
103
+ targetPipeline: pulumi.Input<string>;
104
+ /**
105
+ * The version number of the pipeline to be connected to the trigger request.
106
+ */
107
+ targetPipelineVersion?: pulumi.Input<number>;
108
+ }
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.Webhook = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource Type definition for AWS::CodePipeline::Webhook
10
+ */
11
+ class Webhook extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing Webhook resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param opts Optional settings to control the behavior of the CustomResource.
19
+ */
20
+ static get(name, id, opts) {
21
+ return new Webhook(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of Webhook. This is designed to work even
25
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
26
+ */
27
+ static isInstance(obj) {
28
+ if (obj === undefined || obj === null) {
29
+ return false;
30
+ }
31
+ return obj['__pulumiType'] === Webhook.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a Webhook resource with the given unique name, arguments, and options.
35
+ *
36
+ * @param name The _unique_ name of the resource.
37
+ * @param args The arguments to use to populate this resource's properties.
38
+ * @param opts A bag of options that control this resource's behavior.
39
+ */
40
+ constructor(name, args, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (!opts.id) {
44
+ if ((!args || args.authentication === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'authentication'");
46
+ }
47
+ if ((!args || args.authenticationConfiguration === undefined) && !opts.urn) {
48
+ throw new Error("Missing required property 'authenticationConfiguration'");
49
+ }
50
+ if ((!args || args.filters === undefined) && !opts.urn) {
51
+ throw new Error("Missing required property 'filters'");
52
+ }
53
+ if ((!args || args.targetAction === undefined) && !opts.urn) {
54
+ throw new Error("Missing required property 'targetAction'");
55
+ }
56
+ if ((!args || args.targetPipeline === undefined) && !opts.urn) {
57
+ throw new Error("Missing required property 'targetPipeline'");
58
+ }
59
+ resourceInputs["authentication"] = args ? args.authentication : undefined;
60
+ resourceInputs["authenticationConfiguration"] = args ? args.authenticationConfiguration : undefined;
61
+ resourceInputs["filters"] = args ? args.filters : undefined;
62
+ resourceInputs["name"] = args ? args.name : undefined;
63
+ resourceInputs["registerWithThirdParty"] = args ? args.registerWithThirdParty : undefined;
64
+ resourceInputs["targetAction"] = args ? args.targetAction : undefined;
65
+ resourceInputs["targetPipeline"] = args ? args.targetPipeline : undefined;
66
+ resourceInputs["targetPipelineVersion"] = args ? args.targetPipelineVersion : undefined;
67
+ resourceInputs["awsId"] = undefined /*out*/;
68
+ resourceInputs["url"] = undefined /*out*/;
69
+ }
70
+ else {
71
+ resourceInputs["authentication"] = undefined /*out*/;
72
+ resourceInputs["authenticationConfiguration"] = undefined /*out*/;
73
+ resourceInputs["awsId"] = undefined /*out*/;
74
+ resourceInputs["filters"] = undefined /*out*/;
75
+ resourceInputs["name"] = undefined /*out*/;
76
+ resourceInputs["registerWithThirdParty"] = undefined /*out*/;
77
+ resourceInputs["targetAction"] = undefined /*out*/;
78
+ resourceInputs["targetPipeline"] = undefined /*out*/;
79
+ resourceInputs["targetPipelineVersion"] = undefined /*out*/;
80
+ resourceInputs["url"] = undefined /*out*/;
81
+ }
82
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
83
+ const replaceOnChanges = { replaceOnChanges: ["name"] };
84
+ opts = pulumi.mergeOptions(opts, replaceOnChanges);
85
+ super(Webhook.__pulumiType, name, resourceInputs, opts);
86
+ }
87
+ }
88
+ exports.Webhook = Webhook;
89
+ /** @internal */
90
+ Webhook.__pulumiType = 'aws-native:codepipeline:Webhook';
91
+ //# sourceMappingURL=webhook.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhook.js","sourceRoot":"","sources":["../../codepipeline/webhook.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,OAAO,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IA2CD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAiB,EAAE,IAAmC;QAC5E,IAAI,cAAc,GAAkB,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,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5D,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC;QACxD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAxHL,0BAyHC;AA5GG,gBAAgB;AACO,oBAAY,GAAG,iCAAiC,CAAC"}
@@ -15,6 +15,10 @@ export interface GetPredefinedAttributeArgs {
15
15
  name: string;
16
16
  }
17
17
  export interface GetPredefinedAttributeResult {
18
+ /**
19
+ * Custom metadata associated to a Predefined attribute that controls how the attribute behaves when used by upstream services.
20
+ */
21
+ readonly attributeConfiguration?: outputs.connect.AttributeConfigurationProperties;
18
22
  /**
19
23
  * Last modified region.
20
24
  */
@@ -23,6 +27,10 @@ export interface GetPredefinedAttributeResult {
23
27
  * Last modified time.
24
28
  */
25
29
  readonly lastModifiedTime?: number;
30
+ /**
31
+ * The assigned purposes of the predefined attribute.
32
+ */
33
+ readonly purposes?: string[];
26
34
  /**
27
35
  * The values of a predefined attribute.
28
36
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getPredefinedAttribute.js","sourceRoot":"","sources":["../../connect/getPredefinedAttribute.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAo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AAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2CAA2C,EAAE;QAC5E,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oEAMC"}
@@ -19,6 +19,10 @@ export declare class PredefinedAttribute extends pulumi.CustomResource {
19
19
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
20
  */
21
21
  static isInstance(obj: any): obj is PredefinedAttribute;
22
+ /**
23
+ * Custom metadata associated to a Predefined attribute that controls how the attribute behaves when used by upstream services.
24
+ */
25
+ readonly attributeConfiguration: pulumi.Output<outputs.connect.AttributeConfigurationProperties | undefined>;
22
26
  /**
23
27
  * The identifier of the Amazon Connect instance.
24
28
  */
@@ -35,10 +39,14 @@ export declare class PredefinedAttribute extends pulumi.CustomResource {
35
39
  * The name of the predefined attribute.
36
40
  */
37
41
  readonly name: pulumi.Output<string>;
42
+ /**
43
+ * The assigned purposes of the predefined attribute.
44
+ */
45
+ readonly purposes: pulumi.Output<string[] | undefined>;
38
46
  /**
39
47
  * The values of a predefined attribute.
40
48
  */
41
- readonly values: pulumi.Output<outputs.connect.ValuesProperties>;
49
+ readonly values: pulumi.Output<outputs.connect.ValuesProperties | undefined>;
42
50
  /**
43
51
  * Create a PredefinedAttribute resource with the given unique name, arguments, and options.
44
52
  *
@@ -52,6 +60,10 @@ export declare class PredefinedAttribute extends pulumi.CustomResource {
52
60
  * The set of arguments for constructing a PredefinedAttribute resource.
53
61
  */
54
62
  export interface PredefinedAttributeArgs {
63
+ /**
64
+ * Custom metadata associated to a Predefined attribute that controls how the attribute behaves when used by upstream services.
65
+ */
66
+ attributeConfiguration?: pulumi.Input<inputs.connect.AttributeConfigurationPropertiesArgs>;
55
67
  /**
56
68
  * The identifier of the Amazon Connect instance.
57
69
  */
@@ -60,8 +72,12 @@ export interface PredefinedAttributeArgs {
60
72
  * The name of the predefined attribute.
61
73
  */
62
74
  name?: pulumi.Input<string>;
75
+ /**
76
+ * The assigned purposes of the predefined attribute.
77
+ */
78
+ purposes?: pulumi.Input<pulumi.Input<string>[]>;
63
79
  /**
64
80
  * The values of a predefined attribute.
65
81
  */
66
- values: pulumi.Input<inputs.connect.ValuesPropertiesArgs>;
82
+ values?: pulumi.Input<inputs.connect.ValuesPropertiesArgs>;
67
83
  }
@@ -44,20 +44,21 @@ class PredefinedAttribute extends pulumi.CustomResource {
44
44
  if ((!args || args.instanceArn === undefined) && !opts.urn) {
45
45
  throw new Error("Missing required property 'instanceArn'");
46
46
  }
47
- if ((!args || args.values === undefined) && !opts.urn) {
48
- throw new Error("Missing required property 'values'");
49
- }
47
+ resourceInputs["attributeConfiguration"] = args ? args.attributeConfiguration : undefined;
50
48
  resourceInputs["instanceArn"] = args ? args.instanceArn : undefined;
51
49
  resourceInputs["name"] = args ? args.name : undefined;
50
+ resourceInputs["purposes"] = args ? args.purposes : undefined;
52
51
  resourceInputs["values"] = args ? args.values : undefined;
53
52
  resourceInputs["lastModifiedRegion"] = undefined /*out*/;
54
53
  resourceInputs["lastModifiedTime"] = undefined /*out*/;
55
54
  }
56
55
  else {
56
+ resourceInputs["attributeConfiguration"] = undefined /*out*/;
57
57
  resourceInputs["instanceArn"] = undefined /*out*/;
58
58
  resourceInputs["lastModifiedRegion"] = undefined /*out*/;
59
59
  resourceInputs["lastModifiedTime"] = undefined /*out*/;
60
60
  resourceInputs["name"] = undefined /*out*/;
61
+ resourceInputs["purposes"] = undefined /*out*/;
61
62
  resourceInputs["values"] = undefined /*out*/;
62
63
  }
63
64
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"predefinedAttribute.js","sourceRoot":"","sources":["../../connect/predefinedAttribute.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAE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YAC1D,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC1D;aAAM;YACH,cAAc,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7D,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,aAAa,EAAE,MAAM,CAAC,EAAE,CAAC;QACvE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA1FL,kDA2FC;AA9EG,gBAAgB;AACO,gCAAY,GAAG,wCAAwC,CAAC"}
@@ -0,0 +1,44 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as enums from "../types/enums";
3
+ /**
4
+ * Policy Grant in AWS DataZone is an explicit authorization assignment that allows a specific principal (user, group, or project) to perform particular actions (such as creating glossary terms, managing projects, or accessing resources) on governed resources within a certain scope (like a Domain Unit or Project). Policy Grants are essentially the mechanism by which DataZone enforces fine-grained, role-based access control beyond what is possible through AWS IAM alone.
5
+ */
6
+ export declare function getPolicyGrant(args: GetPolicyGrantArgs, opts?: pulumi.InvokeOptions): Promise<GetPolicyGrantResult>;
7
+ export interface GetPolicyGrantArgs {
8
+ domainIdentifier: string;
9
+ entityIdentifier: string;
10
+ entityType: enums.datazone.PolicyGrantTargetEntityType;
11
+ /**
12
+ * The unique identifier of the policy grant returned by the AddPolicyGrant API
13
+ */
14
+ grantId: string;
15
+ policyType: string;
16
+ }
17
+ export interface GetPolicyGrantResult {
18
+ /**
19
+ * Specifies the timestamp at which policy grant member was created.
20
+ */
21
+ readonly createdAt?: string;
22
+ /**
23
+ * Specifies the user who created the policy grant member.
24
+ */
25
+ readonly createdBy?: string;
26
+ /**
27
+ * The unique identifier of the policy grant returned by the AddPolicyGrant API
28
+ */
29
+ readonly grantId?: string;
30
+ }
31
+ /**
32
+ * Policy Grant in AWS DataZone is an explicit authorization assignment that allows a specific principal (user, group, or project) to perform particular actions (such as creating glossary terms, managing projects, or accessing resources) on governed resources within a certain scope (like a Domain Unit or Project). Policy Grants are essentially the mechanism by which DataZone enforces fine-grained, role-based access control beyond what is possible through AWS IAM alone.
33
+ */
34
+ export declare function getPolicyGrantOutput(args: GetPolicyGrantOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPolicyGrantResult>;
35
+ export interface GetPolicyGrantOutputArgs {
36
+ domainIdentifier: pulumi.Input<string>;
37
+ entityIdentifier: pulumi.Input<string>;
38
+ entityType: pulumi.Input<enums.datazone.PolicyGrantTargetEntityType>;
39
+ /**
40
+ * The unique identifier of the policy grant returned by the AddPolicyGrant API
41
+ */
42
+ grantId: pulumi.Input<string>;
43
+ policyType: pulumi.Input<string>;
44
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.getPolicyGrantOutput = exports.getPolicyGrant = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Policy Grant in AWS DataZone is an explicit authorization assignment that allows a specific principal (user, group, or project) to perform particular actions (such as creating glossary terms, managing projects, or accessing resources) on governed resources within a certain scope (like a Domain Unit or Project). Policy Grants are essentially the mechanism by which DataZone enforces fine-grained, role-based access control beyond what is possible through AWS IAM alone.
10
+ */
11
+ function getPolicyGrant(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("aws-native:datazone:getPolicyGrant", {
14
+ "domainIdentifier": args.domainIdentifier,
15
+ "entityIdentifier": args.entityIdentifier,
16
+ "entityType": args.entityType,
17
+ "grantId": args.grantId,
18
+ "policyType": args.policyType,
19
+ }, opts);
20
+ }
21
+ exports.getPolicyGrant = getPolicyGrant;
22
+ /**
23
+ * Policy Grant in AWS DataZone is an explicit authorization assignment that allows a specific principal (user, group, or project) to perform particular actions (such as creating glossary terms, managing projects, or accessing resources) on governed resources within a certain scope (like a Domain Unit or Project). Policy Grants are essentially the mechanism by which DataZone enforces fine-grained, role-based access control beyond what is possible through AWS IAM alone.
24
+ */
25
+ function getPolicyGrantOutput(args, opts) {
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
27
+ return pulumi.runtime.invokeOutput("aws-native:datazone:getPolicyGrant", {
28
+ "domainIdentifier": args.domainIdentifier,
29
+ "entityIdentifier": args.entityIdentifier,
30
+ "entityType": args.entityType,
31
+ "grantId": args.grantId,
32
+ "policyType": args.policyType,
33
+ }, opts);
34
+ }
35
+ exports.getPolicyGrantOutput = getPolicyGrantOutput;
36
+ //# sourceMappingURL=getPolicyGrant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPolicyGrant.js","sourceRoot":"","sources":["../../datazone/getPolicyGrant.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wCASC;AA2BD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,oDASC"}
@@ -49,6 +49,9 @@ export declare const getEnvironmentProfileOutput: typeof import("./getEnvironmen
49
49
  export { GetGroupProfileArgs, GetGroupProfileResult, GetGroupProfileOutputArgs } from "./getGroupProfile";
50
50
  export declare const getGroupProfile: typeof import("./getGroupProfile").getGroupProfile;
51
51
  export declare const getGroupProfileOutput: typeof import("./getGroupProfile").getGroupProfileOutput;
52
+ export { GetPolicyGrantArgs, GetPolicyGrantResult, GetPolicyGrantOutputArgs } from "./getPolicyGrant";
53
+ export declare const getPolicyGrant: typeof import("./getPolicyGrant").getPolicyGrant;
54
+ export declare const getPolicyGrantOutput: typeof import("./getPolicyGrant").getPolicyGrantOutput;
52
55
  export { GetProjectArgs, GetProjectResult, GetProjectOutputArgs } from "./getProject";
53
56
  export declare const getProject: typeof import("./getProject").getProject;
54
57
  export declare const getProjectOutput: typeof import("./getProject").getProjectOutput;
@@ -67,6 +70,9 @@ export declare const GroupProfile: typeof import("./groupProfile").GroupProfile;
67
70
  export { OwnerArgs } from "./owner";
68
71
  export type Owner = import("./owner").Owner;
69
72
  export declare const Owner: typeof import("./owner").Owner;
73
+ export { PolicyGrantArgs } from "./policyGrant";
74
+ export type PolicyGrant = import("./policyGrant").PolicyGrant;
75
+ export declare const PolicyGrant: typeof import("./policyGrant").PolicyGrant;
70
76
  export { ProjectArgs } from "./project";
71
77
  export type Project = import("./project").Project;
72
78
  export declare const Project: typeof import("./project").Project;
package/datazone/index.js CHANGED
@@ -16,7 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.UserProfile = exports.SubscriptionTarget = exports.ProjectProfile = exports.ProjectMembership = exports.Project = exports.Owner = exports.GroupProfile = exports.getUserProfileOutput = exports.getUserProfile = exports.getSubscriptionTargetOutput = exports.getSubscriptionTarget = exports.getProjectProfileOutput = exports.getProjectProfile = exports.getProjectOutput = exports.getProject = exports.getGroupProfileOutput = exports.getGroupProfile = exports.getEnvironmentProfileOutput = exports.getEnvironmentProfile = exports.getEnvironmentBlueprintConfigurationOutput = exports.getEnvironmentBlueprintConfiguration = exports.getEnvironmentActionsOutput = exports.getEnvironmentActions = exports.getEnvironmentOutput = exports.getEnvironment = exports.getDomainUnitOutput = exports.getDomainUnit = exports.getDomainOutput = exports.getDomain = exports.getDataSourceOutput = exports.getDataSource = exports.getConnectionOutput = exports.getConnection = exports.EnvironmentProfile = exports.EnvironmentBlueprintConfiguration = exports.EnvironmentActions = exports.Environment = exports.DomainUnit = exports.Domain = exports.DataSource = exports.Connection = void 0;
19
+ exports.UserProfile = exports.SubscriptionTarget = exports.ProjectProfile = exports.ProjectMembership = exports.Project = exports.PolicyGrant = exports.Owner = exports.GroupProfile = exports.getUserProfileOutput = exports.getUserProfile = exports.getSubscriptionTargetOutput = exports.getSubscriptionTarget = exports.getProjectProfileOutput = exports.getProjectProfile = exports.getProjectOutput = exports.getProject = exports.getPolicyGrantOutput = exports.getPolicyGrant = exports.getGroupProfileOutput = exports.getGroupProfile = exports.getEnvironmentProfileOutput = exports.getEnvironmentProfile = exports.getEnvironmentBlueprintConfigurationOutput = exports.getEnvironmentBlueprintConfiguration = exports.getEnvironmentActionsOutput = exports.getEnvironmentActions = exports.getEnvironmentOutput = exports.getEnvironment = exports.getDomainUnitOutput = exports.getDomainUnit = exports.getDomainOutput = exports.getDomain = exports.getDataSourceOutput = exports.getDataSource = exports.getConnectionOutput = exports.getConnection = exports.EnvironmentProfile = exports.EnvironmentBlueprintConfiguration = exports.EnvironmentActions = exports.Environment = exports.DomainUnit = exports.Domain = exports.DataSource = exports.Connection = void 0;
20
20
  const pulumi = require("@pulumi/pulumi");
21
21
  const utilities = require("../utilities");
22
22
  exports.Connection = null;
@@ -62,6 +62,9 @@ utilities.lazyLoad(exports, ["getEnvironmentProfile", "getEnvironmentProfileOutp
62
62
  exports.getGroupProfile = null;
63
63
  exports.getGroupProfileOutput = null;
64
64
  utilities.lazyLoad(exports, ["getGroupProfile", "getGroupProfileOutput"], () => require("./getGroupProfile"));
65
+ exports.getPolicyGrant = null;
66
+ exports.getPolicyGrantOutput = null;
67
+ utilities.lazyLoad(exports, ["getPolicyGrant", "getPolicyGrantOutput"], () => require("./getPolicyGrant"));
65
68
  exports.getProject = null;
66
69
  exports.getProjectOutput = null;
67
70
  utilities.lazyLoad(exports, ["getProject", "getProjectOutput"], () => require("./getProject"));
@@ -78,6 +81,8 @@ exports.GroupProfile = null;
78
81
  utilities.lazyLoad(exports, ["GroupProfile"], () => require("./groupProfile"));
79
82
  exports.Owner = null;
80
83
  utilities.lazyLoad(exports, ["Owner"], () => require("./owner"));
84
+ exports.PolicyGrant = null;
85
+ utilities.lazyLoad(exports, ["PolicyGrant"], () => require("./policyGrant"));
81
86
  exports.Project = null;
82
87
  utilities.lazyLoad(exports, ["Project"], () => require("./project"));
83
88
  exports.ProjectMembership = null;
@@ -114,6 +119,8 @@ const _module = {
114
119
  return new exports.GroupProfile(name, undefined, { urn });
115
120
  case "aws-native:datazone:Owner":
116
121
  return new exports.Owner(name, undefined, { urn });
122
+ case "aws-native:datazone:PolicyGrant":
123
+ return new exports.PolicyGrant(name, undefined, { urn });
117
124
  case "aws-native:datazone:Project":
118
125
  return new exports.Project(name, undefined, { urn });
119
126
  case "aws-native:datazone:ProjectMembership":
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../datazone/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAI9D,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAI9D,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU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pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ import * as enums from "../types/enums";
5
+ /**
6
+ * Policy Grant in AWS DataZone is an explicit authorization assignment that allows a specific principal (user, group, or project) to perform particular actions (such as creating glossary terms, managing projects, or accessing resources) on governed resources within a certain scope (like a Domain Unit or Project). Policy Grants are essentially the mechanism by which DataZone enforces fine-grained, role-based access control beyond what is possible through AWS IAM alone.
7
+ */
8
+ export declare class PolicyGrant extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing PolicyGrant resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param opts Optional settings to control the behavior of the CustomResource.
16
+ */
17
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): PolicyGrant;
18
+ /**
19
+ * Returns true if the given object is an instance of PolicyGrant. This is designed to work even
20
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
21
+ */
22
+ static isInstance(obj: any): obj is PolicyGrant;
23
+ /**
24
+ * Specifies the timestamp at which policy grant member was created.
25
+ */
26
+ readonly createdAt: pulumi.Output<string>;
27
+ /**
28
+ * Specifies the user who created the policy grant member.
29
+ */
30
+ readonly createdBy: pulumi.Output<string>;
31
+ readonly detail: pulumi.Output<outputs.datazone.PolicyGrantDetail0Properties | outputs.datazone.PolicyGrantDetail1Properties | outputs.datazone.PolicyGrantDetail2Properties | outputs.datazone.PolicyGrantDetail3Properties | outputs.datazone.PolicyGrantDetail4Properties | outputs.datazone.PolicyGrantDetail5Properties | outputs.datazone.PolicyGrantDetail6Properties | outputs.datazone.PolicyGrantDetail7Properties | outputs.datazone.PolicyGrantDetail8Properties | outputs.datazone.PolicyGrantDetail9Properties | outputs.datazone.PolicyGrantDetail10Properties | outputs.datazone.PolicyGrantDetail11Properties | outputs.datazone.PolicyGrantDetail12Properties | undefined>;
32
+ readonly domainIdentifier: pulumi.Output<string>;
33
+ readonly entityIdentifier: pulumi.Output<string>;
34
+ readonly entityType: pulumi.Output<enums.datazone.PolicyGrantTargetEntityType>;
35
+ /**
36
+ * The unique identifier of the policy grant returned by the AddPolicyGrant API
37
+ */
38
+ readonly grantId: pulumi.Output<string>;
39
+ readonly policyType: pulumi.Output<string>;
40
+ readonly principal: pulumi.Output<outputs.datazone.PolicyGrantPrincipal0Properties | outputs.datazone.PolicyGrantPrincipal1Properties | outputs.datazone.PolicyGrantPrincipal2Properties | outputs.datazone.PolicyGrantPrincipal3Properties | undefined>;
41
+ /**
42
+ * Create a PolicyGrant resource with the given unique name, arguments, and options.
43
+ *
44
+ * @param name The _unique_ name of the resource.
45
+ * @param args The arguments to use to populate this resource's properties.
46
+ * @param opts A bag of options that control this resource's behavior.
47
+ */
48
+ constructor(name: string, args: PolicyGrantArgs, opts?: pulumi.CustomResourceOptions);
49
+ }
50
+ /**
51
+ * The set of arguments for constructing a PolicyGrant resource.
52
+ */
53
+ export interface PolicyGrantArgs {
54
+ detail?: pulumi.Input<inputs.datazone.PolicyGrantDetail0PropertiesArgs | inputs.datazone.PolicyGrantDetail1PropertiesArgs | inputs.datazone.PolicyGrantDetail2PropertiesArgs | inputs.datazone.PolicyGrantDetail3PropertiesArgs | inputs.datazone.PolicyGrantDetail4PropertiesArgs | inputs.datazone.PolicyGrantDetail5PropertiesArgs | inputs.datazone.PolicyGrantDetail6PropertiesArgs | inputs.datazone.PolicyGrantDetail7PropertiesArgs | inputs.datazone.PolicyGrantDetail8PropertiesArgs | inputs.datazone.PolicyGrantDetail9PropertiesArgs | inputs.datazone.PolicyGrantDetail10PropertiesArgs | inputs.datazone.PolicyGrantDetail11PropertiesArgs | inputs.datazone.PolicyGrantDetail12PropertiesArgs>;
55
+ domainIdentifier: pulumi.Input<string>;
56
+ entityIdentifier: pulumi.Input<string>;
57
+ entityType: pulumi.Input<enums.datazone.PolicyGrantTargetEntityType>;
58
+ policyType: pulumi.Input<string>;
59
+ principal?: pulumi.Input<inputs.datazone.PolicyGrantPrincipal0PropertiesArgs | inputs.datazone.PolicyGrantPrincipal1PropertiesArgs | inputs.datazone.PolicyGrantPrincipal2PropertiesArgs | inputs.datazone.PolicyGrantPrincipal3PropertiesArgs>;
60
+ }