Class: AWSCDK::SES::CfnMailManagerIngressPoint::IngressPointConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnMailManagerIngressPoint::IngressPointConfigurationProperty
- Defined in:
- ses/cfn_mail_manager_ingress_point.rb
Overview
The configuration of the ingress endpoint resource.
This data type is a UNION, so only one of the following members can be specified when used or returned.
Instance Attribute Summary collapse
-
#secret_arn ⇒ String?
readonly
The SecretsManager::Secret ARN of the ingress endpoint resource.
-
#smtp_password ⇒ String?
readonly
The password of the ingress endpoint resource.
- #tls_auth_configuration ⇒ AWSCDK::IResolvable, ... readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(secret_arn: nil, smtp_password: nil, tls_auth_configuration: nil) ⇒ IngressPointConfigurationProperty
constructor
A new instance of IngressPointConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(secret_arn: nil, smtp_password: nil, tls_auth_configuration: nil) ⇒ IngressPointConfigurationProperty
Returns a new instance of IngressPointConfigurationProperty.
679 680 681 682 683 684 685 686 |
# File 'ses/cfn_mail_manager_ingress_point.rb', line 679 def initialize(secret_arn: nil, smtp_password: nil, tls_auth_configuration: nil) @secret_arn = secret_arn Jsii::Type.check_type(@secret_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "secretArn") unless @secret_arn.nil? @smtp_password = smtp_password Jsii::Type.check_type(@smtp_password, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "smtpPassword") unless @smtp_password.nil? @tls_auth_configuration = tls_auth_configuration.is_a?(Hash) ? ::AWSCDK::SES::CfnMailManagerIngressPoint::TLSAuthConfigurationProperty.new(**tls_auth_configuration.transform_keys(&:to_sym)) : tls_auth_configuration Jsii::Type.check_type(@tls_auth_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zZXMuQ2ZuTWFpbE1hbmFnZXJJbmdyZXNzUG9pbnQuVGxzQXV0aENvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "tlsAuthConfiguration") unless @tls_auth_configuration.nil? end |
Instance Attribute Details
#secret_arn ⇒ String? (readonly)
The SecretsManager::Secret ARN of the ingress endpoint resource.
692 693 694 |
# File 'ses/cfn_mail_manager_ingress_point.rb', line 692 def secret_arn @secret_arn end |
#smtp_password ⇒ String? (readonly)
The password of the ingress endpoint resource.
697 698 699 |
# File 'ses/cfn_mail_manager_ingress_point.rb', line 697 def smtp_password @smtp_password end |
#tls_auth_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
700 701 702 |
# File 'ses/cfn_mail_manager_ingress_point.rb', line 700 def tls_auth_configuration @tls_auth_configuration end |
Class Method Details
.jsii_properties ⇒ Object
702 703 704 705 706 707 708 |
# File 'ses/cfn_mail_manager_ingress_point.rb', line 702 def self.jsii_properties { :secret_arn => "secretArn", :smtp_password => "smtpPassword", :tls_auth_configuration => "tlsAuthConfiguration", } end |
Instance Method Details
#to_jsii ⇒ Object
710 711 712 713 714 715 716 717 718 |
# File 'ses/cfn_mail_manager_ingress_point.rb', line 710 def to_jsii result = {} result.merge!({ "secretArn" => @secret_arn, "smtpPassword" => @smtp_password, "tlsAuthConfiguration" => @tls_auth_configuration, }) result.compact end |