Class: AWSCDK::SES::CfnReceiptRule::ConnectActionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnReceiptRule::ConnectActionProperty
- Defined in:
- ses/cfn_receipt_rule.rb
Overview
When included in a receipt rule, this action parses the received message and starts an email contact in Amazon Connect on your behalf.
When you receive emails, the maximum email size (including headers) is 40 MB. Additionally, emails may only have up to 10 attachments. Emails larger than 40 MB or with more than 10 attachments will be bounced.
We recommend that you configure this action via Amazon Connect.
Instance Attribute Summary collapse
-
#iam_role_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the IAM role to be used by Amazon Simple Email Service while starting email contacts to the Amazon Connect instance.
-
#instance_arn ⇒ String
readonly
The Amazon Resource Name (ARN) for the Amazon Connect instance that Amazon SES integrates with for starting email contacts.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(iam_role_arn:, instance_arn:) ⇒ ConnectActionProperty
constructor
A new instance of ConnectActionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(iam_role_arn:, instance_arn:) ⇒ ConnectActionProperty
Returns a new instance of ConnectActionProperty.
767 768 769 770 771 772 |
# File 'ses/cfn_receipt_rule.rb', line 767 def initialize(iam_role_arn:, instance_arn:) @iam_role_arn = iam_role_arn Jsii::Type.check_type(@iam_role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "iamRoleArn") @instance_arn = instance_arn Jsii::Type.check_type(@instance_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "instanceArn") end |
Instance Attribute Details
#iam_role_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the IAM role to be used by Amazon Simple Email Service while starting email contacts to the Amazon Connect instance.
This role should have permission to invoke connect:StartEmailContact for the given Amazon Connect instance.
780 781 782 |
# File 'ses/cfn_receipt_rule.rb', line 780 def iam_role_arn @iam_role_arn end |
#instance_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) for the Amazon Connect instance that Amazon SES integrates with for starting email contacts.
For more information about Amazon Connect instances, see the Amazon Connect Administrator Guide
787 788 789 |
# File 'ses/cfn_receipt_rule.rb', line 787 def instance_arn @instance_arn end |
Class Method Details
.jsii_properties ⇒ Object
789 790 791 792 793 794 |
# File 'ses/cfn_receipt_rule.rb', line 789 def self.jsii_properties { :iam_role_arn => "iamRoleArn", :instance_arn => "instanceArn", } end |
Instance Method Details
#to_jsii ⇒ Object
796 797 798 799 800 801 802 803 |
# File 'ses/cfn_receipt_rule.rb', line 796 def to_jsii result = {} result.merge!({ "iamRoleArn" => @iam_role_arn, "instanceArn" => @instance_arn, }) result.compact end |