Class: AWSCDK::Glue::CfnSchema::RegistryProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
glue/cfn_schema.rb

Overview

Specifies a registry in the AWS Glue Schema Registry.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(arn: nil, name: nil) ⇒ RegistryProperty

Returns a new instance of RegistryProperty.

Parameters:

  • arn (String, nil) (defaults to: nil)

    The Amazon Resource Name (ARN) of the registry.

  • name (String, nil) (defaults to: nil)

    The name of the registry.



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

#arnString? (readonly)

The Amazon Resource Name (ARN) of the registry.



630
631
632
# File 'glue/cfn_schema.rb', line 630

def arn
  @arn
end

#nameString? (readonly)

The name of the registry.



635
636
637
# File 'glue/cfn_schema.rb', line 635

def name
  @name
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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