Class: AWSCDK::Interfaces::AWSSES::EmailIdentityReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSSES::EmailIdentityReference
- Defined in:
- interfaces/awsses/email_identity_reference.rb
Overview
A reference to a EmailIdentity resource.
Instance Attribute Summary collapse
-
#email_identity ⇒ String
readonly
The EmailIdentity of the EmailIdentity resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(email_identity:) ⇒ EmailIdentityReference
constructor
A new instance of EmailIdentityReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(email_identity:) ⇒ EmailIdentityReference
Returns a new instance of EmailIdentityReference.
8 9 10 11 |
# File 'interfaces/awsses/email_identity_reference.rb', line 8 def initialize(email_identity:) @email_identity = email_identity Jsii::Type.check_type(@email_identity, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "emailIdentity") end |
Instance Attribute Details
#email_identity ⇒ String (readonly)
The EmailIdentity of the EmailIdentity resource.
16 17 18 |
# File 'interfaces/awsses/email_identity_reference.rb', line 16 def email_identity @email_identity end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/awsses/email_identity_reference.rb', line 18 def self.jsii_properties { :email_identity => "emailIdentity", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/awsses/email_identity_reference.rb', line 24 def to_jsii result = {} result.merge!({ "emailIdentity" => @email_identity, }) result.compact end |