Class: AWSCDK::Bedrock::CfnDataAutomationLibrary::EntityTypeInfoProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnDataAutomationLibrary::EntityTypeInfoProperty
- Defined in:
- bedrock/cfn_data_automation_library.rb
Overview
Information about an entity type in the DataAutomationLibrary.
Instance Attribute Summary collapse
-
#entity_metadata ⇒ String?
readonly
JSON string representing relevant metadata for the entity type.
-
#entity_type ⇒ String
readonly
Entity types supported in DataAutomationLibraries.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(entity_type:, entity_metadata: nil) ⇒ EntityTypeInfoProperty
constructor
A new instance of EntityTypeInfoProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(entity_type:, entity_metadata: nil) ⇒ EntityTypeInfoProperty
Returns a new instance of EntityTypeInfoProperty.
618 619 620 621 622 623 |
# File 'bedrock/cfn_data_automation_library.rb', line 618 def initialize(entity_type:, entity_metadata: nil) @entity_type = entity_type Jsii::Type.check_type(@entity_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "entityType") @entity_metadata = Jsii::Type.check_type(@entity_metadata, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "entityMetadata") unless @entity_metadata.nil? end |
Instance Attribute Details
#entity_metadata ⇒ String? (readonly)
JSON string representing relevant metadata for the entity type.
634 635 636 |
# File 'bedrock/cfn_data_automation_library.rb', line 634 def @entity_metadata end |
#entity_type ⇒ String (readonly)
Entity types supported in DataAutomationLibraries.
629 630 631 |
# File 'bedrock/cfn_data_automation_library.rb', line 629 def entity_type @entity_type end |
Class Method Details
.jsii_properties ⇒ Object
636 637 638 639 640 641 |
# File 'bedrock/cfn_data_automation_library.rb', line 636 def self.jsii_properties { :entity_type => "entityType", :entity_metadata => "entityMetadata", } end |
Instance Method Details
#to_jsii ⇒ Object
643 644 645 646 647 648 649 650 |
# File 'bedrock/cfn_data_automation_library.rb', line 643 def to_jsii result = {} result.merge!({ "entityType" => @entity_type, "entityMetadata" => @entity_metadata, }) result.compact end |