1. Packages
  2. Mongodbatlas Provider
  3. API Docs
  4. FederatedSettingsOrgRoleMapping
MongoDB Atlas v3.20.4 published on Wednesday, Oct 30, 2024 by Pulumi

mongodbatlas.FederatedSettingsOrgRoleMapping

Explore with Pulumi AI

mongodbatlas logo
MongoDB Atlas v3.20.4 published on Wednesday, Oct 30, 2024 by Pulumi

    # Resource: mongodbatlas.FederatedSettingsOrgRoleMapping

    mongodbatlas.FederatedSettingsOrgRoleMapping provides an Role Mapping resource. This allows organization role mapping to be created.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as mongodbatlas from "@pulumi/mongodbatlas";
    
    const orgGroupRoleMappingImport = new mongodbatlas.FederatedSettingsOrgRoleMapping("org_group_role_mapping_import", {
        federationSettingsId: "627a9687f7f7f7f774de306f14",
        orgId: "627a9683e7f7f7ff7fe306f14",
        externalGroupName: "myGrouptest",
        roleAssignments: [
            {
                orgId: "627a9683e7f7f7ff7fe306f14",
                roles: [
                    "ORG_MEMBER",
                    "ORG_GROUP_CREATOR",
                    "ORG_BILLING_ADMIN",
                ],
            },
            {
                groupId: "628aa20d7f7f7f7f7098b81b8",
                roles: [
                    "GROUP_OWNER",
                    "GROUP_DATA_ACCESS_ADMIN",
                    "GROUP_SEARCH_INDEX_EDITOR",
                    "GROUP_DATA_ACCESS_READ_ONLY",
                ],
            },
            {
                groupId: "628aa20d7f7f7f7f7078b81b8",
                roles: [
                    "GROUP_OWNER",
                    "GROUP_DATA_ACCESS_ADMIN",
                    "GROUP_SEARCH_INDEX_EDITOR",
                    "GROUP_DATA_ACCESS_READ_ONLY",
                    "GROUP_DATA_ACCESS_READ_WRITE",
                ],
            },
        ],
    });
    
    import pulumi
    import pulumi_mongodbatlas as mongodbatlas
    
    org_group_role_mapping_import = mongodbatlas.FederatedSettingsOrgRoleMapping("org_group_role_mapping_import",
        federation_settings_id="627a9687f7f7f7f774de306f14",
        org_id="627a9683e7f7f7ff7fe306f14",
        external_group_name="myGrouptest",
        role_assignments=[
            {
                "org_id": "627a9683e7f7f7ff7fe306f14",
                "roles": [
                    "ORG_MEMBER",
                    "ORG_GROUP_CREATOR",
                    "ORG_BILLING_ADMIN",
                ],
            },
            {
                "group_id": "628aa20d7f7f7f7f7098b81b8",
                "roles": [
                    "GROUP_OWNER",
                    "GROUP_DATA_ACCESS_ADMIN",
                    "GROUP_SEARCH_INDEX_EDITOR",
                    "GROUP_DATA_ACCESS_READ_ONLY",
                ],
            },
            {
                "group_id": "628aa20d7f7f7f7f7078b81b8",
                "roles": [
                    "GROUP_OWNER",
                    "GROUP_DATA_ACCESS_ADMIN",
                    "GROUP_SEARCH_INDEX_EDITOR",
                    "GROUP_DATA_ACCESS_READ_ONLY",
                    "GROUP_DATA_ACCESS_READ_WRITE",
                ],
            },
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := mongodbatlas.NewFederatedSettingsOrgRoleMapping(ctx, "org_group_role_mapping_import", &mongodbatlas.FederatedSettingsOrgRoleMappingArgs{
    			FederationSettingsId: pulumi.String("627a9687f7f7f7f774de306f14"),
    			OrgId:                pulumi.String("627a9683e7f7f7ff7fe306f14"),
    			ExternalGroupName:    pulumi.String("myGrouptest"),
    			RoleAssignments: mongodbatlas.FederatedSettingsOrgRoleMappingRoleAssignmentArray{
    				&mongodbatlas.FederatedSettingsOrgRoleMappingRoleAssignmentArgs{
    					OrgId: pulumi.String("627a9683e7f7f7ff7fe306f14"),
    					Roles: pulumi.StringArray{
    						pulumi.String("ORG_MEMBER"),
    						pulumi.String("ORG_GROUP_CREATOR"),
    						pulumi.String("ORG_BILLING_ADMIN"),
    					},
    				},
    				&mongodbatlas.FederatedSettingsOrgRoleMappingRoleAssignmentArgs{
    					GroupId: pulumi.String("628aa20d7f7f7f7f7098b81b8"),
    					Roles: pulumi.StringArray{
    						pulumi.String("GROUP_OWNER"),
    						pulumi.String("GROUP_DATA_ACCESS_ADMIN"),
    						pulumi.String("GROUP_SEARCH_INDEX_EDITOR"),
    						pulumi.String("GROUP_DATA_ACCESS_READ_ONLY"),
    					},
    				},
    				&mongodbatlas.FederatedSettingsOrgRoleMappingRoleAssignmentArgs{
    					GroupId: pulumi.String("628aa20d7f7f7f7f7078b81b8"),
    					Roles: pulumi.StringArray{
    						pulumi.String("GROUP_OWNER"),
    						pulumi.String("GROUP_DATA_ACCESS_ADMIN"),
    						pulumi.String("GROUP_SEARCH_INDEX_EDITOR"),
    						pulumi.String("GROUP_DATA_ACCESS_READ_ONLY"),
    						pulumi.String("GROUP_DATA_ACCESS_READ_WRITE"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Mongodbatlas = Pulumi.Mongodbatlas;
    
    return await Deployment.RunAsync(() => 
    {
        var orgGroupRoleMappingImport = new Mongodbatlas.FederatedSettingsOrgRoleMapping("org_group_role_mapping_import", new()
        {
            FederationSettingsId = "627a9687f7f7f7f774de306f14",
            OrgId = "627a9683e7f7f7ff7fe306f14",
            ExternalGroupName = "myGrouptest",
            RoleAssignments = new[]
            {
                new Mongodbatlas.Inputs.FederatedSettingsOrgRoleMappingRoleAssignmentArgs
                {
                    OrgId = "627a9683e7f7f7ff7fe306f14",
                    Roles = new[]
                    {
                        "ORG_MEMBER",
                        "ORG_GROUP_CREATOR",
                        "ORG_BILLING_ADMIN",
                    },
                },
                new Mongodbatlas.Inputs.FederatedSettingsOrgRoleMappingRoleAssignmentArgs
                {
                    GroupId = "628aa20d7f7f7f7f7098b81b8",
                    Roles = new[]
                    {
                        "GROUP_OWNER",
                        "GROUP_DATA_ACCESS_ADMIN",
                        "GROUP_SEARCH_INDEX_EDITOR",
                        "GROUP_DATA_ACCESS_READ_ONLY",
                    },
                },
                new Mongodbatlas.Inputs.FederatedSettingsOrgRoleMappingRoleAssignmentArgs
                {
                    GroupId = "628aa20d7f7f7f7f7078b81b8",
                    Roles = new[]
                    {
                        "GROUP_OWNER",
                        "GROUP_DATA_ACCESS_ADMIN",
                        "GROUP_SEARCH_INDEX_EDITOR",
                        "GROUP_DATA_ACCESS_READ_ONLY",
                        "GROUP_DATA_ACCESS_READ_WRITE",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.mongodbatlas.FederatedSettingsOrgRoleMapping;
    import com.pulumi.mongodbatlas.FederatedSettingsOrgRoleMappingArgs;
    import com.pulumi.mongodbatlas.inputs.FederatedSettingsOrgRoleMappingRoleAssignmentArgs;
    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 orgGroupRoleMappingImport = new FederatedSettingsOrgRoleMapping("orgGroupRoleMappingImport", FederatedSettingsOrgRoleMappingArgs.builder()
                .federationSettingsId("627a9687f7f7f7f774de306f14")
                .orgId("627a9683e7f7f7ff7fe306f14")
                .externalGroupName("myGrouptest")
                .roleAssignments(            
                    FederatedSettingsOrgRoleMappingRoleAssignmentArgs.builder()
                        .orgId("627a9683e7f7f7ff7fe306f14")
                        .roles(                    
                            "ORG_MEMBER",
                            "ORG_GROUP_CREATOR",
                            "ORG_BILLING_ADMIN")
                        .build(),
                    FederatedSettingsOrgRoleMappingRoleAssignmentArgs.builder()
                        .groupId("628aa20d7f7f7f7f7098b81b8")
                        .roles(                    
                            "GROUP_OWNER",
                            "GROUP_DATA_ACCESS_ADMIN",
                            "GROUP_SEARCH_INDEX_EDITOR",
                            "GROUP_DATA_ACCESS_READ_ONLY")
                        .build(),
                    FederatedSettingsOrgRoleMappingRoleAssignmentArgs.builder()
                        .groupId("628aa20d7f7f7f7f7078b81b8")
                        .roles(                    
                            "GROUP_OWNER",
                            "GROUP_DATA_ACCESS_ADMIN",
                            "GROUP_SEARCH_INDEX_EDITOR",
                            "GROUP_DATA_ACCESS_READ_ONLY",
                            "GROUP_DATA_ACCESS_READ_WRITE")
                        .build())
                .build());
    
        }
    }
    
    resources:
      orgGroupRoleMappingImport:
        type: mongodbatlas:FederatedSettingsOrgRoleMapping
        name: org_group_role_mapping_import
        properties:
          federationSettingsId: 627a9687f7f7f7f774de306f14
          orgId: 627a9683e7f7f7ff7fe306f14
          externalGroupName: myGrouptest
          roleAssignments:
            - orgId: 627a9683e7f7f7ff7fe306f14
              roles:
                - ORG_MEMBER
                - ORG_GROUP_CREATOR
                - ORG_BILLING_ADMIN
            - groupId: 628aa20d7f7f7f7f7098b81b8
              roles:
                - GROUP_OWNER
                - GROUP_DATA_ACCESS_ADMIN
                - GROUP_SEARCH_INDEX_EDITOR
                - GROUP_DATA_ACCESS_READ_ONLY
            - groupId: 628aa20d7f7f7f7f7078b81b8
              roles:
                - GROUP_OWNER
                - GROUP_DATA_ACCESS_ADMIN
                - GROUP_SEARCH_INDEX_EDITOR
                - GROUP_DATA_ACCESS_READ_ONLY
                - GROUP_DATA_ACCESS_READ_WRITE
    

    Create FederatedSettingsOrgRoleMapping Resource

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

    Constructor syntax

    new FederatedSettingsOrgRoleMapping(name: string, args: FederatedSettingsOrgRoleMappingArgs, opts?: CustomResourceOptions);
    @overload
    def FederatedSettingsOrgRoleMapping(resource_name: str,
                                        args: FederatedSettingsOrgRoleMappingArgs,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def FederatedSettingsOrgRoleMapping(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        external_group_name: Optional[str] = None,
                                        federation_settings_id: Optional[str] = None,
                                        org_id: Optional[str] = None,
                                        role_assignments: Optional[Sequence[FederatedSettingsOrgRoleMappingRoleAssignmentArgs]] = None)
    func NewFederatedSettingsOrgRoleMapping(ctx *Context, name string, args FederatedSettingsOrgRoleMappingArgs, opts ...ResourceOption) (*FederatedSettingsOrgRoleMapping, error)
    public FederatedSettingsOrgRoleMapping(string name, FederatedSettingsOrgRoleMappingArgs args, CustomResourceOptions? opts = null)
    public FederatedSettingsOrgRoleMapping(String name, FederatedSettingsOrgRoleMappingArgs args)
    public FederatedSettingsOrgRoleMapping(String name, FederatedSettingsOrgRoleMappingArgs args, CustomResourceOptions options)
    
    type: mongodbatlas:FederatedSettingsOrgRoleMapping
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args FederatedSettingsOrgRoleMappingArgs
    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 FederatedSettingsOrgRoleMappingArgs
    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 FederatedSettingsOrgRoleMappingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FederatedSettingsOrgRoleMappingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FederatedSettingsOrgRoleMappingArgs
    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 federatedSettingsOrgRoleMappingResource = new Mongodbatlas.FederatedSettingsOrgRoleMapping("federatedSettingsOrgRoleMappingResource", new()
    {
        ExternalGroupName = "string",
        FederationSettingsId = "string",
        OrgId = "string",
        RoleAssignments = new[]
        {
            new Mongodbatlas.Inputs.FederatedSettingsOrgRoleMappingRoleAssignmentArgs
            {
                GroupId = "string",
                OrgId = "string",
                Roles = new[]
                {
                    "string",
                },
            },
        },
    });
    
    example, err := mongodbatlas.NewFederatedSettingsOrgRoleMapping(ctx, "federatedSettingsOrgRoleMappingResource", &mongodbatlas.FederatedSettingsOrgRoleMappingArgs{
    	ExternalGroupName:    pulumi.String("string"),
    	FederationSettingsId: pulumi.String("string"),
    	OrgId:                pulumi.String("string"),
    	RoleAssignments: mongodbatlas.FederatedSettingsOrgRoleMappingRoleAssignmentArray{
    		&mongodbatlas.FederatedSettingsOrgRoleMappingRoleAssignmentArgs{
    			GroupId: pulumi.String("string"),
    			OrgId:   pulumi.String("string"),
    			Roles: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    })
    
    var federatedSettingsOrgRoleMappingResource = new FederatedSettingsOrgRoleMapping("federatedSettingsOrgRoleMappingResource", FederatedSettingsOrgRoleMappingArgs.builder()
        .externalGroupName("string")
        .federationSettingsId("string")
        .orgId("string")
        .roleAssignments(FederatedSettingsOrgRoleMappingRoleAssignmentArgs.builder()
            .groupId("string")
            .orgId("string")
            .roles("string")
            .build())
        .build());
    
    federated_settings_org_role_mapping_resource = mongodbatlas.FederatedSettingsOrgRoleMapping("federatedSettingsOrgRoleMappingResource",
        external_group_name="string",
        federation_settings_id="string",
        org_id="string",
        role_assignments=[{
            "group_id": "string",
            "org_id": "string",
            "roles": ["string"],
        }])
    
    const federatedSettingsOrgRoleMappingResource = new mongodbatlas.FederatedSettingsOrgRoleMapping("federatedSettingsOrgRoleMappingResource", {
        externalGroupName: "string",
        federationSettingsId: "string",
        orgId: "string",
        roleAssignments: [{
            groupId: "string",
            orgId: "string",
            roles: ["string"],
        }],
    });
    
    type: mongodbatlas:FederatedSettingsOrgRoleMapping
    properties:
        externalGroupName: string
        federationSettingsId: string
        orgId: string
        roleAssignments:
            - groupId: string
              orgId: string
              roles:
                - string
    

    FederatedSettingsOrgRoleMapping 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 FederatedSettingsOrgRoleMapping resource accepts the following input properties:

    ExternalGroupName string
    Unique human-readable label that identifies the identity provider group to which this role mapping applies.
    FederationSettingsId string
    Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
    OrgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    RoleAssignments List<FederatedSettingsOrgRoleMappingRoleAssignment>
    Atlas roles and the unique identifiers of the groups and organizations associated with each role.
    ExternalGroupName string
    Unique human-readable label that identifies the identity provider group to which this role mapping applies.
    FederationSettingsId string
    Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
    OrgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    RoleAssignments []FederatedSettingsOrgRoleMappingRoleAssignmentArgs
    Atlas roles and the unique identifiers of the groups and organizations associated with each role.
    externalGroupName String
    Unique human-readable label that identifies the identity provider group to which this role mapping applies.
    federationSettingsId String
    Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
    orgId String
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    roleAssignments List<FederatedSettingsOrgRoleMappingRoleAssignment>
    Atlas roles and the unique identifiers of the groups and organizations associated with each role.
    externalGroupName string
    Unique human-readable label that identifies the identity provider group to which this role mapping applies.
    federationSettingsId string
    Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
    orgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    roleAssignments FederatedSettingsOrgRoleMappingRoleAssignment[]
    Atlas roles and the unique identifiers of the groups and organizations associated with each role.
    external_group_name str
    Unique human-readable label that identifies the identity provider group to which this role mapping applies.
    federation_settings_id str
    Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
    org_id str
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    role_assignments Sequence[FederatedSettingsOrgRoleMappingRoleAssignmentArgs]
    Atlas roles and the unique identifiers of the groups and organizations associated with each role.
    externalGroupName String
    Unique human-readable label that identifies the identity provider group to which this role mapping applies.
    federationSettingsId String
    Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
    orgId String
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    roleAssignments List<Property Map>
    Atlas roles and the unique identifiers of the groups and organizations associated with each role.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    RoleMappingId string
    Unique 24-hexadecimal digit string that identifies this role mapping.
    Id string
    The provider-assigned unique ID for this managed resource.
    RoleMappingId string
    Unique 24-hexadecimal digit string that identifies this role mapping.
    id String
    The provider-assigned unique ID for this managed resource.
    roleMappingId String
    Unique 24-hexadecimal digit string that identifies this role mapping.
    id string
    The provider-assigned unique ID for this managed resource.
    roleMappingId string
    Unique 24-hexadecimal digit string that identifies this role mapping.
    id str
    The provider-assigned unique ID for this managed resource.
    role_mapping_id str
    Unique 24-hexadecimal digit string that identifies this role mapping.
    id String
    The provider-assigned unique ID for this managed resource.
    roleMappingId String
    Unique 24-hexadecimal digit string that identifies this role mapping.

    Look up Existing FederatedSettingsOrgRoleMapping Resource

    Get an existing FederatedSettingsOrgRoleMapping 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?: FederatedSettingsOrgRoleMappingState, opts?: CustomResourceOptions): FederatedSettingsOrgRoleMapping
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            external_group_name: Optional[str] = None,
            federation_settings_id: Optional[str] = None,
            org_id: Optional[str] = None,
            role_assignments: Optional[Sequence[FederatedSettingsOrgRoleMappingRoleAssignmentArgs]] = None,
            role_mapping_id: Optional[str] = None) -> FederatedSettingsOrgRoleMapping
    func GetFederatedSettingsOrgRoleMapping(ctx *Context, name string, id IDInput, state *FederatedSettingsOrgRoleMappingState, opts ...ResourceOption) (*FederatedSettingsOrgRoleMapping, error)
    public static FederatedSettingsOrgRoleMapping Get(string name, Input<string> id, FederatedSettingsOrgRoleMappingState? state, CustomResourceOptions? opts = null)
    public static FederatedSettingsOrgRoleMapping get(String name, Output<String> id, FederatedSettingsOrgRoleMappingState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    ExternalGroupName string
    Unique human-readable label that identifies the identity provider group to which this role mapping applies.
    FederationSettingsId string
    Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
    OrgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    RoleAssignments List<FederatedSettingsOrgRoleMappingRoleAssignment>
    Atlas roles and the unique identifiers of the groups and organizations associated with each role.
    RoleMappingId string
    Unique 24-hexadecimal digit string that identifies this role mapping.
    ExternalGroupName string
    Unique human-readable label that identifies the identity provider group to which this role mapping applies.
    FederationSettingsId string
    Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
    OrgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    RoleAssignments []FederatedSettingsOrgRoleMappingRoleAssignmentArgs
    Atlas roles and the unique identifiers of the groups and organizations associated with each role.
    RoleMappingId string
    Unique 24-hexadecimal digit string that identifies this role mapping.
    externalGroupName String
    Unique human-readable label that identifies the identity provider group to which this role mapping applies.
    federationSettingsId String
    Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
    orgId String
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    roleAssignments List<FederatedSettingsOrgRoleMappingRoleAssignment>
    Atlas roles and the unique identifiers of the groups and organizations associated with each role.
    roleMappingId String
    Unique 24-hexadecimal digit string that identifies this role mapping.
    externalGroupName string
    Unique human-readable label that identifies the identity provider group to which this role mapping applies.
    federationSettingsId string
    Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
    orgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    roleAssignments FederatedSettingsOrgRoleMappingRoleAssignment[]
    Atlas roles and the unique identifiers of the groups and organizations associated with each role.
    roleMappingId string
    Unique 24-hexadecimal digit string that identifies this role mapping.
    external_group_name str
    Unique human-readable label that identifies the identity provider group to which this role mapping applies.
    federation_settings_id str
    Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
    org_id str
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    role_assignments Sequence[FederatedSettingsOrgRoleMappingRoleAssignmentArgs]
    Atlas roles and the unique identifiers of the groups and organizations associated with each role.
    role_mapping_id str
    Unique 24-hexadecimal digit string that identifies this role mapping.
    externalGroupName String
    Unique human-readable label that identifies the identity provider group to which this role mapping applies.
    federationSettingsId String
    Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
    orgId String
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    roleAssignments List<Property Map>
    Atlas roles and the unique identifiers of the groups and organizations associated with each role.
    roleMappingId String
    Unique 24-hexadecimal digit string that identifies this role mapping.

    Supporting Types

    FederatedSettingsOrgRoleMappingRoleAssignment, FederatedSettingsOrgRoleMappingRoleAssignmentArgs

    GroupId string
    Unique identifier of the project to which you want the role mapping to apply.
    OrgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    Roles List<string>
    Specifies the Roles that are attached to the Role Mapping. Available role IDs can be found on the User Roles Reference.
    GroupId string
    Unique identifier of the project to which you want the role mapping to apply.
    OrgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    Roles []string
    Specifies the Roles that are attached to the Role Mapping. Available role IDs can be found on the User Roles Reference.
    groupId String
    Unique identifier of the project to which you want the role mapping to apply.
    orgId String
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    roles List<String>
    Specifies the Roles that are attached to the Role Mapping. Available role IDs can be found on the User Roles Reference.
    groupId string
    Unique identifier of the project to which you want the role mapping to apply.
    orgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    roles string[]
    Specifies the Roles that are attached to the Role Mapping. Available role IDs can be found on the User Roles Reference.
    group_id str
    Unique identifier of the project to which you want the role mapping to apply.
    org_id str
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    roles Sequence[str]
    Specifies the Roles that are attached to the Role Mapping. Available role IDs can be found on the User Roles Reference.
    groupId String
    Unique identifier of the project to which you want the role mapping to apply.
    orgId String
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    roles List<String>
    Specifies the Roles that are attached to the Role Mapping. Available role IDs can be found on the User Roles Reference.

    Import

    FederatedSettingsOrgRoleMapping can be imported using federation_settings_id-org_id-role_mapping_id, e.g.

    $ pulumi import mongodbatlas:index/federatedSettingsOrgRoleMapping:FederatedSettingsOrgRoleMapping org_group_role_mapping_import 6287a663c7f7f7f71c441c6c-627a96837f7f7f7e306f14-628ae97f7f7468ea3727
    

    For more information see: MongoDB Atlas API Reference.

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

    Package Details

    Repository
    MongoDB Atlas pulumi/pulumi-mongodbatlas
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the mongodbatlas Terraform Provider.
    mongodbatlas logo
    MongoDB Atlas v3.20.4 published on Wednesday, Oct 30, 2024 by Pulumi