Class: AWSCDK::Interfaces::AWSEventschemas::RegistryReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSEventschemas::RegistryReference
- Defined in:
- interfaces/aws_eventschemas/registry_reference.rb
Overview
A reference to a Registry resource.
Instance Attribute Summary collapse
-
#registry_arn ⇒ String
readonly
The RegistryArn of the Registry resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(registry_arn:) ⇒ RegistryReference
constructor
A new instance of RegistryReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(registry_arn:) ⇒ RegistryReference
Returns a new instance of RegistryReference.
8 9 10 11 |
# File 'interfaces/aws_eventschemas/registry_reference.rb', line 8 def initialize(registry_arn:) @registry_arn = registry_arn Jsii::Type.check_type(@registry_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "registryArn") end |
Instance Attribute Details
#registry_arn ⇒ String (readonly)
The RegistryArn of the Registry resource.
16 17 18 |
# File 'interfaces/aws_eventschemas/registry_reference.rb', line 16 def registry_arn @registry_arn end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_eventschemas/registry_reference.rb', line 18 def self.jsii_properties { :registry_arn => "registryArn", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_eventschemas/registry_reference.rb', line 24 def to_jsii result = {} result.merge!({ "registryArn" => @registry_arn, }) result.compact end |