CfnGroupMembershipPropsMixin

class aws_cdk.mixins_preview.aws_identitystore.mixins.CfnGroupMembershipPropsMixin(props, *, strategy=None)

Bases: Mixin

Creates a relationship between a member and a group.

The following identifiers must be specified: GroupId , IdentityStoreId , and MemberId .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-identitystore-groupmembership.html

CloudformationResource:

AWS::IdentityStore::GroupMembership

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_identitystore import mixins as identitystore_mixins

cfn_group_membership_props_mixin = identitystore_mixins.CfnGroupMembershipPropsMixin(identitystore_mixins.CfnGroupMembershipMixinProps(
    group_id="groupId",
    identity_store_id="identityStoreId",
    member_id=identitystore_mixins.CfnGroupMembershipPropsMixin.MemberIdProperty(
        user_id="userId"
    )
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::IdentityStore::GroupMembership.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['groupId', 'identityStoreId', 'memberId']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

MemberIdProperty

class CfnGroupMembershipPropsMixin.MemberIdProperty(*, user_id=None)

Bases: object

An object that contains the identifier of a group member.

Setting the UserID field to the specific identifier for a user indicates that the user is a member of the group.

Parameters:

user_id (Optional[str]) – An object containing the identifiers of resources that can be members.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-identitystore-groupmembership-memberid.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_identitystore import mixins as identitystore_mixins

member_id_property = identitystore_mixins.CfnGroupMembershipPropsMixin.MemberIdProperty(
    user_id="userId"
)

Attributes

user_id

An object containing the identifiers of resources that can be members.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-identitystore-groupmembership-memberid.html#cfn-identitystore-groupmembership-memberid-userid