Class: AWSCDK::Bedrock::CfnDataAutomationLibrary::EntityTypeInfoProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock/cfn_data_automation_library.rb

Overview

Information about an entity type in the DataAutomationLibrary.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(entity_type:, entity_metadata: nil) ⇒ EntityTypeInfoProperty

Returns a new instance of EntityTypeInfoProperty.

Parameters:

  • entity_type (String)

    Entity types supported in DataAutomationLibraries.

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

    JSON string representing relevant metadata for the entity type.



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_metadataString? (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_typeString (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_propertiesObject



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_jsiiObject



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