pulumi-aws 7.11.1__py3-none-any.whl → 7.12.0__py3-none-any.whl

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 (122) hide show
  1. pulumi_aws/__init__.py +57 -0
  2. pulumi_aws/acm/certificate.py +20 -20
  3. pulumi_aws/acmpca/certificate.py +8 -8
  4. pulumi_aws/apigateway/account.py +0 -4
  5. pulumi_aws/appflow/_inputs.py +33 -0
  6. pulumi_aws/appflow/outputs.py +22 -0
  7. pulumi_aws/appsync/graph_ql_api.py +84 -0
  8. pulumi_aws/bedrock/_inputs.py +97 -21
  9. pulumi_aws/bedrock/agent_agent_alias.py +94 -0
  10. pulumi_aws/bedrock/agentcore_agent_runtime.py +4 -4
  11. pulumi_aws/bedrock/agentcore_browser.py +42 -0
  12. pulumi_aws/bedrock/agentcore_gateway_target.py +217 -7
  13. pulumi_aws/bedrock/agentcore_memory.py +37 -9
  14. pulumi_aws/bedrock/agentcore_oauth2_credential_provider.py +38 -0
  15. pulumi_aws/bedrock/outputs.py +64 -17
  16. pulumi_aws/cloudfront/_inputs.py +15 -14
  17. pulumi_aws/cloudfront/distribution.py +28 -0
  18. pulumi_aws/cloudfront/outputs.py +10 -9
  19. pulumi_aws/cloudhsmv2/cluster.py +64 -0
  20. pulumi_aws/cloudwatch/_inputs.py +9 -8
  21. pulumi_aws/cloudwatch/contributor_managed_insight_rule.py +20 -0
  22. pulumi_aws/cloudwatch/log_delivery_destination.py +53 -12
  23. pulumi_aws/cloudwatch/outputs.py +6 -5
  24. pulumi_aws/codebuild/webhook.py +16 -16
  25. pulumi_aws/codepipeline/webhook.py +16 -16
  26. pulumi_aws/connect/_inputs.py +50 -4
  27. pulumi_aws/connect/outputs.py +95 -4
  28. pulumi_aws/connect/routing_profile.py +42 -18
  29. pulumi_aws/datasync/location_fsx_ontap_file_system.py +34 -0
  30. pulumi_aws/datazone/project.py +24 -0
  31. pulumi_aws/detective/organization_configuration.py +20 -0
  32. pulumi_aws/dms/_inputs.py +3 -3
  33. pulumi_aws/dms/outputs.py +2 -2
  34. pulumi_aws/ec2/__init__.py +1 -0
  35. pulumi_aws/ec2/_inputs.py +182 -0
  36. pulumi_aws/ec2/allowed_images_settings.py +338 -0
  37. pulumi_aws/ec2/get_coip_pools.py +24 -0
  38. pulumi_aws/ec2/image_block_public_access.py +48 -1
  39. pulumi_aws/ec2/outputs.py +167 -0
  40. pulumi_aws/ec2/security_group.py +6 -6
  41. pulumi_aws/ec2/serial_console_access.py +50 -3
  42. pulumi_aws/ec2/vpc_endpoint.py +92 -0
  43. pulumi_aws/ec2clientvpn/authorization_rule.py +7 -7
  44. pulumi_aws/ec2clientvpn/route.py +7 -7
  45. pulumi_aws/ec2transitgateway/instance_connect_endpoint.py +47 -0
  46. pulumi_aws/ecrpublic/get_images.py +24 -0
  47. pulumi_aws/ecs/_inputs.py +172 -33
  48. pulumi_aws/ecs/get_service.py +318 -7
  49. pulumi_aws/ecs/outputs.py +957 -86
  50. pulumi_aws/ecs/service.py +76 -0
  51. pulumi_aws/eks/_inputs.py +195 -5
  52. pulumi_aws/eks/outputs.py +164 -4
  53. pulumi_aws/elasticache/_inputs.py +154 -0
  54. pulumi_aws/elasticache/get_replication_group.py +23 -9
  55. pulumi_aws/elasticache/outputs.py +204 -0
  56. pulumi_aws/elasticache/replication_group.py +115 -0
  57. pulumi_aws/elasticache/reserved_cache_node.py +28 -0
  58. pulumi_aws/finspace/kx_cluster.py +76 -0
  59. pulumi_aws/fis/__init__.py +1 -0
  60. pulumi_aws/fis/target_account_configuration.py +401 -0
  61. pulumi_aws/glue/job.py +7 -7
  62. pulumi_aws/guardduty/malware_protection_plan.py +50 -0
  63. pulumi_aws/guardduty/member_detector_feature.py +42 -0
  64. pulumi_aws/invoicing/__init__.py +11 -0
  65. pulumi_aws/invoicing/_inputs.py +128 -0
  66. pulumi_aws/invoicing/invoice_unit.py +620 -0
  67. pulumi_aws/invoicing/outputs.py +99 -0
  68. pulumi_aws/iot/ca_certificate.py +32 -32
  69. pulumi_aws/iot/get_registration_code.py +8 -8
  70. pulumi_aws/ivschat/logging_configuration.py +28 -0
  71. pulumi_aws/kinesis/get_stream.py +15 -1
  72. pulumi_aws/kinesis/stream.py +47 -0
  73. pulumi_aws/kms/key.py +7 -7
  74. pulumi_aws/licensemanager/license_grant.py +36 -0
  75. pulumi_aws/m2/environment.py +150 -0
  76. pulumi_aws/networkfirewall/tls_inspection_configuration.py +84 -0
  77. pulumi_aws/networkflowmonitor/__init__.py +12 -0
  78. pulumi_aws/networkflowmonitor/_inputs.py +412 -0
  79. pulumi_aws/networkflowmonitor/monitor.py +568 -0
  80. pulumi_aws/networkflowmonitor/outputs.py +302 -0
  81. pulumi_aws/networkflowmonitor/scope.py +443 -0
  82. pulumi_aws/observabilityadmin/__init__.py +11 -0
  83. pulumi_aws/observabilityadmin/_inputs.py +506 -0
  84. pulumi_aws/observabilityadmin/centralization_rule_for_organization.py +637 -0
  85. pulumi_aws/observabilityadmin/outputs.py +415 -0
  86. pulumi_aws/opensearch/_inputs.py +92 -133
  87. pulumi_aws/opensearch/authorize_vpc_endpoint_access.py +4 -4
  88. pulumi_aws/opensearch/domain.py +60 -0
  89. pulumi_aws/opensearch/get_domain.py +16 -9
  90. pulumi_aws/opensearch/outputs.py +131 -2
  91. pulumi_aws/organizations/get_policies.py +2 -2
  92. pulumi_aws/organizations/get_policies_for_target.py +2 -2
  93. pulumi_aws/organizations/get_policy.py +1 -1
  94. pulumi_aws/organizations/organization.py +7 -7
  95. pulumi_aws/organizations/policy.py +35 -7
  96. pulumi_aws/pulumi-plugin.json +1 -1
  97. pulumi_aws/quicksight/analysis.py +108 -0
  98. pulumi_aws/quicksight/dashboard.py +110 -0
  99. pulumi_aws/quicksight/template.py +126 -0
  100. pulumi_aws/redshift/cluster_snapshot.py +28 -0
  101. pulumi_aws/redshift/get_cluster.py +52 -0
  102. pulumi_aws/redshift/snapshot_copy_grant.py +22 -0
  103. pulumi_aws/route53/profiles_association.py +30 -0
  104. pulumi_aws/route53/profiles_resource_association.py +34 -0
  105. pulumi_aws/s3control/multi_region_access_point_policy.py +76 -0
  106. pulumi_aws/s3tables/table.py +76 -1
  107. pulumi_aws/s3tables/table_bucket.py +78 -3
  108. pulumi_aws/sagemaker/_inputs.py +225 -232
  109. pulumi_aws/sagemaker/endpoint_configuration.py +111 -64
  110. pulumi_aws/sagemaker/outputs.py +154 -158
  111. pulumi_aws/ssmincidents/get_response_plan.py +14 -0
  112. pulumi_aws/ssoadmin/account_assignment.py +4 -4
  113. pulumi_aws/transfer/profile.py +20 -0
  114. pulumi_aws/transfer/server.py +7 -0
  115. pulumi_aws/transfer/ssh_key.py +6 -6
  116. pulumi_aws/wafv2/rule_group.py +440 -0
  117. pulumi_aws/workspacesweb/session_logger_association.py +80 -0
  118. pulumi_aws/workspacesweb/trust_store_association.py +24 -0
  119. {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/METADATA +1 -1
  120. {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/RECORD +122 -107
  121. {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/WHEEL +0 -0
  122. {pulumi_aws-7.11.1.dist-info → pulumi_aws-7.12.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,620 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = ['InvoiceUnitArgs', 'InvoiceUnit']
20
+
21
+ @pulumi.input_type
22
+ class InvoiceUnitArgs:
23
+ def __init__(__self__, *,
24
+ invoice_receiver: pulumi.Input[_builtins.str],
25
+ description: Optional[pulumi.Input[_builtins.str]] = None,
26
+ name: Optional[pulumi.Input[_builtins.str]] = None,
27
+ region: Optional[pulumi.Input[_builtins.str]] = None,
28
+ rules: Optional[pulumi.Input[Sequence[pulumi.Input['InvoiceUnitRuleArgs']]]] = None,
29
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
30
+ tax_inheritance_disabled: Optional[pulumi.Input[_builtins.bool]] = None,
31
+ timeouts: Optional[pulumi.Input['InvoiceUnitTimeoutsArgs']] = None):
32
+ """
33
+ The set of arguments for constructing a InvoiceUnit resource.
34
+ :param pulumi.Input[_builtins.str] invoice_receiver: AWS account ID that receives invoices for this unit. Cannot be changed after creation.
35
+ :param pulumi.Input[_builtins.str] description: Description of the invoice unit.
36
+ :param pulumi.Input[_builtins.str] name: Unique name of the invoice unit. Cannot be changed after creation.
37
+ :param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
38
+ :param pulumi.Input[Sequence[pulumi.Input['InvoiceUnitRuleArgs']]] rules: Configuration block for invoice unit rules. See below.
39
+
40
+ The following arguments are optional:
41
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
42
+ :param pulumi.Input[_builtins.bool] tax_inheritance_disabled: Whether tax inheritance is disabled for this invoice unit.
43
+ """
44
+ pulumi.set(__self__, "invoice_receiver", invoice_receiver)
45
+ if description is not None:
46
+ pulumi.set(__self__, "description", description)
47
+ if name is not None:
48
+ pulumi.set(__self__, "name", name)
49
+ if region is not None:
50
+ pulumi.set(__self__, "region", region)
51
+ if rules is not None:
52
+ pulumi.set(__self__, "rules", rules)
53
+ if tags is not None:
54
+ pulumi.set(__self__, "tags", tags)
55
+ if tax_inheritance_disabled is not None:
56
+ pulumi.set(__self__, "tax_inheritance_disabled", tax_inheritance_disabled)
57
+ if timeouts is not None:
58
+ pulumi.set(__self__, "timeouts", timeouts)
59
+
60
+ @_builtins.property
61
+ @pulumi.getter(name="invoiceReceiver")
62
+ def invoice_receiver(self) -> pulumi.Input[_builtins.str]:
63
+ """
64
+ AWS account ID that receives invoices for this unit. Cannot be changed after creation.
65
+ """
66
+ return pulumi.get(self, "invoice_receiver")
67
+
68
+ @invoice_receiver.setter
69
+ def invoice_receiver(self, value: pulumi.Input[_builtins.str]):
70
+ pulumi.set(self, "invoice_receiver", value)
71
+
72
+ @_builtins.property
73
+ @pulumi.getter
74
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
75
+ """
76
+ Description of the invoice unit.
77
+ """
78
+ return pulumi.get(self, "description")
79
+
80
+ @description.setter
81
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
82
+ pulumi.set(self, "description", value)
83
+
84
+ @_builtins.property
85
+ @pulumi.getter
86
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
87
+ """
88
+ Unique name of the invoice unit. Cannot be changed after creation.
89
+ """
90
+ return pulumi.get(self, "name")
91
+
92
+ @name.setter
93
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
94
+ pulumi.set(self, "name", value)
95
+
96
+ @_builtins.property
97
+ @pulumi.getter
98
+ def region(self) -> Optional[pulumi.Input[_builtins.str]]:
99
+ """
100
+ Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
101
+ """
102
+ return pulumi.get(self, "region")
103
+
104
+ @region.setter
105
+ def region(self, value: Optional[pulumi.Input[_builtins.str]]):
106
+ pulumi.set(self, "region", value)
107
+
108
+ @_builtins.property
109
+ @pulumi.getter
110
+ def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InvoiceUnitRuleArgs']]]]:
111
+ """
112
+ Configuration block for invoice unit rules. See below.
113
+
114
+ The following arguments are optional:
115
+ """
116
+ return pulumi.get(self, "rules")
117
+
118
+ @rules.setter
119
+ def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InvoiceUnitRuleArgs']]]]):
120
+ pulumi.set(self, "rules", value)
121
+
122
+ @_builtins.property
123
+ @pulumi.getter
124
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
125
+ """
126
+ Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
127
+ """
128
+ return pulumi.get(self, "tags")
129
+
130
+ @tags.setter
131
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
132
+ pulumi.set(self, "tags", value)
133
+
134
+ @_builtins.property
135
+ @pulumi.getter(name="taxInheritanceDisabled")
136
+ def tax_inheritance_disabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
137
+ """
138
+ Whether tax inheritance is disabled for this invoice unit.
139
+ """
140
+ return pulumi.get(self, "tax_inheritance_disabled")
141
+
142
+ @tax_inheritance_disabled.setter
143
+ def tax_inheritance_disabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
144
+ pulumi.set(self, "tax_inheritance_disabled", value)
145
+
146
+ @_builtins.property
147
+ @pulumi.getter
148
+ def timeouts(self) -> Optional[pulumi.Input['InvoiceUnitTimeoutsArgs']]:
149
+ return pulumi.get(self, "timeouts")
150
+
151
+ @timeouts.setter
152
+ def timeouts(self, value: Optional[pulumi.Input['InvoiceUnitTimeoutsArgs']]):
153
+ pulumi.set(self, "timeouts", value)
154
+
155
+
156
+ @pulumi.input_type
157
+ class _InvoiceUnitState:
158
+ def __init__(__self__, *,
159
+ arn: Optional[pulumi.Input[_builtins.str]] = None,
160
+ description: Optional[pulumi.Input[_builtins.str]] = None,
161
+ invoice_receiver: Optional[pulumi.Input[_builtins.str]] = None,
162
+ last_modified: Optional[pulumi.Input[_builtins.str]] = None,
163
+ name: Optional[pulumi.Input[_builtins.str]] = None,
164
+ region: Optional[pulumi.Input[_builtins.str]] = None,
165
+ rules: Optional[pulumi.Input[Sequence[pulumi.Input['InvoiceUnitRuleArgs']]]] = None,
166
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
167
+ tags_all: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
168
+ tax_inheritance_disabled: Optional[pulumi.Input[_builtins.bool]] = None,
169
+ timeouts: Optional[pulumi.Input['InvoiceUnitTimeoutsArgs']] = None):
170
+ """
171
+ Input properties used for looking up and filtering InvoiceUnit resources.
172
+ :param pulumi.Input[_builtins.str] arn: ARN of the invoice unit.
173
+ :param pulumi.Input[_builtins.str] description: Description of the invoice unit.
174
+ :param pulumi.Input[_builtins.str] invoice_receiver: AWS account ID that receives invoices for this unit. Cannot be changed after creation.
175
+ :param pulumi.Input[_builtins.str] last_modified: Timestamp when the invoice unit was last modified.
176
+ :param pulumi.Input[_builtins.str] name: Unique name of the invoice unit. Cannot be changed after creation.
177
+ :param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
178
+ :param pulumi.Input[Sequence[pulumi.Input['InvoiceUnitRuleArgs']]] rules: Configuration block for invoice unit rules. See below.
179
+
180
+ The following arguments are optional:
181
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
182
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags_all: Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
183
+ :param pulumi.Input[_builtins.bool] tax_inheritance_disabled: Whether tax inheritance is disabled for this invoice unit.
184
+ """
185
+ if arn is not None:
186
+ pulumi.set(__self__, "arn", arn)
187
+ if description is not None:
188
+ pulumi.set(__self__, "description", description)
189
+ if invoice_receiver is not None:
190
+ pulumi.set(__self__, "invoice_receiver", invoice_receiver)
191
+ if last_modified is not None:
192
+ pulumi.set(__self__, "last_modified", last_modified)
193
+ if name is not None:
194
+ pulumi.set(__self__, "name", name)
195
+ if region is not None:
196
+ pulumi.set(__self__, "region", region)
197
+ if rules is not None:
198
+ pulumi.set(__self__, "rules", rules)
199
+ if tags is not None:
200
+ pulumi.set(__self__, "tags", tags)
201
+ if tags_all is not None:
202
+ pulumi.set(__self__, "tags_all", tags_all)
203
+ if tax_inheritance_disabled is not None:
204
+ pulumi.set(__self__, "tax_inheritance_disabled", tax_inheritance_disabled)
205
+ if timeouts is not None:
206
+ pulumi.set(__self__, "timeouts", timeouts)
207
+
208
+ @_builtins.property
209
+ @pulumi.getter
210
+ def arn(self) -> Optional[pulumi.Input[_builtins.str]]:
211
+ """
212
+ ARN of the invoice unit.
213
+ """
214
+ return pulumi.get(self, "arn")
215
+
216
+ @arn.setter
217
+ def arn(self, value: Optional[pulumi.Input[_builtins.str]]):
218
+ pulumi.set(self, "arn", value)
219
+
220
+ @_builtins.property
221
+ @pulumi.getter
222
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
223
+ """
224
+ Description of the invoice unit.
225
+ """
226
+ return pulumi.get(self, "description")
227
+
228
+ @description.setter
229
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
230
+ pulumi.set(self, "description", value)
231
+
232
+ @_builtins.property
233
+ @pulumi.getter(name="invoiceReceiver")
234
+ def invoice_receiver(self) -> Optional[pulumi.Input[_builtins.str]]:
235
+ """
236
+ AWS account ID that receives invoices for this unit. Cannot be changed after creation.
237
+ """
238
+ return pulumi.get(self, "invoice_receiver")
239
+
240
+ @invoice_receiver.setter
241
+ def invoice_receiver(self, value: Optional[pulumi.Input[_builtins.str]]):
242
+ pulumi.set(self, "invoice_receiver", value)
243
+
244
+ @_builtins.property
245
+ @pulumi.getter(name="lastModified")
246
+ def last_modified(self) -> Optional[pulumi.Input[_builtins.str]]:
247
+ """
248
+ Timestamp when the invoice unit was last modified.
249
+ """
250
+ return pulumi.get(self, "last_modified")
251
+
252
+ @last_modified.setter
253
+ def last_modified(self, value: Optional[pulumi.Input[_builtins.str]]):
254
+ pulumi.set(self, "last_modified", value)
255
+
256
+ @_builtins.property
257
+ @pulumi.getter
258
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
259
+ """
260
+ Unique name of the invoice unit. Cannot be changed after creation.
261
+ """
262
+ return pulumi.get(self, "name")
263
+
264
+ @name.setter
265
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
266
+ pulumi.set(self, "name", value)
267
+
268
+ @_builtins.property
269
+ @pulumi.getter
270
+ def region(self) -> Optional[pulumi.Input[_builtins.str]]:
271
+ """
272
+ Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
273
+ """
274
+ return pulumi.get(self, "region")
275
+
276
+ @region.setter
277
+ def region(self, value: Optional[pulumi.Input[_builtins.str]]):
278
+ pulumi.set(self, "region", value)
279
+
280
+ @_builtins.property
281
+ @pulumi.getter
282
+ def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InvoiceUnitRuleArgs']]]]:
283
+ """
284
+ Configuration block for invoice unit rules. See below.
285
+
286
+ The following arguments are optional:
287
+ """
288
+ return pulumi.get(self, "rules")
289
+
290
+ @rules.setter
291
+ def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InvoiceUnitRuleArgs']]]]):
292
+ pulumi.set(self, "rules", value)
293
+
294
+ @_builtins.property
295
+ @pulumi.getter
296
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
297
+ """
298
+ Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
299
+ """
300
+ return pulumi.get(self, "tags")
301
+
302
+ @tags.setter
303
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
304
+ pulumi.set(self, "tags", value)
305
+
306
+ @_builtins.property
307
+ @pulumi.getter(name="tagsAll")
308
+ def tags_all(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
309
+ """
310
+ Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
311
+ """
312
+ return pulumi.get(self, "tags_all")
313
+
314
+ @tags_all.setter
315
+ def tags_all(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
316
+ pulumi.set(self, "tags_all", value)
317
+
318
+ @_builtins.property
319
+ @pulumi.getter(name="taxInheritanceDisabled")
320
+ def tax_inheritance_disabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
321
+ """
322
+ Whether tax inheritance is disabled for this invoice unit.
323
+ """
324
+ return pulumi.get(self, "tax_inheritance_disabled")
325
+
326
+ @tax_inheritance_disabled.setter
327
+ def tax_inheritance_disabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
328
+ pulumi.set(self, "tax_inheritance_disabled", value)
329
+
330
+ @_builtins.property
331
+ @pulumi.getter
332
+ def timeouts(self) -> Optional[pulumi.Input['InvoiceUnitTimeoutsArgs']]:
333
+ return pulumi.get(self, "timeouts")
334
+
335
+ @timeouts.setter
336
+ def timeouts(self, value: Optional[pulumi.Input['InvoiceUnitTimeoutsArgs']]):
337
+ pulumi.set(self, "timeouts", value)
338
+
339
+
340
+ @pulumi.type_token("aws:invoicing/invoiceUnit:InvoiceUnit")
341
+ class InvoiceUnit(pulumi.CustomResource):
342
+ @overload
343
+ def __init__(__self__,
344
+ resource_name: str,
345
+ opts: Optional[pulumi.ResourceOptions] = None,
346
+ description: Optional[pulumi.Input[_builtins.str]] = None,
347
+ invoice_receiver: Optional[pulumi.Input[_builtins.str]] = None,
348
+ name: Optional[pulumi.Input[_builtins.str]] = None,
349
+ region: Optional[pulumi.Input[_builtins.str]] = None,
350
+ rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InvoiceUnitRuleArgs', 'InvoiceUnitRuleArgsDict']]]]] = None,
351
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
352
+ tax_inheritance_disabled: Optional[pulumi.Input[_builtins.bool]] = None,
353
+ timeouts: Optional[pulumi.Input[Union['InvoiceUnitTimeoutsArgs', 'InvoiceUnitTimeoutsArgsDict']]] = None,
354
+ __props__=None):
355
+ """
356
+ Manages an AWS Invoice Unit for organizational billing.
357
+
358
+ ## Example Usage
359
+
360
+ ```python
361
+ import pulumi
362
+ import pulumi_aws as aws
363
+
364
+ example = aws.invoicing.InvoiceUnit("example",
365
+ name="example-unit",
366
+ description="Example invoice unit",
367
+ invoice_receiver="123456789012",
368
+ rules=[{
369
+ "linked_accounts": ["098765432109"],
370
+ }],
371
+ tags={
372
+ "Environment": "production",
373
+ })
374
+ ```
375
+
376
+ ## Import
377
+
378
+ Using `pulumi import`, import Invoice Units using the ARN. For example:
379
+
380
+ ```sh
381
+ $ pulumi import aws:invoicing/invoiceUnit:InvoiceUnit example arn:aws:invoicing::123456789012:invoice-unit/example-id
382
+ ```
383
+
384
+ :param str resource_name: The name of the resource.
385
+ :param pulumi.ResourceOptions opts: Options for the resource.
386
+ :param pulumi.Input[_builtins.str] description: Description of the invoice unit.
387
+ :param pulumi.Input[_builtins.str] invoice_receiver: AWS account ID that receives invoices for this unit. Cannot be changed after creation.
388
+ :param pulumi.Input[_builtins.str] name: Unique name of the invoice unit. Cannot be changed after creation.
389
+ :param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
390
+ :param pulumi.Input[Sequence[pulumi.Input[Union['InvoiceUnitRuleArgs', 'InvoiceUnitRuleArgsDict']]]] rules: Configuration block for invoice unit rules. See below.
391
+
392
+ The following arguments are optional:
393
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
394
+ :param pulumi.Input[_builtins.bool] tax_inheritance_disabled: Whether tax inheritance is disabled for this invoice unit.
395
+ """
396
+ ...
397
+ @overload
398
+ def __init__(__self__,
399
+ resource_name: str,
400
+ args: InvoiceUnitArgs,
401
+ opts: Optional[pulumi.ResourceOptions] = None):
402
+ """
403
+ Manages an AWS Invoice Unit for organizational billing.
404
+
405
+ ## Example Usage
406
+
407
+ ```python
408
+ import pulumi
409
+ import pulumi_aws as aws
410
+
411
+ example = aws.invoicing.InvoiceUnit("example",
412
+ name="example-unit",
413
+ description="Example invoice unit",
414
+ invoice_receiver="123456789012",
415
+ rules=[{
416
+ "linked_accounts": ["098765432109"],
417
+ }],
418
+ tags={
419
+ "Environment": "production",
420
+ })
421
+ ```
422
+
423
+ ## Import
424
+
425
+ Using `pulumi import`, import Invoice Units using the ARN. For example:
426
+
427
+ ```sh
428
+ $ pulumi import aws:invoicing/invoiceUnit:InvoiceUnit example arn:aws:invoicing::123456789012:invoice-unit/example-id
429
+ ```
430
+
431
+ :param str resource_name: The name of the resource.
432
+ :param InvoiceUnitArgs args: The arguments to use to populate this resource's properties.
433
+ :param pulumi.ResourceOptions opts: Options for the resource.
434
+ """
435
+ ...
436
+ def __init__(__self__, resource_name: str, *args, **kwargs):
437
+ resource_args, opts = _utilities.get_resource_args_opts(InvoiceUnitArgs, pulumi.ResourceOptions, *args, **kwargs)
438
+ if resource_args is not None:
439
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
440
+ else:
441
+ __self__._internal_init(resource_name, *args, **kwargs)
442
+
443
+ def _internal_init(__self__,
444
+ resource_name: str,
445
+ opts: Optional[pulumi.ResourceOptions] = None,
446
+ description: Optional[pulumi.Input[_builtins.str]] = None,
447
+ invoice_receiver: Optional[pulumi.Input[_builtins.str]] = None,
448
+ name: Optional[pulumi.Input[_builtins.str]] = None,
449
+ region: Optional[pulumi.Input[_builtins.str]] = None,
450
+ rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InvoiceUnitRuleArgs', 'InvoiceUnitRuleArgsDict']]]]] = None,
451
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
452
+ tax_inheritance_disabled: Optional[pulumi.Input[_builtins.bool]] = None,
453
+ timeouts: Optional[pulumi.Input[Union['InvoiceUnitTimeoutsArgs', 'InvoiceUnitTimeoutsArgsDict']]] = None,
454
+ __props__=None):
455
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
456
+ if not isinstance(opts, pulumi.ResourceOptions):
457
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
458
+ if opts.id is None:
459
+ if __props__ is not None:
460
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
461
+ __props__ = InvoiceUnitArgs.__new__(InvoiceUnitArgs)
462
+
463
+ __props__.__dict__["description"] = description
464
+ if invoice_receiver is None and not opts.urn:
465
+ raise TypeError("Missing required property 'invoice_receiver'")
466
+ __props__.__dict__["invoice_receiver"] = invoice_receiver
467
+ __props__.__dict__["name"] = name
468
+ __props__.__dict__["region"] = region
469
+ __props__.__dict__["rules"] = rules
470
+ __props__.__dict__["tags"] = tags
471
+ __props__.__dict__["tax_inheritance_disabled"] = tax_inheritance_disabled
472
+ __props__.__dict__["timeouts"] = timeouts
473
+ __props__.__dict__["arn"] = None
474
+ __props__.__dict__["last_modified"] = None
475
+ __props__.__dict__["tags_all"] = None
476
+ super(InvoiceUnit, __self__).__init__(
477
+ 'aws:invoicing/invoiceUnit:InvoiceUnit',
478
+ resource_name,
479
+ __props__,
480
+ opts)
481
+
482
+ @staticmethod
483
+ def get(resource_name: str,
484
+ id: pulumi.Input[str],
485
+ opts: Optional[pulumi.ResourceOptions] = None,
486
+ arn: Optional[pulumi.Input[_builtins.str]] = None,
487
+ description: Optional[pulumi.Input[_builtins.str]] = None,
488
+ invoice_receiver: Optional[pulumi.Input[_builtins.str]] = None,
489
+ last_modified: Optional[pulumi.Input[_builtins.str]] = None,
490
+ name: Optional[pulumi.Input[_builtins.str]] = None,
491
+ region: Optional[pulumi.Input[_builtins.str]] = None,
492
+ rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InvoiceUnitRuleArgs', 'InvoiceUnitRuleArgsDict']]]]] = None,
493
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
494
+ tags_all: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
495
+ tax_inheritance_disabled: Optional[pulumi.Input[_builtins.bool]] = None,
496
+ timeouts: Optional[pulumi.Input[Union['InvoiceUnitTimeoutsArgs', 'InvoiceUnitTimeoutsArgsDict']]] = None) -> 'InvoiceUnit':
497
+ """
498
+ Get an existing InvoiceUnit resource's state with the given name, id, and optional extra
499
+ properties used to qualify the lookup.
500
+
501
+ :param str resource_name: The unique name of the resulting resource.
502
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
503
+ :param pulumi.ResourceOptions opts: Options for the resource.
504
+ :param pulumi.Input[_builtins.str] arn: ARN of the invoice unit.
505
+ :param pulumi.Input[_builtins.str] description: Description of the invoice unit.
506
+ :param pulumi.Input[_builtins.str] invoice_receiver: AWS account ID that receives invoices for this unit. Cannot be changed after creation.
507
+ :param pulumi.Input[_builtins.str] last_modified: Timestamp when the invoice unit was last modified.
508
+ :param pulumi.Input[_builtins.str] name: Unique name of the invoice unit. Cannot be changed after creation.
509
+ :param pulumi.Input[_builtins.str] region: Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
510
+ :param pulumi.Input[Sequence[pulumi.Input[Union['InvoiceUnitRuleArgs', 'InvoiceUnitRuleArgsDict']]]] rules: Configuration block for invoice unit rules. See below.
511
+
512
+ The following arguments are optional:
513
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
514
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags_all: Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
515
+ :param pulumi.Input[_builtins.bool] tax_inheritance_disabled: Whether tax inheritance is disabled for this invoice unit.
516
+ """
517
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
518
+
519
+ __props__ = _InvoiceUnitState.__new__(_InvoiceUnitState)
520
+
521
+ __props__.__dict__["arn"] = arn
522
+ __props__.__dict__["description"] = description
523
+ __props__.__dict__["invoice_receiver"] = invoice_receiver
524
+ __props__.__dict__["last_modified"] = last_modified
525
+ __props__.__dict__["name"] = name
526
+ __props__.__dict__["region"] = region
527
+ __props__.__dict__["rules"] = rules
528
+ __props__.__dict__["tags"] = tags
529
+ __props__.__dict__["tags_all"] = tags_all
530
+ __props__.__dict__["tax_inheritance_disabled"] = tax_inheritance_disabled
531
+ __props__.__dict__["timeouts"] = timeouts
532
+ return InvoiceUnit(resource_name, opts=opts, __props__=__props__)
533
+
534
+ @_builtins.property
535
+ @pulumi.getter
536
+ def arn(self) -> pulumi.Output[_builtins.str]:
537
+ """
538
+ ARN of the invoice unit.
539
+ """
540
+ return pulumi.get(self, "arn")
541
+
542
+ @_builtins.property
543
+ @pulumi.getter
544
+ def description(self) -> pulumi.Output[Optional[_builtins.str]]:
545
+ """
546
+ Description of the invoice unit.
547
+ """
548
+ return pulumi.get(self, "description")
549
+
550
+ @_builtins.property
551
+ @pulumi.getter(name="invoiceReceiver")
552
+ def invoice_receiver(self) -> pulumi.Output[_builtins.str]:
553
+ """
554
+ AWS account ID that receives invoices for this unit. Cannot be changed after creation.
555
+ """
556
+ return pulumi.get(self, "invoice_receiver")
557
+
558
+ @_builtins.property
559
+ @pulumi.getter(name="lastModified")
560
+ def last_modified(self) -> pulumi.Output[_builtins.str]:
561
+ """
562
+ Timestamp when the invoice unit was last modified.
563
+ """
564
+ return pulumi.get(self, "last_modified")
565
+
566
+ @_builtins.property
567
+ @pulumi.getter
568
+ def name(self) -> pulumi.Output[_builtins.str]:
569
+ """
570
+ Unique name of the invoice unit. Cannot be changed after creation.
571
+ """
572
+ return pulumi.get(self, "name")
573
+
574
+ @_builtins.property
575
+ @pulumi.getter
576
+ def region(self) -> pulumi.Output[_builtins.str]:
577
+ """
578
+ Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
579
+ """
580
+ return pulumi.get(self, "region")
581
+
582
+ @_builtins.property
583
+ @pulumi.getter
584
+ def rules(self) -> pulumi.Output[Optional[Sequence['outputs.InvoiceUnitRule']]]:
585
+ """
586
+ Configuration block for invoice unit rules. See below.
587
+
588
+ The following arguments are optional:
589
+ """
590
+ return pulumi.get(self, "rules")
591
+
592
+ @_builtins.property
593
+ @pulumi.getter
594
+ def tags(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
595
+ """
596
+ Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
597
+ """
598
+ return pulumi.get(self, "tags")
599
+
600
+ @_builtins.property
601
+ @pulumi.getter(name="tagsAll")
602
+ def tags_all(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
603
+ """
604
+ Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
605
+ """
606
+ return pulumi.get(self, "tags_all")
607
+
608
+ @_builtins.property
609
+ @pulumi.getter(name="taxInheritanceDisabled")
610
+ def tax_inheritance_disabled(self) -> pulumi.Output[_builtins.bool]:
611
+ """
612
+ Whether tax inheritance is disabled for this invoice unit.
613
+ """
614
+ return pulumi.get(self, "tax_inheritance_disabled")
615
+
616
+ @_builtins.property
617
+ @pulumi.getter
618
+ def timeouts(self) -> pulumi.Output[Optional['outputs.InvoiceUnitTimeouts']]:
619
+ return pulumi.get(self, "timeouts")
620
+