Class: AWSCDK::Connect::CfnRule::CreateCaseActionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnRule::CreateCaseActionProperty
- Defined in:
- connect/cfn_rule.rb
Overview
Instance Attribute Summary collapse
-
#fields ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Connect::CfnRule::FieldProperty>
readonly
An array of case fields.
- #template_id ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(fields:, template_id:) ⇒ CreateCaseActionProperty
constructor
A new instance of CreateCaseActionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(fields:, template_id:) ⇒ CreateCaseActionProperty
Returns a new instance of CreateCaseActionProperty.
703 704 705 706 707 708 |
# File 'connect/cfn_rule.rb', line 703 def initialize(fields:, template_id:) @fields = fields Jsii::Type.check_type(@fields, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29ubmVjdC5DZm5SdWxlLkZpZWxkUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "fields") @template_id = template_id Jsii::Type.check_type(@template_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "templateId") end |
Instance Attribute Details
#fields ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Connect::CfnRule::FieldProperty> (readonly)
An array of case fields.
714 715 716 |
# File 'connect/cfn_rule.rb', line 714 def fields @fields end |
#template_id ⇒ String (readonly)
717 718 719 |
# File 'connect/cfn_rule.rb', line 717 def template_id @template_id end |
Class Method Details
.jsii_properties ⇒ Object
719 720 721 722 723 724 |
# File 'connect/cfn_rule.rb', line 719 def self.jsii_properties { :fields => "fields", :template_id => "templateId", } end |
Instance Method Details
#to_jsii ⇒ Object
726 727 728 729 730 731 732 733 |
# File 'connect/cfn_rule.rb', line 726 def to_jsii result = {} result.merge!({ "fields" => @fields, "templateId" => @template_id, }) result.compact end |