Class: AWSCDK::CustomerProfiles::CfnEventTrigger::ObjectAttributeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CustomerProfiles::CfnEventTrigger::ObjectAttributeProperty
- Defined in:
- customer_profiles/cfn_event_trigger.rb
Overview
The criteria that a specific object attribute must meet to trigger the destination.
Instance Attribute Summary collapse
-
#comparison_operator ⇒ String
readonly
The operator used to compare an attribute against a list of values.
-
#field_name ⇒ String?
readonly
A field defined within an object type.
-
#source ⇒ String?
readonly
An attribute contained within a source object.
-
#values ⇒ Array<String>
readonly
The amount of time of the specified unit.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(comparison_operator:, values:, field_name: nil, source: nil) ⇒ ObjectAttributeProperty
constructor
A new instance of ObjectAttributeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(comparison_operator:, values:, field_name: nil, source: nil) ⇒ ObjectAttributeProperty
Returns a new instance of ObjectAttributeProperty.
732 733 734 735 736 737 738 739 740 741 |
# File 'customer_profiles/cfn_event_trigger.rb', line 732 def initialize(comparison_operator:, values:, field_name: nil, source: nil) @comparison_operator = comparison_operator Jsii::Type.check_type(@comparison_operator, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "comparisonOperator") @values = values Jsii::Type.check_type(@values, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "values") @field_name = field_name Jsii::Type.check_type(@field_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fieldName") unless @field_name.nil? @source = source Jsii::Type.check_type(@source, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "source") unless @source.nil? end |
Instance Attribute Details
#comparison_operator ⇒ String (readonly)
The operator used to compare an attribute against a list of values.
747 748 749 |
# File 'customer_profiles/cfn_event_trigger.rb', line 747 def comparison_operator @comparison_operator end |
#field_name ⇒ String? (readonly)
A field defined within an object type.
757 758 759 |
# File 'customer_profiles/cfn_event_trigger.rb', line 757 def field_name @field_name end |
#source ⇒ String? (readonly)
An attribute contained within a source object.
762 763 764 |
# File 'customer_profiles/cfn_event_trigger.rb', line 762 def source @source end |
#values ⇒ Array<String> (readonly)
The amount of time of the specified unit.
752 753 754 |
# File 'customer_profiles/cfn_event_trigger.rb', line 752 def values @values end |
Class Method Details
.jsii_properties ⇒ Object
764 765 766 767 768 769 770 771 |
# File 'customer_profiles/cfn_event_trigger.rb', line 764 def self.jsii_properties { :comparison_operator => "comparisonOperator", :values => "values", :field_name => "fieldName", :source => "source", } end |
Instance Method Details
#to_jsii ⇒ Object
773 774 775 776 777 778 779 780 781 782 |
# File 'customer_profiles/cfn_event_trigger.rb', line 773 def to_jsii result = {} result.merge!({ "comparisonOperator" => @comparison_operator, "values" => @values, "fieldName" => @field_name, "source" => @source, }) result.compact end |