Class: AWSCDK::Interfaces::AWSServicecatalog::CloudFormationProductReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_servicecatalog/cloud_formation_product_reference.rb

Overview

A reference to a CloudFormationProduct resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cloud_formation_product_id:) ⇒ CloudFormationProductReference

Returns a new instance of CloudFormationProductReference.

Parameters:

  • cloud_formation_product_id (String)

    The Id of the CloudFormationProduct resource.



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_idString (readonly)

The Id of the CloudFormationProduct resource.

Returns:

  • (String)


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_propertiesObject



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_jsiiObject



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