@overload
def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions]=None, group_id: Optional[pulumi.Input[str]]=None, users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, __props__=None):
    '\n        Resource to manage a set of memberships for a specific group.\n\n        This resource will allow you to bulk manage group membership in Okta for a given group. This offers an interface to pass multiple users into a single resource call, for better API resource usage. Effectively this is the same as using the `group.Membership` resource several times with a single group and many different users. If you need a relationship of a single user to many groups, please use the `UserGroupMemberships` resource.\n\n        When using this with a `user.User` resource, you should add a lifecycle ignore for group memberships to avoid conflicts in desired state.\n\n        ## Example Usage\n\n        ```python\n        import pulumi\n        import pulumi_okta as okta\n\n        test_group = okta.group.Group("testGroup", description="testing, testing")\n        test_group_memberships = okta.GroupMemberships("testGroupMemberships",\n            group_id=test_group.id,\n            users=[\n                okta_user["test1"]["id"],\n                okta_user["test2"]["id"],\n            ])\n        ```\n\n        :param str resource_name: The name of the resource.\n        :param pulumi.ResourceOptions opts: Options for the resource.\n        :param pulumi.Input[str] group_id: ID of a Okta group.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] users: The list of Okta user IDs which the group should have membership managed for.\n        '
    ...
Resource to manage a set of memberships for a specific group.

This resource will allow you to bulk manage group membership in Okta for a given group. This offers an interface to pass multiple users into a single resource call, for better API resource usage. Effectively this is the same as using the `group.Membership` resource several times with a single group and many different users. If you need a relationship of a single user to many groups, please use the `UserGroupMemberships` resource.

When using this with a `user.User` resource, you should add a lifecycle ignore for group memberships to avoid conflicts in desired state.

## Example Usage

```python
import pulumi
import pulumi_okta as okta

test_group = okta.group.Group("testGroup", description="testing, testing")
test_group_memberships = okta.GroupMemberships("testGroupMemberships",
    group_id=test_group.id,
    users=[
        okta_user["test1"]["id"],
        okta_user["test2"]["id"],
    ])
```

:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] group_id: ID of a Okta group.
:param pulumi.Input[Sequence[pulumi.Input[str]]] users: The list of Okta user IDs which the group should have membership managed for.
@overload
def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions]=None, group_id: Optional[pulumi.Input[str]]=None, users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, __props__=None):
    '\n        Resource to manage a set of memberships for a specific group.\n\n        This resource will allow you to bulk manage group membership in Okta for a given group. This offers an interface to pass multiple users into a single resource call, for better API resource usage. Effectively this is the same as using the `group.Membership` resource several times with a single group and many different users. If you need a relationship of a single user to many groups, please use the `UserGroupMemberships` resource.\n\n        When using this with a `user.User` resource, you should add a lifecycle ignore for group memberships to avoid conflicts in desired state.\n\n        ## Example Usage\n\n        ```python\n        import pulumi\n        import pulumi_okta as okta\n\n        test_group = okta.group.Group("testGroup", description="testing, testing")\n        test_group_memberships = okta.GroupMemberships("testGroupMemberships",\n            group_id=test_group.id,\n            users=[\n                okta_user["test1"]["id"],\n                okta_user["test2"]["id"],\n            ])\n        ```\n\n        :param str resource_name: The name of the resource.\n        :param pulumi.ResourceOptions opts: Options for the resource.\n        :param pulumi.Input[str] group_id: ID of a Okta group.\n        :param pulumi.Input[Sequence[pulumi.Input[str]]] users: The list of Okta user IDs which the group should have membership managed for.\n        '
    ...