Class: AWSCDK::Interfaces::AWSWisdom::AssistantAssociationReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSWisdom::AssistantAssociationReference
- Defined in:
- interfaces/aws_wisdom/assistant_association_reference.rb
Overview
A reference to a AssistantAssociation resource.
Instance Attribute Summary collapse
-
#assistant_association_arn ⇒ String
readonly
The ARN of the AssistantAssociation resource.
-
#assistant_association_id ⇒ String
readonly
The AssistantAssociationId of the AssistantAssociation resource.
-
#assistant_id ⇒ String
readonly
The AssistantId of the AssistantAssociation resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(assistant_association_arn:, assistant_association_id:, assistant_id:) ⇒ AssistantAssociationReference
constructor
A new instance of AssistantAssociationReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(assistant_association_arn:, assistant_association_id:, assistant_id:) ⇒ AssistantAssociationReference
Returns a new instance of AssistantAssociationReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/aws_wisdom/assistant_association_reference.rb', line 10 def initialize(assistant_association_arn:, assistant_association_id:, assistant_id:) @assistant_association_arn = assistant_association_arn Jsii::Type.check_type(@assistant_association_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "assistantAssociationArn") @assistant_association_id = assistant_association_id Jsii::Type.check_type(@assistant_association_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "assistantAssociationId") @assistant_id = assistant_id Jsii::Type.check_type(@assistant_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "assistantId") end |
Instance Attribute Details
#assistant_association_arn ⇒ String (readonly)
The ARN of the AssistantAssociation resource.
22 23 24 |
# File 'interfaces/aws_wisdom/assistant_association_reference.rb', line 22 def assistant_association_arn @assistant_association_arn end |
#assistant_association_id ⇒ String (readonly)
The AssistantAssociationId of the AssistantAssociation resource.
26 27 28 |
# File 'interfaces/aws_wisdom/assistant_association_reference.rb', line 26 def assistant_association_id @assistant_association_id end |
#assistant_id ⇒ String (readonly)
The AssistantId of the AssistantAssociation resource.
30 31 32 |
# File 'interfaces/aws_wisdom/assistant_association_reference.rb', line 30 def assistant_id @assistant_id end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/aws_wisdom/assistant_association_reference.rb', line 32 def self.jsii_properties { :assistant_association_arn => "assistantAssociationArn", :assistant_association_id => "assistantAssociationId", :assistant_id => "assistantId", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/aws_wisdom/assistant_association_reference.rb', line 40 def to_jsii result = {} result.merge!({ "assistantAssociationArn" => @assistant_association_arn, "assistantAssociationId" => @assistant_association_id, "assistantId" => @assistant_id, }) result.compact end |