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,401 @@
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
+
17
+ __all__ = ['TargetAccountConfigurationArgs', 'TargetAccountConfiguration']
18
+
19
+ @pulumi.input_type
20
+ class TargetAccountConfigurationArgs:
21
+ def __init__(__self__, *,
22
+ account_id: pulumi.Input[_builtins.str],
23
+ experiment_template_id: pulumi.Input[_builtins.str],
24
+ description: Optional[pulumi.Input[_builtins.str]] = None,
25
+ region: Optional[pulumi.Input[_builtins.str]] = None,
26
+ role_arn: Optional[pulumi.Input[_builtins.str]] = None):
27
+ """
28
+ The set of arguments for constructing a TargetAccountConfiguration resource.
29
+ :param pulumi.Input[_builtins.str] account_id: Account ID of the target account.
30
+ :param pulumi.Input[_builtins.str] experiment_template_id: Experiment Template ID.
31
+
32
+ The following arguments are optional:
33
+ :param pulumi.Input[_builtins.str] description: Description of the target account.
34
+ :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.
35
+ :param pulumi.Input[_builtins.str] role_arn: ARN of the IAM Role for the target account.
36
+ """
37
+ pulumi.set(__self__, "account_id", account_id)
38
+ pulumi.set(__self__, "experiment_template_id", experiment_template_id)
39
+ if description is not None:
40
+ pulumi.set(__self__, "description", description)
41
+ if region is not None:
42
+ pulumi.set(__self__, "region", region)
43
+ if role_arn is not None:
44
+ pulumi.set(__self__, "role_arn", role_arn)
45
+
46
+ @_builtins.property
47
+ @pulumi.getter(name="accountId")
48
+ def account_id(self) -> pulumi.Input[_builtins.str]:
49
+ """
50
+ Account ID of the target account.
51
+ """
52
+ return pulumi.get(self, "account_id")
53
+
54
+ @account_id.setter
55
+ def account_id(self, value: pulumi.Input[_builtins.str]):
56
+ pulumi.set(self, "account_id", value)
57
+
58
+ @_builtins.property
59
+ @pulumi.getter(name="experimentTemplateId")
60
+ def experiment_template_id(self) -> pulumi.Input[_builtins.str]:
61
+ """
62
+ Experiment Template ID.
63
+
64
+ The following arguments are optional:
65
+ """
66
+ return pulumi.get(self, "experiment_template_id")
67
+
68
+ @experiment_template_id.setter
69
+ def experiment_template_id(self, value: pulumi.Input[_builtins.str]):
70
+ pulumi.set(self, "experiment_template_id", value)
71
+
72
+ @_builtins.property
73
+ @pulumi.getter
74
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
75
+ """
76
+ Description of the target account.
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 region(self) -> Optional[pulumi.Input[_builtins.str]]:
87
+ """
88
+ 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.
89
+ """
90
+ return pulumi.get(self, "region")
91
+
92
+ @region.setter
93
+ def region(self, value: Optional[pulumi.Input[_builtins.str]]):
94
+ pulumi.set(self, "region", value)
95
+
96
+ @_builtins.property
97
+ @pulumi.getter(name="roleArn")
98
+ def role_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
99
+ """
100
+ ARN of the IAM Role for the target account.
101
+ """
102
+ return pulumi.get(self, "role_arn")
103
+
104
+ @role_arn.setter
105
+ def role_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
106
+ pulumi.set(self, "role_arn", value)
107
+
108
+
109
+ @pulumi.input_type
110
+ class _TargetAccountConfigurationState:
111
+ def __init__(__self__, *,
112
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
113
+ description: Optional[pulumi.Input[_builtins.str]] = None,
114
+ experiment_template_id: Optional[pulumi.Input[_builtins.str]] = None,
115
+ region: Optional[pulumi.Input[_builtins.str]] = None,
116
+ role_arn: Optional[pulumi.Input[_builtins.str]] = None):
117
+ """
118
+ Input properties used for looking up and filtering TargetAccountConfiguration resources.
119
+ :param pulumi.Input[_builtins.str] account_id: Account ID of the target account.
120
+ :param pulumi.Input[_builtins.str] description: Description of the target account.
121
+ :param pulumi.Input[_builtins.str] experiment_template_id: Experiment Template ID.
122
+
123
+ The following arguments are optional:
124
+ :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.
125
+ :param pulumi.Input[_builtins.str] role_arn: ARN of the IAM Role for the target account.
126
+ """
127
+ if account_id is not None:
128
+ pulumi.set(__self__, "account_id", account_id)
129
+ if description is not None:
130
+ pulumi.set(__self__, "description", description)
131
+ if experiment_template_id is not None:
132
+ pulumi.set(__self__, "experiment_template_id", experiment_template_id)
133
+ if region is not None:
134
+ pulumi.set(__self__, "region", region)
135
+ if role_arn is not None:
136
+ pulumi.set(__self__, "role_arn", role_arn)
137
+
138
+ @_builtins.property
139
+ @pulumi.getter(name="accountId")
140
+ def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
141
+ """
142
+ Account ID of the target account.
143
+ """
144
+ return pulumi.get(self, "account_id")
145
+
146
+ @account_id.setter
147
+ def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
148
+ pulumi.set(self, "account_id", value)
149
+
150
+ @_builtins.property
151
+ @pulumi.getter
152
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
153
+ """
154
+ Description of the target account.
155
+ """
156
+ return pulumi.get(self, "description")
157
+
158
+ @description.setter
159
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
160
+ pulumi.set(self, "description", value)
161
+
162
+ @_builtins.property
163
+ @pulumi.getter(name="experimentTemplateId")
164
+ def experiment_template_id(self) -> Optional[pulumi.Input[_builtins.str]]:
165
+ """
166
+ Experiment Template ID.
167
+
168
+ The following arguments are optional:
169
+ """
170
+ return pulumi.get(self, "experiment_template_id")
171
+
172
+ @experiment_template_id.setter
173
+ def experiment_template_id(self, value: Optional[pulumi.Input[_builtins.str]]):
174
+ pulumi.set(self, "experiment_template_id", value)
175
+
176
+ @_builtins.property
177
+ @pulumi.getter
178
+ def region(self) -> Optional[pulumi.Input[_builtins.str]]:
179
+ """
180
+ 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.
181
+ """
182
+ return pulumi.get(self, "region")
183
+
184
+ @region.setter
185
+ def region(self, value: Optional[pulumi.Input[_builtins.str]]):
186
+ pulumi.set(self, "region", value)
187
+
188
+ @_builtins.property
189
+ @pulumi.getter(name="roleArn")
190
+ def role_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
191
+ """
192
+ ARN of the IAM Role for the target account.
193
+ """
194
+ return pulumi.get(self, "role_arn")
195
+
196
+ @role_arn.setter
197
+ def role_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
198
+ pulumi.set(self, "role_arn", value)
199
+
200
+
201
+ @pulumi.type_token("aws:fis/targetAccountConfiguration:TargetAccountConfiguration")
202
+ class TargetAccountConfiguration(pulumi.CustomResource):
203
+ @overload
204
+ def __init__(__self__,
205
+ resource_name: str,
206
+ opts: Optional[pulumi.ResourceOptions] = None,
207
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
208
+ description: Optional[pulumi.Input[_builtins.str]] = None,
209
+ experiment_template_id: Optional[pulumi.Input[_builtins.str]] = None,
210
+ region: Optional[pulumi.Input[_builtins.str]] = None,
211
+ role_arn: Optional[pulumi.Input[_builtins.str]] = None,
212
+ __props__=None):
213
+ """
214
+ Manages an AWS FIS (Fault Injection Simulator) Target Account Configuration.
215
+
216
+ ## Example Usage
217
+
218
+ ### Basic Usage
219
+
220
+ ```python
221
+ import pulumi
222
+ import pulumi_aws as aws
223
+
224
+ example = aws.fis.TargetAccountConfiguration("example",
225
+ experiment_template_id=example_aws_fis_experiment_template["id"],
226
+ account_id=current["accountId"],
227
+ role_arn=fis_role["arn"],
228
+ description="Example")
229
+ ```
230
+
231
+ ## Import
232
+
233
+ Using `pulumi import`, import FIS (Fault Injection Simulator) Target Account Configuration using the `account_id,experiment_template_id`. For example:
234
+
235
+ ```sh
236
+ $ pulumi import aws:fis/targetAccountConfiguration:TargetAccountConfiguration example 123456789012,abcd123456789
237
+ ```
238
+
239
+ :param str resource_name: The name of the resource.
240
+ :param pulumi.ResourceOptions opts: Options for the resource.
241
+ :param pulumi.Input[_builtins.str] account_id: Account ID of the target account.
242
+ :param pulumi.Input[_builtins.str] description: Description of the target account.
243
+ :param pulumi.Input[_builtins.str] experiment_template_id: Experiment Template ID.
244
+
245
+ The following arguments are optional:
246
+ :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.
247
+ :param pulumi.Input[_builtins.str] role_arn: ARN of the IAM Role for the target account.
248
+ """
249
+ ...
250
+ @overload
251
+ def __init__(__self__,
252
+ resource_name: str,
253
+ args: TargetAccountConfigurationArgs,
254
+ opts: Optional[pulumi.ResourceOptions] = None):
255
+ """
256
+ Manages an AWS FIS (Fault Injection Simulator) Target Account Configuration.
257
+
258
+ ## Example Usage
259
+
260
+ ### Basic Usage
261
+
262
+ ```python
263
+ import pulumi
264
+ import pulumi_aws as aws
265
+
266
+ example = aws.fis.TargetAccountConfiguration("example",
267
+ experiment_template_id=example_aws_fis_experiment_template["id"],
268
+ account_id=current["accountId"],
269
+ role_arn=fis_role["arn"],
270
+ description="Example")
271
+ ```
272
+
273
+ ## Import
274
+
275
+ Using `pulumi import`, import FIS (Fault Injection Simulator) Target Account Configuration using the `account_id,experiment_template_id`. For example:
276
+
277
+ ```sh
278
+ $ pulumi import aws:fis/targetAccountConfiguration:TargetAccountConfiguration example 123456789012,abcd123456789
279
+ ```
280
+
281
+ :param str resource_name: The name of the resource.
282
+ :param TargetAccountConfigurationArgs args: The arguments to use to populate this resource's properties.
283
+ :param pulumi.ResourceOptions opts: Options for the resource.
284
+ """
285
+ ...
286
+ def __init__(__self__, resource_name: str, *args, **kwargs):
287
+ resource_args, opts = _utilities.get_resource_args_opts(TargetAccountConfigurationArgs, pulumi.ResourceOptions, *args, **kwargs)
288
+ if resource_args is not None:
289
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
290
+ else:
291
+ __self__._internal_init(resource_name, *args, **kwargs)
292
+
293
+ def _internal_init(__self__,
294
+ resource_name: str,
295
+ opts: Optional[pulumi.ResourceOptions] = None,
296
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
297
+ description: Optional[pulumi.Input[_builtins.str]] = None,
298
+ experiment_template_id: Optional[pulumi.Input[_builtins.str]] = None,
299
+ region: Optional[pulumi.Input[_builtins.str]] = None,
300
+ role_arn: Optional[pulumi.Input[_builtins.str]] = None,
301
+ __props__=None):
302
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
303
+ if not isinstance(opts, pulumi.ResourceOptions):
304
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
305
+ if opts.id is None:
306
+ if __props__ is not None:
307
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
308
+ __props__ = TargetAccountConfigurationArgs.__new__(TargetAccountConfigurationArgs)
309
+
310
+ if account_id is None and not opts.urn:
311
+ raise TypeError("Missing required property 'account_id'")
312
+ __props__.__dict__["account_id"] = account_id
313
+ __props__.__dict__["description"] = description
314
+ if experiment_template_id is None and not opts.urn:
315
+ raise TypeError("Missing required property 'experiment_template_id'")
316
+ __props__.__dict__["experiment_template_id"] = experiment_template_id
317
+ __props__.__dict__["region"] = region
318
+ __props__.__dict__["role_arn"] = role_arn
319
+ super(TargetAccountConfiguration, __self__).__init__(
320
+ 'aws:fis/targetAccountConfiguration:TargetAccountConfiguration',
321
+ resource_name,
322
+ __props__,
323
+ opts)
324
+
325
+ @staticmethod
326
+ def get(resource_name: str,
327
+ id: pulumi.Input[str],
328
+ opts: Optional[pulumi.ResourceOptions] = None,
329
+ account_id: Optional[pulumi.Input[_builtins.str]] = None,
330
+ description: Optional[pulumi.Input[_builtins.str]] = None,
331
+ experiment_template_id: Optional[pulumi.Input[_builtins.str]] = None,
332
+ region: Optional[pulumi.Input[_builtins.str]] = None,
333
+ role_arn: Optional[pulumi.Input[_builtins.str]] = None) -> 'TargetAccountConfiguration':
334
+ """
335
+ Get an existing TargetAccountConfiguration resource's state with the given name, id, and optional extra
336
+ properties used to qualify the lookup.
337
+
338
+ :param str resource_name: The unique name of the resulting resource.
339
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
340
+ :param pulumi.ResourceOptions opts: Options for the resource.
341
+ :param pulumi.Input[_builtins.str] account_id: Account ID of the target account.
342
+ :param pulumi.Input[_builtins.str] description: Description of the target account.
343
+ :param pulumi.Input[_builtins.str] experiment_template_id: Experiment Template ID.
344
+
345
+ The following arguments are optional:
346
+ :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.
347
+ :param pulumi.Input[_builtins.str] role_arn: ARN of the IAM Role for the target account.
348
+ """
349
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
350
+
351
+ __props__ = _TargetAccountConfigurationState.__new__(_TargetAccountConfigurationState)
352
+
353
+ __props__.__dict__["account_id"] = account_id
354
+ __props__.__dict__["description"] = description
355
+ __props__.__dict__["experiment_template_id"] = experiment_template_id
356
+ __props__.__dict__["region"] = region
357
+ __props__.__dict__["role_arn"] = role_arn
358
+ return TargetAccountConfiguration(resource_name, opts=opts, __props__=__props__)
359
+
360
+ @_builtins.property
361
+ @pulumi.getter(name="accountId")
362
+ def account_id(self) -> pulumi.Output[_builtins.str]:
363
+ """
364
+ Account ID of the target account.
365
+ """
366
+ return pulumi.get(self, "account_id")
367
+
368
+ @_builtins.property
369
+ @pulumi.getter
370
+ def description(self) -> pulumi.Output[_builtins.str]:
371
+ """
372
+ Description of the target account.
373
+ """
374
+ return pulumi.get(self, "description")
375
+
376
+ @_builtins.property
377
+ @pulumi.getter(name="experimentTemplateId")
378
+ def experiment_template_id(self) -> pulumi.Output[_builtins.str]:
379
+ """
380
+ Experiment Template ID.
381
+
382
+ The following arguments are optional:
383
+ """
384
+ return pulumi.get(self, "experiment_template_id")
385
+
386
+ @_builtins.property
387
+ @pulumi.getter
388
+ def region(self) -> pulumi.Output[_builtins.str]:
389
+ """
390
+ 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.
391
+ """
392
+ return pulumi.get(self, "region")
393
+
394
+ @_builtins.property
395
+ @pulumi.getter(name="roleArn")
396
+ def role_arn(self) -> pulumi.Output[_builtins.str]:
397
+ """
398
+ ARN of the IAM Role for the target account.
399
+ """
400
+ return pulumi.get(self, "role_arn")
401
+
pulumi_aws/glue/job.py CHANGED
@@ -67,7 +67,7 @@ class JobArgs:
67
67
  :param pulumi.Input[_builtins.str] security_configuration: The name of the Security Configuration to be associated with the job.
68
68
  :param pulumi.Input['JobSourceControlDetailsArgs'] source_control_details: The details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository. Defined below.
69
69
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
70
- :param pulumi.Input[_builtins.int] timeout: The job timeout in minutes. The default is 2880 minutes (48 hours) for `glueetl` and `pythonshell` jobs, and null (unlimited) for `gluestreaming` jobs.
70
+ :param pulumi.Input[_builtins.int] timeout: The job timeout in minutes. The default is 2880 minutes (48 hours) for `glueetl` and `pythonshell` jobs, and 0 (unlimited) for `gluestreaming` jobs. Leave this attribute argumnet unconfigured for `glueray` jobs.
71
71
  :param pulumi.Input[_builtins.str] worker_type: The type of predefined worker that is allocated when a job runs. Valid values: `Standard`, `G.1X`, `G.2X`, `G.025X`, `G.4X`, `G.8X`, `G.12X`, `G.16X`, `R.1X`, `R.2X`, `R.4X`, `R.8X`, `Z.2X` (Ray jobs). See the [AWS documentation](https://docs.aws.amazon.com/glue/latest/dg/worker-types.html) for details.
72
72
  """
73
73
  pulumi.set(__self__, "command", command)
@@ -371,7 +371,7 @@ class JobArgs:
371
371
  @pulumi.getter
372
372
  def timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
373
373
  """
374
- The job timeout in minutes. The default is 2880 minutes (48 hours) for `glueetl` and `pythonshell` jobs, and null (unlimited) for `gluestreaming` jobs.
374
+ The job timeout in minutes. The default is 2880 minutes (48 hours) for `glueetl` and `pythonshell` jobs, and 0 (unlimited) for `gluestreaming` jobs. Leave this attribute argumnet unconfigured for `glueray` jobs.
375
375
  """
376
376
  return pulumi.get(self, "timeout")
377
377
 
@@ -445,7 +445,7 @@ class _JobState:
445
445
  :param pulumi.Input['JobSourceControlDetailsArgs'] source_control_details: The details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository. Defined below.
446
446
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
447
447
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags_all: A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
448
- :param pulumi.Input[_builtins.int] timeout: The job timeout in minutes. The default is 2880 minutes (48 hours) for `glueetl` and `pythonshell` jobs, and null (unlimited) for `gluestreaming` jobs.
448
+ :param pulumi.Input[_builtins.int] timeout: The job timeout in minutes. The default is 2880 minutes (48 hours) for `glueetl` and `pythonshell` jobs, and 0 (unlimited) for `gluestreaming` jobs. Leave this attribute argumnet unconfigured for `glueray` jobs.
449
449
  :param pulumi.Input[_builtins.str] worker_type: The type of predefined worker that is allocated when a job runs. Valid values: `Standard`, `G.1X`, `G.2X`, `G.025X`, `G.4X`, `G.8X`, `G.12X`, `G.16X`, `R.1X`, `R.2X`, `R.4X`, `R.8X`, `Z.2X` (Ray jobs). See the [AWS documentation](https://docs.aws.amazon.com/glue/latest/dg/worker-types.html) for details.
450
450
  """
451
451
  if arn is not None:
@@ -779,7 +779,7 @@ class _JobState:
779
779
  @pulumi.getter
780
780
  def timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
781
781
  """
782
- The job timeout in minutes. The default is 2880 minutes (48 hours) for `glueetl` and `pythonshell` jobs, and null (unlimited) for `gluestreaming` jobs.
782
+ The job timeout in minutes. The default is 2880 minutes (48 hours) for `glueetl` and `pythonshell` jobs, and 0 (unlimited) for `gluestreaming` jobs. Leave this attribute argumnet unconfigured for `glueray` jobs.
783
783
  """
784
784
  return pulumi.get(self, "timeout")
785
785
 
@@ -1046,7 +1046,7 @@ class Job(pulumi.CustomResource):
1046
1046
  :param pulumi.Input[_builtins.str] security_configuration: The name of the Security Configuration to be associated with the job.
1047
1047
  :param pulumi.Input[Union['JobSourceControlDetailsArgs', 'JobSourceControlDetailsArgsDict']] source_control_details: The details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository. Defined below.
1048
1048
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
1049
- :param pulumi.Input[_builtins.int] timeout: The job timeout in minutes. The default is 2880 minutes (48 hours) for `glueetl` and `pythonshell` jobs, and null (unlimited) for `gluestreaming` jobs.
1049
+ :param pulumi.Input[_builtins.int] timeout: The job timeout in minutes. The default is 2880 minutes (48 hours) for `glueetl` and `pythonshell` jobs, and 0 (unlimited) for `gluestreaming` jobs. Leave this attribute argumnet unconfigured for `glueray` jobs.
1050
1050
  :param pulumi.Input[_builtins.str] worker_type: The type of predefined worker that is allocated when a job runs. Valid values: `Standard`, `G.1X`, `G.2X`, `G.025X`, `G.4X`, `G.8X`, `G.12X`, `G.16X`, `R.1X`, `R.2X`, `R.4X`, `R.8X`, `Z.2X` (Ray jobs). See the [AWS documentation](https://docs.aws.amazon.com/glue/latest/dg/worker-types.html) for details.
1051
1051
  """
1052
1052
  ...
@@ -1389,7 +1389,7 @@ class Job(pulumi.CustomResource):
1389
1389
  :param pulumi.Input[Union['JobSourceControlDetailsArgs', 'JobSourceControlDetailsArgsDict']] source_control_details: The details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository. Defined below.
1390
1390
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
1391
1391
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags_all: A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
1392
- :param pulumi.Input[_builtins.int] timeout: The job timeout in minutes. The default is 2880 minutes (48 hours) for `glueetl` and `pythonshell` jobs, and null (unlimited) for `gluestreaming` jobs.
1392
+ :param pulumi.Input[_builtins.int] timeout: The job timeout in minutes. The default is 2880 minutes (48 hours) for `glueetl` and `pythonshell` jobs, and 0 (unlimited) for `gluestreaming` jobs. Leave this attribute argumnet unconfigured for `glueray` jobs.
1393
1393
  :param pulumi.Input[_builtins.str] worker_type: The type of predefined worker that is allocated when a job runs. Valid values: `Standard`, `G.1X`, `G.2X`, `G.025X`, `G.4X`, `G.8X`, `G.12X`, `G.16X`, `R.1X`, `R.2X`, `R.4X`, `R.8X`, `Z.2X` (Ray jobs). See the [AWS documentation](https://docs.aws.amazon.com/glue/latest/dg/worker-types.html) for details.
1394
1394
  """
1395
1395
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -1611,7 +1611,7 @@ class Job(pulumi.CustomResource):
1611
1611
  @pulumi.getter
1612
1612
  def timeout(self) -> pulumi.Output[_builtins.int]:
1613
1613
  """
1614
- The job timeout in minutes. The default is 2880 minutes (48 hours) for `glueetl` and `pythonshell` jobs, and null (unlimited) for `gluestreaming` jobs.
1614
+ The job timeout in minutes. The default is 2880 minutes (48 hours) for `glueetl` and `pythonshell` jobs, and 0 (unlimited) for `gluestreaming` jobs. Leave this attribute argumnet unconfigured for `glueray` jobs.
1615
1615
  """
1616
1616
  return pulumi.get(self, "timeout")
1617
1617
 
@@ -270,6 +270,31 @@ class MalwareProtectionPlan(pulumi.CustomResource):
270
270
 
271
271
  ## Example Usage
272
272
 
273
+ ```python
274
+ import pulumi
275
+ import pulumi_aws as aws
276
+
277
+ example = aws.guardduty.MalwareProtectionPlan("example",
278
+ role=example_aws_iam_role["arn"],
279
+ protected_resource={
280
+ "s3_bucket": {
281
+ "bucket_name": example_aws_s3_bucket["id"],
282
+ "object_prefixes": [
283
+ "example1",
284
+ "example2",
285
+ ],
286
+ },
287
+ },
288
+ actions=[{
289
+ "tagging": [{
290
+ "status": "ENABLED",
291
+ }],
292
+ }],
293
+ tags={
294
+ "Name": "example",
295
+ })
296
+ ```
297
+
273
298
  ## Import
274
299
 
275
300
  Using `pulumi import`, import GuardDuty malware protection plans using their IDs. For example:
@@ -297,6 +322,31 @@ class MalwareProtectionPlan(pulumi.CustomResource):
297
322
 
298
323
  ## Example Usage
299
324
 
325
+ ```python
326
+ import pulumi
327
+ import pulumi_aws as aws
328
+
329
+ example = aws.guardduty.MalwareProtectionPlan("example",
330
+ role=example_aws_iam_role["arn"],
331
+ protected_resource={
332
+ "s3_bucket": {
333
+ "bucket_name": example_aws_s3_bucket["id"],
334
+ "object_prefixes": [
335
+ "example1",
336
+ "example2",
337
+ ],
338
+ },
339
+ },
340
+ actions=[{
341
+ "tagging": [{
342
+ "status": "ENABLED",
343
+ }],
344
+ }],
345
+ tags={
346
+ "Name": "example",
347
+ })
348
+ ```
349
+
300
350
  ## Import
301
351
 
302
352
  Using `pulumi import`, import GuardDuty malware protection plans using their IDs. For example:
@@ -259,6 +259,27 @@ class MemberDetectorFeature(pulumi.CustomResource):
259
259
 
260
260
  To enable GuardDuty [Extended Threat Detection](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-extended-threat-detection.html) for EKS, you need at least one of these features enabled: [EKS Protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html) or [Runtime Monitoring](https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring-configuration.html). For maximum detection coverage, enabling both is recommended to enhance detection capabilities.
261
261
 
262
+ ```python
263
+ import pulumi
264
+ import pulumi_aws as aws
265
+
266
+ example = aws.guardduty.Detector("example", enable=True)
267
+ eks_protection = aws.guardduty.DetectorFeature("eks_protection",
268
+ detector_id=example.id,
269
+ account_id="123456789012",
270
+ name="EKS_AUDIT_LOGS",
271
+ status="ENABLED")
272
+ eks_runtime_monitoring = aws.guardduty.DetectorFeature("eks_runtime_monitoring",
273
+ detector_id=example.id,
274
+ account_id="123456789012",
275
+ name="EKS_RUNTIME_MONITORING",
276
+ status="ENABLED",
277
+ additional_configurations=[{
278
+ "name": "EKS_ADDON_MANAGEMENT",
279
+ "status": "ENABLED",
280
+ }])
281
+ ```
282
+
262
283
  :param str resource_name: The name of the resource.
263
284
  :param pulumi.ResourceOptions opts: Options for the resource.
264
285
  :param pulumi.Input[_builtins.str] account_id: Member account ID to be updated.
@@ -297,6 +318,27 @@ class MemberDetectorFeature(pulumi.CustomResource):
297
318
 
298
319
  To enable GuardDuty [Extended Threat Detection](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-extended-threat-detection.html) for EKS, you need at least one of these features enabled: [EKS Protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html) or [Runtime Monitoring](https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring-configuration.html). For maximum detection coverage, enabling both is recommended to enhance detection capabilities.
299
320
 
321
+ ```python
322
+ import pulumi
323
+ import pulumi_aws as aws
324
+
325
+ example = aws.guardduty.Detector("example", enable=True)
326
+ eks_protection = aws.guardduty.DetectorFeature("eks_protection",
327
+ detector_id=example.id,
328
+ account_id="123456789012",
329
+ name="EKS_AUDIT_LOGS",
330
+ status="ENABLED")
331
+ eks_runtime_monitoring = aws.guardduty.DetectorFeature("eks_runtime_monitoring",
332
+ detector_id=example.id,
333
+ account_id="123456789012",
334
+ name="EKS_RUNTIME_MONITORING",
335
+ status="ENABLED",
336
+ additional_configurations=[{
337
+ "name": "EKS_ADDON_MANAGEMENT",
338
+ "status": "ENABLED",
339
+ }])
340
+ ```
341
+
300
342
  :param str resource_name: The name of the resource.
301
343
  :param MemberDetectorFeatureArgs args: The arguments to use to populate this resource's properties.
302
344
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -0,0 +1,11 @@
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
+ from .. import _utilities
7
+ import typing
8
+ # Export this package's modules as members:
9
+ from .invoice_unit import *
10
+ from ._inputs import *
11
+ from . import outputs