AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::IdentityStore::GroupMembership

CfnGroupMembership

Creates a relationship between a member and a group. The following identifiers must be specified: `GroupId` , `IdentityStoreId` , and `MemberId` .

Import

import { CfnGroupMembership } from 'aws-cdk-lib/aws-identitystore';

Or use the module namespace:

import * as identitystore from 'aws-cdk-lib/aws-identitystore';
// identitystore.CfnGroupMembership

Properties

Configuration passed to the constructor as CfnGroupMembershipProps.

groupIdRequired
string

The identifier for a group in the identity store.

identityStoreIdRequired
string

The globally unique identifier for the identity store.

memberIdRequired
IResolvable | MemberIdProperty

An object containing the identifier of a group member. Setting the `MemberId` 's `UserId` field to a specific User's ID indicates that user is a member of the group.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-identitystore
CFN TypeAWS::IdentityStore::GroupMembership
Properties3

Related Constructs

External Links