Class: AWSCDK::SES::CfnMailManagerIngressPoint::NetworkConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnMailManagerIngressPoint::NetworkConfigurationProperty
- Defined in:
- ses/cfn_mail_manager_ingress_point.rb
Overview
The network type (IPv4-only, Dual-Stack, PrivateLink) of the ingress endpoint resource.
Instance Attribute Summary collapse
-
#private_network_configuration ⇒ AWSCDK::IResolvable, ...
readonly
Specifies the network configuration for the private ingress point.
-
#public_network_configuration ⇒ AWSCDK::IResolvable, ...
readonly
Specifies the network configuration for the public ingress point.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(private_network_configuration: nil, public_network_configuration: nil) ⇒ NetworkConfigurationProperty
constructor
A new instance of NetworkConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(private_network_configuration: nil, public_network_configuration: nil) ⇒ NetworkConfigurationProperty
Returns a new instance of NetworkConfigurationProperty.
729 730 731 732 733 734 |
# File 'ses/cfn_mail_manager_ingress_point.rb', line 729 def initialize(private_network_configuration: nil, public_network_configuration: nil) @private_network_configuration = private_network_configuration.is_a?(Hash) ? ::AWSCDK::SES::CfnMailManagerIngressPoint::PrivateNetworkConfigurationProperty.new(**private_network_configuration.transform_keys(&:to_sym)) : private_network_configuration Jsii::Type.check_type(@private_network_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zZXMuQ2ZuTWFpbE1hbmFnZXJJbmdyZXNzUG9pbnQuUHJpdmF0ZU5ldHdvcmtDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "privateNetworkConfiguration") unless @private_network_configuration.nil? @public_network_configuration = public_network_configuration.is_a?(Hash) ? ::AWSCDK::SES::CfnMailManagerIngressPoint::PublicNetworkConfigurationProperty.new(**public_network_configuration.transform_keys(&:to_sym)) : public_network_configuration Jsii::Type.check_type(@public_network_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zZXMuQ2ZuTWFpbE1hbmFnZXJJbmdyZXNzUG9pbnQuUHVibGljTmV0d29ya0NvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "publicNetworkConfiguration") unless @public_network_configuration.nil? end |
Instance Attribute Details
#private_network_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
Specifies the network configuration for the private ingress point.
740 741 742 |
# File 'ses/cfn_mail_manager_ingress_point.rb', line 740 def private_network_configuration @private_network_configuration end |
#public_network_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
Specifies the network configuration for the public ingress point.
745 746 747 |
# File 'ses/cfn_mail_manager_ingress_point.rb', line 745 def public_network_configuration @public_network_configuration end |
Class Method Details
.jsii_properties ⇒ Object
747 748 749 750 751 752 |
# File 'ses/cfn_mail_manager_ingress_point.rb', line 747 def self.jsii_properties { :private_network_configuration => "privateNetworkConfiguration", :public_network_configuration => "publicNetworkConfiguration", } end |
Instance Method Details
#to_jsii ⇒ Object
754 755 756 757 758 759 760 761 |
# File 'ses/cfn_mail_manager_ingress_point.rb', line 754 def to_jsii result = {} result.merge!({ "privateNetworkConfiguration" => @private_network_configuration, "publicNetworkConfiguration" => @public_network_configuration, }) result.compact end |