Class: AWSCDK::PinpointEmail::CfnDedicatedIPPoolProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::PinpointEmail::CfnDedicatedIPPoolProps
- Defined in:
- pinpoint_email/cfn_dedicated_ip_pool_props.rb
Overview
Properties for defining a CfnDedicatedIpPool.
Instance Attribute Summary collapse
-
#pool_name ⇒ String?
readonly
The name of the dedicated IP pool.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
An object that defines the tags (keys and values) that you want to associate with the dedicated IP pool.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(pool_name: nil, tags: nil) ⇒ CfnDedicatedIPPoolProps
constructor
A new instance of CfnDedicatedIPPoolProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(pool_name: nil, tags: nil) ⇒ CfnDedicatedIPPoolProps
Returns a new instance of CfnDedicatedIPPoolProps.
11 12 13 14 15 16 |
# File 'pinpoint_email/cfn_dedicated_ip_pool_props.rb', line 11 def initialize(pool_name: nil, tags: nil) @pool_name = pool_name Jsii::Type.check_type(@pool_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "poolName") unless @pool_name.nil? @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#pool_name ⇒ String? (readonly)
The name of the dedicated IP pool.
22 23 24 |
# File 'pinpoint_email/cfn_dedicated_ip_pool_props.rb', line 22 def pool_name @pool_name end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
An object that defines the tags (keys and values) that you want to associate with the dedicated IP pool.
27 28 29 |
# File 'pinpoint_email/cfn_dedicated_ip_pool_props.rb', line 27 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
29 30 31 32 33 34 |
# File 'pinpoint_email/cfn_dedicated_ip_pool_props.rb', line 29 def self.jsii_properties { :pool_name => "poolName", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
36 37 38 39 40 41 42 43 |
# File 'pinpoint_email/cfn_dedicated_ip_pool_props.rb', line 36 def to_jsii result = {} result.merge!({ "poolName" => @pool_name, "tags" => @tags, }) result.compact end |