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
@@ -240,6 +240,32 @@ __all__ = [
240
240
  'AgentcoreGatewayTargetTimeouts',
241
241
  'AgentcoreGatewayTimeouts',
242
242
  'AgentcoreGatewayWorkloadIdentityDetail',
243
+ 'AgentcoreMemoryStrategyConfiguration',
244
+ 'AgentcoreMemoryStrategyConfigurationConsolidation',
245
+ 'AgentcoreMemoryStrategyConfigurationExtraction',
246
+ 'AgentcoreMemoryStrategyTimeouts',
247
+ 'AgentcoreMemoryTimeouts',
248
+ 'AgentcoreOauth2CredentialProviderClientSecretArn',
249
+ 'AgentcoreOauth2CredentialProviderOauth2ProviderConfig',
250
+ 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfig',
251
+ 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfigOauthDiscovery',
252
+ 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata',
253
+ 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfig',
254
+ 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfigOauthDiscovery',
255
+ 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata',
256
+ 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfig',
257
+ 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfigOauthDiscovery',
258
+ 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata',
259
+ 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfig',
260
+ 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfigOauthDiscovery',
261
+ 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata',
262
+ 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfig',
263
+ 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfigOauthDiscovery',
264
+ 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata',
265
+ 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfig',
266
+ 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfigOauthDiscovery',
267
+ 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata',
268
+ 'AgentcoreTokenVaultCmkKmsConfiguration',
243
269
  'CustomModelOutputDataConfig',
244
270
  'CustomModelTimeouts',
245
271
  'CustomModelTrainingDataConfig',
@@ -10392,6 +10418,1719 @@ class AgentcoreGatewayWorkloadIdentityDetail(dict):
10392
10418
  return pulumi.get(self, "workload_identity_arn")
10393
10419
 
10394
10420
 
10421
+ @pulumi.output_type
10422
+ class AgentcoreMemoryStrategyConfiguration(dict):
10423
+ def __init__(__self__, *,
10424
+ type: _builtins.str,
10425
+ consolidation: Optional['outputs.AgentcoreMemoryStrategyConfigurationConsolidation'] = None,
10426
+ extraction: Optional['outputs.AgentcoreMemoryStrategyConfigurationExtraction'] = None):
10427
+ """
10428
+ :param _builtins.str type: Type of custom override. Valid values: `SEMANTIC_OVERRIDE`, `SUMMARY_OVERRIDE`, `USER_PREFERENCE_OVERRIDE`. Changing this forces a new resource.
10429
+ :param 'AgentcoreMemoryStrategyConfigurationConsolidationArgs' consolidation: Consolidation configuration for processing and organizing memory content. See `consolidation` below. Once added, this block cannot be removed without recreating the resource.
10430
+ :param 'AgentcoreMemoryStrategyConfigurationExtractionArgs' extraction: Extraction configuration for identifying and extracting relevant information. See `extraction` below. Cannot be used with `type` set to `SUMMARY_OVERRIDE`. Once added, this block cannot be removed without recreating the resource.
10431
+ """
10432
+ pulumi.set(__self__, "type", type)
10433
+ if consolidation is not None:
10434
+ pulumi.set(__self__, "consolidation", consolidation)
10435
+ if extraction is not None:
10436
+ pulumi.set(__self__, "extraction", extraction)
10437
+
10438
+ @_builtins.property
10439
+ @pulumi.getter
10440
+ def type(self) -> _builtins.str:
10441
+ """
10442
+ Type of custom override. Valid values: `SEMANTIC_OVERRIDE`, `SUMMARY_OVERRIDE`, `USER_PREFERENCE_OVERRIDE`. Changing this forces a new resource.
10443
+ """
10444
+ return pulumi.get(self, "type")
10445
+
10446
+ @_builtins.property
10447
+ @pulumi.getter
10448
+ def consolidation(self) -> Optional['outputs.AgentcoreMemoryStrategyConfigurationConsolidation']:
10449
+ """
10450
+ Consolidation configuration for processing and organizing memory content. See `consolidation` below. Once added, this block cannot be removed without recreating the resource.
10451
+ """
10452
+ return pulumi.get(self, "consolidation")
10453
+
10454
+ @_builtins.property
10455
+ @pulumi.getter
10456
+ def extraction(self) -> Optional['outputs.AgentcoreMemoryStrategyConfigurationExtraction']:
10457
+ """
10458
+ Extraction configuration for identifying and extracting relevant information. See `extraction` below. Cannot be used with `type` set to `SUMMARY_OVERRIDE`. Once added, this block cannot be removed without recreating the resource.
10459
+ """
10460
+ return pulumi.get(self, "extraction")
10461
+
10462
+
10463
+ @pulumi.output_type
10464
+ class AgentcoreMemoryStrategyConfigurationConsolidation(dict):
10465
+ @staticmethod
10466
+ def __key_warning(key: str):
10467
+ suggest = None
10468
+ if key == "appendToPrompt":
10469
+ suggest = "append_to_prompt"
10470
+ elif key == "modelId":
10471
+ suggest = "model_id"
10472
+
10473
+ if suggest:
10474
+ pulumi.log.warn(f"Key '{key}' not found in AgentcoreMemoryStrategyConfigurationConsolidation. Access the value via the '{suggest}' property getter instead.")
10475
+
10476
+ def __getitem__(self, key: str) -> Any:
10477
+ AgentcoreMemoryStrategyConfigurationConsolidation.__key_warning(key)
10478
+ return super().__getitem__(key)
10479
+
10480
+ def get(self, key: str, default = None) -> Any:
10481
+ AgentcoreMemoryStrategyConfigurationConsolidation.__key_warning(key)
10482
+ return super().get(key, default)
10483
+
10484
+ def __init__(__self__, *,
10485
+ append_to_prompt: _builtins.str,
10486
+ model_id: _builtins.str):
10487
+ """
10488
+ :param _builtins.str append_to_prompt: Additional text to append to the model prompt for consolidation processing.
10489
+ :param _builtins.str model_id: ID of the foundation model to use for consolidation processing.
10490
+ """
10491
+ pulumi.set(__self__, "append_to_prompt", append_to_prompt)
10492
+ pulumi.set(__self__, "model_id", model_id)
10493
+
10494
+ @_builtins.property
10495
+ @pulumi.getter(name="appendToPrompt")
10496
+ def append_to_prompt(self) -> _builtins.str:
10497
+ """
10498
+ Additional text to append to the model prompt for consolidation processing.
10499
+ """
10500
+ return pulumi.get(self, "append_to_prompt")
10501
+
10502
+ @_builtins.property
10503
+ @pulumi.getter(name="modelId")
10504
+ def model_id(self) -> _builtins.str:
10505
+ """
10506
+ ID of the foundation model to use for consolidation processing.
10507
+ """
10508
+ return pulumi.get(self, "model_id")
10509
+
10510
+
10511
+ @pulumi.output_type
10512
+ class AgentcoreMemoryStrategyConfigurationExtraction(dict):
10513
+ @staticmethod
10514
+ def __key_warning(key: str):
10515
+ suggest = None
10516
+ if key == "appendToPrompt":
10517
+ suggest = "append_to_prompt"
10518
+ elif key == "modelId":
10519
+ suggest = "model_id"
10520
+
10521
+ if suggest:
10522
+ pulumi.log.warn(f"Key '{key}' not found in AgentcoreMemoryStrategyConfigurationExtraction. Access the value via the '{suggest}' property getter instead.")
10523
+
10524
+ def __getitem__(self, key: str) -> Any:
10525
+ AgentcoreMemoryStrategyConfigurationExtraction.__key_warning(key)
10526
+ return super().__getitem__(key)
10527
+
10528
+ def get(self, key: str, default = None) -> Any:
10529
+ AgentcoreMemoryStrategyConfigurationExtraction.__key_warning(key)
10530
+ return super().get(key, default)
10531
+
10532
+ def __init__(__self__, *,
10533
+ append_to_prompt: _builtins.str,
10534
+ model_id: _builtins.str):
10535
+ """
10536
+ :param _builtins.str append_to_prompt: Additional text to append to the model prompt for extraction processing.
10537
+ :param _builtins.str model_id: ID of the foundation model to use for extraction processing.
10538
+ """
10539
+ pulumi.set(__self__, "append_to_prompt", append_to_prompt)
10540
+ pulumi.set(__self__, "model_id", model_id)
10541
+
10542
+ @_builtins.property
10543
+ @pulumi.getter(name="appendToPrompt")
10544
+ def append_to_prompt(self) -> _builtins.str:
10545
+ """
10546
+ Additional text to append to the model prompt for extraction processing.
10547
+ """
10548
+ return pulumi.get(self, "append_to_prompt")
10549
+
10550
+ @_builtins.property
10551
+ @pulumi.getter(name="modelId")
10552
+ def model_id(self) -> _builtins.str:
10553
+ """
10554
+ ID of the foundation model to use for extraction processing.
10555
+ """
10556
+ return pulumi.get(self, "model_id")
10557
+
10558
+
10559
+ @pulumi.output_type
10560
+ class AgentcoreMemoryStrategyTimeouts(dict):
10561
+ def __init__(__self__, *,
10562
+ create: Optional[_builtins.str] = None,
10563
+ delete: Optional[_builtins.str] = None,
10564
+ update: Optional[_builtins.str] = None):
10565
+ """
10566
+ :param _builtins.str create: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
10567
+ :param _builtins.str delete: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
10568
+ :param _builtins.str update: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
10569
+ """
10570
+ if create is not None:
10571
+ pulumi.set(__self__, "create", create)
10572
+ if delete is not None:
10573
+ pulumi.set(__self__, "delete", delete)
10574
+ if update is not None:
10575
+ pulumi.set(__self__, "update", update)
10576
+
10577
+ @_builtins.property
10578
+ @pulumi.getter
10579
+ def create(self) -> Optional[_builtins.str]:
10580
+ """
10581
+ A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
10582
+ """
10583
+ return pulumi.get(self, "create")
10584
+
10585
+ @_builtins.property
10586
+ @pulumi.getter
10587
+ def delete(self) -> Optional[_builtins.str]:
10588
+ """
10589
+ A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
10590
+ """
10591
+ return pulumi.get(self, "delete")
10592
+
10593
+ @_builtins.property
10594
+ @pulumi.getter
10595
+ def update(self) -> Optional[_builtins.str]:
10596
+ """
10597
+ A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
10598
+ """
10599
+ return pulumi.get(self, "update")
10600
+
10601
+
10602
+ @pulumi.output_type
10603
+ class AgentcoreMemoryTimeouts(dict):
10604
+ def __init__(__self__, *,
10605
+ create: Optional[_builtins.str] = None,
10606
+ delete: Optional[_builtins.str] = None):
10607
+ """
10608
+ :param _builtins.str create: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
10609
+ :param _builtins.str delete: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
10610
+ """
10611
+ if create is not None:
10612
+ pulumi.set(__self__, "create", create)
10613
+ if delete is not None:
10614
+ pulumi.set(__self__, "delete", delete)
10615
+
10616
+ @_builtins.property
10617
+ @pulumi.getter
10618
+ def create(self) -> Optional[_builtins.str]:
10619
+ """
10620
+ A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
10621
+ """
10622
+ return pulumi.get(self, "create")
10623
+
10624
+ @_builtins.property
10625
+ @pulumi.getter
10626
+ def delete(self) -> Optional[_builtins.str]:
10627
+ """
10628
+ A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
10629
+ """
10630
+ return pulumi.get(self, "delete")
10631
+
10632
+
10633
+ @pulumi.output_type
10634
+ class AgentcoreOauth2CredentialProviderClientSecretArn(dict):
10635
+ @staticmethod
10636
+ def __key_warning(key: str):
10637
+ suggest = None
10638
+ if key == "secretArn":
10639
+ suggest = "secret_arn"
10640
+
10641
+ if suggest:
10642
+ pulumi.log.warn(f"Key '{key}' not found in AgentcoreOauth2CredentialProviderClientSecretArn. Access the value via the '{suggest}' property getter instead.")
10643
+
10644
+ def __getitem__(self, key: str) -> Any:
10645
+ AgentcoreOauth2CredentialProviderClientSecretArn.__key_warning(key)
10646
+ return super().__getitem__(key)
10647
+
10648
+ def get(self, key: str, default = None) -> Any:
10649
+ AgentcoreOauth2CredentialProviderClientSecretArn.__key_warning(key)
10650
+ return super().get(key, default)
10651
+
10652
+ def __init__(__self__, *,
10653
+ secret_arn: _builtins.str):
10654
+ """
10655
+ :param _builtins.str secret_arn: ARN of the secret in AWS Secrets Manager.
10656
+ """
10657
+ pulumi.set(__self__, "secret_arn", secret_arn)
10658
+
10659
+ @_builtins.property
10660
+ @pulumi.getter(name="secretArn")
10661
+ def secret_arn(self) -> _builtins.str:
10662
+ """
10663
+ ARN of the secret in AWS Secrets Manager.
10664
+ """
10665
+ return pulumi.get(self, "secret_arn")
10666
+
10667
+
10668
+ @pulumi.output_type
10669
+ class AgentcoreOauth2CredentialProviderOauth2ProviderConfig(dict):
10670
+ @staticmethod
10671
+ def __key_warning(key: str):
10672
+ suggest = None
10673
+ if key == "customOauth2ProviderConfig":
10674
+ suggest = "custom_oauth2_provider_config"
10675
+ elif key == "githubOauth2ProviderConfig":
10676
+ suggest = "github_oauth2_provider_config"
10677
+ elif key == "googleOauth2ProviderConfig":
10678
+ suggest = "google_oauth2_provider_config"
10679
+ elif key == "microsoftOauth2ProviderConfig":
10680
+ suggest = "microsoft_oauth2_provider_config"
10681
+ elif key == "salesforceOauth2ProviderConfig":
10682
+ suggest = "salesforce_oauth2_provider_config"
10683
+ elif key == "slackOauth2ProviderConfig":
10684
+ suggest = "slack_oauth2_provider_config"
10685
+
10686
+ if suggest:
10687
+ pulumi.log.warn(f"Key '{key}' not found in AgentcoreOauth2CredentialProviderOauth2ProviderConfig. Access the value via the '{suggest}' property getter instead.")
10688
+
10689
+ def __getitem__(self, key: str) -> Any:
10690
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfig.__key_warning(key)
10691
+ return super().__getitem__(key)
10692
+
10693
+ def get(self, key: str, default = None) -> Any:
10694
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfig.__key_warning(key)
10695
+ return super().get(key, default)
10696
+
10697
+ def __init__(__self__, *,
10698
+ custom_oauth2_provider_config: Optional['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfig'] = None,
10699
+ github_oauth2_provider_config: Optional['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfig'] = None,
10700
+ google_oauth2_provider_config: Optional['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfig'] = None,
10701
+ microsoft_oauth2_provider_config: Optional['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfig'] = None,
10702
+ salesforce_oauth2_provider_config: Optional['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfig'] = None,
10703
+ slack_oauth2_provider_config: Optional['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfig'] = None):
10704
+ """
10705
+ :param 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfigArgs' custom_oauth2_provider_config: Custom OAuth2 provider configuration. See `custom` below.
10706
+ :param 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfigArgs' github_oauth2_provider_config: GitHub OAuth provider configuration. See `github` below.
10707
+ :param 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfigArgs' google_oauth2_provider_config: Google OAuth provider configuration. See `google` below.
10708
+ :param 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfigArgs' microsoft_oauth2_provider_config: Microsoft OAuth provider configuration. See `microsoft` below.
10709
+ :param 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfigArgs' salesforce_oauth2_provider_config: Salesforce OAuth provider configuration. See `salesforce` below.
10710
+ :param 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfigArgs' slack_oauth2_provider_config: Slack OAuth provider configuration. See `slack` below.
10711
+ """
10712
+ if custom_oauth2_provider_config is not None:
10713
+ pulumi.set(__self__, "custom_oauth2_provider_config", custom_oauth2_provider_config)
10714
+ if github_oauth2_provider_config is not None:
10715
+ pulumi.set(__self__, "github_oauth2_provider_config", github_oauth2_provider_config)
10716
+ if google_oauth2_provider_config is not None:
10717
+ pulumi.set(__self__, "google_oauth2_provider_config", google_oauth2_provider_config)
10718
+ if microsoft_oauth2_provider_config is not None:
10719
+ pulumi.set(__self__, "microsoft_oauth2_provider_config", microsoft_oauth2_provider_config)
10720
+ if salesforce_oauth2_provider_config is not None:
10721
+ pulumi.set(__self__, "salesforce_oauth2_provider_config", salesforce_oauth2_provider_config)
10722
+ if slack_oauth2_provider_config is not None:
10723
+ pulumi.set(__self__, "slack_oauth2_provider_config", slack_oauth2_provider_config)
10724
+
10725
+ @_builtins.property
10726
+ @pulumi.getter(name="customOauth2ProviderConfig")
10727
+ def custom_oauth2_provider_config(self) -> Optional['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfig']:
10728
+ """
10729
+ Custom OAuth2 provider configuration. See `custom` below.
10730
+ """
10731
+ return pulumi.get(self, "custom_oauth2_provider_config")
10732
+
10733
+ @_builtins.property
10734
+ @pulumi.getter(name="githubOauth2ProviderConfig")
10735
+ def github_oauth2_provider_config(self) -> Optional['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfig']:
10736
+ """
10737
+ GitHub OAuth provider configuration. See `github` below.
10738
+ """
10739
+ return pulumi.get(self, "github_oauth2_provider_config")
10740
+
10741
+ @_builtins.property
10742
+ @pulumi.getter(name="googleOauth2ProviderConfig")
10743
+ def google_oauth2_provider_config(self) -> Optional['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfig']:
10744
+ """
10745
+ Google OAuth provider configuration. See `google` below.
10746
+ """
10747
+ return pulumi.get(self, "google_oauth2_provider_config")
10748
+
10749
+ @_builtins.property
10750
+ @pulumi.getter(name="microsoftOauth2ProviderConfig")
10751
+ def microsoft_oauth2_provider_config(self) -> Optional['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfig']:
10752
+ """
10753
+ Microsoft OAuth provider configuration. See `microsoft` below.
10754
+ """
10755
+ return pulumi.get(self, "microsoft_oauth2_provider_config")
10756
+
10757
+ @_builtins.property
10758
+ @pulumi.getter(name="salesforceOauth2ProviderConfig")
10759
+ def salesforce_oauth2_provider_config(self) -> Optional['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfig']:
10760
+ """
10761
+ Salesforce OAuth provider configuration. See `salesforce` below.
10762
+ """
10763
+ return pulumi.get(self, "salesforce_oauth2_provider_config")
10764
+
10765
+ @_builtins.property
10766
+ @pulumi.getter(name="slackOauth2ProviderConfig")
10767
+ def slack_oauth2_provider_config(self) -> Optional['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfig']:
10768
+ """
10769
+ Slack OAuth provider configuration. See `slack` below.
10770
+ """
10771
+ return pulumi.get(self, "slack_oauth2_provider_config")
10772
+
10773
+
10774
+ @pulumi.output_type
10775
+ class AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfig(dict):
10776
+ @staticmethod
10777
+ def __key_warning(key: str):
10778
+ suggest = None
10779
+ if key == "clientCredentialsWoVersion":
10780
+ suggest = "client_credentials_wo_version"
10781
+ elif key == "clientId":
10782
+ suggest = "client_id"
10783
+ elif key == "clientIdWo":
10784
+ suggest = "client_id_wo"
10785
+ elif key == "clientSecret":
10786
+ suggest = "client_secret"
10787
+ elif key == "clientSecretWo":
10788
+ suggest = "client_secret_wo"
10789
+ elif key == "oauthDiscovery":
10790
+ suggest = "oauth_discovery"
10791
+
10792
+ if suggest:
10793
+ pulumi.log.warn(f"Key '{key}' not found in AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfig. Access the value via the '{suggest}' property getter instead.")
10794
+
10795
+ def __getitem__(self, key: str) -> Any:
10796
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfig.__key_warning(key)
10797
+ return super().__getitem__(key)
10798
+
10799
+ def get(self, key: str, default = None) -> Any:
10800
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfig.__key_warning(key)
10801
+ return super().get(key, default)
10802
+
10803
+ def __init__(__self__, *,
10804
+ client_credentials_wo_version: Optional[_builtins.int] = None,
10805
+ client_id: Optional[_builtins.str] = None,
10806
+ client_id_wo: Optional[_builtins.str] = None,
10807
+ client_secret: Optional[_builtins.str] = None,
10808
+ client_secret_wo: Optional[_builtins.str] = None,
10809
+ oauth_discovery: Optional['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfigOauthDiscovery'] = None):
10810
+ """
10811
+ :param _builtins.int client_credentials_wo_version: Used together with write-only credentials to trigger an update. Increment this value when an update to `client_id_wo` or `client_secret_wo` is required.
10812
+
10813
+ **OAuth Discovery Configuration:**
10814
+ :param _builtins.str client_id: OAuth2 client ID. Cannot be used with `client_id_wo`. Must be used together with `client_secret`.
10815
+ :param _builtins.str client_id_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
10816
+ Write-only OAuth2 client ID. Cannot be used with `client_id`. Must be used together with `client_secret_wo` and `client_credentials_wo_version`.
10817
+ :param _builtins.str client_secret: OAuth2 client secret. Cannot be used with `client_secret_wo`. Must be used together with `client_id`.
10818
+
10819
+ **Write-Only Credentials (choose one pair):**
10820
+ :param _builtins.str client_secret_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
10821
+ Write-only OAuth2 client secret. Cannot be used with `client_secret`. Must be used together with `client_id_wo` and `client_credentials_wo_version`.
10822
+ :param 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfigOauthDiscoveryArgs' oauth_discovery: OAuth discovery configuration. See `oauth_discovery` below.
10823
+ """
10824
+ if client_credentials_wo_version is not None:
10825
+ pulumi.set(__self__, "client_credentials_wo_version", client_credentials_wo_version)
10826
+ if client_id is not None:
10827
+ pulumi.set(__self__, "client_id", client_id)
10828
+ if client_id_wo is not None:
10829
+ pulumi.set(__self__, "client_id_wo", client_id_wo)
10830
+ if client_secret is not None:
10831
+ pulumi.set(__self__, "client_secret", client_secret)
10832
+ if client_secret_wo is not None:
10833
+ pulumi.set(__self__, "client_secret_wo", client_secret_wo)
10834
+ if oauth_discovery is not None:
10835
+ pulumi.set(__self__, "oauth_discovery", oauth_discovery)
10836
+
10837
+ @_builtins.property
10838
+ @pulumi.getter(name="clientCredentialsWoVersion")
10839
+ def client_credentials_wo_version(self) -> Optional[_builtins.int]:
10840
+ """
10841
+ Used together with write-only credentials to trigger an update. Increment this value when an update to `client_id_wo` or `client_secret_wo` is required.
10842
+
10843
+ **OAuth Discovery Configuration:**
10844
+ """
10845
+ return pulumi.get(self, "client_credentials_wo_version")
10846
+
10847
+ @_builtins.property
10848
+ @pulumi.getter(name="clientId")
10849
+ def client_id(self) -> Optional[_builtins.str]:
10850
+ """
10851
+ OAuth2 client ID. Cannot be used with `client_id_wo`. Must be used together with `client_secret`.
10852
+ """
10853
+ return pulumi.get(self, "client_id")
10854
+
10855
+ @_builtins.property
10856
+ @pulumi.getter(name="clientIdWo")
10857
+ def client_id_wo(self) -> Optional[_builtins.str]:
10858
+ """
10859
+ **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
10860
+ Write-only OAuth2 client ID. Cannot be used with `client_id`. Must be used together with `client_secret_wo` and `client_credentials_wo_version`.
10861
+ """
10862
+ return pulumi.get(self, "client_id_wo")
10863
+
10864
+ @_builtins.property
10865
+ @pulumi.getter(name="clientSecret")
10866
+ def client_secret(self) -> Optional[_builtins.str]:
10867
+ """
10868
+ OAuth2 client secret. Cannot be used with `client_secret_wo`. Must be used together with `client_id`.
10869
+
10870
+ **Write-Only Credentials (choose one pair):**
10871
+ """
10872
+ return pulumi.get(self, "client_secret")
10873
+
10874
+ @_builtins.property
10875
+ @pulumi.getter(name="clientSecretWo")
10876
+ def client_secret_wo(self) -> Optional[_builtins.str]:
10877
+ """
10878
+ **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
10879
+ Write-only OAuth2 client secret. Cannot be used with `client_secret`. Must be used together with `client_id_wo` and `client_credentials_wo_version`.
10880
+ """
10881
+ return pulumi.get(self, "client_secret_wo")
10882
+
10883
+ @_builtins.property
10884
+ @pulumi.getter(name="oauthDiscovery")
10885
+ def oauth_discovery(self) -> Optional['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfigOauthDiscovery']:
10886
+ """
10887
+ OAuth discovery configuration. See `oauth_discovery` below.
10888
+ """
10889
+ return pulumi.get(self, "oauth_discovery")
10890
+
10891
+
10892
+ @pulumi.output_type
10893
+ class AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfigOauthDiscovery(dict):
10894
+ @staticmethod
10895
+ def __key_warning(key: str):
10896
+ suggest = None
10897
+ if key == "authorizationServerMetadata":
10898
+ suggest = "authorization_server_metadata"
10899
+ elif key == "discoveryUrl":
10900
+ suggest = "discovery_url"
10901
+
10902
+ if suggest:
10903
+ pulumi.log.warn(f"Key '{key}' not found in AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfigOauthDiscovery. Access the value via the '{suggest}' property getter instead.")
10904
+
10905
+ def __getitem__(self, key: str) -> Any:
10906
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfigOauthDiscovery.__key_warning(key)
10907
+ return super().__getitem__(key)
10908
+
10909
+ def get(self, key: str, default = None) -> Any:
10910
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfigOauthDiscovery.__key_warning(key)
10911
+ return super().get(key, default)
10912
+
10913
+ def __init__(__self__, *,
10914
+ authorization_server_metadata: Optional['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata'] = None,
10915
+ discovery_url: Optional[_builtins.str] = None):
10916
+ """
10917
+ :param 'AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataArgs' authorization_server_metadata: Manual OAuth2 authorization server metadata configuration. Cannot be used together with `discovery_url`. See `authorization_server_metadata` below.
10918
+ :param _builtins.str discovery_url: OpenID Connect discovery URL (e.g., `https://provider.com/.well-known/openid-configuration`). Cannot be used together with `authorization_server_metadata`.
10919
+ """
10920
+ if authorization_server_metadata is not None:
10921
+ pulumi.set(__self__, "authorization_server_metadata", authorization_server_metadata)
10922
+ if discovery_url is not None:
10923
+ pulumi.set(__self__, "discovery_url", discovery_url)
10924
+
10925
+ @_builtins.property
10926
+ @pulumi.getter(name="authorizationServerMetadata")
10927
+ def authorization_server_metadata(self) -> Optional['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata']:
10928
+ """
10929
+ Manual OAuth2 authorization server metadata configuration. Cannot be used together with `discovery_url`. See `authorization_server_metadata` below.
10930
+ """
10931
+ return pulumi.get(self, "authorization_server_metadata")
10932
+
10933
+ @_builtins.property
10934
+ @pulumi.getter(name="discoveryUrl")
10935
+ def discovery_url(self) -> Optional[_builtins.str]:
10936
+ """
10937
+ OpenID Connect discovery URL (e.g., `https://provider.com/.well-known/openid-configuration`). Cannot be used together with `authorization_server_metadata`.
10938
+ """
10939
+ return pulumi.get(self, "discovery_url")
10940
+
10941
+
10942
+ @pulumi.output_type
10943
+ class AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata(dict):
10944
+ @staticmethod
10945
+ def __key_warning(key: str):
10946
+ suggest = None
10947
+ if key == "authorizationEndpoint":
10948
+ suggest = "authorization_endpoint"
10949
+ elif key == "tokenEndpoint":
10950
+ suggest = "token_endpoint"
10951
+ elif key == "responseTypes":
10952
+ suggest = "response_types"
10953
+
10954
+ if suggest:
10955
+ pulumi.log.warn(f"Key '{key}' not found in AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata. Access the value via the '{suggest}' property getter instead.")
10956
+
10957
+ def __getitem__(self, key: str) -> Any:
10958
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata.__key_warning(key)
10959
+ return super().__getitem__(key)
10960
+
10961
+ def get(self, key: str, default = None) -> Any:
10962
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigCustomOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata.__key_warning(key)
10963
+ return super().get(key, default)
10964
+
10965
+ def __init__(__self__, *,
10966
+ authorization_endpoint: _builtins.str,
10967
+ issuer: _builtins.str,
10968
+ token_endpoint: _builtins.str,
10969
+ response_types: Optional[Sequence[_builtins.str]] = None):
10970
+ """
10971
+ :param _builtins.str authorization_endpoint: OAuth2 authorization endpoint URL.
10972
+ :param _builtins.str issuer: OAuth2 authorization server issuer identifier.
10973
+ :param _builtins.str token_endpoint: OAuth2 token endpoint URL.
10974
+ :param Sequence[_builtins.str] response_types: Set of OAuth2 response types supported by the authorization server.
10975
+ """
10976
+ pulumi.set(__self__, "authorization_endpoint", authorization_endpoint)
10977
+ pulumi.set(__self__, "issuer", issuer)
10978
+ pulumi.set(__self__, "token_endpoint", token_endpoint)
10979
+ if response_types is not None:
10980
+ pulumi.set(__self__, "response_types", response_types)
10981
+
10982
+ @_builtins.property
10983
+ @pulumi.getter(name="authorizationEndpoint")
10984
+ def authorization_endpoint(self) -> _builtins.str:
10985
+ """
10986
+ OAuth2 authorization endpoint URL.
10987
+ """
10988
+ return pulumi.get(self, "authorization_endpoint")
10989
+
10990
+ @_builtins.property
10991
+ @pulumi.getter
10992
+ def issuer(self) -> _builtins.str:
10993
+ """
10994
+ OAuth2 authorization server issuer identifier.
10995
+ """
10996
+ return pulumi.get(self, "issuer")
10997
+
10998
+ @_builtins.property
10999
+ @pulumi.getter(name="tokenEndpoint")
11000
+ def token_endpoint(self) -> _builtins.str:
11001
+ """
11002
+ OAuth2 token endpoint URL.
11003
+ """
11004
+ return pulumi.get(self, "token_endpoint")
11005
+
11006
+ @_builtins.property
11007
+ @pulumi.getter(name="responseTypes")
11008
+ def response_types(self) -> Optional[Sequence[_builtins.str]]:
11009
+ """
11010
+ Set of OAuth2 response types supported by the authorization server.
11011
+ """
11012
+ return pulumi.get(self, "response_types")
11013
+
11014
+
11015
+ @pulumi.output_type
11016
+ class AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfig(dict):
11017
+ @staticmethod
11018
+ def __key_warning(key: str):
11019
+ suggest = None
11020
+ if key == "clientCredentialsWoVersion":
11021
+ suggest = "client_credentials_wo_version"
11022
+ elif key == "clientId":
11023
+ suggest = "client_id"
11024
+ elif key == "clientIdWo":
11025
+ suggest = "client_id_wo"
11026
+ elif key == "clientSecret":
11027
+ suggest = "client_secret"
11028
+ elif key == "clientSecretWo":
11029
+ suggest = "client_secret_wo"
11030
+ elif key == "oauthDiscoveries":
11031
+ suggest = "oauth_discoveries"
11032
+
11033
+ if suggest:
11034
+ pulumi.log.warn(f"Key '{key}' not found in AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfig. Access the value via the '{suggest}' property getter instead.")
11035
+
11036
+ def __getitem__(self, key: str) -> Any:
11037
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfig.__key_warning(key)
11038
+ return super().__getitem__(key)
11039
+
11040
+ def get(self, key: str, default = None) -> Any:
11041
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfig.__key_warning(key)
11042
+ return super().get(key, default)
11043
+
11044
+ def __init__(__self__, *,
11045
+ client_credentials_wo_version: Optional[_builtins.int] = None,
11046
+ client_id: Optional[_builtins.str] = None,
11047
+ client_id_wo: Optional[_builtins.str] = None,
11048
+ client_secret: Optional[_builtins.str] = None,
11049
+ client_secret_wo: Optional[_builtins.str] = None,
11050
+ oauth_discoveries: Optional[Sequence['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfigOauthDiscovery']] = None):
11051
+ """
11052
+ :param _builtins.str client_id_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11053
+ :param _builtins.str client_secret_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11054
+ :param Sequence['AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfigOauthDiscoveryArgs'] oauth_discoveries: OAuth discovery configuration. See `oauth_discovery` below.
11055
+ """
11056
+ if client_credentials_wo_version is not None:
11057
+ pulumi.set(__self__, "client_credentials_wo_version", client_credentials_wo_version)
11058
+ if client_id is not None:
11059
+ pulumi.set(__self__, "client_id", client_id)
11060
+ if client_id_wo is not None:
11061
+ pulumi.set(__self__, "client_id_wo", client_id_wo)
11062
+ if client_secret is not None:
11063
+ pulumi.set(__self__, "client_secret", client_secret)
11064
+ if client_secret_wo is not None:
11065
+ pulumi.set(__self__, "client_secret_wo", client_secret_wo)
11066
+ if oauth_discoveries is not None:
11067
+ pulumi.set(__self__, "oauth_discoveries", oauth_discoveries)
11068
+
11069
+ @_builtins.property
11070
+ @pulumi.getter(name="clientCredentialsWoVersion")
11071
+ def client_credentials_wo_version(self) -> Optional[_builtins.int]:
11072
+ return pulumi.get(self, "client_credentials_wo_version")
11073
+
11074
+ @_builtins.property
11075
+ @pulumi.getter(name="clientId")
11076
+ def client_id(self) -> Optional[_builtins.str]:
11077
+ return pulumi.get(self, "client_id")
11078
+
11079
+ @_builtins.property
11080
+ @pulumi.getter(name="clientIdWo")
11081
+ def client_id_wo(self) -> Optional[_builtins.str]:
11082
+ """
11083
+ **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11084
+ """
11085
+ return pulumi.get(self, "client_id_wo")
11086
+
11087
+ @_builtins.property
11088
+ @pulumi.getter(name="clientSecret")
11089
+ def client_secret(self) -> Optional[_builtins.str]:
11090
+ return pulumi.get(self, "client_secret")
11091
+
11092
+ @_builtins.property
11093
+ @pulumi.getter(name="clientSecretWo")
11094
+ def client_secret_wo(self) -> Optional[_builtins.str]:
11095
+ """
11096
+ **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11097
+ """
11098
+ return pulumi.get(self, "client_secret_wo")
11099
+
11100
+ @_builtins.property
11101
+ @pulumi.getter(name="oauthDiscoveries")
11102
+ def oauth_discoveries(self) -> Optional[Sequence['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfigOauthDiscovery']]:
11103
+ """
11104
+ OAuth discovery configuration. See `oauth_discovery` below.
11105
+ """
11106
+ return pulumi.get(self, "oauth_discoveries")
11107
+
11108
+
11109
+ @pulumi.output_type
11110
+ class AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfigOauthDiscovery(dict):
11111
+ @staticmethod
11112
+ def __key_warning(key: str):
11113
+ suggest = None
11114
+ if key == "authorizationServerMetadatas":
11115
+ suggest = "authorization_server_metadatas"
11116
+ elif key == "discoveryUrl":
11117
+ suggest = "discovery_url"
11118
+
11119
+ if suggest:
11120
+ pulumi.log.warn(f"Key '{key}' not found in AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfigOauthDiscovery. Access the value via the '{suggest}' property getter instead.")
11121
+
11122
+ def __getitem__(self, key: str) -> Any:
11123
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfigOauthDiscovery.__key_warning(key)
11124
+ return super().__getitem__(key)
11125
+
11126
+ def get(self, key: str, default = None) -> Any:
11127
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfigOauthDiscovery.__key_warning(key)
11128
+ return super().get(key, default)
11129
+
11130
+ def __init__(__self__, *,
11131
+ authorization_server_metadatas: Sequence['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata'],
11132
+ discovery_url: _builtins.str):
11133
+ """
11134
+ :param Sequence['AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataArgs'] authorization_server_metadatas: Manual OAuth2 authorization server metadata configuration. Cannot be used together with `discovery_url`. See `authorization_server_metadata` below.
11135
+ :param _builtins.str discovery_url: OpenID Connect discovery URL (e.g., `https://provider.com/.well-known/openid-configuration`). Cannot be used together with `authorization_server_metadata`.
11136
+ """
11137
+ pulumi.set(__self__, "authorization_server_metadatas", authorization_server_metadatas)
11138
+ pulumi.set(__self__, "discovery_url", discovery_url)
11139
+
11140
+ @_builtins.property
11141
+ @pulumi.getter(name="authorizationServerMetadatas")
11142
+ def authorization_server_metadatas(self) -> Sequence['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata']:
11143
+ """
11144
+ Manual OAuth2 authorization server metadata configuration. Cannot be used together with `discovery_url`. See `authorization_server_metadata` below.
11145
+ """
11146
+ return pulumi.get(self, "authorization_server_metadatas")
11147
+
11148
+ @_builtins.property
11149
+ @pulumi.getter(name="discoveryUrl")
11150
+ def discovery_url(self) -> _builtins.str:
11151
+ """
11152
+ OpenID Connect discovery URL (e.g., `https://provider.com/.well-known/openid-configuration`). Cannot be used together with `authorization_server_metadata`.
11153
+ """
11154
+ return pulumi.get(self, "discovery_url")
11155
+
11156
+
11157
+ @pulumi.output_type
11158
+ class AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata(dict):
11159
+ @staticmethod
11160
+ def __key_warning(key: str):
11161
+ suggest = None
11162
+ if key == "authorizationEndpoint":
11163
+ suggest = "authorization_endpoint"
11164
+ elif key == "responseTypes":
11165
+ suggest = "response_types"
11166
+ elif key == "tokenEndpoint":
11167
+ suggest = "token_endpoint"
11168
+
11169
+ if suggest:
11170
+ pulumi.log.warn(f"Key '{key}' not found in AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata. Access the value via the '{suggest}' property getter instead.")
11171
+
11172
+ def __getitem__(self, key: str) -> Any:
11173
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata.__key_warning(key)
11174
+ return super().__getitem__(key)
11175
+
11176
+ def get(self, key: str, default = None) -> Any:
11177
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigGithubOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata.__key_warning(key)
11178
+ return super().get(key, default)
11179
+
11180
+ def __init__(__self__, *,
11181
+ authorization_endpoint: _builtins.str,
11182
+ issuer: _builtins.str,
11183
+ response_types: Sequence[_builtins.str],
11184
+ token_endpoint: _builtins.str):
11185
+ """
11186
+ :param _builtins.str authorization_endpoint: OAuth2 authorization endpoint URL.
11187
+ :param _builtins.str issuer: OAuth2 authorization server issuer identifier.
11188
+ :param Sequence[_builtins.str] response_types: Set of OAuth2 response types supported by the authorization server.
11189
+ :param _builtins.str token_endpoint: OAuth2 token endpoint URL.
11190
+ """
11191
+ pulumi.set(__self__, "authorization_endpoint", authorization_endpoint)
11192
+ pulumi.set(__self__, "issuer", issuer)
11193
+ pulumi.set(__self__, "response_types", response_types)
11194
+ pulumi.set(__self__, "token_endpoint", token_endpoint)
11195
+
11196
+ @_builtins.property
11197
+ @pulumi.getter(name="authorizationEndpoint")
11198
+ def authorization_endpoint(self) -> _builtins.str:
11199
+ """
11200
+ OAuth2 authorization endpoint URL.
11201
+ """
11202
+ return pulumi.get(self, "authorization_endpoint")
11203
+
11204
+ @_builtins.property
11205
+ @pulumi.getter
11206
+ def issuer(self) -> _builtins.str:
11207
+ """
11208
+ OAuth2 authorization server issuer identifier.
11209
+ """
11210
+ return pulumi.get(self, "issuer")
11211
+
11212
+ @_builtins.property
11213
+ @pulumi.getter(name="responseTypes")
11214
+ def response_types(self) -> Sequence[_builtins.str]:
11215
+ """
11216
+ Set of OAuth2 response types supported by the authorization server.
11217
+ """
11218
+ return pulumi.get(self, "response_types")
11219
+
11220
+ @_builtins.property
11221
+ @pulumi.getter(name="tokenEndpoint")
11222
+ def token_endpoint(self) -> _builtins.str:
11223
+ """
11224
+ OAuth2 token endpoint URL.
11225
+ """
11226
+ return pulumi.get(self, "token_endpoint")
11227
+
11228
+
11229
+ @pulumi.output_type
11230
+ class AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfig(dict):
11231
+ @staticmethod
11232
+ def __key_warning(key: str):
11233
+ suggest = None
11234
+ if key == "clientCredentialsWoVersion":
11235
+ suggest = "client_credentials_wo_version"
11236
+ elif key == "clientId":
11237
+ suggest = "client_id"
11238
+ elif key == "clientIdWo":
11239
+ suggest = "client_id_wo"
11240
+ elif key == "clientSecret":
11241
+ suggest = "client_secret"
11242
+ elif key == "clientSecretWo":
11243
+ suggest = "client_secret_wo"
11244
+ elif key == "oauthDiscoveries":
11245
+ suggest = "oauth_discoveries"
11246
+
11247
+ if suggest:
11248
+ pulumi.log.warn(f"Key '{key}' not found in AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfig. Access the value via the '{suggest}' property getter instead.")
11249
+
11250
+ def __getitem__(self, key: str) -> Any:
11251
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfig.__key_warning(key)
11252
+ return super().__getitem__(key)
11253
+
11254
+ def get(self, key: str, default = None) -> Any:
11255
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfig.__key_warning(key)
11256
+ return super().get(key, default)
11257
+
11258
+ def __init__(__self__, *,
11259
+ client_credentials_wo_version: Optional[_builtins.int] = None,
11260
+ client_id: Optional[_builtins.str] = None,
11261
+ client_id_wo: Optional[_builtins.str] = None,
11262
+ client_secret: Optional[_builtins.str] = None,
11263
+ client_secret_wo: Optional[_builtins.str] = None,
11264
+ oauth_discoveries: Optional[Sequence['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfigOauthDiscovery']] = None):
11265
+ """
11266
+ :param _builtins.str client_id_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11267
+ :param _builtins.str client_secret_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11268
+ :param Sequence['AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfigOauthDiscoveryArgs'] oauth_discoveries: OAuth discovery configuration. See `oauth_discovery` below.
11269
+ """
11270
+ if client_credentials_wo_version is not None:
11271
+ pulumi.set(__self__, "client_credentials_wo_version", client_credentials_wo_version)
11272
+ if client_id is not None:
11273
+ pulumi.set(__self__, "client_id", client_id)
11274
+ if client_id_wo is not None:
11275
+ pulumi.set(__self__, "client_id_wo", client_id_wo)
11276
+ if client_secret is not None:
11277
+ pulumi.set(__self__, "client_secret", client_secret)
11278
+ if client_secret_wo is not None:
11279
+ pulumi.set(__self__, "client_secret_wo", client_secret_wo)
11280
+ if oauth_discoveries is not None:
11281
+ pulumi.set(__self__, "oauth_discoveries", oauth_discoveries)
11282
+
11283
+ @_builtins.property
11284
+ @pulumi.getter(name="clientCredentialsWoVersion")
11285
+ def client_credentials_wo_version(self) -> Optional[_builtins.int]:
11286
+ return pulumi.get(self, "client_credentials_wo_version")
11287
+
11288
+ @_builtins.property
11289
+ @pulumi.getter(name="clientId")
11290
+ def client_id(self) -> Optional[_builtins.str]:
11291
+ return pulumi.get(self, "client_id")
11292
+
11293
+ @_builtins.property
11294
+ @pulumi.getter(name="clientIdWo")
11295
+ def client_id_wo(self) -> Optional[_builtins.str]:
11296
+ """
11297
+ **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11298
+ """
11299
+ return pulumi.get(self, "client_id_wo")
11300
+
11301
+ @_builtins.property
11302
+ @pulumi.getter(name="clientSecret")
11303
+ def client_secret(self) -> Optional[_builtins.str]:
11304
+ return pulumi.get(self, "client_secret")
11305
+
11306
+ @_builtins.property
11307
+ @pulumi.getter(name="clientSecretWo")
11308
+ def client_secret_wo(self) -> Optional[_builtins.str]:
11309
+ """
11310
+ **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11311
+ """
11312
+ return pulumi.get(self, "client_secret_wo")
11313
+
11314
+ @_builtins.property
11315
+ @pulumi.getter(name="oauthDiscoveries")
11316
+ def oauth_discoveries(self) -> Optional[Sequence['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfigOauthDiscovery']]:
11317
+ """
11318
+ OAuth discovery configuration. See `oauth_discovery` below.
11319
+ """
11320
+ return pulumi.get(self, "oauth_discoveries")
11321
+
11322
+
11323
+ @pulumi.output_type
11324
+ class AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfigOauthDiscovery(dict):
11325
+ @staticmethod
11326
+ def __key_warning(key: str):
11327
+ suggest = None
11328
+ if key == "authorizationServerMetadatas":
11329
+ suggest = "authorization_server_metadatas"
11330
+ elif key == "discoveryUrl":
11331
+ suggest = "discovery_url"
11332
+
11333
+ if suggest:
11334
+ pulumi.log.warn(f"Key '{key}' not found in AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfigOauthDiscovery. Access the value via the '{suggest}' property getter instead.")
11335
+
11336
+ def __getitem__(self, key: str) -> Any:
11337
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfigOauthDiscovery.__key_warning(key)
11338
+ return super().__getitem__(key)
11339
+
11340
+ def get(self, key: str, default = None) -> Any:
11341
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfigOauthDiscovery.__key_warning(key)
11342
+ return super().get(key, default)
11343
+
11344
+ def __init__(__self__, *,
11345
+ authorization_server_metadatas: Sequence['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata'],
11346
+ discovery_url: _builtins.str):
11347
+ """
11348
+ :param Sequence['AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataArgs'] authorization_server_metadatas: Manual OAuth2 authorization server metadata configuration. Cannot be used together with `discovery_url`. See `authorization_server_metadata` below.
11349
+ :param _builtins.str discovery_url: OpenID Connect discovery URL (e.g., `https://provider.com/.well-known/openid-configuration`). Cannot be used together with `authorization_server_metadata`.
11350
+ """
11351
+ pulumi.set(__self__, "authorization_server_metadatas", authorization_server_metadatas)
11352
+ pulumi.set(__self__, "discovery_url", discovery_url)
11353
+
11354
+ @_builtins.property
11355
+ @pulumi.getter(name="authorizationServerMetadatas")
11356
+ def authorization_server_metadatas(self) -> Sequence['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata']:
11357
+ """
11358
+ Manual OAuth2 authorization server metadata configuration. Cannot be used together with `discovery_url`. See `authorization_server_metadata` below.
11359
+ """
11360
+ return pulumi.get(self, "authorization_server_metadatas")
11361
+
11362
+ @_builtins.property
11363
+ @pulumi.getter(name="discoveryUrl")
11364
+ def discovery_url(self) -> _builtins.str:
11365
+ """
11366
+ OpenID Connect discovery URL (e.g., `https://provider.com/.well-known/openid-configuration`). Cannot be used together with `authorization_server_metadata`.
11367
+ """
11368
+ return pulumi.get(self, "discovery_url")
11369
+
11370
+
11371
+ @pulumi.output_type
11372
+ class AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata(dict):
11373
+ @staticmethod
11374
+ def __key_warning(key: str):
11375
+ suggest = None
11376
+ if key == "authorizationEndpoint":
11377
+ suggest = "authorization_endpoint"
11378
+ elif key == "responseTypes":
11379
+ suggest = "response_types"
11380
+ elif key == "tokenEndpoint":
11381
+ suggest = "token_endpoint"
11382
+
11383
+ if suggest:
11384
+ pulumi.log.warn(f"Key '{key}' not found in AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata. Access the value via the '{suggest}' property getter instead.")
11385
+
11386
+ def __getitem__(self, key: str) -> Any:
11387
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata.__key_warning(key)
11388
+ return super().__getitem__(key)
11389
+
11390
+ def get(self, key: str, default = None) -> Any:
11391
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigGoogleOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata.__key_warning(key)
11392
+ return super().get(key, default)
11393
+
11394
+ def __init__(__self__, *,
11395
+ authorization_endpoint: _builtins.str,
11396
+ issuer: _builtins.str,
11397
+ response_types: Sequence[_builtins.str],
11398
+ token_endpoint: _builtins.str):
11399
+ """
11400
+ :param _builtins.str authorization_endpoint: OAuth2 authorization endpoint URL.
11401
+ :param _builtins.str issuer: OAuth2 authorization server issuer identifier.
11402
+ :param Sequence[_builtins.str] response_types: Set of OAuth2 response types supported by the authorization server.
11403
+ :param _builtins.str token_endpoint: OAuth2 token endpoint URL.
11404
+ """
11405
+ pulumi.set(__self__, "authorization_endpoint", authorization_endpoint)
11406
+ pulumi.set(__self__, "issuer", issuer)
11407
+ pulumi.set(__self__, "response_types", response_types)
11408
+ pulumi.set(__self__, "token_endpoint", token_endpoint)
11409
+
11410
+ @_builtins.property
11411
+ @pulumi.getter(name="authorizationEndpoint")
11412
+ def authorization_endpoint(self) -> _builtins.str:
11413
+ """
11414
+ OAuth2 authorization endpoint URL.
11415
+ """
11416
+ return pulumi.get(self, "authorization_endpoint")
11417
+
11418
+ @_builtins.property
11419
+ @pulumi.getter
11420
+ def issuer(self) -> _builtins.str:
11421
+ """
11422
+ OAuth2 authorization server issuer identifier.
11423
+ """
11424
+ return pulumi.get(self, "issuer")
11425
+
11426
+ @_builtins.property
11427
+ @pulumi.getter(name="responseTypes")
11428
+ def response_types(self) -> Sequence[_builtins.str]:
11429
+ """
11430
+ Set of OAuth2 response types supported by the authorization server.
11431
+ """
11432
+ return pulumi.get(self, "response_types")
11433
+
11434
+ @_builtins.property
11435
+ @pulumi.getter(name="tokenEndpoint")
11436
+ def token_endpoint(self) -> _builtins.str:
11437
+ """
11438
+ OAuth2 token endpoint URL.
11439
+ """
11440
+ return pulumi.get(self, "token_endpoint")
11441
+
11442
+
11443
+ @pulumi.output_type
11444
+ class AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfig(dict):
11445
+ @staticmethod
11446
+ def __key_warning(key: str):
11447
+ suggest = None
11448
+ if key == "clientCredentialsWoVersion":
11449
+ suggest = "client_credentials_wo_version"
11450
+ elif key == "clientId":
11451
+ suggest = "client_id"
11452
+ elif key == "clientIdWo":
11453
+ suggest = "client_id_wo"
11454
+ elif key == "clientSecret":
11455
+ suggest = "client_secret"
11456
+ elif key == "clientSecretWo":
11457
+ suggest = "client_secret_wo"
11458
+ elif key == "oauthDiscoveries":
11459
+ suggest = "oauth_discoveries"
11460
+
11461
+ if suggest:
11462
+ pulumi.log.warn(f"Key '{key}' not found in AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfig. Access the value via the '{suggest}' property getter instead.")
11463
+
11464
+ def __getitem__(self, key: str) -> Any:
11465
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfig.__key_warning(key)
11466
+ return super().__getitem__(key)
11467
+
11468
+ def get(self, key: str, default = None) -> Any:
11469
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfig.__key_warning(key)
11470
+ return super().get(key, default)
11471
+
11472
+ def __init__(__self__, *,
11473
+ client_credentials_wo_version: Optional[_builtins.int] = None,
11474
+ client_id: Optional[_builtins.str] = None,
11475
+ client_id_wo: Optional[_builtins.str] = None,
11476
+ client_secret: Optional[_builtins.str] = None,
11477
+ client_secret_wo: Optional[_builtins.str] = None,
11478
+ oauth_discoveries: Optional[Sequence['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfigOauthDiscovery']] = None):
11479
+ """
11480
+ :param _builtins.str client_id_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11481
+ :param _builtins.str client_secret_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11482
+ :param Sequence['AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfigOauthDiscoveryArgs'] oauth_discoveries: OAuth discovery configuration. See `oauth_discovery` below.
11483
+ """
11484
+ if client_credentials_wo_version is not None:
11485
+ pulumi.set(__self__, "client_credentials_wo_version", client_credentials_wo_version)
11486
+ if client_id is not None:
11487
+ pulumi.set(__self__, "client_id", client_id)
11488
+ if client_id_wo is not None:
11489
+ pulumi.set(__self__, "client_id_wo", client_id_wo)
11490
+ if client_secret is not None:
11491
+ pulumi.set(__self__, "client_secret", client_secret)
11492
+ if client_secret_wo is not None:
11493
+ pulumi.set(__self__, "client_secret_wo", client_secret_wo)
11494
+ if oauth_discoveries is not None:
11495
+ pulumi.set(__self__, "oauth_discoveries", oauth_discoveries)
11496
+
11497
+ @_builtins.property
11498
+ @pulumi.getter(name="clientCredentialsWoVersion")
11499
+ def client_credentials_wo_version(self) -> Optional[_builtins.int]:
11500
+ return pulumi.get(self, "client_credentials_wo_version")
11501
+
11502
+ @_builtins.property
11503
+ @pulumi.getter(name="clientId")
11504
+ def client_id(self) -> Optional[_builtins.str]:
11505
+ return pulumi.get(self, "client_id")
11506
+
11507
+ @_builtins.property
11508
+ @pulumi.getter(name="clientIdWo")
11509
+ def client_id_wo(self) -> Optional[_builtins.str]:
11510
+ """
11511
+ **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11512
+ """
11513
+ return pulumi.get(self, "client_id_wo")
11514
+
11515
+ @_builtins.property
11516
+ @pulumi.getter(name="clientSecret")
11517
+ def client_secret(self) -> Optional[_builtins.str]:
11518
+ return pulumi.get(self, "client_secret")
11519
+
11520
+ @_builtins.property
11521
+ @pulumi.getter(name="clientSecretWo")
11522
+ def client_secret_wo(self) -> Optional[_builtins.str]:
11523
+ """
11524
+ **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11525
+ """
11526
+ return pulumi.get(self, "client_secret_wo")
11527
+
11528
+ @_builtins.property
11529
+ @pulumi.getter(name="oauthDiscoveries")
11530
+ def oauth_discoveries(self) -> Optional[Sequence['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfigOauthDiscovery']]:
11531
+ """
11532
+ OAuth discovery configuration. See `oauth_discovery` below.
11533
+ """
11534
+ return pulumi.get(self, "oauth_discoveries")
11535
+
11536
+
11537
+ @pulumi.output_type
11538
+ class AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfigOauthDiscovery(dict):
11539
+ @staticmethod
11540
+ def __key_warning(key: str):
11541
+ suggest = None
11542
+ if key == "authorizationServerMetadatas":
11543
+ suggest = "authorization_server_metadatas"
11544
+ elif key == "discoveryUrl":
11545
+ suggest = "discovery_url"
11546
+
11547
+ if suggest:
11548
+ pulumi.log.warn(f"Key '{key}' not found in AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfigOauthDiscovery. Access the value via the '{suggest}' property getter instead.")
11549
+
11550
+ def __getitem__(self, key: str) -> Any:
11551
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfigOauthDiscovery.__key_warning(key)
11552
+ return super().__getitem__(key)
11553
+
11554
+ def get(self, key: str, default = None) -> Any:
11555
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfigOauthDiscovery.__key_warning(key)
11556
+ return super().get(key, default)
11557
+
11558
+ def __init__(__self__, *,
11559
+ authorization_server_metadatas: Sequence['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata'],
11560
+ discovery_url: _builtins.str):
11561
+ """
11562
+ :param Sequence['AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataArgs'] authorization_server_metadatas: Manual OAuth2 authorization server metadata configuration. Cannot be used together with `discovery_url`. See `authorization_server_metadata` below.
11563
+ :param _builtins.str discovery_url: OpenID Connect discovery URL (e.g., `https://provider.com/.well-known/openid-configuration`). Cannot be used together with `authorization_server_metadata`.
11564
+ """
11565
+ pulumi.set(__self__, "authorization_server_metadatas", authorization_server_metadatas)
11566
+ pulumi.set(__self__, "discovery_url", discovery_url)
11567
+
11568
+ @_builtins.property
11569
+ @pulumi.getter(name="authorizationServerMetadatas")
11570
+ def authorization_server_metadatas(self) -> Sequence['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata']:
11571
+ """
11572
+ Manual OAuth2 authorization server metadata configuration. Cannot be used together with `discovery_url`. See `authorization_server_metadata` below.
11573
+ """
11574
+ return pulumi.get(self, "authorization_server_metadatas")
11575
+
11576
+ @_builtins.property
11577
+ @pulumi.getter(name="discoveryUrl")
11578
+ def discovery_url(self) -> _builtins.str:
11579
+ """
11580
+ OpenID Connect discovery URL (e.g., `https://provider.com/.well-known/openid-configuration`). Cannot be used together with `authorization_server_metadata`.
11581
+ """
11582
+ return pulumi.get(self, "discovery_url")
11583
+
11584
+
11585
+ @pulumi.output_type
11586
+ class AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata(dict):
11587
+ @staticmethod
11588
+ def __key_warning(key: str):
11589
+ suggest = None
11590
+ if key == "authorizationEndpoint":
11591
+ suggest = "authorization_endpoint"
11592
+ elif key == "responseTypes":
11593
+ suggest = "response_types"
11594
+ elif key == "tokenEndpoint":
11595
+ suggest = "token_endpoint"
11596
+
11597
+ if suggest:
11598
+ pulumi.log.warn(f"Key '{key}' not found in AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata. Access the value via the '{suggest}' property getter instead.")
11599
+
11600
+ def __getitem__(self, key: str) -> Any:
11601
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata.__key_warning(key)
11602
+ return super().__getitem__(key)
11603
+
11604
+ def get(self, key: str, default = None) -> Any:
11605
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigMicrosoftOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata.__key_warning(key)
11606
+ return super().get(key, default)
11607
+
11608
+ def __init__(__self__, *,
11609
+ authorization_endpoint: _builtins.str,
11610
+ issuer: _builtins.str,
11611
+ response_types: Sequence[_builtins.str],
11612
+ token_endpoint: _builtins.str):
11613
+ """
11614
+ :param _builtins.str authorization_endpoint: OAuth2 authorization endpoint URL.
11615
+ :param _builtins.str issuer: OAuth2 authorization server issuer identifier.
11616
+ :param Sequence[_builtins.str] response_types: Set of OAuth2 response types supported by the authorization server.
11617
+ :param _builtins.str token_endpoint: OAuth2 token endpoint URL.
11618
+ """
11619
+ pulumi.set(__self__, "authorization_endpoint", authorization_endpoint)
11620
+ pulumi.set(__self__, "issuer", issuer)
11621
+ pulumi.set(__self__, "response_types", response_types)
11622
+ pulumi.set(__self__, "token_endpoint", token_endpoint)
11623
+
11624
+ @_builtins.property
11625
+ @pulumi.getter(name="authorizationEndpoint")
11626
+ def authorization_endpoint(self) -> _builtins.str:
11627
+ """
11628
+ OAuth2 authorization endpoint URL.
11629
+ """
11630
+ return pulumi.get(self, "authorization_endpoint")
11631
+
11632
+ @_builtins.property
11633
+ @pulumi.getter
11634
+ def issuer(self) -> _builtins.str:
11635
+ """
11636
+ OAuth2 authorization server issuer identifier.
11637
+ """
11638
+ return pulumi.get(self, "issuer")
11639
+
11640
+ @_builtins.property
11641
+ @pulumi.getter(name="responseTypes")
11642
+ def response_types(self) -> Sequence[_builtins.str]:
11643
+ """
11644
+ Set of OAuth2 response types supported by the authorization server.
11645
+ """
11646
+ return pulumi.get(self, "response_types")
11647
+
11648
+ @_builtins.property
11649
+ @pulumi.getter(name="tokenEndpoint")
11650
+ def token_endpoint(self) -> _builtins.str:
11651
+ """
11652
+ OAuth2 token endpoint URL.
11653
+ """
11654
+ return pulumi.get(self, "token_endpoint")
11655
+
11656
+
11657
+ @pulumi.output_type
11658
+ class AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfig(dict):
11659
+ @staticmethod
11660
+ def __key_warning(key: str):
11661
+ suggest = None
11662
+ if key == "clientCredentialsWoVersion":
11663
+ suggest = "client_credentials_wo_version"
11664
+ elif key == "clientId":
11665
+ suggest = "client_id"
11666
+ elif key == "clientIdWo":
11667
+ suggest = "client_id_wo"
11668
+ elif key == "clientSecret":
11669
+ suggest = "client_secret"
11670
+ elif key == "clientSecretWo":
11671
+ suggest = "client_secret_wo"
11672
+ elif key == "oauthDiscoveries":
11673
+ suggest = "oauth_discoveries"
11674
+
11675
+ if suggest:
11676
+ pulumi.log.warn(f"Key '{key}' not found in AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfig. Access the value via the '{suggest}' property getter instead.")
11677
+
11678
+ def __getitem__(self, key: str) -> Any:
11679
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfig.__key_warning(key)
11680
+ return super().__getitem__(key)
11681
+
11682
+ def get(self, key: str, default = None) -> Any:
11683
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfig.__key_warning(key)
11684
+ return super().get(key, default)
11685
+
11686
+ def __init__(__self__, *,
11687
+ client_credentials_wo_version: Optional[_builtins.int] = None,
11688
+ client_id: Optional[_builtins.str] = None,
11689
+ client_id_wo: Optional[_builtins.str] = None,
11690
+ client_secret: Optional[_builtins.str] = None,
11691
+ client_secret_wo: Optional[_builtins.str] = None,
11692
+ oauth_discoveries: Optional[Sequence['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfigOauthDiscovery']] = None):
11693
+ """
11694
+ :param _builtins.str client_id_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11695
+ :param _builtins.str client_secret_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11696
+ :param Sequence['AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfigOauthDiscoveryArgs'] oauth_discoveries: OAuth discovery configuration. See `oauth_discovery` below.
11697
+ """
11698
+ if client_credentials_wo_version is not None:
11699
+ pulumi.set(__self__, "client_credentials_wo_version", client_credentials_wo_version)
11700
+ if client_id is not None:
11701
+ pulumi.set(__self__, "client_id", client_id)
11702
+ if client_id_wo is not None:
11703
+ pulumi.set(__self__, "client_id_wo", client_id_wo)
11704
+ if client_secret is not None:
11705
+ pulumi.set(__self__, "client_secret", client_secret)
11706
+ if client_secret_wo is not None:
11707
+ pulumi.set(__self__, "client_secret_wo", client_secret_wo)
11708
+ if oauth_discoveries is not None:
11709
+ pulumi.set(__self__, "oauth_discoveries", oauth_discoveries)
11710
+
11711
+ @_builtins.property
11712
+ @pulumi.getter(name="clientCredentialsWoVersion")
11713
+ def client_credentials_wo_version(self) -> Optional[_builtins.int]:
11714
+ return pulumi.get(self, "client_credentials_wo_version")
11715
+
11716
+ @_builtins.property
11717
+ @pulumi.getter(name="clientId")
11718
+ def client_id(self) -> Optional[_builtins.str]:
11719
+ return pulumi.get(self, "client_id")
11720
+
11721
+ @_builtins.property
11722
+ @pulumi.getter(name="clientIdWo")
11723
+ def client_id_wo(self) -> Optional[_builtins.str]:
11724
+ """
11725
+ **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11726
+ """
11727
+ return pulumi.get(self, "client_id_wo")
11728
+
11729
+ @_builtins.property
11730
+ @pulumi.getter(name="clientSecret")
11731
+ def client_secret(self) -> Optional[_builtins.str]:
11732
+ return pulumi.get(self, "client_secret")
11733
+
11734
+ @_builtins.property
11735
+ @pulumi.getter(name="clientSecretWo")
11736
+ def client_secret_wo(self) -> Optional[_builtins.str]:
11737
+ """
11738
+ **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11739
+ """
11740
+ return pulumi.get(self, "client_secret_wo")
11741
+
11742
+ @_builtins.property
11743
+ @pulumi.getter(name="oauthDiscoveries")
11744
+ def oauth_discoveries(self) -> Optional[Sequence['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfigOauthDiscovery']]:
11745
+ """
11746
+ OAuth discovery configuration. See `oauth_discovery` below.
11747
+ """
11748
+ return pulumi.get(self, "oauth_discoveries")
11749
+
11750
+
11751
+ @pulumi.output_type
11752
+ class AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfigOauthDiscovery(dict):
11753
+ @staticmethod
11754
+ def __key_warning(key: str):
11755
+ suggest = None
11756
+ if key == "authorizationServerMetadatas":
11757
+ suggest = "authorization_server_metadatas"
11758
+ elif key == "discoveryUrl":
11759
+ suggest = "discovery_url"
11760
+
11761
+ if suggest:
11762
+ pulumi.log.warn(f"Key '{key}' not found in AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfigOauthDiscovery. Access the value via the '{suggest}' property getter instead.")
11763
+
11764
+ def __getitem__(self, key: str) -> Any:
11765
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfigOauthDiscovery.__key_warning(key)
11766
+ return super().__getitem__(key)
11767
+
11768
+ def get(self, key: str, default = None) -> Any:
11769
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfigOauthDiscovery.__key_warning(key)
11770
+ return super().get(key, default)
11771
+
11772
+ def __init__(__self__, *,
11773
+ authorization_server_metadatas: Sequence['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata'],
11774
+ discovery_url: _builtins.str):
11775
+ """
11776
+ :param Sequence['AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataArgs'] authorization_server_metadatas: Manual OAuth2 authorization server metadata configuration. Cannot be used together with `discovery_url`. See `authorization_server_metadata` below.
11777
+ :param _builtins.str discovery_url: OpenID Connect discovery URL (e.g., `https://provider.com/.well-known/openid-configuration`). Cannot be used together with `authorization_server_metadata`.
11778
+ """
11779
+ pulumi.set(__self__, "authorization_server_metadatas", authorization_server_metadatas)
11780
+ pulumi.set(__self__, "discovery_url", discovery_url)
11781
+
11782
+ @_builtins.property
11783
+ @pulumi.getter(name="authorizationServerMetadatas")
11784
+ def authorization_server_metadatas(self) -> Sequence['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata']:
11785
+ """
11786
+ Manual OAuth2 authorization server metadata configuration. Cannot be used together with `discovery_url`. See `authorization_server_metadata` below.
11787
+ """
11788
+ return pulumi.get(self, "authorization_server_metadatas")
11789
+
11790
+ @_builtins.property
11791
+ @pulumi.getter(name="discoveryUrl")
11792
+ def discovery_url(self) -> _builtins.str:
11793
+ """
11794
+ OpenID Connect discovery URL (e.g., `https://provider.com/.well-known/openid-configuration`). Cannot be used together with `authorization_server_metadata`.
11795
+ """
11796
+ return pulumi.get(self, "discovery_url")
11797
+
11798
+
11799
+ @pulumi.output_type
11800
+ class AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata(dict):
11801
+ @staticmethod
11802
+ def __key_warning(key: str):
11803
+ suggest = None
11804
+ if key == "authorizationEndpoint":
11805
+ suggest = "authorization_endpoint"
11806
+ elif key == "responseTypes":
11807
+ suggest = "response_types"
11808
+ elif key == "tokenEndpoint":
11809
+ suggest = "token_endpoint"
11810
+
11811
+ if suggest:
11812
+ pulumi.log.warn(f"Key '{key}' not found in AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata. Access the value via the '{suggest}' property getter instead.")
11813
+
11814
+ def __getitem__(self, key: str) -> Any:
11815
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata.__key_warning(key)
11816
+ return super().__getitem__(key)
11817
+
11818
+ def get(self, key: str, default = None) -> Any:
11819
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigSalesforceOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata.__key_warning(key)
11820
+ return super().get(key, default)
11821
+
11822
+ def __init__(__self__, *,
11823
+ authorization_endpoint: _builtins.str,
11824
+ issuer: _builtins.str,
11825
+ response_types: Sequence[_builtins.str],
11826
+ token_endpoint: _builtins.str):
11827
+ """
11828
+ :param _builtins.str authorization_endpoint: OAuth2 authorization endpoint URL.
11829
+ :param _builtins.str issuer: OAuth2 authorization server issuer identifier.
11830
+ :param Sequence[_builtins.str] response_types: Set of OAuth2 response types supported by the authorization server.
11831
+ :param _builtins.str token_endpoint: OAuth2 token endpoint URL.
11832
+ """
11833
+ pulumi.set(__self__, "authorization_endpoint", authorization_endpoint)
11834
+ pulumi.set(__self__, "issuer", issuer)
11835
+ pulumi.set(__self__, "response_types", response_types)
11836
+ pulumi.set(__self__, "token_endpoint", token_endpoint)
11837
+
11838
+ @_builtins.property
11839
+ @pulumi.getter(name="authorizationEndpoint")
11840
+ def authorization_endpoint(self) -> _builtins.str:
11841
+ """
11842
+ OAuth2 authorization endpoint URL.
11843
+ """
11844
+ return pulumi.get(self, "authorization_endpoint")
11845
+
11846
+ @_builtins.property
11847
+ @pulumi.getter
11848
+ def issuer(self) -> _builtins.str:
11849
+ """
11850
+ OAuth2 authorization server issuer identifier.
11851
+ """
11852
+ return pulumi.get(self, "issuer")
11853
+
11854
+ @_builtins.property
11855
+ @pulumi.getter(name="responseTypes")
11856
+ def response_types(self) -> Sequence[_builtins.str]:
11857
+ """
11858
+ Set of OAuth2 response types supported by the authorization server.
11859
+ """
11860
+ return pulumi.get(self, "response_types")
11861
+
11862
+ @_builtins.property
11863
+ @pulumi.getter(name="tokenEndpoint")
11864
+ def token_endpoint(self) -> _builtins.str:
11865
+ """
11866
+ OAuth2 token endpoint URL.
11867
+ """
11868
+ return pulumi.get(self, "token_endpoint")
11869
+
11870
+
11871
+ @pulumi.output_type
11872
+ class AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfig(dict):
11873
+ @staticmethod
11874
+ def __key_warning(key: str):
11875
+ suggest = None
11876
+ if key == "clientCredentialsWoVersion":
11877
+ suggest = "client_credentials_wo_version"
11878
+ elif key == "clientId":
11879
+ suggest = "client_id"
11880
+ elif key == "clientIdWo":
11881
+ suggest = "client_id_wo"
11882
+ elif key == "clientSecret":
11883
+ suggest = "client_secret"
11884
+ elif key == "clientSecretWo":
11885
+ suggest = "client_secret_wo"
11886
+ elif key == "oauthDiscoveries":
11887
+ suggest = "oauth_discoveries"
11888
+
11889
+ if suggest:
11890
+ pulumi.log.warn(f"Key '{key}' not found in AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfig. Access the value via the '{suggest}' property getter instead.")
11891
+
11892
+ def __getitem__(self, key: str) -> Any:
11893
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfig.__key_warning(key)
11894
+ return super().__getitem__(key)
11895
+
11896
+ def get(self, key: str, default = None) -> Any:
11897
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfig.__key_warning(key)
11898
+ return super().get(key, default)
11899
+
11900
+ def __init__(__self__, *,
11901
+ client_credentials_wo_version: Optional[_builtins.int] = None,
11902
+ client_id: Optional[_builtins.str] = None,
11903
+ client_id_wo: Optional[_builtins.str] = None,
11904
+ client_secret: Optional[_builtins.str] = None,
11905
+ client_secret_wo: Optional[_builtins.str] = None,
11906
+ oauth_discoveries: Optional[Sequence['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfigOauthDiscovery']] = None):
11907
+ """
11908
+ :param _builtins.str client_id_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11909
+ :param _builtins.str client_secret_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11910
+ :param Sequence['AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfigOauthDiscoveryArgs'] oauth_discoveries: OAuth discovery configuration. See `oauth_discovery` below.
11911
+ """
11912
+ if client_credentials_wo_version is not None:
11913
+ pulumi.set(__self__, "client_credentials_wo_version", client_credentials_wo_version)
11914
+ if client_id is not None:
11915
+ pulumi.set(__self__, "client_id", client_id)
11916
+ if client_id_wo is not None:
11917
+ pulumi.set(__self__, "client_id_wo", client_id_wo)
11918
+ if client_secret is not None:
11919
+ pulumi.set(__self__, "client_secret", client_secret)
11920
+ if client_secret_wo is not None:
11921
+ pulumi.set(__self__, "client_secret_wo", client_secret_wo)
11922
+ if oauth_discoveries is not None:
11923
+ pulumi.set(__self__, "oauth_discoveries", oauth_discoveries)
11924
+
11925
+ @_builtins.property
11926
+ @pulumi.getter(name="clientCredentialsWoVersion")
11927
+ def client_credentials_wo_version(self) -> Optional[_builtins.int]:
11928
+ return pulumi.get(self, "client_credentials_wo_version")
11929
+
11930
+ @_builtins.property
11931
+ @pulumi.getter(name="clientId")
11932
+ def client_id(self) -> Optional[_builtins.str]:
11933
+ return pulumi.get(self, "client_id")
11934
+
11935
+ @_builtins.property
11936
+ @pulumi.getter(name="clientIdWo")
11937
+ def client_id_wo(self) -> Optional[_builtins.str]:
11938
+ """
11939
+ **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11940
+ """
11941
+ return pulumi.get(self, "client_id_wo")
11942
+
11943
+ @_builtins.property
11944
+ @pulumi.getter(name="clientSecret")
11945
+ def client_secret(self) -> Optional[_builtins.str]:
11946
+ return pulumi.get(self, "client_secret")
11947
+
11948
+ @_builtins.property
11949
+ @pulumi.getter(name="clientSecretWo")
11950
+ def client_secret_wo(self) -> Optional[_builtins.str]:
11951
+ """
11952
+ **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
11953
+ """
11954
+ return pulumi.get(self, "client_secret_wo")
11955
+
11956
+ @_builtins.property
11957
+ @pulumi.getter(name="oauthDiscoveries")
11958
+ def oauth_discoveries(self) -> Optional[Sequence['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfigOauthDiscovery']]:
11959
+ """
11960
+ OAuth discovery configuration. See `oauth_discovery` below.
11961
+ """
11962
+ return pulumi.get(self, "oauth_discoveries")
11963
+
11964
+
11965
+ @pulumi.output_type
11966
+ class AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfigOauthDiscovery(dict):
11967
+ @staticmethod
11968
+ def __key_warning(key: str):
11969
+ suggest = None
11970
+ if key == "authorizationServerMetadatas":
11971
+ suggest = "authorization_server_metadatas"
11972
+ elif key == "discoveryUrl":
11973
+ suggest = "discovery_url"
11974
+
11975
+ if suggest:
11976
+ pulumi.log.warn(f"Key '{key}' not found in AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfigOauthDiscovery. Access the value via the '{suggest}' property getter instead.")
11977
+
11978
+ def __getitem__(self, key: str) -> Any:
11979
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfigOauthDiscovery.__key_warning(key)
11980
+ return super().__getitem__(key)
11981
+
11982
+ def get(self, key: str, default = None) -> Any:
11983
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfigOauthDiscovery.__key_warning(key)
11984
+ return super().get(key, default)
11985
+
11986
+ def __init__(__self__, *,
11987
+ authorization_server_metadatas: Sequence['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata'],
11988
+ discovery_url: _builtins.str):
11989
+ """
11990
+ :param Sequence['AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadataArgs'] authorization_server_metadatas: Manual OAuth2 authorization server metadata configuration. Cannot be used together with `discovery_url`. See `authorization_server_metadata` below.
11991
+ :param _builtins.str discovery_url: OpenID Connect discovery URL (e.g., `https://provider.com/.well-known/openid-configuration`). Cannot be used together with `authorization_server_metadata`.
11992
+ """
11993
+ pulumi.set(__self__, "authorization_server_metadatas", authorization_server_metadatas)
11994
+ pulumi.set(__self__, "discovery_url", discovery_url)
11995
+
11996
+ @_builtins.property
11997
+ @pulumi.getter(name="authorizationServerMetadatas")
11998
+ def authorization_server_metadatas(self) -> Sequence['outputs.AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata']:
11999
+ """
12000
+ Manual OAuth2 authorization server metadata configuration. Cannot be used together with `discovery_url`. See `authorization_server_metadata` below.
12001
+ """
12002
+ return pulumi.get(self, "authorization_server_metadatas")
12003
+
12004
+ @_builtins.property
12005
+ @pulumi.getter(name="discoveryUrl")
12006
+ def discovery_url(self) -> _builtins.str:
12007
+ """
12008
+ OpenID Connect discovery URL (e.g., `https://provider.com/.well-known/openid-configuration`). Cannot be used together with `authorization_server_metadata`.
12009
+ """
12010
+ return pulumi.get(self, "discovery_url")
12011
+
12012
+
12013
+ @pulumi.output_type
12014
+ class AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata(dict):
12015
+ @staticmethod
12016
+ def __key_warning(key: str):
12017
+ suggest = None
12018
+ if key == "authorizationEndpoint":
12019
+ suggest = "authorization_endpoint"
12020
+ elif key == "responseTypes":
12021
+ suggest = "response_types"
12022
+ elif key == "tokenEndpoint":
12023
+ suggest = "token_endpoint"
12024
+
12025
+ if suggest:
12026
+ pulumi.log.warn(f"Key '{key}' not found in AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata. Access the value via the '{suggest}' property getter instead.")
12027
+
12028
+ def __getitem__(self, key: str) -> Any:
12029
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata.__key_warning(key)
12030
+ return super().__getitem__(key)
12031
+
12032
+ def get(self, key: str, default = None) -> Any:
12033
+ AgentcoreOauth2CredentialProviderOauth2ProviderConfigSlackOauth2ProviderConfigOauthDiscoveryAuthorizationServerMetadata.__key_warning(key)
12034
+ return super().get(key, default)
12035
+
12036
+ def __init__(__self__, *,
12037
+ authorization_endpoint: _builtins.str,
12038
+ issuer: _builtins.str,
12039
+ response_types: Sequence[_builtins.str],
12040
+ token_endpoint: _builtins.str):
12041
+ """
12042
+ :param _builtins.str authorization_endpoint: OAuth2 authorization endpoint URL.
12043
+ :param _builtins.str issuer: OAuth2 authorization server issuer identifier.
12044
+ :param Sequence[_builtins.str] response_types: Set of OAuth2 response types supported by the authorization server.
12045
+ :param _builtins.str token_endpoint: OAuth2 token endpoint URL.
12046
+ """
12047
+ pulumi.set(__self__, "authorization_endpoint", authorization_endpoint)
12048
+ pulumi.set(__self__, "issuer", issuer)
12049
+ pulumi.set(__self__, "response_types", response_types)
12050
+ pulumi.set(__self__, "token_endpoint", token_endpoint)
12051
+
12052
+ @_builtins.property
12053
+ @pulumi.getter(name="authorizationEndpoint")
12054
+ def authorization_endpoint(self) -> _builtins.str:
12055
+ """
12056
+ OAuth2 authorization endpoint URL.
12057
+ """
12058
+ return pulumi.get(self, "authorization_endpoint")
12059
+
12060
+ @_builtins.property
12061
+ @pulumi.getter
12062
+ def issuer(self) -> _builtins.str:
12063
+ """
12064
+ OAuth2 authorization server issuer identifier.
12065
+ """
12066
+ return pulumi.get(self, "issuer")
12067
+
12068
+ @_builtins.property
12069
+ @pulumi.getter(name="responseTypes")
12070
+ def response_types(self) -> Sequence[_builtins.str]:
12071
+ """
12072
+ Set of OAuth2 response types supported by the authorization server.
12073
+ """
12074
+ return pulumi.get(self, "response_types")
12075
+
12076
+ @_builtins.property
12077
+ @pulumi.getter(name="tokenEndpoint")
12078
+ def token_endpoint(self) -> _builtins.str:
12079
+ """
12080
+ OAuth2 token endpoint URL.
12081
+ """
12082
+ return pulumi.get(self, "token_endpoint")
12083
+
12084
+
12085
+ @pulumi.output_type
12086
+ class AgentcoreTokenVaultCmkKmsConfiguration(dict):
12087
+ @staticmethod
12088
+ def __key_warning(key: str):
12089
+ suggest = None
12090
+ if key == "keyType":
12091
+ suggest = "key_type"
12092
+ elif key == "kmsKeyArn":
12093
+ suggest = "kms_key_arn"
12094
+
12095
+ if suggest:
12096
+ pulumi.log.warn(f"Key '{key}' not found in AgentcoreTokenVaultCmkKmsConfiguration. Access the value via the '{suggest}' property getter instead.")
12097
+
12098
+ def __getitem__(self, key: str) -> Any:
12099
+ AgentcoreTokenVaultCmkKmsConfiguration.__key_warning(key)
12100
+ return super().__getitem__(key)
12101
+
12102
+ def get(self, key: str, default = None) -> Any:
12103
+ AgentcoreTokenVaultCmkKmsConfiguration.__key_warning(key)
12104
+ return super().get(key, default)
12105
+
12106
+ def __init__(__self__, *,
12107
+ key_type: _builtins.str,
12108
+ kms_key_arn: Optional[_builtins.str] = None):
12109
+ """
12110
+ :param _builtins.str key_type: Type of KMS key. Valid values: `CustomerManagedKey`, `ServiceManagedKey`.
12111
+ :param _builtins.str kms_key_arn: ARN of the KMS key.
12112
+ """
12113
+ pulumi.set(__self__, "key_type", key_type)
12114
+ if kms_key_arn is not None:
12115
+ pulumi.set(__self__, "kms_key_arn", kms_key_arn)
12116
+
12117
+ @_builtins.property
12118
+ @pulumi.getter(name="keyType")
12119
+ def key_type(self) -> _builtins.str:
12120
+ """
12121
+ Type of KMS key. Valid values: `CustomerManagedKey`, `ServiceManagedKey`.
12122
+ """
12123
+ return pulumi.get(self, "key_type")
12124
+
12125
+ @_builtins.property
12126
+ @pulumi.getter(name="kmsKeyArn")
12127
+ def kms_key_arn(self) -> Optional[_builtins.str]:
12128
+ """
12129
+ ARN of the KMS key.
12130
+ """
12131
+ return pulumi.get(self, "kms_key_arn")
12132
+
12133
+
10395
12134
  @pulumi.output_type
10396
12135
  class CustomModelOutputDataConfig(dict):
10397
12136
  @staticmethod