1. Registry
  2. Packages
  3. Konnect Provider
  4. API Docs
  5. PortalIdentityProviderTeamGroupMapping
Viewing docs for konnect 3.23.0
published on Friday, Sep 18, 2026 by kong
Viewing docs for konnect 3.23.0
published on Friday, Sep 18, 2026 by kong

    PortalIdentityProviderTeamGroupMapping Resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as konnect from "@pulumi/konnect";
    
    const myPortalidentityproviderteamgroupmapping = new konnect.PortalIdentityProviderTeamGroupMapping("my_portalidentityproviderteamgroupmapping", {
        group: "API Engineers",
        identityProviderId: "d32d905a-ed33-46a3-a093-d8f536af9a8a",
        portalId: "f32d905a-ed33-46a3-a093-d8f536af9a8a",
        teamId: "6801e673-cc10-498a-94cd-4271de07a0d3",
    });
    
    import pulumi
    import pulumi_konnect as konnect
    
    my_portalidentityproviderteamgroupmapping = konnect.PortalIdentityProviderTeamGroupMapping("my_portalidentityproviderteamgroupmapping",
        group="API Engineers",
        identity_provider_id="d32d905a-ed33-46a3-a093-d8f536af9a8a",
        portal_id="f32d905a-ed33-46a3-a093-d8f536af9a8a",
        team_id="6801e673-cc10-498a-94cd-4271de07a0d3")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/konnect/v3/konnect"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := konnect.NewPortalIdentityProviderTeamGroupMapping(ctx, "my_portalidentityproviderteamgroupmapping", &konnect.PortalIdentityProviderTeamGroupMappingArgs{
    			Group:              pulumi.String("API Engineers"),
    			IdentityProviderId: pulumi.String("d32d905a-ed33-46a3-a093-d8f536af9a8a"),
    			PortalId:           pulumi.String("f32d905a-ed33-46a3-a093-d8f536af9a8a"),
    			TeamId:             pulumi.String("6801e673-cc10-498a-94cd-4271de07a0d3"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Konnect = Pulumi.Konnect;
    
    return await Deployment.RunAsync(() => 
    {
        var myPortalidentityproviderteamgroupmapping = new Konnect.PortalIdentityProviderTeamGroupMapping("my_portalidentityproviderteamgroupmapping", new()
        {
            Group = "API Engineers",
            IdentityProviderId = "d32d905a-ed33-46a3-a093-d8f536af9a8a",
            PortalId = "f32d905a-ed33-46a3-a093-d8f536af9a8a",
            TeamId = "6801e673-cc10-498a-94cd-4271de07a0d3",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.konnect.PortalIdentityProviderTeamGroupMapping;
    import com.pulumi.konnect.PortalIdentityProviderTeamGroupMappingArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var myPortalidentityproviderteamgroupmapping = new PortalIdentityProviderTeamGroupMapping("myPortalidentityproviderteamgroupmapping", PortalIdentityProviderTeamGroupMappingArgs.builder()
                .group("API Engineers")
                .identityProviderId("d32d905a-ed33-46a3-a093-d8f536af9a8a")
                .portalId("f32d905a-ed33-46a3-a093-d8f536af9a8a")
                .teamId("6801e673-cc10-498a-94cd-4271de07a0d3")
                .build());
    
        }
    }
    
    resources:
      myPortalidentityproviderteamgroupmapping:
        type: konnect:PortalIdentityProviderTeamGroupMapping
        name: my_portalidentityproviderteamgroupmapping
        properties:
          group: API Engineers
          identityProviderId: d32d905a-ed33-46a3-a093-d8f536af9a8a
          portalId: f32d905a-ed33-46a3-a093-d8f536af9a8a
          teamId: 6801e673-cc10-498a-94cd-4271de07a0d3
    
    Example coming soon!
    

    Create PortalIdentityProviderTeamGroupMapping Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PortalIdentityProviderTeamGroupMapping(name: string, args: PortalIdentityProviderTeamGroupMappingArgs, opts?: CustomResourceOptions);
    @overload
    def PortalIdentityProviderTeamGroupMapping(resource_name: str,
                                               args: PortalIdentityProviderTeamGroupMappingArgs,
                                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def PortalIdentityProviderTeamGroupMapping(resource_name: str,
                                               opts: Optional[ResourceOptions] = None,
                                               group: Optional[str] = None,
                                               identity_provider_id: Optional[str] = None,
                                               portal_id: Optional[str] = None,
                                               team_id: Optional[str] = None)
    func NewPortalIdentityProviderTeamGroupMapping(ctx *Context, name string, args PortalIdentityProviderTeamGroupMappingArgs, opts ...ResourceOption) (*PortalIdentityProviderTeamGroupMapping, error)
    public PortalIdentityProviderTeamGroupMapping(string name, PortalIdentityProviderTeamGroupMappingArgs args, CustomResourceOptions? opts = null)
    public PortalIdentityProviderTeamGroupMapping(String name, PortalIdentityProviderTeamGroupMappingArgs args)
    public PortalIdentityProviderTeamGroupMapping(String name, PortalIdentityProviderTeamGroupMappingArgs args, CustomResourceOptions options)
    
    type: konnect:PortalIdentityProviderTeamGroupMapping
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "konnect_portal_identity_provider_team_group_mapping" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args PortalIdentityProviderTeamGroupMappingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PortalIdentityProviderTeamGroupMappingArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PortalIdentityProviderTeamGroupMappingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PortalIdentityProviderTeamGroupMappingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PortalIdentityProviderTeamGroupMappingArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var portalIdentityProviderTeamGroupMappingResource = new Konnect.PortalIdentityProviderTeamGroupMapping("portalIdentityProviderTeamGroupMappingResource", new()
    {
        Group = "string",
        IdentityProviderId = "string",
        PortalId = "string",
        TeamId = "string",
    });
    
    example, err := konnect.NewPortalIdentityProviderTeamGroupMapping(ctx, "portalIdentityProviderTeamGroupMappingResource", &konnect.PortalIdentityProviderTeamGroupMappingArgs{
    	Group:              pulumi.String("string"),
    	IdentityProviderId: pulumi.String("string"),
    	PortalId:           pulumi.String("string"),
    	TeamId:             pulumi.String("string"),
    })
    
    resource "konnect_portal_identity_provider_team_group_mapping" "portalIdentityProviderTeamGroupMappingResource" {
      lifecycle {
        create_before_destroy = true
      }
      group                = "string"
      identity_provider_id = "string"
      portal_id            = "string"
      team_id              = "string"
    }
    
    var portalIdentityProviderTeamGroupMappingResource = new PortalIdentityProviderTeamGroupMapping("portalIdentityProviderTeamGroupMappingResource", PortalIdentityProviderTeamGroupMappingArgs.builder()
        .group("string")
        .identityProviderId("string")
        .portalId("string")
        .teamId("string")
        .build());
    
    portal_identity_provider_team_group_mapping_resource = konnect.PortalIdentityProviderTeamGroupMapping("portalIdentityProviderTeamGroupMappingResource",
        group="string",
        identity_provider_id="string",
        portal_id="string",
        team_id="string")
    
    const portalIdentityProviderTeamGroupMappingResource = new konnect.PortalIdentityProviderTeamGroupMapping("portalIdentityProviderTeamGroupMappingResource", {
        group: "string",
        identityProviderId: "string",
        portalId: "string",
        teamId: "string",
    });
    
    type: konnect:PortalIdentityProviderTeamGroupMapping
    properties:
        group: string
        identityProviderId: string
        portalId: string
        teamId: string
    

    PortalIdentityProviderTeamGroupMapping Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The PortalIdentityProviderTeamGroupMapping resource accepts the following input properties:

    Group string
    The IdP group name. Requires replacement if changed.
    IdentityProviderId string
    ID of the identity provider. Requires replacement if changed.
    PortalId string
    The Portal identifier. Requires replacement if changed.
    TeamId string
    The Konnect team ID. Requires replacement if changed.
    Group string
    The IdP group name. Requires replacement if changed.
    IdentityProviderId string
    ID of the identity provider. Requires replacement if changed.
    PortalId string
    The Portal identifier. Requires replacement if changed.
    TeamId string
    The Konnect team ID. Requires replacement if changed.
    group string
    The IdP group name. Requires replacement if changed.
    identity_provider_id string
    ID of the identity provider. Requires replacement if changed.
    portal_id string
    The Portal identifier. Requires replacement if changed.
    team_id string
    The Konnect team ID. Requires replacement if changed.
    group String
    The IdP group name. Requires replacement if changed.
    identityProviderId String
    ID of the identity provider. Requires replacement if changed.
    portalId String
    The Portal identifier. Requires replacement if changed.
    teamId String
    The Konnect team ID. Requires replacement if changed.
    group string
    The IdP group name. Requires replacement if changed.
    identityProviderId string
    ID of the identity provider. Requires replacement if changed.
    portalId string
    The Portal identifier. Requires replacement if changed.
    teamId string
    The Konnect team ID. Requires replacement if changed.
    group str
    The IdP group name. Requires replacement if changed.
    identity_provider_id str
    ID of the identity provider. Requires replacement if changed.
    portal_id str
    The Portal identifier. Requires replacement if changed.
    team_id str
    The Konnect team ID. Requires replacement if changed.
    group String
    The IdP group name. Requires replacement if changed.
    identityProviderId String
    ID of the identity provider. Requires replacement if changed.
    portalId String
    The Portal identifier. Requires replacement if changed.
    teamId String
    The Konnect team ID. Requires replacement if changed.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PortalIdentityProviderTeamGroupMapping resource produces the following output properties:

    CreatedAt string
    Creation timestamp.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    Last update timestamp.
    CreatedAt string
    Creation timestamp.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    Last update timestamp.
    created_at string
    Creation timestamp.
    id string
    The provider-assigned unique ID for this managed resource.
    updated_at string
    Last update timestamp.
    createdAt String
    Creation timestamp.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    Last update timestamp.
    createdAt string
    Creation timestamp.
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    Last update timestamp.
    created_at str
    Creation timestamp.
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at str
    Last update timestamp.
    createdAt String
    Creation timestamp.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    Last update timestamp.

    Look up Existing PortalIdentityProviderTeamGroupMapping Resource

    Get an existing PortalIdentityProviderTeamGroupMapping resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: PortalIdentityProviderTeamGroupMappingState, opts?: CustomResourceOptions): PortalIdentityProviderTeamGroupMapping
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            group: Optional[str] = None,
            identity_provider_id: Optional[str] = None,
            portal_id: Optional[str] = None,
            team_id: Optional[str] = None,
            updated_at: Optional[str] = None) -> PortalIdentityProviderTeamGroupMapping
    func GetPortalIdentityProviderTeamGroupMapping(ctx *Context, name string, id IDInput, state *PortalIdentityProviderTeamGroupMappingState, opts ...ResourceOption) (*PortalIdentityProviderTeamGroupMapping, error)
    public static PortalIdentityProviderTeamGroupMapping Get(string name, Input<string> id, PortalIdentityProviderTeamGroupMappingState? state, CustomResourceOptions? opts = null)
    public static PortalIdentityProviderTeamGroupMapping get(String name, Output<String> id, PortalIdentityProviderTeamGroupMappingState state, CustomResourceOptions options)
    resources:  _:    type: konnect:PortalIdentityProviderTeamGroupMapping    get:      id: ${id}
    import {
      to = konnect_portal_identity_provider_team_group_mapping.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreatedAt string
    Creation timestamp.
    Group string
    The IdP group name. Requires replacement if changed.
    IdentityProviderId string
    ID of the identity provider. Requires replacement if changed.
    PortalId string
    The Portal identifier. Requires replacement if changed.
    TeamId string
    The Konnect team ID. Requires replacement if changed.
    UpdatedAt string
    Last update timestamp.
    CreatedAt string
    Creation timestamp.
    Group string
    The IdP group name. Requires replacement if changed.
    IdentityProviderId string
    ID of the identity provider. Requires replacement if changed.
    PortalId string
    The Portal identifier. Requires replacement if changed.
    TeamId string
    The Konnect team ID. Requires replacement if changed.
    UpdatedAt string
    Last update timestamp.
    created_at string
    Creation timestamp.
    group string
    The IdP group name. Requires replacement if changed.
    identity_provider_id string
    ID of the identity provider. Requires replacement if changed.
    portal_id string
    The Portal identifier. Requires replacement if changed.
    team_id string
    The Konnect team ID. Requires replacement if changed.
    updated_at string
    Last update timestamp.
    createdAt String
    Creation timestamp.
    group String
    The IdP group name. Requires replacement if changed.
    identityProviderId String
    ID of the identity provider. Requires replacement if changed.
    portalId String
    The Portal identifier. Requires replacement if changed.
    teamId String
    The Konnect team ID. Requires replacement if changed.
    updatedAt String
    Last update timestamp.
    createdAt string
    Creation timestamp.
    group string
    The IdP group name. Requires replacement if changed.
    identityProviderId string
    ID of the identity provider. Requires replacement if changed.
    portalId string
    The Portal identifier. Requires replacement if changed.
    teamId string
    The Konnect team ID. Requires replacement if changed.
    updatedAt string
    Last update timestamp.
    created_at str
    Creation timestamp.
    group str
    The IdP group name. Requires replacement if changed.
    identity_provider_id str
    ID of the identity provider. Requires replacement if changed.
    portal_id str
    The Portal identifier. Requires replacement if changed.
    team_id str
    The Konnect team ID. Requires replacement if changed.
    updated_at str
    Last update timestamp.
    createdAt String
    Creation timestamp.
    group String
    The IdP group name. Requires replacement if changed.
    identityProviderId String
    ID of the identity provider. Requires replacement if changed.
    portalId String
    The Portal identifier. Requires replacement if changed.
    teamId String
    The Konnect team ID. Requires replacement if changed.
    updatedAt String
    Last update timestamp.

    Import

    In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:

    terraform

    import {

    to = konnect_portal_identity_provider_team_group_mapping.my_konnect_portal_identity_provider_team_group_mapping

    id = jsonencode({

    id                   = "..."
    
    identity_provider_id = "d32d905a-ed33-46a3-a093-d8f536af9a8a"
    
    portal_id            = "f32d905a-ed33-46a3-a093-d8f536af9a8a"
    

    })

    }

    The pulumi import command can be used, for example:

    $ pulumi import konnect:index/portalIdentityProviderTeamGroupMapping:PortalIdentityProviderTeamGroupMapping my_konnect_portal_identity_provider_team_group_mapping '{"id": "...", "identity_provider_id": "d32d905a-ed33-46a3-a093-d8f536af9a8a", "portal_id": "f32d905a-ed33-46a3-a093-d8f536af9a8a"}'
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    konnect kong/terraform-provider-konnect
    License
    Notes
    This Pulumi package is based on the konnect Terraform Provider.
    Viewing docs for konnect 3.23.0
    published on Friday, Sep 18, 2026 by kong

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial