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