Class: AWSCDK::Connect::CfnRule::ReferenceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnRule::ReferenceProperty
- Defined in:
- connect/cfn_rule.rb
Overview
Information about the reference when the referenceType is URL .
Otherwise, null. (Supports variable injection in the Value field.)
Instance Attribute Summary collapse
-
#type ⇒ String
readonly
The type of the reference.
-
#value ⇒ String
readonly
A valid value for the reference.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type:, value:) ⇒ ReferenceProperty
constructor
A new instance of ReferenceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type:, value:) ⇒ ReferenceProperty
Returns a new instance of ReferenceProperty.
918 919 920 921 922 923 |
# File 'connect/cfn_rule.rb', line 918 def initialize(type:, value:) @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") end |
Instance Attribute Details
#type ⇒ String (readonly)
The type of the reference. DATE must be of type Epoch timestamp.
Allowed values : URL | ATTACHMENT | NUMBER | STRING | DATE | EMAIL
931 932 933 |
# File 'connect/cfn_rule.rb', line 931 def type @type end |
#value ⇒ String (readonly)
A valid value for the reference.
For example, for a URL reference, a formatted URL that is displayed to an agent in the Contact Control Panel (CCP).
938 939 940 |
# File 'connect/cfn_rule.rb', line 938 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
940 941 942 943 944 945 |
# File 'connect/cfn_rule.rb', line 940 def self.jsii_properties { :type => "type", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
947 948 949 950 951 952 953 954 |
# File 'connect/cfn_rule.rb', line 947 def to_jsii result = {} result.merge!({ "type" => @type, "value" => @value, }) result.compact end |