Class: AWSCDK::SES::CfnMailManagerIngressPointProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnMailManagerIngressPointProps
- Defined in:
- ses/cfn_mail_manager_ingress_point_props.rb
Overview
Properties for defining a CfnMailManagerIngressPoint.
Instance Attribute Summary collapse
-
#ingress_point_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The configuration of the ingress endpoint resource.
-
#ingress_point_name ⇒ String?
readonly
A user friendly name for an ingress endpoint resource.
-
#network_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The network type (IPv4-only, Dual-Stack, PrivateLink) of the ingress endpoint resource.
-
#rule_set_id ⇒ String
readonly
The identifier of an existing rule set that you attach to an ingress endpoint resource.
-
#status_to_update ⇒ String?
readonly
The update status of an ingress endpoint.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
The tags used to organize, track, or control access for the resource.
- #tls_policy ⇒ String? readonly
-
#traffic_policy_id ⇒ String
readonly
The identifier of an existing traffic policy that you attach to an ingress endpoint resource.
-
#type ⇒ String
readonly
The type of the ingress endpoint to create.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(rule_set_id:, traffic_policy_id:, type:, ingress_point_configuration: nil, ingress_point_name: nil, network_configuration: nil, status_to_update: nil, tags: nil, tls_policy: nil) ⇒ CfnMailManagerIngressPointProps
constructor
A new instance of CfnMailManagerIngressPointProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(rule_set_id:, traffic_policy_id:, type:, ingress_point_configuration: nil, ingress_point_name: nil, network_configuration: nil, status_to_update: nil, tags: nil, tls_policy: nil) ⇒ CfnMailManagerIngressPointProps
Returns a new instance of CfnMailManagerIngressPointProps.
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'ses/cfn_mail_manager_ingress_point_props.rb', line 18 def initialize(rule_set_id:, traffic_policy_id:, type:, ingress_point_configuration: nil, ingress_point_name: nil, network_configuration: nil, status_to_update: nil, tags: nil, tls_policy: nil) @rule_set_id = rule_set_id Jsii::Type.check_type(@rule_set_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ruleSetId") @traffic_policy_id = traffic_policy_id Jsii::Type.check_type(@traffic_policy_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "trafficPolicyId") @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") @ingress_point_configuration = ingress_point_configuration.is_a?(Hash) ? ::AWSCDK::SES::CfnMailManagerIngressPoint::IngressPointConfigurationProperty.new(**ingress_point_configuration.transform_keys(&:to_sym)) : ingress_point_configuration Jsii::Type.check_type(@ingress_point_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zZXMuQ2ZuTWFpbE1hbmFnZXJJbmdyZXNzUG9pbnQuSW5ncmVzc1BvaW50Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "ingressPointConfiguration") unless @ingress_point_configuration.nil? @ingress_point_name = ingress_point_name Jsii::Type.check_type(@ingress_point_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ingressPointName") unless @ingress_point_name.nil? @network_configuration = network_configuration.is_a?(Hash) ? ::AWSCDK::SES::CfnMailManagerIngressPoint::NetworkConfigurationProperty.new(**network_configuration.transform_keys(&:to_sym)) : network_configuration Jsii::Type.check_type(@network_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zZXMuQ2ZuTWFpbE1hbmFnZXJJbmdyZXNzUG9pbnQuTmV0d29ya0NvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "networkConfiguration") unless @network_configuration.nil? @status_to_update = status_to_update Jsii::Type.check_type(@status_to_update, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "statusToUpdate") unless @status_to_update.nil? @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? @tls_policy = tls_policy Jsii::Type.check_type(@tls_policy, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tlsPolicy") unless @tls_policy.nil? end |
Instance Attribute Details
#ingress_point_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The configuration of the ingress endpoint resource.
58 59 60 |
# File 'ses/cfn_mail_manager_ingress_point_props.rb', line 58 def ingress_point_configuration @ingress_point_configuration end |
#ingress_point_name ⇒ String? (readonly)
A user friendly name for an ingress endpoint resource.
63 64 65 |
# File 'ses/cfn_mail_manager_ingress_point_props.rb', line 63 def ingress_point_name @ingress_point_name end |
#network_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The network type (IPv4-only, Dual-Stack, PrivateLink) of the ingress endpoint resource.
68 69 70 |
# File 'ses/cfn_mail_manager_ingress_point_props.rb', line 68 def network_configuration @network_configuration end |
#rule_set_id ⇒ String (readonly)
The identifier of an existing rule set that you attach to an ingress endpoint resource.
43 44 45 |
# File 'ses/cfn_mail_manager_ingress_point_props.rb', line 43 def rule_set_id @rule_set_id end |
#status_to_update ⇒ String? (readonly)
The update status of an ingress endpoint.
73 74 75 |
# File 'ses/cfn_mail_manager_ingress_point_props.rb', line 73 def status_to_update @status_to_update end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
The tags used to organize, track, or control access for the resource.
For example, { "tags": "key2":"value2" }.
80 81 82 |
# File 'ses/cfn_mail_manager_ingress_point_props.rb', line 80 def @tags end |
#tls_policy ⇒ String? (readonly)
83 84 85 |
# File 'ses/cfn_mail_manager_ingress_point_props.rb', line 83 def tls_policy @tls_policy end |
#traffic_policy_id ⇒ String (readonly)
The identifier of an existing traffic policy that you attach to an ingress endpoint resource.
48 49 50 |
# File 'ses/cfn_mail_manager_ingress_point_props.rb', line 48 def traffic_policy_id @traffic_policy_id end |
#type ⇒ String (readonly)
The type of the ingress endpoint to create.
53 54 55 |
# File 'ses/cfn_mail_manager_ingress_point_props.rb', line 53 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'ses/cfn_mail_manager_ingress_point_props.rb', line 85 def self.jsii_properties { :rule_set_id => "ruleSetId", :traffic_policy_id => "trafficPolicyId", :type => "type", :ingress_point_configuration => "ingressPointConfiguration", :ingress_point_name => "ingressPointName", :network_configuration => "networkConfiguration", :status_to_update => "statusToUpdate", :tags => "tags", :tls_policy => "tlsPolicy", } end |
Instance Method Details
#to_jsii ⇒ Object
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
# File 'ses/cfn_mail_manager_ingress_point_props.rb', line 99 def to_jsii result = {} result.merge!({ "ruleSetId" => @rule_set_id, "trafficPolicyId" => @traffic_policy_id, "type" => @type, "ingressPointConfiguration" => @ingress_point_configuration, "ingressPointName" => @ingress_point_name, "networkConfiguration" => @network_configuration, "statusToUpdate" => @status_to_update, "tags" => @tags, "tlsPolicy" => @tls_policy, }) result.compact end |