Class: AWSCDK::Glue::CfnSchema::RegistryProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Glue::CfnSchema::RegistryProperty
- Defined in:
- glue/cfn_schema.rb
Overview
Specifies a registry in the AWS Glue Schema Registry.
Instance Attribute Summary collapse
-
#arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the registry.
-
#name ⇒ String?
readonly
The name of the registry.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arn: nil, name: nil) ⇒ RegistryProperty
constructor
A new instance of RegistryProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(arn: nil, name: nil) ⇒ RegistryProperty
Returns a new instance of RegistryProperty.
619 620 621 622 623 624 |
# File 'glue/cfn_schema.rb', line 619 def initialize(arn: nil, name: nil) @arn = arn Jsii::Type.check_type(@arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arn") unless @arn.nil? @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? end |
Instance Attribute Details
#arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the registry.
630 631 632 |
# File 'glue/cfn_schema.rb', line 630 def arn @arn end |
#name ⇒ String? (readonly)
The name of the registry.
635 636 637 |
# File 'glue/cfn_schema.rb', line 635 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
637 638 639 640 641 642 |
# File 'glue/cfn_schema.rb', line 637 def self.jsii_properties { :arn => "arn", :name => "name", } end |
Instance Method Details
#to_jsii ⇒ Object
644 645 646 647 648 649 650 651 |
# File 'glue/cfn_schema.rb', line 644 def to_jsii result = {} result.merge!({ "arn" => @arn, "name" => @name, }) result.compact end |