@pulumi/aws 6.82.0-alpha.1748893300 → 6.82.0-alpha.1748962855

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 (194) hide show
  1. package/alb/loadBalancer.d.ts +24 -0
  2. package/alb/loadBalancer.js +2 -0
  3. package/alb/loadBalancer.js.map +1 -1
  4. package/apigateway/domainNameAccessAssociation.d.ts +1 -1
  5. package/apigateway/domainNameAccessAssociation.js +1 -1
  6. package/backup/regionSettings.d.ts +18 -14
  7. package/backup/regionSettings.js +12 -8
  8. package/backup/regionSettings.js.map +1 -1
  9. package/budgets/budget.d.ts +9 -0
  10. package/budgets/budget.js.map +1 -1
  11. package/cfg/conformancePack.d.ts +6 -0
  12. package/cfg/conformancePack.js.map +1 -1
  13. package/cloudwatch/eventTarget.d.ts +6 -0
  14. package/cloudwatch/eventTarget.js +6 -0
  15. package/cloudwatch/eventTarget.js.map +1 -1
  16. package/cloudwatch/metricAlarm.d.ts +9 -0
  17. package/cloudwatch/metricAlarm.js.map +1 -1
  18. package/cognito/userPool.d.ts +0 -6
  19. package/cognito/userPool.js.map +1 -1
  20. package/connect/getContactFlow.d.ts +4 -0
  21. package/connect/getContactFlow.js.map +1 -1
  22. package/connect/getContactFlowModule.d.ts +4 -0
  23. package/connect/getContactFlowModule.js.map +1 -1
  24. package/connect/getHoursOfOperation.d.ts +4 -0
  25. package/connect/getHoursOfOperation.js.map +1 -1
  26. package/connect/getInstance.d.ts +4 -0
  27. package/connect/getInstance.js.map +1 -1
  28. package/connect/getQueue.d.ts +4 -0
  29. package/connect/getQueue.js.map +1 -1
  30. package/connect/getQuickConnect.d.ts +4 -0
  31. package/connect/getQuickConnect.js.map +1 -1
  32. package/connect/getRoutingProfile.d.ts +4 -0
  33. package/connect/getRoutingProfile.js.map +1 -1
  34. package/connect/getSecurityProfile.d.ts +4 -0
  35. package/connect/getSecurityProfile.js.map +1 -1
  36. package/connect/getUser.d.ts +4 -0
  37. package/connect/getUser.js.map +1 -1
  38. package/connect/getUserHierarchyGroup.d.ts +4 -0
  39. package/connect/getUserHierarchyGroup.js.map +1 -1
  40. package/connect/getVocabulary.d.ts +4 -0
  41. package/connect/getVocabulary.js.map +1 -1
  42. package/costexplorer/costCategory.d.ts +6 -6
  43. package/datazone/environmentProfile.d.ts +0 -6
  44. package/datazone/environmentProfile.js.map +1 -1
  45. package/directconnect/gatewayAssociation.d.ts +12 -0
  46. package/directconnect/gatewayAssociation.js.map +1 -1
  47. package/dms/s3endpoint.d.ts +6 -6
  48. package/docdb/cluster.d.ts +9 -0
  49. package/docdb/cluster.js.map +1 -1
  50. package/docdb/elasticCluster.d.ts +9 -0
  51. package/docdb/elasticCluster.js.map +1 -1
  52. package/dynamodb/table.d.ts +3 -3
  53. package/dynamodb/tableItem.d.ts +6 -0
  54. package/dynamodb/tableItem.js.map +1 -1
  55. package/dynamodb/tableReplica.d.ts +3 -3
  56. package/ebs/volume.d.ts +6 -0
  57. package/ebs/volume.js.map +1 -1
  58. package/ec2/flowLog.d.ts +6 -0
  59. package/ec2/flowLog.js.map +1 -1
  60. package/ec2/routeTableAssociation.d.ts +6 -0
  61. package/ec2/routeTableAssociation.js.map +1 -1
  62. package/ec2/vpcPeeringConnection.d.ts +5 -0
  63. package/ec2/vpcPeeringConnection.js +5 -0
  64. package/ec2/vpcPeeringConnection.js.map +1 -1
  65. package/ecs/taskDefinition.d.ts +6 -0
  66. package/ecs/taskDefinition.js.map +1 -1
  67. package/elastictranscoder/pipeline.d.ts +6 -0
  68. package/elastictranscoder/pipeline.js.map +1 -1
  69. package/elastictranscoder/preset.d.ts +6 -0
  70. package/elastictranscoder/preset.js.map +1 -1
  71. package/glue/catalogTable.d.ts +3 -3
  72. package/glue/crawler.d.ts +6 -0
  73. package/glue/crawler.js.map +1 -1
  74. package/guardduty/organizationConfiguration.d.ts +6 -0
  75. package/guardduty/organizationConfiguration.js.map +1 -1
  76. package/identitystore/user.d.ts +6 -0
  77. package/identitystore/user.js.map +1 -1
  78. package/imagebuilder/component.d.ts +3 -3
  79. package/imagebuilder/containerRecipe.d.ts +3 -3
  80. package/imagebuilder/imageRecipe.d.ts +3 -3
  81. package/index.d.ts +2 -1
  82. package/index.js +4 -2
  83. package/index.js.map +1 -1
  84. package/kendra/experience.d.ts +6 -0
  85. package/kendra/experience.js.map +1 -1
  86. package/keyspaces/keyspace.d.ts +0 -6
  87. package/keyspaces/keyspace.js.map +1 -1
  88. package/lb/loadBalancer.d.ts +24 -0
  89. package/lb/loadBalancer.js +2 -0
  90. package/lb/loadBalancer.js.map +1 -1
  91. package/lightsail/containerService.d.ts +3 -0
  92. package/lightsail/containerService.js +3 -0
  93. package/lightsail/containerService.js.map +1 -1
  94. package/mskconnect/customPlugin.d.ts +0 -6
  95. package/mskconnect/customPlugin.js.map +1 -1
  96. package/networkmonitor/probe.d.ts +0 -6
  97. package/networkmonitor/probe.js.map +1 -1
  98. package/notifications/channelAssociation.d.ts +93 -0
  99. package/notifications/channelAssociation.js +90 -0
  100. package/notifications/channelAssociation.js.map +1 -0
  101. package/notifications/contactsEmailContact.d.ts +150 -0
  102. package/notifications/contactsEmailContact.js +88 -0
  103. package/notifications/contactsEmailContact.js.map +1 -0
  104. package/notifications/eventRule.d.ts +151 -0
  105. package/notifications/eventRule.js +112 -0
  106. package/notifications/eventRule.js.map +1 -0
  107. package/notifications/index.d.ts +15 -0
  108. package/notifications/index.js +42 -0
  109. package/notifications/index.js.map +1 -0
  110. package/notifications/notificationConfiguration.d.ts +186 -0
  111. package/notifications/notificationConfiguration.js +108 -0
  112. package/notifications/notificationConfiguration.js.map +1 -0
  113. package/notifications/notificationHub.d.ts +75 -0
  114. package/notifications/notificationHub.js +76 -0
  115. package/notifications/notificationHub.js.map +1 -0
  116. package/package.json +2 -2
  117. package/quicksight/accountSettings.d.ts +107 -0
  118. package/quicksight/accountSettings.js +85 -0
  119. package/quicksight/accountSettings.js.map +1 -0
  120. package/quicksight/accountSubscription.d.ts +9 -9
  121. package/quicksight/dataSet.d.ts +6 -6
  122. package/quicksight/dataSource.d.ts +1 -1
  123. package/quicksight/dataSource.js +1 -1
  124. package/quicksight/index.d.ts +3 -0
  125. package/quicksight/index.js +6 -1
  126. package/quicksight/index.js.map +1 -1
  127. package/rds/cluster.d.ts +18 -0
  128. package/rds/cluster.js.map +1 -1
  129. package/rds/clusterActivityStream.d.ts +9 -0
  130. package/rds/clusterActivityStream.js.map +1 -1
  131. package/rds/clusterEndpoint.d.ts +9 -0
  132. package/rds/clusterEndpoint.js.map +1 -1
  133. package/rds/clusterInstance.d.ts +9 -0
  134. package/rds/clusterInstance.js.map +1 -1
  135. package/rds/getSnapshot.d.ts +4 -0
  136. package/rds/getSnapshot.js.map +1 -1
  137. package/rds/instance.d.ts +9 -0
  138. package/rds/instance.js.map +1 -1
  139. package/rds/integration.d.ts +6 -0
  140. package/rds/integration.js.map +1 -1
  141. package/rds/shardGroup.d.ts +6 -0
  142. package/rds/shardGroup.js.map +1 -1
  143. package/redshift/cluster.d.ts +9 -0
  144. package/redshift/cluster.js.map +1 -1
  145. package/redshift/integration.d.ts +6 -0
  146. package/redshift/integration.js.map +1 -1
  147. package/route53domains/domain.d.ts +6 -0
  148. package/route53domains/domain.js.map +1 -1
  149. package/route53domains/registeredDomain.d.ts +6 -0
  150. package/route53domains/registeredDomain.js.map +1 -1
  151. package/route53recoveryreadiness/recoveryGroup.d.ts +3 -3
  152. package/s3/bucketObject.d.ts +6 -0
  153. package/s3/bucketObject.js.map +1 -1
  154. package/s3/bucketObjectv2.d.ts +6 -0
  155. package/s3/bucketObjectv2.js.map +1 -1
  156. package/ses/configurationSet.d.ts +3 -3
  157. package/shield/getProtection.d.ts +4 -0
  158. package/shield/getProtection.js.map +1 -1
  159. package/ssmcontacts/contact.d.ts +2 -0
  160. package/ssmcontacts/contact.js +2 -0
  161. package/ssmcontacts/contact.js.map +1 -1
  162. package/ssmcontacts/contactChannel.d.ts +2 -0
  163. package/ssmcontacts/contactChannel.js +2 -0
  164. package/ssmcontacts/contactChannel.js.map +1 -1
  165. package/ssmincidents/replicationSet.d.ts +54 -0
  166. package/ssmincidents/replicationSet.js.map +1 -1
  167. package/ssmincidents/responsePlan.d.ts +65 -0
  168. package/ssmincidents/responsePlan.js +2 -0
  169. package/ssmincidents/responsePlan.js.map +1 -1
  170. package/storagegateway/gateway.d.ts +6 -0
  171. package/storagegateway/gateway.js.map +1 -1
  172. package/types/input.d.ts +102 -6
  173. package/types/input.js.map +1 -1
  174. package/types/output.d.ts +113 -6
  175. package/types/output.js.map +1 -1
  176. package/verifiedpermissions/getPolicyStore.d.ts +6 -0
  177. package/verifiedpermissions/getPolicyStore.js.map +1 -1
  178. package/verifiedpermissions/policyStore.d.ts +34 -0
  179. package/verifiedpermissions/policyStore.js +4 -0
  180. package/verifiedpermissions/policyStore.js.map +1 -1
  181. package/vpc/securityGroupEgressRule.d.ts +6 -0
  182. package/vpc/securityGroupEgressRule.js.map +1 -1
  183. package/workspaces/index.d.ts +9 -0
  184. package/workspaces/index.js +16 -1
  185. package/workspaces/index.js.map +1 -1
  186. package/workspaces/webBrowserSettings.d.ts +190 -0
  187. package/workspaces/webBrowserSettings.js +120 -0
  188. package/workspaces/webBrowserSettings.js.map +1 -0
  189. package/workspaces/webNetworkSettings.d.ts +181 -0
  190. package/workspaces/webNetworkSettings.js +123 -0
  191. package/workspaces/webNetworkSettings.js.map +1 -0
  192. package/workspaces/webUserSettings.d.ts +342 -0
  193. package/workspaces/webUserSettings.js +192 -0
  194. package/workspaces/webUserSettings.js.map +1 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../notifications/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAA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CAAyB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvE,KAAK,mDAAmD;gBACpD,OAAO,IAAI,uBAAe,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC7D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,kCAAkC,EAAE,OAAO,CAAC,CAAA;AACzF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oCAAoC,EAAE,OAAO,CAAC,CAAA;AAC3F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,yCAAyC,EAAE,OAAO,CAAC,CAAA;AAChG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,+BAA+B,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,186 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Resource for managing an AWS User Notifications Notification Configuration.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ### Basic Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as aws from "@pulumi/aws";
12
+ *
13
+ * const example = new aws.notifications.NotificationConfiguration("example", {
14
+ * name: "example",
15
+ * description: "Example notification configuration",
16
+ * tags: {
17
+ * Environment: "production",
18
+ * Project: "example",
19
+ * },
20
+ * });
21
+ * ```
22
+ *
23
+ * ### With Aggregation Duration
24
+ *
25
+ * ```typescript
26
+ * import * as pulumi from "@pulumi/pulumi";
27
+ * import * as aws from "@pulumi/aws";
28
+ *
29
+ * const example = new aws.notifications.NotificationConfiguration("example", {
30
+ * name: "example-aggregation",
31
+ * description: "Example notification configuration with aggregation",
32
+ * aggregationDuration: "SHORT",
33
+ * tags: {
34
+ * Environment: "production",
35
+ * Project: "example",
36
+ * },
37
+ * });
38
+ * ```
39
+ *
40
+ * ## Import
41
+ *
42
+ * Using `pulumi import`, import User Notifications Notification Configuration using the `arn`. For example:
43
+ *
44
+ * ```sh
45
+ * $ pulumi import aws:notifications/notificationConfiguration:NotificationConfiguration example arn:aws:notifications::123456789012:configuration/abcdef1234567890abcdef1234567890
46
+ * ```
47
+ */
48
+ export declare class NotificationConfiguration extends pulumi.CustomResource {
49
+ /**
50
+ * Get an existing NotificationConfiguration resource's state with the given name, ID, and optional extra
51
+ * properties used to qualify the lookup.
52
+ *
53
+ * @param name The _unique_ name of the resulting resource.
54
+ * @param id The _unique_ provider ID of the resource to lookup.
55
+ * @param state Any extra arguments used during the lookup.
56
+ * @param opts Optional settings to control the behavior of the CustomResource.
57
+ */
58
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NotificationConfigurationState, opts?: pulumi.CustomResourceOptions): NotificationConfiguration;
59
+ /**
60
+ * Returns true if the given object is an instance of NotificationConfiguration. This is designed to work even
61
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
62
+ */
63
+ static isInstance(obj: any): obj is NotificationConfiguration;
64
+ /**
65
+ * Aggregation preference of the NotificationConfiguration. Valid values: `LONG` (
66
+ * aggregate notifications for 12 hours), `SHORT` (aggregate notifications for 5 minutes), `NONE` (don't aggregate
67
+ * notifications). Default: `NONE`.
68
+ */
69
+ readonly aggregationDuration: pulumi.Output<string>;
70
+ /**
71
+ * Amazon Resource Name (ARN) of the NotificationConfiguration.
72
+ */
73
+ readonly arn: pulumi.Output<string>;
74
+ /**
75
+ * Description of the NotificationConfiguration. Length constraints: Minimum length of 0,
76
+ * maximum length of 256.
77
+ */
78
+ readonly description: pulumi.Output<string>;
79
+ /**
80
+ * Name of the NotificationConfiguration. Supports RFC 3986's unreserved characters. Length
81
+ * constraints: Minimum length of 1, maximum length of 64. Pattern: `[A-Za-z0-9_\-]+`.
82
+ *
83
+ * The following arguments are optional:
84
+ */
85
+ readonly name: pulumi.Output<string>;
86
+ /**
87
+ * Map of tags to assign to the resource. A tag is a string-to-string map of key-value pairs. If
88
+ * configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those
89
+ * defined at the provider-level.
90
+ */
91
+ readonly tags: pulumi.Output<{
92
+ [key: string]: string;
93
+ } | undefined>;
94
+ /**
95
+ * Map of tags assigned to the resource, including those inherited from the provider `defaultTags`
96
+ * configuration block.
97
+ *
98
+ * @deprecated Please use `tags` instead.
99
+ */
100
+ readonly tagsAll: pulumi.Output<{
101
+ [key: string]: string;
102
+ }>;
103
+ /**
104
+ * Create a NotificationConfiguration resource with the given unique name, arguments, and options.
105
+ *
106
+ * @param name The _unique_ name of the resource.
107
+ * @param args The arguments to use to populate this resource's properties.
108
+ * @param opts A bag of options that control this resource's behavior.
109
+ */
110
+ constructor(name: string, args: NotificationConfigurationArgs, opts?: pulumi.CustomResourceOptions);
111
+ }
112
+ /**
113
+ * Input properties used for looking up and filtering NotificationConfiguration resources.
114
+ */
115
+ export interface NotificationConfigurationState {
116
+ /**
117
+ * Aggregation preference of the NotificationConfiguration. Valid values: `LONG` (
118
+ * aggregate notifications for 12 hours), `SHORT` (aggregate notifications for 5 minutes), `NONE` (don't aggregate
119
+ * notifications). Default: `NONE`.
120
+ */
121
+ aggregationDuration?: pulumi.Input<string>;
122
+ /**
123
+ * Amazon Resource Name (ARN) of the NotificationConfiguration.
124
+ */
125
+ arn?: pulumi.Input<string>;
126
+ /**
127
+ * Description of the NotificationConfiguration. Length constraints: Minimum length of 0,
128
+ * maximum length of 256.
129
+ */
130
+ description?: pulumi.Input<string>;
131
+ /**
132
+ * Name of the NotificationConfiguration. Supports RFC 3986's unreserved characters. Length
133
+ * constraints: Minimum length of 1, maximum length of 64. Pattern: `[A-Za-z0-9_\-]+`.
134
+ *
135
+ * The following arguments are optional:
136
+ */
137
+ name?: pulumi.Input<string>;
138
+ /**
139
+ * Map of tags to assign to the resource. A tag is a string-to-string map of key-value pairs. If
140
+ * configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those
141
+ * defined at the provider-level.
142
+ */
143
+ tags?: pulumi.Input<{
144
+ [key: string]: pulumi.Input<string>;
145
+ }>;
146
+ /**
147
+ * Map of tags assigned to the resource, including those inherited from the provider `defaultTags`
148
+ * configuration block.
149
+ *
150
+ * @deprecated Please use `tags` instead.
151
+ */
152
+ tagsAll?: pulumi.Input<{
153
+ [key: string]: pulumi.Input<string>;
154
+ }>;
155
+ }
156
+ /**
157
+ * The set of arguments for constructing a NotificationConfiguration resource.
158
+ */
159
+ export interface NotificationConfigurationArgs {
160
+ /**
161
+ * Aggregation preference of the NotificationConfiguration. Valid values: `LONG` (
162
+ * aggregate notifications for 12 hours), `SHORT` (aggregate notifications for 5 minutes), `NONE` (don't aggregate
163
+ * notifications). Default: `NONE`.
164
+ */
165
+ aggregationDuration?: pulumi.Input<string>;
166
+ /**
167
+ * Description of the NotificationConfiguration. Length constraints: Minimum length of 0,
168
+ * maximum length of 256.
169
+ */
170
+ description: pulumi.Input<string>;
171
+ /**
172
+ * Name of the NotificationConfiguration. Supports RFC 3986's unreserved characters. Length
173
+ * constraints: Minimum length of 1, maximum length of 64. Pattern: `[A-Za-z0-9_\-]+`.
174
+ *
175
+ * The following arguments are optional:
176
+ */
177
+ name?: pulumi.Input<string>;
178
+ /**
179
+ * Map of tags to assign to the resource. A tag is a string-to-string map of key-value pairs. If
180
+ * configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those
181
+ * defined at the provider-level.
182
+ */
183
+ tags?: pulumi.Input<{
184
+ [key: string]: pulumi.Input<string>;
185
+ }>;
186
+ }
@@ -0,0 +1,108 @@
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.NotificationConfiguration = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource for managing an AWS User Notifications Notification Configuration.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ### Basic Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as aws from "@pulumi/aws";
18
+ *
19
+ * const example = new aws.notifications.NotificationConfiguration("example", {
20
+ * name: "example",
21
+ * description: "Example notification configuration",
22
+ * tags: {
23
+ * Environment: "production",
24
+ * Project: "example",
25
+ * },
26
+ * });
27
+ * ```
28
+ *
29
+ * ### With Aggregation Duration
30
+ *
31
+ * ```typescript
32
+ * import * as pulumi from "@pulumi/pulumi";
33
+ * import * as aws from "@pulumi/aws";
34
+ *
35
+ * const example = new aws.notifications.NotificationConfiguration("example", {
36
+ * name: "example-aggregation",
37
+ * description: "Example notification configuration with aggregation",
38
+ * aggregationDuration: "SHORT",
39
+ * tags: {
40
+ * Environment: "production",
41
+ * Project: "example",
42
+ * },
43
+ * });
44
+ * ```
45
+ *
46
+ * ## Import
47
+ *
48
+ * Using `pulumi import`, import User Notifications Notification Configuration using the `arn`. For example:
49
+ *
50
+ * ```sh
51
+ * $ pulumi import aws:notifications/notificationConfiguration:NotificationConfiguration example arn:aws:notifications::123456789012:configuration/abcdef1234567890abcdef1234567890
52
+ * ```
53
+ */
54
+ class NotificationConfiguration extends pulumi.CustomResource {
55
+ /**
56
+ * Get an existing NotificationConfiguration resource's state with the given name, ID, and optional extra
57
+ * properties used to qualify the lookup.
58
+ *
59
+ * @param name The _unique_ name of the resulting resource.
60
+ * @param id The _unique_ provider ID of the resource to lookup.
61
+ * @param state Any extra arguments used during the lookup.
62
+ * @param opts Optional settings to control the behavior of the CustomResource.
63
+ */
64
+ static get(name, id, state, opts) {
65
+ return new NotificationConfiguration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
66
+ }
67
+ /**
68
+ * Returns true if the given object is an instance of NotificationConfiguration. This is designed to work even
69
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
70
+ */
71
+ static isInstance(obj) {
72
+ if (obj === undefined || obj === null) {
73
+ return false;
74
+ }
75
+ return obj['__pulumiType'] === NotificationConfiguration.__pulumiType;
76
+ }
77
+ constructor(name, argsOrState, opts) {
78
+ let resourceInputs = {};
79
+ opts = opts || {};
80
+ if (opts.id) {
81
+ const state = argsOrState;
82
+ resourceInputs["aggregationDuration"] = state ? state.aggregationDuration : undefined;
83
+ resourceInputs["arn"] = state ? state.arn : undefined;
84
+ resourceInputs["description"] = state ? state.description : undefined;
85
+ resourceInputs["name"] = state ? state.name : undefined;
86
+ resourceInputs["tags"] = state ? state.tags : undefined;
87
+ resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
88
+ }
89
+ else {
90
+ const args = argsOrState;
91
+ if ((!args || args.description === undefined) && !opts.urn) {
92
+ throw new Error("Missing required property 'description'");
93
+ }
94
+ resourceInputs["aggregationDuration"] = args ? args.aggregationDuration : undefined;
95
+ resourceInputs["description"] = args ? args.description : undefined;
96
+ resourceInputs["name"] = args ? args.name : undefined;
97
+ resourceInputs["tags"] = args ? args.tags : undefined;
98
+ resourceInputs["arn"] = undefined /*out*/;
99
+ resourceInputs["tagsAll"] = undefined /*out*/;
100
+ }
101
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
102
+ super(NotificationConfiguration.__pulumiType, name, resourceInputs, opts);
103
+ }
104
+ }
105
+ exports.NotificationConfiguration = NotificationConfiguration;
106
+ /** @internal */
107
+ NotificationConfiguration.__pulumiType = 'aws:notifications/notificationConfiguration:NotificationConfiguration';
108
+ //# sourceMappingURL=notificationConfiguration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notificationConfiguration.js","sourceRoot":"","sources":["../../notifications/notificationConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,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* as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Resource for managing an AWS User Notifications Notification Hub.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ### Basic Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as aws from "@pulumi/aws";
14
+ *
15
+ * const example = new aws.notifications.NotificationHub("example", {notificationHubRegion: "us-west-2"});
16
+ * ```
17
+ *
18
+ * ## Import
19
+ *
20
+ * Using `pulumi import`, import User Notifications Notification Hub using the `notification_hub_region`. For example:
21
+ *
22
+ * ```sh
23
+ * $ pulumi import aws:notifications/notificationHub:NotificationHub example us-west-2
24
+ * ```
25
+ */
26
+ export declare class NotificationHub extends pulumi.CustomResource {
27
+ /**
28
+ * Get an existing NotificationHub resource's state with the given name, ID, and optional extra
29
+ * properties used to qualify the lookup.
30
+ *
31
+ * @param name The _unique_ name of the resulting resource.
32
+ * @param id The _unique_ provider ID of the resource to lookup.
33
+ * @param state Any extra arguments used during the lookup.
34
+ * @param opts Optional settings to control the behavior of the CustomResource.
35
+ */
36
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NotificationHubState, opts?: pulumi.CustomResourceOptions): NotificationHub;
37
+ /**
38
+ * Returns true if the given object is an instance of NotificationHub. This is designed to work even
39
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
40
+ */
41
+ static isInstance(obj: any): obj is NotificationHub;
42
+ /**
43
+ * Notification Hub region.
44
+ */
45
+ readonly notificationHubRegion: pulumi.Output<string>;
46
+ readonly timeouts: pulumi.Output<outputs.notifications.NotificationHubTimeouts | undefined>;
47
+ /**
48
+ * Create a NotificationHub resource with the given unique name, arguments, and options.
49
+ *
50
+ * @param name The _unique_ name of the resource.
51
+ * @param args The arguments to use to populate this resource's properties.
52
+ * @param opts A bag of options that control this resource's behavior.
53
+ */
54
+ constructor(name: string, args: NotificationHubArgs, opts?: pulumi.CustomResourceOptions);
55
+ }
56
+ /**
57
+ * Input properties used for looking up and filtering NotificationHub resources.
58
+ */
59
+ export interface NotificationHubState {
60
+ /**
61
+ * Notification Hub region.
62
+ */
63
+ notificationHubRegion?: pulumi.Input<string>;
64
+ timeouts?: pulumi.Input<inputs.notifications.NotificationHubTimeouts>;
65
+ }
66
+ /**
67
+ * The set of arguments for constructing a NotificationHub resource.
68
+ */
69
+ export interface NotificationHubArgs {
70
+ /**
71
+ * Notification Hub region.
72
+ */
73
+ notificationHubRegion: pulumi.Input<string>;
74
+ timeouts?: pulumi.Input<inputs.notifications.NotificationHubTimeouts>;
75
+ }
@@ -0,0 +1,76 @@
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.NotificationHub = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource for managing an AWS User Notifications Notification Hub.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ### Basic Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as aws from "@pulumi/aws";
18
+ *
19
+ * const example = new aws.notifications.NotificationHub("example", {notificationHubRegion: "us-west-2"});
20
+ * ```
21
+ *
22
+ * ## Import
23
+ *
24
+ * Using `pulumi import`, import User Notifications Notification Hub using the `notification_hub_region`. For example:
25
+ *
26
+ * ```sh
27
+ * $ pulumi import aws:notifications/notificationHub:NotificationHub example us-west-2
28
+ * ```
29
+ */
30
+ class NotificationHub extends pulumi.CustomResource {
31
+ /**
32
+ * Get an existing NotificationHub resource's state with the given name, ID, and optional extra
33
+ * properties used to qualify the lookup.
34
+ *
35
+ * @param name The _unique_ name of the resulting resource.
36
+ * @param id The _unique_ provider ID of the resource to lookup.
37
+ * @param state Any extra arguments used during the lookup.
38
+ * @param opts Optional settings to control the behavior of the CustomResource.
39
+ */
40
+ static get(name, id, state, opts) {
41
+ return new NotificationHub(name, state, Object.assign(Object.assign({}, opts), { id: id }));
42
+ }
43
+ /**
44
+ * Returns true if the given object is an instance of NotificationHub. 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) {
48
+ if (obj === undefined || obj === null) {
49
+ return false;
50
+ }
51
+ return obj['__pulumiType'] === NotificationHub.__pulumiType;
52
+ }
53
+ constructor(name, argsOrState, opts) {
54
+ let resourceInputs = {};
55
+ opts = opts || {};
56
+ if (opts.id) {
57
+ const state = argsOrState;
58
+ resourceInputs["notificationHubRegion"] = state ? state.notificationHubRegion : undefined;
59
+ resourceInputs["timeouts"] = state ? state.timeouts : undefined;
60
+ }
61
+ else {
62
+ const args = argsOrState;
63
+ if ((!args || args.notificationHubRegion === undefined) && !opts.urn) {
64
+ throw new Error("Missing required property 'notificationHubRegion'");
65
+ }
66
+ resourceInputs["notificationHubRegion"] = args ? args.notificationHubRegion : undefined;
67
+ resourceInputs["timeouts"] = args ? args.timeouts : undefined;
68
+ }
69
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
70
+ super(NotificationHub.__pulumiType, name, resourceInputs, opts);
71
+ }
72
+ }
73
+ exports.NotificationHub = NotificationHub;
74
+ /** @internal */
75
+ NotificationHub.__pulumiType = 'aws:notifications/notificationHub:NotificationHub';
76
+ //# sourceMappingURL=notificationHub.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notificationHub.js","sourceRoot":"","sources":["../../notifications/notificationHub.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE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C,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA3DL,0CA4DC;AA9CG,gBAAgB;AACO,4BAAY,GAAG,mDAAmD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/aws",
3
- "version": "6.82.0-alpha.1748893300",
3
+ "version": "6.82.0-alpha.1748962855",
4
4
  "description": "A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -24,6 +24,6 @@
24
24
  "pulumi": {
25
25
  "resource": true,
26
26
  "name": "aws",
27
- "version": "6.82.0-alpha.1748893300"
27
+ "version": "6.82.0-alpha.1748962855"
28
28
  }
29
29
  }
@@ -0,0 +1,107 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Resource for managing an AWS QuickSight Account Settings.
6
+ *
7
+ * > Deletion of this resource will not modify any settings, only remove the resource from state.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as aws from "@pulumi/aws";
14
+ *
15
+ * const subscription = new aws.quicksight.AccountSubscription("subscription", {
16
+ * accountName: "quicksight-terraform",
17
+ * authenticationMethod: "IAM_AND_QUICKSIGHT",
18
+ * edition: "ENTERPRISE",
19
+ * notificationEmail: "notification@email.com",
20
+ * });
21
+ * const example = new aws.quicksight.AccountSettings("example", {terminationProtectionEnabled: false}, {
22
+ * dependsOn: [subscription],
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * Using `pulumi import`, import QuickSight Account Settings using the AWS account ID. For example:
29
+ *
30
+ * ```sh
31
+ * $ pulumi import aws:quicksight/accountSettings:AccountSettings example "012345678901"
32
+ * ```
33
+ */
34
+ export declare class AccountSettings extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing AccountSettings resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccountSettingsState, opts?: pulumi.CustomResourceOptions): AccountSettings;
45
+ /**
46
+ * Returns true if the given object is an instance of AccountSettings. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj: any): obj is AccountSettings;
50
+ /**
51
+ * The ID for the AWS account that contains the settings.
52
+ */
53
+ readonly awsAccountId: pulumi.Output<string>;
54
+ /**
55
+ * The default namespace for this Amazon Web Services account. Currently, the default is `default`.
56
+ */
57
+ readonly defaultNamespace: pulumi.Output<string>;
58
+ /**
59
+ * A boolean value that determines whether or not an Amazon QuickSight account can be deleted. If `true`, it does not allow the account to be deleted and results in an error message if a user tries to make a DeleteAccountSubscription request. If `false`, it will allow the account to be deleted.
60
+ */
61
+ readonly terminationProtectionEnabled: pulumi.Output<boolean>;
62
+ readonly timeouts: pulumi.Output<outputs.quicksight.AccountSettingsTimeouts | undefined>;
63
+ /**
64
+ * Create a AccountSettings 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?: AccountSettingsArgs, opts?: pulumi.CustomResourceOptions);
71
+ }
72
+ /**
73
+ * Input properties used for looking up and filtering AccountSettings resources.
74
+ */
75
+ export interface AccountSettingsState {
76
+ /**
77
+ * The ID for the AWS account that contains the settings.
78
+ */
79
+ awsAccountId?: pulumi.Input<string>;
80
+ /**
81
+ * The default namespace for this Amazon Web Services account. Currently, the default is `default`.
82
+ */
83
+ defaultNamespace?: pulumi.Input<string>;
84
+ /**
85
+ * A boolean value that determines whether or not an Amazon QuickSight account can be deleted. If `true`, it does not allow the account to be deleted and results in an error message if a user tries to make a DeleteAccountSubscription request. If `false`, it will allow the account to be deleted.
86
+ */
87
+ terminationProtectionEnabled?: pulumi.Input<boolean>;
88
+ timeouts?: pulumi.Input<inputs.quicksight.AccountSettingsTimeouts>;
89
+ }
90
+ /**
91
+ * The set of arguments for constructing a AccountSettings resource.
92
+ */
93
+ export interface AccountSettingsArgs {
94
+ /**
95
+ * The ID for the AWS account that contains the settings.
96
+ */
97
+ awsAccountId?: pulumi.Input<string>;
98
+ /**
99
+ * The default namespace for this Amazon Web Services account. Currently, the default is `default`.
100
+ */
101
+ defaultNamespace?: pulumi.Input<string>;
102
+ /**
103
+ * A boolean value that determines whether or not an Amazon QuickSight account can be deleted. If `true`, it does not allow the account to be deleted and results in an error message if a user tries to make a DeleteAccountSubscription request. If `false`, it will allow the account to be deleted.
104
+ */
105
+ terminationProtectionEnabled?: pulumi.Input<boolean>;
106
+ timeouts?: pulumi.Input<inputs.quicksight.AccountSettingsTimeouts>;
107
+ }
@@ -0,0 +1,85 @@
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.AccountSettings = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource for managing an AWS QuickSight Account Settings.
10
+ *
11
+ * > Deletion of this resource will not modify any settings, only remove the resource from state.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as aws from "@pulumi/aws";
18
+ *
19
+ * const subscription = new aws.quicksight.AccountSubscription("subscription", {
20
+ * accountName: "quicksight-terraform",
21
+ * authenticationMethod: "IAM_AND_QUICKSIGHT",
22
+ * edition: "ENTERPRISE",
23
+ * notificationEmail: "notification@email.com",
24
+ * });
25
+ * const example = new aws.quicksight.AccountSettings("example", {terminationProtectionEnabled: false}, {
26
+ * dependsOn: [subscription],
27
+ * });
28
+ * ```
29
+ *
30
+ * ## Import
31
+ *
32
+ * Using `pulumi import`, import QuickSight Account Settings using the AWS account ID. For example:
33
+ *
34
+ * ```sh
35
+ * $ pulumi import aws:quicksight/accountSettings:AccountSettings example "012345678901"
36
+ * ```
37
+ */
38
+ class AccountSettings extends pulumi.CustomResource {
39
+ /**
40
+ * Get an existing AccountSettings resource's state with the given name, ID, and optional extra
41
+ * properties used to qualify the lookup.
42
+ *
43
+ * @param name The _unique_ name of the resulting resource.
44
+ * @param id The _unique_ provider ID of the resource to lookup.
45
+ * @param state Any extra arguments used during the lookup.
46
+ * @param opts Optional settings to control the behavior of the CustomResource.
47
+ */
48
+ static get(name, id, state, opts) {
49
+ return new AccountSettings(name, state, Object.assign(Object.assign({}, opts), { id: id }));
50
+ }
51
+ /**
52
+ * Returns true if the given object is an instance of AccountSettings. This is designed to work even
53
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
54
+ */
55
+ static isInstance(obj) {
56
+ if (obj === undefined || obj === null) {
57
+ return false;
58
+ }
59
+ return obj['__pulumiType'] === AccountSettings.__pulumiType;
60
+ }
61
+ constructor(name, argsOrState, opts) {
62
+ let resourceInputs = {};
63
+ opts = opts || {};
64
+ if (opts.id) {
65
+ const state = argsOrState;
66
+ resourceInputs["awsAccountId"] = state ? state.awsAccountId : undefined;
67
+ resourceInputs["defaultNamespace"] = state ? state.defaultNamespace : undefined;
68
+ resourceInputs["terminationProtectionEnabled"] = state ? state.terminationProtectionEnabled : undefined;
69
+ resourceInputs["timeouts"] = state ? state.timeouts : undefined;
70
+ }
71
+ else {
72
+ const args = argsOrState;
73
+ resourceInputs["awsAccountId"] = args ? args.awsAccountId : undefined;
74
+ resourceInputs["defaultNamespace"] = args ? args.defaultNamespace : undefined;
75
+ resourceInputs["terminationProtectionEnabled"] = args ? args.terminationProtectionEnabled : undefined;
76
+ resourceInputs["timeouts"] = args ? args.timeouts : undefined;
77
+ }
78
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
79
+ super(AccountSettings.__pulumiType, name, resourceInputs, opts);
80
+ }
81
+ }
82
+ exports.AccountSettings = AccountSettings;
83
+ /** @internal */
84
+ AccountSettings.__pulumiType = 'aws:quicksight/accountSettings:AccountSettings';
85
+ //# sourceMappingURL=accountSettings.js.map