pulumi-gcp 7.22.0a1715345822__py3-none-any.whl → 7.23.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.
- pulumi_gcp/__init__.py +35 -0
- pulumi_gcp/alloydb/_inputs.py +139 -0
- pulumi_gcp/alloydb/cluster.py +54 -0
- pulumi_gcp/alloydb/outputs.py +145 -0
- pulumi_gcp/applicationintegration/auth_config.py +2 -6
- pulumi_gcp/applicationintegration/client.py +133 -18
- pulumi_gcp/bigquery/dataset.py +2 -2
- pulumi_gcp/bigquery/job.py +16 -20
- pulumi_gcp/bigquery/table.py +47 -0
- pulumi_gcp/bigtable/__init__.py +1 -0
- pulumi_gcp/bigtable/_inputs.py +101 -0
- pulumi_gcp/bigtable/authorized_view.py +440 -0
- pulumi_gcp/bigtable/outputs.py +119 -0
- pulumi_gcp/certificateauthority/certificate_template.py +70 -0
- pulumi_gcp/cloudbuildv2/repository.py +2 -2
- pulumi_gcp/clouddeploy/_inputs.py +96 -0
- pulumi_gcp/clouddeploy/custom_target_type.py +46 -0
- pulumi_gcp/clouddeploy/delivery_pipeline.py +7 -7
- pulumi_gcp/clouddeploy/outputs.py +96 -1
- pulumi_gcp/clouddeploy/target.py +54 -7
- pulumi_gcp/cloudrunv2/job.py +2 -4
- pulumi_gcp/cloudrunv2/service.py +2 -4
- pulumi_gcp/compute/_inputs.py +693 -0
- pulumi_gcp/compute/firewall_policy_rule.py +125 -10
- pulumi_gcp/compute/network_firewall_policy_rule.py +125 -10
- pulumi_gcp/compute/outputs.py +688 -0
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +125 -10
- pulumi_gcp/compute/region_security_policy_rule.py +230 -1
- pulumi_gcp/compute/router_peer.py +54 -14
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +236 -3
- pulumi_gcp/container/outputs.py +365 -4
- pulumi_gcp/dataflow/flex_template_job.py +28 -28
- pulumi_gcp/dataflow/job.py +28 -14
- pulumi_gcp/essentialcontacts/document_ai_warehouse_document_schema.py +0 -528
- pulumi_gcp/firebaserules/release.py +2 -2
- pulumi_gcp/iam/_inputs.py +191 -2
- pulumi_gcp/iam/outputs.py +197 -2
- pulumi_gcp/iam/workforce_pool_provider.py +245 -0
- pulumi_gcp/integrationconnectors/__init__.py +1 -0
- pulumi_gcp/integrationconnectors/managed_zone.py +753 -0
- pulumi_gcp/networkconnectivity/__init__.py +1 -0
- pulumi_gcp/networkconnectivity/regional_endpoint.py +946 -0
- pulumi_gcp/networksecurity/firewall_endpoint.py +34 -0
- pulumi_gcp/networksecurity/firewall_endpoint_association.py +24 -0
- pulumi_gcp/networksecurity/security_profile.py +16 -0
- pulumi_gcp/networksecurity/security_profile_group.py +18 -0
- pulumi_gcp/networksecurity/tls_inspection_policy.py +16 -0
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/privilegedaccessmanager/__init__.py +10 -0
- pulumi_gcp/privilegedaccessmanager/_inputs.py +420 -0
- pulumi_gcp/privilegedaccessmanager/entitlement.py +852 -0
- pulumi_gcp/privilegedaccessmanager/outputs.py +491 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/subscription.py +4 -4
- pulumi_gcp/pulumi-plugin.json +2 -1
- pulumi_gcp/redis/cluster.py +69 -2
- pulumi_gcp/storage/__init__.py +1 -0
- pulumi_gcp/storage/get_buckets.py +138 -0
- pulumi_gcp/storage/outputs.py +63 -0
- {pulumi_gcp-7.22.0a1715345822.dist-info → pulumi_gcp-7.23.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.22.0a1715345822.dist-info → pulumi_gcp-7.23.0.dist-info}/RECORD +65 -57
- {pulumi_gcp-7.22.0a1715345822.dist-info → pulumi_gcp-7.23.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.22.0a1715345822.dist-info → pulumi_gcp-7.23.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/iam/_inputs.py
CHANGED
@@ -18,6 +18,10 @@ __all__ = [
|
|
18
18
|
'DenyPolicyRuleDenyRuleDenialConditionArgs',
|
19
19
|
'WorkforcePoolAccessRestrictionsArgs',
|
20
20
|
'WorkforcePoolAccessRestrictionsAllowedServiceArgs',
|
21
|
+
'WorkforcePoolProviderExtraAttributesOauth2ClientArgs',
|
22
|
+
'WorkforcePoolProviderExtraAttributesOauth2ClientClientSecretArgs',
|
23
|
+
'WorkforcePoolProviderExtraAttributesOauth2ClientClientSecretValueArgs',
|
24
|
+
'WorkforcePoolProviderExtraAttributesOauth2ClientQueryParametersArgs',
|
21
25
|
'WorkforcePoolProviderOidcArgs',
|
22
26
|
'WorkforcePoolProviderOidcClientSecretArgs',
|
23
27
|
'WorkforcePoolProviderOidcClientSecretValueArgs',
|
@@ -494,6 +498,189 @@ class WorkforcePoolAccessRestrictionsAllowedServiceArgs:
|
|
494
498
|
pulumi.set(self, "domain", value)
|
495
499
|
|
496
500
|
|
501
|
+
@pulumi.input_type
|
502
|
+
class WorkforcePoolProviderExtraAttributesOauth2ClientArgs:
|
503
|
+
def __init__(__self__, *,
|
504
|
+
attributes_type: pulumi.Input[str],
|
505
|
+
client_id: pulumi.Input[str],
|
506
|
+
client_secret: pulumi.Input['WorkforcePoolProviderExtraAttributesOauth2ClientClientSecretArgs'],
|
507
|
+
issuer_uri: pulumi.Input[str],
|
508
|
+
query_parameters: Optional[pulumi.Input['WorkforcePoolProviderExtraAttributesOauth2ClientQueryParametersArgs']] = None):
|
509
|
+
"""
|
510
|
+
:param pulumi.Input[str] attributes_type: Represents the IdP and type of claims that should be fetched.
|
511
|
+
* AZURE_AD_GROUPS_MAIL: Used to get the user's group claims from the Azure AD identity provider using configuration provided
|
512
|
+
in ExtraAttributesOAuth2Client and 'mail' property of the 'microsoft.graph.group' object is used for claim mapping.
|
513
|
+
See https://learn.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#properties for more details on
|
514
|
+
'microsoft.graph.group' properties. The attributes obtained from idntity provider are mapped to 'assertion.groups'. Possible values: ["AZURE_AD_GROUPS_MAIL"]
|
515
|
+
:param pulumi.Input[str] client_id: The OAuth 2.0 client ID for retrieving extra attributes from the identity provider. Required to get the Access Token using client credentials grant flow.
|
516
|
+
:param pulumi.Input['WorkforcePoolProviderExtraAttributesOauth2ClientClientSecretArgs'] client_secret: The OAuth 2.0 client secret for retrieving extra attributes from the identity provider. Required to get the Access Token using client credentials grant flow.
|
517
|
+
:param pulumi.Input[str] issuer_uri: The OIDC identity provider's issuer URI. Must be a valid URI using the 'https' scheme. Required to get the OIDC discovery document.
|
518
|
+
:param pulumi.Input['WorkforcePoolProviderExtraAttributesOauth2ClientQueryParametersArgs'] query_parameters: Represents the parameters to control which claims are fetched from an IdP.
|
519
|
+
"""
|
520
|
+
pulumi.set(__self__, "attributes_type", attributes_type)
|
521
|
+
pulumi.set(__self__, "client_id", client_id)
|
522
|
+
pulumi.set(__self__, "client_secret", client_secret)
|
523
|
+
pulumi.set(__self__, "issuer_uri", issuer_uri)
|
524
|
+
if query_parameters is not None:
|
525
|
+
pulumi.set(__self__, "query_parameters", query_parameters)
|
526
|
+
|
527
|
+
@property
|
528
|
+
@pulumi.getter(name="attributesType")
|
529
|
+
def attributes_type(self) -> pulumi.Input[str]:
|
530
|
+
"""
|
531
|
+
Represents the IdP and type of claims that should be fetched.
|
532
|
+
* AZURE_AD_GROUPS_MAIL: Used to get the user's group claims from the Azure AD identity provider using configuration provided
|
533
|
+
in ExtraAttributesOAuth2Client and 'mail' property of the 'microsoft.graph.group' object is used for claim mapping.
|
534
|
+
See https://learn.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#properties for more details on
|
535
|
+
'microsoft.graph.group' properties. The attributes obtained from idntity provider are mapped to 'assertion.groups'. Possible values: ["AZURE_AD_GROUPS_MAIL"]
|
536
|
+
"""
|
537
|
+
return pulumi.get(self, "attributes_type")
|
538
|
+
|
539
|
+
@attributes_type.setter
|
540
|
+
def attributes_type(self, value: pulumi.Input[str]):
|
541
|
+
pulumi.set(self, "attributes_type", value)
|
542
|
+
|
543
|
+
@property
|
544
|
+
@pulumi.getter(name="clientId")
|
545
|
+
def client_id(self) -> pulumi.Input[str]:
|
546
|
+
"""
|
547
|
+
The OAuth 2.0 client ID for retrieving extra attributes from the identity provider. Required to get the Access Token using client credentials grant flow.
|
548
|
+
"""
|
549
|
+
return pulumi.get(self, "client_id")
|
550
|
+
|
551
|
+
@client_id.setter
|
552
|
+
def client_id(self, value: pulumi.Input[str]):
|
553
|
+
pulumi.set(self, "client_id", value)
|
554
|
+
|
555
|
+
@property
|
556
|
+
@pulumi.getter(name="clientSecret")
|
557
|
+
def client_secret(self) -> pulumi.Input['WorkforcePoolProviderExtraAttributesOauth2ClientClientSecretArgs']:
|
558
|
+
"""
|
559
|
+
The OAuth 2.0 client secret for retrieving extra attributes from the identity provider. Required to get the Access Token using client credentials grant flow.
|
560
|
+
"""
|
561
|
+
return pulumi.get(self, "client_secret")
|
562
|
+
|
563
|
+
@client_secret.setter
|
564
|
+
def client_secret(self, value: pulumi.Input['WorkforcePoolProviderExtraAttributesOauth2ClientClientSecretArgs']):
|
565
|
+
pulumi.set(self, "client_secret", value)
|
566
|
+
|
567
|
+
@property
|
568
|
+
@pulumi.getter(name="issuerUri")
|
569
|
+
def issuer_uri(self) -> pulumi.Input[str]:
|
570
|
+
"""
|
571
|
+
The OIDC identity provider's issuer URI. Must be a valid URI using the 'https' scheme. Required to get the OIDC discovery document.
|
572
|
+
"""
|
573
|
+
return pulumi.get(self, "issuer_uri")
|
574
|
+
|
575
|
+
@issuer_uri.setter
|
576
|
+
def issuer_uri(self, value: pulumi.Input[str]):
|
577
|
+
pulumi.set(self, "issuer_uri", value)
|
578
|
+
|
579
|
+
@property
|
580
|
+
@pulumi.getter(name="queryParameters")
|
581
|
+
def query_parameters(self) -> Optional[pulumi.Input['WorkforcePoolProviderExtraAttributesOauth2ClientQueryParametersArgs']]:
|
582
|
+
"""
|
583
|
+
Represents the parameters to control which claims are fetched from an IdP.
|
584
|
+
"""
|
585
|
+
return pulumi.get(self, "query_parameters")
|
586
|
+
|
587
|
+
@query_parameters.setter
|
588
|
+
def query_parameters(self, value: Optional[pulumi.Input['WorkforcePoolProviderExtraAttributesOauth2ClientQueryParametersArgs']]):
|
589
|
+
pulumi.set(self, "query_parameters", value)
|
590
|
+
|
591
|
+
|
592
|
+
@pulumi.input_type
|
593
|
+
class WorkforcePoolProviderExtraAttributesOauth2ClientClientSecretArgs:
|
594
|
+
def __init__(__self__, *,
|
595
|
+
value: Optional[pulumi.Input['WorkforcePoolProviderExtraAttributesOauth2ClientClientSecretValueArgs']] = None):
|
596
|
+
"""
|
597
|
+
:param pulumi.Input['WorkforcePoolProviderExtraAttributesOauth2ClientClientSecretValueArgs'] value: The value of the client secret.
|
598
|
+
Structure is documented below.
|
599
|
+
"""
|
600
|
+
if value is not None:
|
601
|
+
pulumi.set(__self__, "value", value)
|
602
|
+
|
603
|
+
@property
|
604
|
+
@pulumi.getter
|
605
|
+
def value(self) -> Optional[pulumi.Input['WorkforcePoolProviderExtraAttributesOauth2ClientClientSecretValueArgs']]:
|
606
|
+
"""
|
607
|
+
The value of the client secret.
|
608
|
+
Structure is documented below.
|
609
|
+
"""
|
610
|
+
return pulumi.get(self, "value")
|
611
|
+
|
612
|
+
@value.setter
|
613
|
+
def value(self, value: Optional[pulumi.Input['WorkforcePoolProviderExtraAttributesOauth2ClientClientSecretValueArgs']]):
|
614
|
+
pulumi.set(self, "value", value)
|
615
|
+
|
616
|
+
|
617
|
+
@pulumi.input_type
|
618
|
+
class WorkforcePoolProviderExtraAttributesOauth2ClientClientSecretValueArgs:
|
619
|
+
def __init__(__self__, *,
|
620
|
+
plain_text: pulumi.Input[str],
|
621
|
+
thumbprint: Optional[pulumi.Input[str]] = None):
|
622
|
+
"""
|
623
|
+
:param pulumi.Input[str] plain_text: The plain text of the client secret value.
|
624
|
+
:param pulumi.Input[str] thumbprint: (Output)
|
625
|
+
A thumbprint to represent the current client secret value.
|
626
|
+
"""
|
627
|
+
pulumi.set(__self__, "plain_text", plain_text)
|
628
|
+
if thumbprint is not None:
|
629
|
+
pulumi.set(__self__, "thumbprint", thumbprint)
|
630
|
+
|
631
|
+
@property
|
632
|
+
@pulumi.getter(name="plainText")
|
633
|
+
def plain_text(self) -> pulumi.Input[str]:
|
634
|
+
"""
|
635
|
+
The plain text of the client secret value.
|
636
|
+
"""
|
637
|
+
return pulumi.get(self, "plain_text")
|
638
|
+
|
639
|
+
@plain_text.setter
|
640
|
+
def plain_text(self, value: pulumi.Input[str]):
|
641
|
+
pulumi.set(self, "plain_text", value)
|
642
|
+
|
643
|
+
@property
|
644
|
+
@pulumi.getter
|
645
|
+
def thumbprint(self) -> Optional[pulumi.Input[str]]:
|
646
|
+
"""
|
647
|
+
(Output)
|
648
|
+
A thumbprint to represent the current client secret value.
|
649
|
+
"""
|
650
|
+
return pulumi.get(self, "thumbprint")
|
651
|
+
|
652
|
+
@thumbprint.setter
|
653
|
+
def thumbprint(self, value: Optional[pulumi.Input[str]]):
|
654
|
+
pulumi.set(self, "thumbprint", value)
|
655
|
+
|
656
|
+
|
657
|
+
@pulumi.input_type
|
658
|
+
class WorkforcePoolProviderExtraAttributesOauth2ClientQueryParametersArgs:
|
659
|
+
def __init__(__self__, *,
|
660
|
+
filter: Optional[pulumi.Input[str]] = None):
|
661
|
+
"""
|
662
|
+
:param pulumi.Input[str] filter: The filter used to request specific records from IdP. In case of attributes type as AZURE_AD_GROUPS_MAIL, it represents the
|
663
|
+
filter used to request specific groups for users from IdP. By default, all of the groups associated with the user are fetched. The
|
664
|
+
groups should be mail enabled and security enabled. See https://learn.microsoft.com/en-us/graph/search-query-parameter for more details.
|
665
|
+
"""
|
666
|
+
if filter is not None:
|
667
|
+
pulumi.set(__self__, "filter", filter)
|
668
|
+
|
669
|
+
@property
|
670
|
+
@pulumi.getter
|
671
|
+
def filter(self) -> Optional[pulumi.Input[str]]:
|
672
|
+
"""
|
673
|
+
The filter used to request specific records from IdP. In case of attributes type as AZURE_AD_GROUPS_MAIL, it represents the
|
674
|
+
filter used to request specific groups for users from IdP. By default, all of the groups associated with the user are fetched. The
|
675
|
+
groups should be mail enabled and security enabled. See https://learn.microsoft.com/en-us/graph/search-query-parameter for more details.
|
676
|
+
"""
|
677
|
+
return pulumi.get(self, "filter")
|
678
|
+
|
679
|
+
@filter.setter
|
680
|
+
def filter(self, value: Optional[pulumi.Input[str]]):
|
681
|
+
pulumi.set(self, "filter", value)
|
682
|
+
|
683
|
+
|
497
684
|
@pulumi.input_type
|
498
685
|
class WorkforcePoolProviderOidcArgs:
|
499
686
|
def __init__(__self__, *,
|
@@ -659,7 +846,6 @@ class WorkforcePoolProviderOidcClientSecretValueArgs:
|
|
659
846
|
thumbprint: Optional[pulumi.Input[str]] = None):
|
660
847
|
"""
|
661
848
|
:param pulumi.Input[str] plain_text: The plain text of the client secret value.
|
662
|
-
**Note**: This property is sensitive and will not be displayed in the plan.
|
663
849
|
:param pulumi.Input[str] thumbprint: (Output)
|
664
850
|
A thumbprint to represent the current client secret value.
|
665
851
|
"""
|
@@ -672,7 +858,6 @@ class WorkforcePoolProviderOidcClientSecretValueArgs:
|
|
672
858
|
def plain_text(self) -> pulumi.Input[str]:
|
673
859
|
"""
|
674
860
|
The plain text of the client secret value.
|
675
|
-
**Note**: This property is sensitive and will not be displayed in the plan.
|
676
861
|
"""
|
677
862
|
return pulumi.get(self, "plain_text")
|
678
863
|
|
@@ -712,6 +897,8 @@ class WorkforcePoolProviderOidcWebSsoConfigArgs:
|
|
712
897
|
Possible values are: `CODE`, `ID_TOKEN`.
|
713
898
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] additional_scopes: Additional scopes to request for in the OIDC authentication request on top of scopes requested by default. By default, the `openid`, `profile` and `email` scopes that are supported by the identity provider are requested.
|
714
899
|
Each additional scope may be at most 256 characters. A maximum of 10 additional scopes may be configured.
|
900
|
+
|
901
|
+
<a name="nested_extra_attributes_oauth2_client"></a>The `extra_attributes_oauth2_client` block supports:
|
715
902
|
"""
|
716
903
|
pulumi.set(__self__, "assertion_claims_behavior", assertion_claims_behavior)
|
717
904
|
pulumi.set(__self__, "response_type", response_type)
|
@@ -755,6 +942,8 @@ class WorkforcePoolProviderOidcWebSsoConfigArgs:
|
|
755
942
|
"""
|
756
943
|
Additional scopes to request for in the OIDC authentication request on top of scopes requested by default. By default, the `openid`, `profile` and `email` scopes that are supported by the identity provider are requested.
|
757
944
|
Each additional scope may be at most 256 characters. A maximum of 10 additional scopes may be configured.
|
945
|
+
|
946
|
+
<a name="nested_extra_attributes_oauth2_client"></a>The `extra_attributes_oauth2_client` block supports:
|
758
947
|
"""
|
759
948
|
return pulumi.get(self, "additional_scopes")
|
760
949
|
|
pulumi_gcp/iam/outputs.py
CHANGED
@@ -19,6 +19,10 @@ __all__ = [
|
|
19
19
|
'DenyPolicyRuleDenyRuleDenialCondition',
|
20
20
|
'WorkforcePoolAccessRestrictions',
|
21
21
|
'WorkforcePoolAccessRestrictionsAllowedService',
|
22
|
+
'WorkforcePoolProviderExtraAttributesOauth2Client',
|
23
|
+
'WorkforcePoolProviderExtraAttributesOauth2ClientClientSecret',
|
24
|
+
'WorkforcePoolProviderExtraAttributesOauth2ClientClientSecretValue',
|
25
|
+
'WorkforcePoolProviderExtraAttributesOauth2ClientQueryParameters',
|
22
26
|
'WorkforcePoolProviderOidc',
|
23
27
|
'WorkforcePoolProviderOidcClientSecret',
|
24
28
|
'WorkforcePoolProviderOidcClientSecretValue',
|
@@ -506,6 +510,195 @@ class WorkforcePoolAccessRestrictionsAllowedService(dict):
|
|
506
510
|
return pulumi.get(self, "domain")
|
507
511
|
|
508
512
|
|
513
|
+
@pulumi.output_type
|
514
|
+
class WorkforcePoolProviderExtraAttributesOauth2Client(dict):
|
515
|
+
@staticmethod
|
516
|
+
def __key_warning(key: str):
|
517
|
+
suggest = None
|
518
|
+
if key == "attributesType":
|
519
|
+
suggest = "attributes_type"
|
520
|
+
elif key == "clientId":
|
521
|
+
suggest = "client_id"
|
522
|
+
elif key == "clientSecret":
|
523
|
+
suggest = "client_secret"
|
524
|
+
elif key == "issuerUri":
|
525
|
+
suggest = "issuer_uri"
|
526
|
+
elif key == "queryParameters":
|
527
|
+
suggest = "query_parameters"
|
528
|
+
|
529
|
+
if suggest:
|
530
|
+
pulumi.log.warn(f"Key '{key}' not found in WorkforcePoolProviderExtraAttributesOauth2Client. Access the value via the '{suggest}' property getter instead.")
|
531
|
+
|
532
|
+
def __getitem__(self, key: str) -> Any:
|
533
|
+
WorkforcePoolProviderExtraAttributesOauth2Client.__key_warning(key)
|
534
|
+
return super().__getitem__(key)
|
535
|
+
|
536
|
+
def get(self, key: str, default = None) -> Any:
|
537
|
+
WorkforcePoolProviderExtraAttributesOauth2Client.__key_warning(key)
|
538
|
+
return super().get(key, default)
|
539
|
+
|
540
|
+
def __init__(__self__, *,
|
541
|
+
attributes_type: str,
|
542
|
+
client_id: str,
|
543
|
+
client_secret: 'outputs.WorkforcePoolProviderExtraAttributesOauth2ClientClientSecret',
|
544
|
+
issuer_uri: str,
|
545
|
+
query_parameters: Optional['outputs.WorkforcePoolProviderExtraAttributesOauth2ClientQueryParameters'] = None):
|
546
|
+
"""
|
547
|
+
:param str attributes_type: Represents the IdP and type of claims that should be fetched.
|
548
|
+
* AZURE_AD_GROUPS_MAIL: Used to get the user's group claims from the Azure AD identity provider using configuration provided
|
549
|
+
in ExtraAttributesOAuth2Client and 'mail' property of the 'microsoft.graph.group' object is used for claim mapping.
|
550
|
+
See https://learn.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#properties for more details on
|
551
|
+
'microsoft.graph.group' properties. The attributes obtained from idntity provider are mapped to 'assertion.groups'. Possible values: ["AZURE_AD_GROUPS_MAIL"]
|
552
|
+
:param str client_id: The OAuth 2.0 client ID for retrieving extra attributes from the identity provider. Required to get the Access Token using client credentials grant flow.
|
553
|
+
:param 'WorkforcePoolProviderExtraAttributesOauth2ClientClientSecretArgs' client_secret: The OAuth 2.0 client secret for retrieving extra attributes from the identity provider. Required to get the Access Token using client credentials grant flow.
|
554
|
+
:param str issuer_uri: The OIDC identity provider's issuer URI. Must be a valid URI using the 'https' scheme. Required to get the OIDC discovery document.
|
555
|
+
:param 'WorkforcePoolProviderExtraAttributesOauth2ClientQueryParametersArgs' query_parameters: Represents the parameters to control which claims are fetched from an IdP.
|
556
|
+
"""
|
557
|
+
pulumi.set(__self__, "attributes_type", attributes_type)
|
558
|
+
pulumi.set(__self__, "client_id", client_id)
|
559
|
+
pulumi.set(__self__, "client_secret", client_secret)
|
560
|
+
pulumi.set(__self__, "issuer_uri", issuer_uri)
|
561
|
+
if query_parameters is not None:
|
562
|
+
pulumi.set(__self__, "query_parameters", query_parameters)
|
563
|
+
|
564
|
+
@property
|
565
|
+
@pulumi.getter(name="attributesType")
|
566
|
+
def attributes_type(self) -> str:
|
567
|
+
"""
|
568
|
+
Represents the IdP and type of claims that should be fetched.
|
569
|
+
* AZURE_AD_GROUPS_MAIL: Used to get the user's group claims from the Azure AD identity provider using configuration provided
|
570
|
+
in ExtraAttributesOAuth2Client and 'mail' property of the 'microsoft.graph.group' object is used for claim mapping.
|
571
|
+
See https://learn.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#properties for more details on
|
572
|
+
'microsoft.graph.group' properties. The attributes obtained from idntity provider are mapped to 'assertion.groups'. Possible values: ["AZURE_AD_GROUPS_MAIL"]
|
573
|
+
"""
|
574
|
+
return pulumi.get(self, "attributes_type")
|
575
|
+
|
576
|
+
@property
|
577
|
+
@pulumi.getter(name="clientId")
|
578
|
+
def client_id(self) -> str:
|
579
|
+
"""
|
580
|
+
The OAuth 2.0 client ID for retrieving extra attributes from the identity provider. Required to get the Access Token using client credentials grant flow.
|
581
|
+
"""
|
582
|
+
return pulumi.get(self, "client_id")
|
583
|
+
|
584
|
+
@property
|
585
|
+
@pulumi.getter(name="clientSecret")
|
586
|
+
def client_secret(self) -> 'outputs.WorkforcePoolProviderExtraAttributesOauth2ClientClientSecret':
|
587
|
+
"""
|
588
|
+
The OAuth 2.0 client secret for retrieving extra attributes from the identity provider. Required to get the Access Token using client credentials grant flow.
|
589
|
+
"""
|
590
|
+
return pulumi.get(self, "client_secret")
|
591
|
+
|
592
|
+
@property
|
593
|
+
@pulumi.getter(name="issuerUri")
|
594
|
+
def issuer_uri(self) -> str:
|
595
|
+
"""
|
596
|
+
The OIDC identity provider's issuer URI. Must be a valid URI using the 'https' scheme. Required to get the OIDC discovery document.
|
597
|
+
"""
|
598
|
+
return pulumi.get(self, "issuer_uri")
|
599
|
+
|
600
|
+
@property
|
601
|
+
@pulumi.getter(name="queryParameters")
|
602
|
+
def query_parameters(self) -> Optional['outputs.WorkforcePoolProviderExtraAttributesOauth2ClientQueryParameters']:
|
603
|
+
"""
|
604
|
+
Represents the parameters to control which claims are fetched from an IdP.
|
605
|
+
"""
|
606
|
+
return pulumi.get(self, "query_parameters")
|
607
|
+
|
608
|
+
|
609
|
+
@pulumi.output_type
|
610
|
+
class WorkforcePoolProviderExtraAttributesOauth2ClientClientSecret(dict):
|
611
|
+
def __init__(__self__, *,
|
612
|
+
value: Optional['outputs.WorkforcePoolProviderExtraAttributesOauth2ClientClientSecretValue'] = None):
|
613
|
+
"""
|
614
|
+
:param 'WorkforcePoolProviderExtraAttributesOauth2ClientClientSecretValueArgs' value: The value of the client secret.
|
615
|
+
Structure is documented below.
|
616
|
+
"""
|
617
|
+
if value is not None:
|
618
|
+
pulumi.set(__self__, "value", value)
|
619
|
+
|
620
|
+
@property
|
621
|
+
@pulumi.getter
|
622
|
+
def value(self) -> Optional['outputs.WorkforcePoolProviderExtraAttributesOauth2ClientClientSecretValue']:
|
623
|
+
"""
|
624
|
+
The value of the client secret.
|
625
|
+
Structure is documented below.
|
626
|
+
"""
|
627
|
+
return pulumi.get(self, "value")
|
628
|
+
|
629
|
+
|
630
|
+
@pulumi.output_type
|
631
|
+
class WorkforcePoolProviderExtraAttributesOauth2ClientClientSecretValue(dict):
|
632
|
+
@staticmethod
|
633
|
+
def __key_warning(key: str):
|
634
|
+
suggest = None
|
635
|
+
if key == "plainText":
|
636
|
+
suggest = "plain_text"
|
637
|
+
|
638
|
+
if suggest:
|
639
|
+
pulumi.log.warn(f"Key '{key}' not found in WorkforcePoolProviderExtraAttributesOauth2ClientClientSecretValue. Access the value via the '{suggest}' property getter instead.")
|
640
|
+
|
641
|
+
def __getitem__(self, key: str) -> Any:
|
642
|
+
WorkforcePoolProviderExtraAttributesOauth2ClientClientSecretValue.__key_warning(key)
|
643
|
+
return super().__getitem__(key)
|
644
|
+
|
645
|
+
def get(self, key: str, default = None) -> Any:
|
646
|
+
WorkforcePoolProviderExtraAttributesOauth2ClientClientSecretValue.__key_warning(key)
|
647
|
+
return super().get(key, default)
|
648
|
+
|
649
|
+
def __init__(__self__, *,
|
650
|
+
plain_text: str,
|
651
|
+
thumbprint: Optional[str] = None):
|
652
|
+
"""
|
653
|
+
:param str plain_text: The plain text of the client secret value.
|
654
|
+
:param str thumbprint: (Output)
|
655
|
+
A thumbprint to represent the current client secret value.
|
656
|
+
"""
|
657
|
+
pulumi.set(__self__, "plain_text", plain_text)
|
658
|
+
if thumbprint is not None:
|
659
|
+
pulumi.set(__self__, "thumbprint", thumbprint)
|
660
|
+
|
661
|
+
@property
|
662
|
+
@pulumi.getter(name="plainText")
|
663
|
+
def plain_text(self) -> str:
|
664
|
+
"""
|
665
|
+
The plain text of the client secret value.
|
666
|
+
"""
|
667
|
+
return pulumi.get(self, "plain_text")
|
668
|
+
|
669
|
+
@property
|
670
|
+
@pulumi.getter
|
671
|
+
def thumbprint(self) -> Optional[str]:
|
672
|
+
"""
|
673
|
+
(Output)
|
674
|
+
A thumbprint to represent the current client secret value.
|
675
|
+
"""
|
676
|
+
return pulumi.get(self, "thumbprint")
|
677
|
+
|
678
|
+
|
679
|
+
@pulumi.output_type
|
680
|
+
class WorkforcePoolProviderExtraAttributesOauth2ClientQueryParameters(dict):
|
681
|
+
def __init__(__self__, *,
|
682
|
+
filter: Optional[str] = None):
|
683
|
+
"""
|
684
|
+
:param str filter: The filter used to request specific records from IdP. In case of attributes type as AZURE_AD_GROUPS_MAIL, it represents the
|
685
|
+
filter used to request specific groups for users from IdP. By default, all of the groups associated with the user are fetched. The
|
686
|
+
groups should be mail enabled and security enabled. See https://learn.microsoft.com/en-us/graph/search-query-parameter for more details.
|
687
|
+
"""
|
688
|
+
if filter is not None:
|
689
|
+
pulumi.set(__self__, "filter", filter)
|
690
|
+
|
691
|
+
@property
|
692
|
+
@pulumi.getter
|
693
|
+
def filter(self) -> Optional[str]:
|
694
|
+
"""
|
695
|
+
The filter used to request specific records from IdP. In case of attributes type as AZURE_AD_GROUPS_MAIL, it represents the
|
696
|
+
filter used to request specific groups for users from IdP. By default, all of the groups associated with the user are fetched. The
|
697
|
+
groups should be mail enabled and security enabled. See https://learn.microsoft.com/en-us/graph/search-query-parameter for more details.
|
698
|
+
"""
|
699
|
+
return pulumi.get(self, "filter")
|
700
|
+
|
701
|
+
|
509
702
|
@pulumi.output_type
|
510
703
|
class WorkforcePoolProviderOidc(dict):
|
511
704
|
@staticmethod
|
@@ -689,7 +882,6 @@ class WorkforcePoolProviderOidcClientSecretValue(dict):
|
|
689
882
|
thumbprint: Optional[str] = None):
|
690
883
|
"""
|
691
884
|
:param str plain_text: The plain text of the client secret value.
|
692
|
-
**Note**: This property is sensitive and will not be displayed in the plan.
|
693
885
|
:param str thumbprint: (Output)
|
694
886
|
A thumbprint to represent the current client secret value.
|
695
887
|
"""
|
@@ -702,7 +894,6 @@ class WorkforcePoolProviderOidcClientSecretValue(dict):
|
|
702
894
|
def plain_text(self) -> str:
|
703
895
|
"""
|
704
896
|
The plain text of the client secret value.
|
705
|
-
**Note**: This property is sensitive and will not be displayed in the plan.
|
706
897
|
"""
|
707
898
|
return pulumi.get(self, "plain_text")
|
708
899
|
|
@@ -755,6 +946,8 @@ class WorkforcePoolProviderOidcWebSsoConfig(dict):
|
|
755
946
|
Possible values are: `CODE`, `ID_TOKEN`.
|
756
947
|
:param Sequence[str] additional_scopes: Additional scopes to request for in the OIDC authentication request on top of scopes requested by default. By default, the `openid`, `profile` and `email` scopes that are supported by the identity provider are requested.
|
757
948
|
Each additional scope may be at most 256 characters. A maximum of 10 additional scopes may be configured.
|
949
|
+
|
950
|
+
<a name="nested_extra_attributes_oauth2_client"></a>The `extra_attributes_oauth2_client` block supports:
|
758
951
|
"""
|
759
952
|
pulumi.set(__self__, "assertion_claims_behavior", assertion_claims_behavior)
|
760
953
|
pulumi.set(__self__, "response_type", response_type)
|
@@ -790,6 +983,8 @@ class WorkforcePoolProviderOidcWebSsoConfig(dict):
|
|
790
983
|
"""
|
791
984
|
Additional scopes to request for in the OIDC authentication request on top of scopes requested by default. By default, the `openid`, `profile` and `email` scopes that are supported by the identity provider are requested.
|
792
985
|
Each additional scope may be at most 256 characters. A maximum of 10 additional scopes may be configured.
|
986
|
+
|
987
|
+
<a name="nested_extra_attributes_oauth2_client"></a>The `extra_attributes_oauth2_client` block supports:
|
793
988
|
"""
|
794
989
|
return pulumi.get(self, "additional_scopes")
|
795
990
|
|