@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:35.775Z") @Stability(value=Stable) public class CfnGroupMembership extends CfnResource implements IInspectable
Contains the identifiers for a group, a group member, and a GroupMembership object in the identity store.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.identitystore.*;
CfnGroupMembership cfnGroupMembership = CfnGroupMembership.Builder.create(this, "MyCfnGroupMembership")
.groupId("groupId")
.identityStoreId("identityStoreId")
.memberId(MemberIdProperty.builder()
.userId("userId")
.build())
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnGroupMembership.Builder
A fluent builder for
CfnGroupMembership. |
static interface |
CfnGroupMembership.MemberIdProperty
An object that contains the identifier of a group member.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnGroupMembership(Construct scope,
String id,
CfnGroupMembershipProps props)
Create a new `AWS::IdentityStore::GroupMembership`.
|
protected |
CfnGroupMembership(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnGroupMembership(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrMembershipId()
The identifier for a `GroupMembership` in the identity store.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getGroupId()
`AWS::IdentityStore::GroupMembership.GroupId`.
|
String |
getIdentityStoreId()
`AWS::IdentityStore::GroupMembership.IdentityStoreId`.
|
Object |
getMemberId()
An object containing the identifier of a group member.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setGroupId(String value)
`AWS::IdentityStore::GroupMembership.GroupId`.
|
void |
setIdentityStoreId(String value)
`AWS::IdentityStore::GroupMembership.IdentityStoreId`.
|
void |
setMemberId(CfnGroupMembership.MemberIdProperty value)
An object containing the identifier of a group member.
|
void |
setMemberId(IResolvable value)
An object containing the identifier of a group member.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnGroupMembership(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnGroupMembership(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnGroupMembership(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnGroupMembershipProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrMembershipId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getGroupId()
@Stability(value=Stable)
public void setGroupId(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getIdentityStoreId()
@Stability(value=Stable)
public void setIdentityStoreId(@NotNull
String value)
@Stability(value=Stable) @NotNull public Object getMemberId()
Setting MemberId 's UserId field to a specific User's ID indicates we should consider that User as a group member.
@Stability(value=Stable)
public void setMemberId(@NotNull
CfnGroupMembership.MemberIdProperty value)
Setting MemberId 's UserId field to a specific User's ID indicates we should consider that User as a group member.
@Stability(value=Stable)
public void setMemberId(@NotNull
IResolvable value)
Setting MemberId 's UserId field to a specific User's ID indicates we should consider that User as a group member.
Copyright © 2022. All rights reserved.