Class: AWSCDK::Interfaces::AWSSES::DedicatedIPPoolReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/awsses/dedicated_ip_pool_reference.rb

Overview

A reference to a DedicatedIpPool resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pool_name:) ⇒ DedicatedIPPoolReference

Returns a new instance of DedicatedIPPoolReference.

Parameters:

  • pool_name (String)

    The PoolName of the DedicatedIpPool resource.



8
9
10
11
# File 'interfaces/awsses/dedicated_ip_pool_reference.rb', line 8

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

Instance Attribute Details

#pool_nameString (readonly)

The PoolName of the DedicatedIpPool resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/awsses/dedicated_ip_pool_reference.rb', line 16

def pool_name
  @pool_name
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/awsses/dedicated_ip_pool_reference.rb', line 18

def self.jsii_properties
  {
    :pool_name => "poolName",
  }
end

Instance Method Details

#to_jsiiObject



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

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