Class: AWSCDK::KafkaConnect::CfnCustomPlugin::CustomPluginLocationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
kafka_connect/cfn_custom_plugin.rb

Overview

Information about the location of a custom plugin.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(s3_location:) ⇒ CustomPluginLocationProperty

Returns a new instance of CustomPluginLocationProperty.

Parameters:



633
634
635
636
# File 'kafka_connect/cfn_custom_plugin.rb', line 633

def initialize(s3_location:)
  @s3_location = s3_location.is_a?(Hash) ? ::AWSCDK::KafkaConnect::CfnCustomPlugin::S3LocationProperty.new(**s3_location.transform_keys(&:to_sym)) : s3_location
  Jsii::Type.check_type(@s3_location, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19rYWZrYWNvbm5lY3QuQ2ZuQ3VzdG9tUGx1Z2luLlMzTG9jYXRpb25Qcm9wZXJ0eSJ9XX19")), "s3Location")
end

Instance Attribute Details

#s3_locationAWSCDK::IResolvable, AWSCDK::KafkaConnect::CfnCustomPlugin::S3LocationProperty (readonly)

The S3 bucket Amazon Resource Name (ARN), file key, and object version of the plugin file stored in Amazon S3.



642
643
644
# File 'kafka_connect/cfn_custom_plugin.rb', line 642

def s3_location
  @s3_location
end

Class Method Details

.jsii_propertiesObject



644
645
646
647
648
# File 'kafka_connect/cfn_custom_plugin.rb', line 644

def self.jsii_properties
  {
    :s3_location => "s3Location",
  }
end

Instance Method Details

#to_jsiiObject



650
651
652
653
654
655
656
# File 'kafka_connect/cfn_custom_plugin.rb', line 650

def to_jsii
  result = {}
  result.merge!({
    "s3Location" => @s3_location,
  })
  result.compact
end