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