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