pulumi-aws 7.9.1__py3-none-any.whl → 7.10.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 (42) hide show
  1. pulumi_aws/__init__.py +40 -0
  2. pulumi_aws/_inputs.py +40 -0
  3. pulumi_aws/appstream/_inputs.py +54 -0
  4. pulumi_aws/appstream/directory_config.py +55 -0
  5. pulumi_aws/appstream/outputs.py +49 -0
  6. pulumi_aws/bedrock/__init__.py +5 -0
  7. pulumi_aws/bedrock/_inputs.py +2097 -0
  8. pulumi_aws/bedrock/agent_agent.py +9 -7
  9. pulumi_aws/bedrock/agentcore_api_key_credential_provider.py +122 -1
  10. pulumi_aws/bedrock/agentcore_memory.py +614 -0
  11. pulumi_aws/bedrock/agentcore_memory_strategy.py +800 -0
  12. pulumi_aws/bedrock/agentcore_oauth2_credential_provider.py +477 -0
  13. pulumi_aws/bedrock/agentcore_token_vault_cmk.py +291 -0
  14. pulumi_aws/bedrock/agentcore_workload_identity.py +359 -0
  15. pulumi_aws/bedrock/outputs.py +1739 -0
  16. pulumi_aws/cloudtrail/trail.py +7 -7
  17. pulumi_aws/config/outputs.py +24 -0
  18. pulumi_aws/docdb/cluster.py +109 -1
  19. pulumi_aws/ec2/route.py +12 -0
  20. pulumi_aws/ecs/task_definition.py +7 -7
  21. pulumi_aws/fis/_inputs.py +3 -3
  22. pulumi_aws/fis/outputs.py +2 -2
  23. pulumi_aws/kms/key_policy.py +7 -7
  24. pulumi_aws/odb/network.py +47 -0
  25. pulumi_aws/organizations/_inputs.py +170 -42
  26. pulumi_aws/organizations/account.py +57 -8
  27. pulumi_aws/organizations/get_organization.py +7 -7
  28. pulumi_aws/organizations/organization.py +27 -27
  29. pulumi_aws/organizations/outputs.py +310 -62
  30. pulumi_aws/pulumi-plugin.json +1 -1
  31. pulumi_aws/rds/cluster.py +102 -1
  32. pulumi_aws/rds/instance.py +102 -1
  33. pulumi_aws/redshift/cluster.py +130 -1
  34. pulumi_aws/redshiftserverless/namespace.py +109 -1
  35. pulumi_aws/secretsmanager/secret_version.py +122 -1
  36. pulumi_aws/ssm/parameter.py +145 -2
  37. pulumi_aws/transfer/host_key.py +75 -1
  38. pulumi_aws/workspaces/get_workspace.py +19 -0
  39. {pulumi_aws-7.9.1.dist-info → pulumi_aws-7.10.0.dist-info}/METADATA +1 -1
  40. {pulumi_aws-7.9.1.dist-info → pulumi_aws-7.10.0.dist-info}/RECORD +42 -37
  41. {pulumi_aws-7.9.1.dist-info → pulumi_aws-7.10.0.dist-info}/WHEEL +0 -0
  42. {pulumi_aws-7.9.1.dist-info → pulumi_aws-7.10.0.dist-info}/top_level.txt +0 -0
@@ -49,7 +49,7 @@ class AgentAgentArgs:
49
49
  :param pulumi.Input[_builtins.str] description: Description of the agent.
50
50
  :param pulumi.Input[Sequence[pulumi.Input['AgentAgentGuardrailConfigurationArgs']]] guardrail_configurations: Details about the guardrail associated with the agent. See `guardrail_configuration` Block for details.
51
51
  :param pulumi.Input[_builtins.int] idle_session_ttl_in_seconds: Number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
52
- :param pulumi.Input[_builtins.str] instruction: Instructions that tell the agent what it should do and how it should interact with users. The valid range is 40 - 20000 characters.
52
+ :param pulumi.Input[_builtins.str] instruction: Instructions that tell the agent what it should do and how it should interact with users. If `prepare_agent` is `true` this argument is required. The valid range is 40 - 20000 characters.
53
53
  :param pulumi.Input[Sequence[pulumi.Input['AgentAgentMemoryConfigurationArgs']]] memory_configurations: Configurations for the agent's ability to retain the conversational context.
54
54
  :param pulumi.Input[_builtins.bool] prepare_agent: Whether to prepare the agent after creation or modification. Defaults to `true`.
55
55
  :param pulumi.Input[Sequence[pulumi.Input['AgentAgentPromptOverrideConfigurationArgs']]] prompt_override_configurations: Configurations to override prompt templates in different parts of an agent sequence. For more information, see [Advanced prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). See `prompt_override_configuration` Block for details.
@@ -189,7 +189,7 @@ class AgentAgentArgs:
189
189
  @pulumi.getter
190
190
  def instruction(self) -> Optional[pulumi.Input[_builtins.str]]:
191
191
  """
192
- Instructions that tell the agent what it should do and how it should interact with users. The valid range is 40 - 20000 characters.
192
+ Instructions that tell the agent what it should do and how it should interact with users. If `prepare_agent` is `true` this argument is required. The valid range is 40 - 20000 characters.
193
193
  """
194
194
  return pulumi.get(self, "instruction")
195
195
 
@@ -318,7 +318,7 @@ class _AgentAgentState:
318
318
  The following arguments are optional:
319
319
  :param pulumi.Input[Sequence[pulumi.Input['AgentAgentGuardrailConfigurationArgs']]] guardrail_configurations: Details about the guardrail associated with the agent. See `guardrail_configuration` Block for details.
320
320
  :param pulumi.Input[_builtins.int] idle_session_ttl_in_seconds: Number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
321
- :param pulumi.Input[_builtins.str] instruction: Instructions that tell the agent what it should do and how it should interact with users. The valid range is 40 - 20000 characters.
321
+ :param pulumi.Input[_builtins.str] instruction: Instructions that tell the agent what it should do and how it should interact with users. If `prepare_agent` is `true` this argument is required. The valid range is 40 - 20000 characters.
322
322
  :param pulumi.Input[Sequence[pulumi.Input['AgentAgentMemoryConfigurationArgs']]] memory_configurations: Configurations for the agent's ability to retain the conversational context.
323
323
  :param pulumi.Input[_builtins.bool] prepare_agent: Whether to prepare the agent after creation or modification. Defaults to `true`.
324
324
  :param pulumi.Input[_builtins.str] prepared_at: Timestamp of when the agent was last prepared.
@@ -509,7 +509,7 @@ class _AgentAgentState:
509
509
  @pulumi.getter
510
510
  def instruction(self) -> Optional[pulumi.Input[_builtins.str]]:
511
511
  """
512
- Instructions that tell the agent what it should do and how it should interact with users. The valid range is 40 - 20000 characters.
512
+ Instructions that tell the agent what it should do and how it should interact with users. If `prepare_agent` is `true` this argument is required. The valid range is 40 - 20000 characters.
513
513
  """
514
514
  return pulumi.get(self, "instruction")
515
515
 
@@ -693,6 +693,7 @@ class AgentAgent(pulumi.CustomResource):
693
693
  agent_name="my-agent-name",
694
694
  agent_resource_role_arn=example.arn,
695
695
  idle_session_ttl_in_seconds=500,
696
+ instruction="You are a friendly assistant who helps answer questions.",
696
697
  foundation_model="anthropic.claude-v2")
697
698
  ```
698
699
 
@@ -716,7 +717,7 @@ class AgentAgent(pulumi.CustomResource):
716
717
  The following arguments are optional:
717
718
  :param pulumi.Input[Sequence[pulumi.Input[Union['AgentAgentGuardrailConfigurationArgs', 'AgentAgentGuardrailConfigurationArgsDict']]]] guardrail_configurations: Details about the guardrail associated with the agent. See `guardrail_configuration` Block for details.
718
719
  :param pulumi.Input[_builtins.int] idle_session_ttl_in_seconds: Number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
719
- :param pulumi.Input[_builtins.str] instruction: Instructions that tell the agent what it should do and how it should interact with users. The valid range is 40 - 20000 characters.
720
+ :param pulumi.Input[_builtins.str] instruction: Instructions that tell the agent what it should do and how it should interact with users. If `prepare_agent` is `true` this argument is required. The valid range is 40 - 20000 characters.
720
721
  :param pulumi.Input[Sequence[pulumi.Input[Union['AgentAgentMemoryConfigurationArgs', 'AgentAgentMemoryConfigurationArgsDict']]]] memory_configurations: Configurations for the agent's ability to retain the conversational context.
721
722
  :param pulumi.Input[_builtins.bool] prepare_agent: Whether to prepare the agent after creation or modification. Defaults to `true`.
722
723
  :param pulumi.Input[Sequence[pulumi.Input[Union['AgentAgentPromptOverrideConfigurationArgs', 'AgentAgentPromptOverrideConfigurationArgsDict']]]] prompt_override_configurations: Configurations to override prompt templates in different parts of an agent sequence. For more information, see [Advanced prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). See `prompt_override_configuration` Block for details.
@@ -777,6 +778,7 @@ class AgentAgent(pulumi.CustomResource):
777
778
  agent_name="my-agent-name",
778
779
  agent_resource_role_arn=example.arn,
779
780
  idle_session_ttl_in_seconds=500,
781
+ instruction="You are a friendly assistant who helps answer questions.",
780
782
  foundation_model="anthropic.claude-v2")
781
783
  ```
782
784
 
@@ -906,7 +908,7 @@ class AgentAgent(pulumi.CustomResource):
906
908
  The following arguments are optional:
907
909
  :param pulumi.Input[Sequence[pulumi.Input[Union['AgentAgentGuardrailConfigurationArgs', 'AgentAgentGuardrailConfigurationArgsDict']]]] guardrail_configurations: Details about the guardrail associated with the agent. See `guardrail_configuration` Block for details.
908
910
  :param pulumi.Input[_builtins.int] idle_session_ttl_in_seconds: Number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
909
- :param pulumi.Input[_builtins.str] instruction: Instructions that tell the agent what it should do and how it should interact with users. The valid range is 40 - 20000 characters.
911
+ :param pulumi.Input[_builtins.str] instruction: Instructions that tell the agent what it should do and how it should interact with users. If `prepare_agent` is `true` this argument is required. The valid range is 40 - 20000 characters.
910
912
  :param pulumi.Input[Sequence[pulumi.Input[Union['AgentAgentMemoryConfigurationArgs', 'AgentAgentMemoryConfigurationArgsDict']]]] memory_configurations: Configurations for the agent's ability to retain the conversational context.
911
913
  :param pulumi.Input[_builtins.bool] prepare_agent: Whether to prepare the agent after creation or modification. Defaults to `true`.
912
914
  :param pulumi.Input[_builtins.str] prepared_at: Timestamp of when the agent was last prepared.
@@ -1037,7 +1039,7 @@ class AgentAgent(pulumi.CustomResource):
1037
1039
  @pulumi.getter
1038
1040
  def instruction(self) -> pulumi.Output[_builtins.str]:
1039
1041
  """
1040
- Instructions that tell the agent what it should do and how it should interact with users. The valid range is 40 - 20000 characters.
1042
+ Instructions that tell the agent what it should do and how it should interact with users. If `prepare_agent` is `true` this argument is required. The valid range is 40 - 20000 characters.
1041
1043
  """
1042
1044
  return pulumi.get(self, "instruction")
1043
1045
 
@@ -22,6 +22,8 @@ __all__ = ['AgentcoreApiKeyCredentialProviderArgs', 'AgentcoreApiKeyCredentialPr
22
22
  class AgentcoreApiKeyCredentialProviderArgs:
23
23
  def __init__(__self__, *,
24
24
  api_key: Optional[pulumi.Input[_builtins.str]] = None,
25
+ api_key_wo: Optional[pulumi.Input[_builtins.str]] = None,
26
+ api_key_wo_version: Optional[pulumi.Input[_builtins.int]] = None,
25
27
  name: Optional[pulumi.Input[_builtins.str]] = None,
26
28
  region: Optional[pulumi.Input[_builtins.str]] = None):
27
29
  """
@@ -29,6 +31,9 @@ class AgentcoreApiKeyCredentialProviderArgs:
29
31
  :param pulumi.Input[_builtins.str] api_key: API key value. Cannot be used with `api_key_wo`. This value will be visible in pulumi preview outputs and logs.
30
32
 
31
33
  **Write-Only API Key (choose one approach):**
34
+ :param pulumi.Input[_builtins.str] api_key_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
35
+ Write-only API key value. Cannot be used with `api_key`. Must be used together with `api_key_wo_version`.
36
+ :param pulumi.Input[_builtins.int] api_key_wo_version: Used together with `api_key_wo` to trigger an update. Increment this value when an update to `api_key_wo` is required.
32
37
  :param pulumi.Input[_builtins.str] name: Name of the API Key credential provider. Forces replacement when changed.
33
38
 
34
39
  The following arguments are optional:
@@ -38,6 +43,10 @@ class AgentcoreApiKeyCredentialProviderArgs:
38
43
  """
39
44
  if api_key is not None:
40
45
  pulumi.set(__self__, "api_key", api_key)
46
+ if api_key_wo is not None:
47
+ pulumi.set(__self__, "api_key_wo", api_key_wo)
48
+ if api_key_wo_version is not None:
49
+ pulumi.set(__self__, "api_key_wo_version", api_key_wo_version)
41
50
  if name is not None:
42
51
  pulumi.set(__self__, "name", name)
43
52
  if region is not None:
@@ -57,6 +66,31 @@ class AgentcoreApiKeyCredentialProviderArgs:
57
66
  def api_key(self, value: Optional[pulumi.Input[_builtins.str]]):
58
67
  pulumi.set(self, "api_key", value)
59
68
 
69
+ @_builtins.property
70
+ @pulumi.getter(name="apiKeyWo")
71
+ def api_key_wo(self) -> Optional[pulumi.Input[_builtins.str]]:
72
+ """
73
+ **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
74
+ Write-only API key value. Cannot be used with `api_key`. Must be used together with `api_key_wo_version`.
75
+ """
76
+ return pulumi.get(self, "api_key_wo")
77
+
78
+ @api_key_wo.setter
79
+ def api_key_wo(self, value: Optional[pulumi.Input[_builtins.str]]):
80
+ pulumi.set(self, "api_key_wo", value)
81
+
82
+ @_builtins.property
83
+ @pulumi.getter(name="apiKeyWoVersion")
84
+ def api_key_wo_version(self) -> Optional[pulumi.Input[_builtins.int]]:
85
+ """
86
+ Used together with `api_key_wo` to trigger an update. Increment this value when an update to `api_key_wo` is required.
87
+ """
88
+ return pulumi.get(self, "api_key_wo_version")
89
+
90
+ @api_key_wo_version.setter
91
+ def api_key_wo_version(self, value: Optional[pulumi.Input[_builtins.int]]):
92
+ pulumi.set(self, "api_key_wo_version", value)
93
+
60
94
  @_builtins.property
61
95
  @pulumi.getter
62
96
  def name(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -91,6 +125,8 @@ class _AgentcoreApiKeyCredentialProviderState:
91
125
  def __init__(__self__, *,
92
126
  api_key: Optional[pulumi.Input[_builtins.str]] = None,
93
127
  api_key_secret_arns: Optional[pulumi.Input[Sequence[pulumi.Input['AgentcoreApiKeyCredentialProviderApiKeySecretArnArgs']]]] = None,
128
+ api_key_wo: Optional[pulumi.Input[_builtins.str]] = None,
129
+ api_key_wo_version: Optional[pulumi.Input[_builtins.int]] = None,
94
130
  credential_provider_arn: Optional[pulumi.Input[_builtins.str]] = None,
95
131
  name: Optional[pulumi.Input[_builtins.str]] = None,
96
132
  region: Optional[pulumi.Input[_builtins.str]] = None):
@@ -100,6 +136,9 @@ class _AgentcoreApiKeyCredentialProviderState:
100
136
 
101
137
  **Write-Only API Key (choose one approach):**
102
138
  :param pulumi.Input[Sequence[pulumi.Input['AgentcoreApiKeyCredentialProviderApiKeySecretArnArgs']]] api_key_secret_arns: ARN of the AWS Secrets Manager secret containing the API key.
139
+ :param pulumi.Input[_builtins.str] api_key_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
140
+ Write-only API key value. Cannot be used with `api_key`. Must be used together with `api_key_wo_version`.
141
+ :param pulumi.Input[_builtins.int] api_key_wo_version: Used together with `api_key_wo` to trigger an update. Increment this value when an update to `api_key_wo` is required.
103
142
  :param pulumi.Input[_builtins.str] credential_provider_arn: ARN of the API Key credential provider.
104
143
  :param pulumi.Input[_builtins.str] name: Name of the API Key credential provider. Forces replacement when changed.
105
144
 
@@ -112,6 +151,10 @@ class _AgentcoreApiKeyCredentialProviderState:
112
151
  pulumi.set(__self__, "api_key", api_key)
113
152
  if api_key_secret_arns is not None:
114
153
  pulumi.set(__self__, "api_key_secret_arns", api_key_secret_arns)
154
+ if api_key_wo is not None:
155
+ pulumi.set(__self__, "api_key_wo", api_key_wo)
156
+ if api_key_wo_version is not None:
157
+ pulumi.set(__self__, "api_key_wo_version", api_key_wo_version)
115
158
  if credential_provider_arn is not None:
116
159
  pulumi.set(__self__, "credential_provider_arn", credential_provider_arn)
117
160
  if name is not None:
@@ -145,6 +188,31 @@ class _AgentcoreApiKeyCredentialProviderState:
145
188
  def api_key_secret_arns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AgentcoreApiKeyCredentialProviderApiKeySecretArnArgs']]]]):
146
189
  pulumi.set(self, "api_key_secret_arns", value)
147
190
 
191
+ @_builtins.property
192
+ @pulumi.getter(name="apiKeyWo")
193
+ def api_key_wo(self) -> Optional[pulumi.Input[_builtins.str]]:
194
+ """
195
+ **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
196
+ Write-only API key value. Cannot be used with `api_key`. Must be used together with `api_key_wo_version`.
197
+ """
198
+ return pulumi.get(self, "api_key_wo")
199
+
200
+ @api_key_wo.setter
201
+ def api_key_wo(self, value: Optional[pulumi.Input[_builtins.str]]):
202
+ pulumi.set(self, "api_key_wo", value)
203
+
204
+ @_builtins.property
205
+ @pulumi.getter(name="apiKeyWoVersion")
206
+ def api_key_wo_version(self) -> Optional[pulumi.Input[_builtins.int]]:
207
+ """
208
+ Used together with `api_key_wo` to trigger an update. Increment this value when an update to `api_key_wo` is required.
209
+ """
210
+ return pulumi.get(self, "api_key_wo_version")
211
+
212
+ @api_key_wo_version.setter
213
+ def api_key_wo_version(self, value: Optional[pulumi.Input[_builtins.int]]):
214
+ pulumi.set(self, "api_key_wo_version", value)
215
+
148
216
  @_builtins.property
149
217
  @pulumi.getter(name="credentialProviderArn")
150
218
  def credential_provider_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -193,6 +261,8 @@ class AgentcoreApiKeyCredentialProvider(pulumi.CustomResource):
193
261
  resource_name: str,
194
262
  opts: Optional[pulumi.ResourceOptions] = None,
195
263
  api_key: Optional[pulumi.Input[_builtins.str]] = None,
264
+ api_key_wo: Optional[pulumi.Input[_builtins.str]] = None,
265
+ api_key_wo_version: Optional[pulumi.Input[_builtins.int]] = None,
196
266
  name: Optional[pulumi.Input[_builtins.str]] = None,
197
267
  region: Optional[pulumi.Input[_builtins.str]] = None,
198
268
  __props__=None):
@@ -212,6 +282,16 @@ class AgentcoreApiKeyCredentialProvider(pulumi.CustomResource):
212
282
 
213
283
  ### Write-Only API Key (Recommended for Production)
214
284
 
285
+ ```python
286
+ import pulumi
287
+ import pulumi_aws as aws
288
+
289
+ example = aws.bedrock.AgentcoreApiKeyCredentialProvider("example",
290
+ name="example-api-key-provider",
291
+ api_key_wo="your-api-key-here",
292
+ api_key_wo_version=1)
293
+ ```
294
+
215
295
  ## Import
216
296
 
217
297
  Using `pulumi import`, import Bedrock AgentCore API Key Credential Provider using the provider name. For example:
@@ -225,6 +305,9 @@ class AgentcoreApiKeyCredentialProvider(pulumi.CustomResource):
225
305
  :param pulumi.Input[_builtins.str] api_key: API key value. Cannot be used with `api_key_wo`. This value will be visible in pulumi preview outputs and logs.
226
306
 
227
307
  **Write-Only API Key (choose one approach):**
308
+ :param pulumi.Input[_builtins.str] api_key_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
309
+ Write-only API key value. Cannot be used with `api_key`. Must be used together with `api_key_wo_version`.
310
+ :param pulumi.Input[_builtins.int] api_key_wo_version: Used together with `api_key_wo` to trigger an update. Increment this value when an update to `api_key_wo` is required.
228
311
  :param pulumi.Input[_builtins.str] name: Name of the API Key credential provider. Forces replacement when changed.
229
312
 
230
313
  The following arguments are optional:
@@ -254,6 +337,16 @@ class AgentcoreApiKeyCredentialProvider(pulumi.CustomResource):
254
337
 
255
338
  ### Write-Only API Key (Recommended for Production)
256
339
 
340
+ ```python
341
+ import pulumi
342
+ import pulumi_aws as aws
343
+
344
+ example = aws.bedrock.AgentcoreApiKeyCredentialProvider("example",
345
+ name="example-api-key-provider",
346
+ api_key_wo="your-api-key-here",
347
+ api_key_wo_version=1)
348
+ ```
349
+
257
350
  ## Import
258
351
 
259
352
  Using `pulumi import`, import Bedrock AgentCore API Key Credential Provider using the provider name. For example:
@@ -278,6 +371,8 @@ class AgentcoreApiKeyCredentialProvider(pulumi.CustomResource):
278
371
  resource_name: str,
279
372
  opts: Optional[pulumi.ResourceOptions] = None,
280
373
  api_key: Optional[pulumi.Input[_builtins.str]] = None,
374
+ api_key_wo: Optional[pulumi.Input[_builtins.str]] = None,
375
+ api_key_wo_version: Optional[pulumi.Input[_builtins.int]] = None,
281
376
  name: Optional[pulumi.Input[_builtins.str]] = None,
282
377
  region: Optional[pulumi.Input[_builtins.str]] = None,
283
378
  __props__=None):
@@ -290,11 +385,13 @@ class AgentcoreApiKeyCredentialProvider(pulumi.CustomResource):
290
385
  __props__ = AgentcoreApiKeyCredentialProviderArgs.__new__(AgentcoreApiKeyCredentialProviderArgs)
291
386
 
292
387
  __props__.__dict__["api_key"] = None if api_key is None else pulumi.Output.secret(api_key)
388
+ __props__.__dict__["api_key_wo"] = None if api_key_wo is None else pulumi.Output.secret(api_key_wo)
389
+ __props__.__dict__["api_key_wo_version"] = api_key_wo_version
293
390
  __props__.__dict__["name"] = name
294
391
  __props__.__dict__["region"] = region
295
392
  __props__.__dict__["api_key_secret_arns"] = None
296
393
  __props__.__dict__["credential_provider_arn"] = None
297
- secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["apiKey"])
394
+ secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["apiKey", "apiKeyWo"])
298
395
  opts = pulumi.ResourceOptions.merge(opts, secret_opts)
299
396
  super(AgentcoreApiKeyCredentialProvider, __self__).__init__(
300
397
  'aws:bedrock/agentcoreApiKeyCredentialProvider:AgentcoreApiKeyCredentialProvider',
@@ -308,6 +405,8 @@ class AgentcoreApiKeyCredentialProvider(pulumi.CustomResource):
308
405
  opts: Optional[pulumi.ResourceOptions] = None,
309
406
  api_key: Optional[pulumi.Input[_builtins.str]] = None,
310
407
  api_key_secret_arns: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AgentcoreApiKeyCredentialProviderApiKeySecretArnArgs', 'AgentcoreApiKeyCredentialProviderApiKeySecretArnArgsDict']]]]] = None,
408
+ api_key_wo: Optional[pulumi.Input[_builtins.str]] = None,
409
+ api_key_wo_version: Optional[pulumi.Input[_builtins.int]] = None,
311
410
  credential_provider_arn: Optional[pulumi.Input[_builtins.str]] = None,
312
411
  name: Optional[pulumi.Input[_builtins.str]] = None,
313
412
  region: Optional[pulumi.Input[_builtins.str]] = None) -> 'AgentcoreApiKeyCredentialProvider':
@@ -322,6 +421,9 @@ class AgentcoreApiKeyCredentialProvider(pulumi.CustomResource):
322
421
 
323
422
  **Write-Only API Key (choose one approach):**
324
423
  :param pulumi.Input[Sequence[pulumi.Input[Union['AgentcoreApiKeyCredentialProviderApiKeySecretArnArgs', 'AgentcoreApiKeyCredentialProviderApiKeySecretArnArgsDict']]]] api_key_secret_arns: ARN of the AWS Secrets Manager secret containing the API key.
424
+ :param pulumi.Input[_builtins.str] api_key_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
425
+ Write-only API key value. Cannot be used with `api_key`. Must be used together with `api_key_wo_version`.
426
+ :param pulumi.Input[_builtins.int] api_key_wo_version: Used together with `api_key_wo` to trigger an update. Increment this value when an update to `api_key_wo` is required.
325
427
  :param pulumi.Input[_builtins.str] credential_provider_arn: ARN of the API Key credential provider.
326
428
  :param pulumi.Input[_builtins.str] name: Name of the API Key credential provider. Forces replacement when changed.
327
429
 
@@ -336,6 +438,8 @@ class AgentcoreApiKeyCredentialProvider(pulumi.CustomResource):
336
438
 
337
439
  __props__.__dict__["api_key"] = api_key
338
440
  __props__.__dict__["api_key_secret_arns"] = api_key_secret_arns
441
+ __props__.__dict__["api_key_wo"] = api_key_wo
442
+ __props__.__dict__["api_key_wo_version"] = api_key_wo_version
339
443
  __props__.__dict__["credential_provider_arn"] = credential_provider_arn
340
444
  __props__.__dict__["name"] = name
341
445
  __props__.__dict__["region"] = region
@@ -359,6 +463,23 @@ class AgentcoreApiKeyCredentialProvider(pulumi.CustomResource):
359
463
  """
360
464
  return pulumi.get(self, "api_key_secret_arns")
361
465
 
466
+ @_builtins.property
467
+ @pulumi.getter(name="apiKeyWo")
468
+ def api_key_wo(self) -> pulumi.Output[Optional[_builtins.str]]:
469
+ """
470
+ **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
471
+ Write-only API key value. Cannot be used with `api_key`. Must be used together with `api_key_wo_version`.
472
+ """
473
+ return pulumi.get(self, "api_key_wo")
474
+
475
+ @_builtins.property
476
+ @pulumi.getter(name="apiKeyWoVersion")
477
+ def api_key_wo_version(self) -> pulumi.Output[Optional[_builtins.int]]:
478
+ """
479
+ Used together with `api_key_wo` to trigger an update. Increment this value when an update to `api_key_wo` is required.
480
+ """
481
+ return pulumi.get(self, "api_key_wo_version")
482
+
362
483
  @_builtins.property
363
484
  @pulumi.getter(name="credentialProviderArn")
364
485
  def credential_provider_arn(self) -> pulumi.Output[_builtins.str]: