Class: AWSCDK::IdentityStore::CfnGroupMembership::MemberIdProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IdentityStore::CfnGroupMembership::MemberIdProperty
- Defined in:
- identity_store/cfn_group_membership.rb
Overview
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.
Instance Attribute Summary collapse
-
#user_id ⇒ String
readonly
An object containing the identifiers of resources that can be members.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(user_id:) ⇒ MemberIdProperty
constructor
A new instance of MemberIdProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(user_id:) ⇒ MemberIdProperty
Returns a new instance of MemberIdProperty.
538 539 540 541 |
# File 'identity_store/cfn_group_membership.rb', line 538 def initialize(user_id:) @user_id = user_id Jsii::Type.check_type(@user_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "userId") end |
Instance Attribute Details
#user_id ⇒ String (readonly)
An object containing the identifiers of resources that can be members.
547 548 549 |
# File 'identity_store/cfn_group_membership.rb', line 547 def user_id @user_id end |
Class Method Details
.jsii_properties ⇒ Object
549 550 551 552 553 |
# File 'identity_store/cfn_group_membership.rb', line 549 def self.jsii_properties { :user_id => "userId", } end |
Instance Method Details
#to_jsii ⇒ Object
555 556 557 558 559 560 561 |
# File 'identity_store/cfn_group_membership.rb', line 555 def to_jsii result = {} result.merge!({ "userId" => @user_id, }) result.compact end |