Class: AWSCDK::Pinpoint::CfnCampaign::AttributeDimensionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Pinpoint::CfnCampaign::AttributeDimensionProperty
- Defined in:
- pinpoint/cfn_campaign.rb
Overview
Instance Attribute Summary collapse
- #attribute_type ⇒ String? readonly
- #values ⇒ Array<String>? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attribute_type: nil, values: nil) ⇒ AttributeDimensionProperty
constructor
A new instance of AttributeDimensionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(attribute_type: nil, values: nil) ⇒ AttributeDimensionProperty
Returns a new instance of AttributeDimensionProperty.
752 753 754 755 756 757 |
# File 'pinpoint/cfn_campaign.rb', line 752 def initialize(attribute_type: nil, values: nil) @attribute_type = attribute_type Jsii::Type.check_type(@attribute_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "attributeType") unless @attribute_type.nil? @values = values Jsii::Type.check_type(@values, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "values") unless @values.nil? end |
Instance Attribute Details
#attribute_type ⇒ String? (readonly)
761 762 763 |
# File 'pinpoint/cfn_campaign.rb', line 761 def attribute_type @attribute_type end |
#values ⇒ Array<String>? (readonly)
764 765 766 |
# File 'pinpoint/cfn_campaign.rb', line 764 def values @values end |
Class Method Details
.jsii_properties ⇒ Object
766 767 768 769 770 771 |
# File 'pinpoint/cfn_campaign.rb', line 766 def self.jsii_properties { :attribute_type => "attributeType", :values => "values", } end |
Instance Method Details
#to_jsii ⇒ Object
773 774 775 776 777 778 779 780 |
# File 'pinpoint/cfn_campaign.rb', line 773 def to_jsii result = {} result.merge!({ "attributeType" => @attribute_type, "values" => @values, }) result.compact end |