Class: AWSCDK::SES::CfnMailManagerIngressPoint::IngressPointConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(secret_arn: nil, smtp_password: nil, tls_auth_configuration: nil) ⇒ IngressPointConfigurationProperty

Returns a new instance of IngressPointConfigurationProperty.

Parameters:



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_arnString? (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_passwordString? (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

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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