published on Tuesday, Mar 10, 2026 by Pulumi
published on Tuesday, Mar 10, 2026 by Pulumi
Resource for managing an AWS IdentityStore Group Membership.
Create GroupMembership Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GroupMembership(name: string, args: GroupMembershipArgs, opts?: CustomResourceOptions);@overload
def GroupMembership(resource_name: str,
args: GroupMembershipArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GroupMembership(resource_name: str,
opts: Optional[ResourceOptions] = None,
group_id: Optional[str] = None,
identity_store_id: Optional[str] = None,
member_id: Optional[str] = None)func NewGroupMembership(ctx *Context, name string, args GroupMembershipArgs, opts ...ResourceOption) (*GroupMembership, error)public GroupMembership(string name, GroupMembershipArgs args, CustomResourceOptions? opts = null)
public GroupMembership(String name, GroupMembershipArgs args)
public GroupMembership(String name, GroupMembershipArgs args, CustomResourceOptions options)
type: aws:identitystore:GroupMembership
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 GroupMembershipArgs
- 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 GroupMembershipArgs
- 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 GroupMembershipArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GroupMembershipArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GroupMembershipArgs
- 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 awsGroupMembershipResource = new Aws.IdentityStore.GroupMembership("awsGroupMembershipResource", new()
{
GroupId = "string",
IdentityStoreId = "string",
MemberId = "string",
});
example, err := identitystore.NewGroupMembership(ctx, "awsGroupMembershipResource", &identitystore.GroupMembershipArgs{
GroupId: pulumi.String("string"),
IdentityStoreId: pulumi.String("string"),
MemberId: pulumi.String("string"),
})
var awsGroupMembershipResource = new com.pulumi.aws.identitystore.GroupMembership("awsGroupMembershipResource", com.pulumi.aws.identitystore.GroupMembershipArgs.builder()
.groupId("string")
.identityStoreId("string")
.memberId("string")
.build());
aws_group_membership_resource = aws.identitystore.GroupMembership("awsGroupMembershipResource",
group_id="string",
identity_store_id="string",
member_id="string")
const awsGroupMembershipResource = new aws.identitystore.GroupMembership("awsGroupMembershipResource", {
groupId: "string",
identityStoreId: "string",
memberId: "string",
});
type: aws:identitystore:GroupMembership
properties:
groupId: string
identityStoreId: string
memberId: string
GroupMembership 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 GroupMembership resource accepts the following input properties:
- Group
Id string - The identifier for a group in the Identity Store.
- Identity
Store stringId - Identity Store ID associated with the Single Sign-On Instance.
- Member
Id string - The identifier for a user in the Identity Store.
- Group
Id string - The identifier for a group in the Identity Store.
- Identity
Store stringId - Identity Store ID associated with the Single Sign-On Instance.
- Member
Id string - The identifier for a user in the Identity Store.
- group
Id String - The identifier for a group in the Identity Store.
- identity
Store StringId - Identity Store ID associated with the Single Sign-On Instance.
- member
Id String - The identifier for a user in the Identity Store.
- group
Id string - The identifier for a group in the Identity Store.
- identity
Store stringId - Identity Store ID associated with the Single Sign-On Instance.
- member
Id string - The identifier for a user in the Identity Store.
- group_
id str - The identifier for a group in the Identity Store.
- identity_
store_ strid - Identity Store ID associated with the Single Sign-On Instance.
- member_
id str - The identifier for a user in the Identity Store.
- group
Id String - The identifier for a group in the Identity Store.
- identity
Store StringId - Identity Store ID associated with the Single Sign-On Instance.
- member
Id String - The identifier for a user in the Identity Store.
Outputs
All input properties are implicitly available as output properties. Additionally, the GroupMembership resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Membership
Id string - The identifier of the newly created group membership in the Identity Store.
- Id string
- The provider-assigned unique ID for this managed resource.
- Membership
Id string - The identifier of the newly created group membership in the Identity Store.
- id String
- The provider-assigned unique ID for this managed resource.
- membership
Id String - The identifier of the newly created group membership in the Identity Store.
- id string
- The provider-assigned unique ID for this managed resource.
- membership
Id string - The identifier of the newly created group membership in the Identity Store.
- id str
- The provider-assigned unique ID for this managed resource.
- membership_
id str - The identifier of the newly created group membership in the Identity Store.
- id String
- The provider-assigned unique ID for this managed resource.
- membership
Id String - The identifier of the newly created group membership in the Identity Store.
Look up Existing GroupMembership Resource
Get an existing GroupMembership 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?: GroupMembershipState, opts?: CustomResourceOptions): GroupMembership@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
group_id: Optional[str] = None,
identity_store_id: Optional[str] = None,
member_id: Optional[str] = None,
membership_id: Optional[str] = None) -> GroupMembershipfunc GetGroupMembership(ctx *Context, name string, id IDInput, state *GroupMembershipState, opts ...ResourceOption) (*GroupMembership, error)public static GroupMembership Get(string name, Input<string> id, GroupMembershipState? state, CustomResourceOptions? opts = null)public static GroupMembership get(String name, Output<String> id, GroupMembershipState state, CustomResourceOptions options)resources: _: type: aws:identitystore:GroupMembership get: 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.
- Group
Id string - The identifier for a group in the Identity Store.
- Identity
Store stringId - Identity Store ID associated with the Single Sign-On Instance.
- Member
Id string - The identifier for a user in the Identity Store.
- Membership
Id string - The identifier of the newly created group membership in the Identity Store.
- Group
Id string - The identifier for a group in the Identity Store.
- Identity
Store stringId - Identity Store ID associated with the Single Sign-On Instance.
- Member
Id string - The identifier for a user in the Identity Store.
- Membership
Id string - The identifier of the newly created group membership in the Identity Store.
- group
Id String - The identifier for a group in the Identity Store.
- identity
Store StringId - Identity Store ID associated with the Single Sign-On Instance.
- member
Id String - The identifier for a user in the Identity Store.
- membership
Id String - The identifier of the newly created group membership in the Identity Store.
- group
Id string - The identifier for a group in the Identity Store.
- identity
Store stringId - Identity Store ID associated with the Single Sign-On Instance.
- member
Id string - The identifier for a user in the Identity Store.
- membership
Id string - The identifier of the newly created group membership in the Identity Store.
- group_
id str - The identifier for a group in the Identity Store.
- identity_
store_ strid - Identity Store ID associated with the Single Sign-On Instance.
- member_
id str - The identifier for a user in the Identity Store.
- membership_
id str - The identifier of the newly created group membership in the Identity Store.
- group
Id String - The identifier for a group in the Identity Store.
- identity
Store StringId - Identity Store ID associated with the Single Sign-On Instance.
- member
Id String - The identifier for a user in the Identity Store.
- membership
Id String - The identifier of the newly created group membership in the Identity Store.
Import
aws_identitystore_group_membership can be imported using the identity_store_id/membership_id, e.g.,
$ pulumi import aws:identitystore/groupMembership:GroupMembership example d-0000000000/00000000-0000-0000-0000-000000000000
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Tuesday, Mar 10, 2026 by Pulumi