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