Class: AWSCDK::Glue::CfnPartition::SchemaIdProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Glue::CfnPartition::SchemaIdProperty
- Defined in:
- glue/cfn_partition.rb
Overview
A structure that contains schema identity fields.
Either this or the SchemaVersionId has to be
provided.
Instance Attribute Summary collapse
-
#registry_name ⇒ String?
readonly
The name of the schema registry that contains the schema.
-
#schema_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the schema.
-
#schema_name ⇒ String?
readonly
The name of the schema.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(registry_name: nil, schema_arn: nil, schema_name: nil) ⇒ SchemaIdProperty
constructor
A new instance of SchemaIdProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(registry_name: nil, schema_arn: nil, schema_name: nil) ⇒ SchemaIdProperty
Returns a new instance of SchemaIdProperty.
698 699 700 701 702 703 704 705 |
# File 'glue/cfn_partition.rb', line 698 def initialize(registry_name: nil, schema_arn: nil, schema_name: nil) @registry_name = registry_name Jsii::Type.check_type(@registry_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "registryName") unless @registry_name.nil? @schema_arn = schema_arn Jsii::Type.check_type(@schema_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "schemaArn") unless @schema_arn.nil? @schema_name = schema_name Jsii::Type.check_type(@schema_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "schemaName") unless @schema_name.nil? end |
Instance Attribute Details
#registry_name ⇒ String? (readonly)
The name of the schema registry that contains the schema.
711 712 713 |
# File 'glue/cfn_partition.rb', line 711 def registry_name @registry_name end |
#schema_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the schema.
One of SchemaArn or SchemaName has to be
provided.
719 720 721 |
# File 'glue/cfn_partition.rb', line 719 def schema_arn @schema_arn end |
#schema_name ⇒ String? (readonly)
The name of the schema.
One of SchemaArn or SchemaName has to be provided.
726 727 728 |
# File 'glue/cfn_partition.rb', line 726 def schema_name @schema_name end |
Class Method Details
.jsii_properties ⇒ Object
728 729 730 731 732 733 734 |
# File 'glue/cfn_partition.rb', line 728 def self.jsii_properties { :registry_name => "registryName", :schema_arn => "schemaArn", :schema_name => "schemaName", } end |
Instance Method Details
#to_jsii ⇒ Object
736 737 738 739 740 741 742 743 744 |
# File 'glue/cfn_partition.rb', line 736 def to_jsii result = {} result.merge!({ "registryName" => @registry_name, "schemaArn" => @schema_arn, "schemaName" => @schema_name, }) result.compact end |