Class CfnGroupMembership
Creates a relationship between a member and a group.
Inherited Members
Namespace: Amazon.CDK.AWS.IdentityStore
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnGroupMembership : CfnResource, IInspectable, IGroupMembershipRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnGroupMembership Inherits CfnResource Implements IInspectable, IGroupMembershipRef, IConstruct, IDependable, IEnvironmentAware
Remarks
The following identifiers must be specified: GroupId , IdentityStoreId , and MemberId .
CloudformationResource: AWS::IdentityStore::GroupMembership
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IdentityStore;
var cfnGroupMembership = new CfnGroupMembership(this, "MyCfnGroupMembership", new CfnGroupMembershipProps {
GroupId = "groupId",
IdentityStoreId = "identityStoreId",
MemberId = new MemberIdProperty {
UserId = "userId"
}
});
Synopsis
Constructors
| CfnGroupMembership(Construct, string, ICfnGroupMembershipProps) | Create a new |
Properties
| AttrMembershipId | The identifier for a |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | Creates a relationship between a member and a group. |
| CfnPropertyNames | Creates a relationship between a member and a group. |
| GroupId | The identifier for a group in the identity store. |
| GroupMembershipRef | A reference to a GroupMembership resource. |
| IdentityStoreId | The globally unique identifier for the identity store. |
| MemberId | An object containing the identifier of a group member. |
Methods
| ArnForGroupMembership(IGroupMembershipRef) | Creates a relationship between a member and a group. |
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnGroupMembership(object) | Checks whether the given object is a CfnGroupMembership. |
| RenderProperties(IDictionary<string, object>) | Creates a relationship between a member and a group. |
Constructors
CfnGroupMembership(Construct, string, ICfnGroupMembershipProps)
Create a new AWS::IdentityStore::GroupMembership.
public CfnGroupMembership(Construct scope, string id, ICfnGroupMembershipProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnGroupMembershipProps
Resource properties.
Remarks
The following identifiers must be specified: GroupId , IdentityStoreId , and MemberId .
CloudformationResource: AWS::IdentityStore::GroupMembership
ExampleMetadata: fixture=_generated
Properties
AttrMembershipId
The identifier for a GroupMembership in the identity store.
public virtual string AttrMembershipId { get; }
Property Value
Remarks
CloudformationAttribute: MembershipId
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
The following identifiers must be specified: GroupId , IdentityStoreId , and MemberId .
CloudformationResource: AWS::IdentityStore::GroupMembership
ExampleMetadata: fixture=_generated
CfnProperties
Creates a relationship between a member and a group.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
The following identifiers must be specified: GroupId , IdentityStoreId , and MemberId .
CloudformationResource: AWS::IdentityStore::GroupMembership
ExampleMetadata: fixture=_generated
CfnPropertyNames
Creates a relationship between a member and a group.
protected override IDictionary<string, string> CfnPropertyNames { get; }
Property Value
Overrides
Remarks
The following identifiers must be specified: GroupId , IdentityStoreId , and MemberId .
CloudformationResource: AWS::IdentityStore::GroupMembership
ExampleMetadata: fixture=_generated
GroupId
The identifier for a group in the identity store.
public virtual string GroupId { get; set; }
Property Value
Remarks
The following identifiers must be specified: GroupId , IdentityStoreId , and MemberId .
CloudformationResource: AWS::IdentityStore::GroupMembership
ExampleMetadata: fixture=_generated
GroupMembershipRef
A reference to a GroupMembership resource.
public virtual IGroupMembershipReference GroupMembershipRef { get; }
Property Value
Remarks
The following identifiers must be specified: GroupId , IdentityStoreId , and MemberId .
CloudformationResource: AWS::IdentityStore::GroupMembership
ExampleMetadata: fixture=_generated
IdentityStoreId
The globally unique identifier for the identity store.
public virtual string IdentityStoreId { get; set; }
Property Value
Remarks
The following identifiers must be specified: GroupId , IdentityStoreId , and MemberId .
CloudformationResource: AWS::IdentityStore::GroupMembership
ExampleMetadata: fixture=_generated
MemberId
An object containing the identifier of a group member.
public virtual object MemberId { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnGroupMembership.IMemberIdProperty
Methods
ArnForGroupMembership(IGroupMembershipRef)
Creates a relationship between a member and a group.
public static string ArnForGroupMembership(IGroupMembershipRef resource)
Parameters
- resource IGroupMembershipRef
Returns
Remarks
The following identifiers must be specified: GroupId , IdentityStoreId , and MemberId .
CloudformationResource: AWS::IdentityStore::GroupMembership
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IdentityStore;
var cfnGroupMembership = new CfnGroupMembership(this, "MyCfnGroupMembership", new CfnGroupMembershipProps {
GroupId = "groupId",
IdentityStoreId = "identityStoreId",
MemberId = new MemberIdProperty {
UserId = "userId"
}
});
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
The following identifiers must be specified: GroupId , IdentityStoreId , and MemberId .
CloudformationResource: AWS::IdentityStore::GroupMembership
ExampleMetadata: fixture=_generated
IsCfnGroupMembership(object)
Checks whether the given object is a CfnGroupMembership.
public static bool IsCfnGroupMembership(object x)
Parameters
- x object
Returns
Remarks
The following identifiers must be specified: GroupId , IdentityStoreId , and MemberId .
CloudformationResource: AWS::IdentityStore::GroupMembership
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Creates a relationship between a member and a group.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
The following identifiers must be specified: GroupId , IdentityStoreId , and MemberId .
CloudformationResource: AWS::IdentityStore::GroupMembership
ExampleMetadata: fixture=_generated