Class: AWSCDK::Interfaces::AWSCloudformation::PublisherReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_cloudformation/publisher_reference.rb

Overview

A reference to a Publisher resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(publisher_id:) ⇒ PublisherReference

Returns a new instance of PublisherReference.

Parameters:

  • publisher_id (String)

    The PublisherId of the Publisher resource.



8
9
10
11
# File 'interfaces/aws_cloudformation/publisher_reference.rb', line 8

def initialize(publisher_id:)
  @publisher_id = publisher_id
  Jsii::Type.check_type(@publisher_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "publisherId")
end

Instance Attribute Details

#publisher_idString (readonly)

The PublisherId of the Publisher resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/aws_cloudformation/publisher_reference.rb', line 16

def publisher_id
  @publisher_id
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/aws_cloudformation/publisher_reference.rb', line 18

def self.jsii_properties
  {
    :publisher_id => "publisherId",
  }
end

Instance Method Details

#to_jsiiObject



24
25
26
27
28
29
30
# File 'interfaces/aws_cloudformation/publisher_reference.rb', line 24

def to_jsii
  result = {}
  result.merge!({
    "publisherId" => @publisher_id,
  })
  result.compact
end