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