Class: AWSCDK::Interfaces::AWSDetective::MemberInvitationReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSDetective::MemberInvitationReference
- Defined in:
- interfaces/aws_detective/member_invitation_reference.rb
Overview
A reference to a MemberInvitation resource.
Instance Attribute Summary collapse
-
#graph_arn ⇒ String
readonly
The GraphArn of the MemberInvitation resource.
-
#member_id ⇒ String
readonly
The MemberId of the MemberInvitation resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(graph_arn:, member_id:) ⇒ MemberInvitationReference
constructor
A new instance of MemberInvitationReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(graph_arn:, member_id:) ⇒ MemberInvitationReference
Returns a new instance of MemberInvitationReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_detective/member_invitation_reference.rb', line 9 def initialize(graph_arn:, member_id:) @graph_arn = graph_arn Jsii::Type.check_type(@graph_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "graphArn") @member_id = member_id Jsii::Type.check_type(@member_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "memberId") end |
Instance Attribute Details
#graph_arn ⇒ String (readonly)
The GraphArn of the MemberInvitation resource.
19 20 21 |
# File 'interfaces/aws_detective/member_invitation_reference.rb', line 19 def graph_arn @graph_arn end |
#member_id ⇒ String (readonly)
The MemberId of the MemberInvitation resource.
23 24 25 |
# File 'interfaces/aws_detective/member_invitation_reference.rb', line 23 def member_id @member_id end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_detective/member_invitation_reference.rb', line 25 def self.jsii_properties { :graph_arn => "graphArn", :member_id => "memberId", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_detective/member_invitation_reference.rb', line 32 def to_jsii result = {} result.merge!({ "graphArn" => @graph_arn, "memberId" => @member_id, }) result.compact end |