Class: AWSCDK::Interfaces::AWSIot::ResourceSpecificLoggingReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSIot::ResourceSpecificLoggingReference
- Defined in:
- interfaces/aws_iot/resource_specific_logging_reference.rb
Overview
A reference to a ResourceSpecificLogging resource.
Instance Attribute Summary collapse
-
#target_id ⇒ String
readonly
The TargetId of the ResourceSpecificLogging resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(target_id:) ⇒ ResourceSpecificLoggingReference
constructor
A new instance of ResourceSpecificLoggingReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(target_id:) ⇒ ResourceSpecificLoggingReference
Returns a new instance of ResourceSpecificLoggingReference.
8 9 10 11 |
# File 'interfaces/aws_iot/resource_specific_logging_reference.rb', line 8 def initialize(target_id:) @target_id = target_id Jsii::Type.check_type(@target_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "targetId") end |
Instance Attribute Details
#target_id ⇒ String (readonly)
The TargetId of the ResourceSpecificLogging resource.
16 17 18 |
# File 'interfaces/aws_iot/resource_specific_logging_reference.rb', line 16 def target_id @target_id end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_iot/resource_specific_logging_reference.rb', line 18 def self.jsii_properties { :target_id => "targetId", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_iot/resource_specific_logging_reference.rb', line 24 def to_jsii result = {} result.merge!({ "targetId" => @target_id, }) result.compact end |