Class: AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressStringToEvaluateProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressStringToEvaluateProperty
- Defined in:
- ses/cfn_mail_manager_traffic_policy.rb
Overview
The union type representing the allowed types for the left hand side of a string condition.
Instance Attribute Summary collapse
-
#analysis ⇒ AWSCDK::IResolvable, ...
readonly
The structure type for a string condition stating the Add On ARN and its returned value.
-
#attribute ⇒ String?
readonly
The enum type representing the allowed attribute types for a string condition.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(analysis: nil, attribute: nil) ⇒ IngressStringToEvaluateProperty
constructor
A new instance of IngressStringToEvaluateProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(analysis: nil, attribute: nil) ⇒ IngressStringToEvaluateProperty
Returns a new instance of IngressStringToEvaluateProperty.
999 1000 1001 1002 1003 1004 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 999 def initialize(analysis: nil, attribute: nil) @analysis = analysis.is_a?(Hash) ? ::AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressAnalysisProperty.new(**analysis.transform_keys(&:to_sym)) : analysis Jsii::Type.check_type(@analysis, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zZXMuQ2ZuTWFpbE1hbmFnZXJUcmFmZmljUG9saWN5LkluZ3Jlc3NBbmFseXNpc1Byb3BlcnR5In1dfX0=")), "analysis") unless @analysis.nil? @attribute = attribute Jsii::Type.check_type(@attribute, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "attribute") unless @attribute.nil? end |
Instance Attribute Details
#analysis ⇒ AWSCDK::IResolvable, ... (readonly)
The structure type for a string condition stating the Add On ARN and its returned value.
1010 1011 1012 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 1010 def analysis @analysis end |
#attribute ⇒ String? (readonly)
The enum type representing the allowed attribute types for a string condition.
1015 1016 1017 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 1015 def attribute @attribute end |
Class Method Details
.jsii_properties ⇒ Object
1017 1018 1019 1020 1021 1022 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 1017 def self.jsii_properties { :analysis => "analysis", :attribute => "attribute", } end |
Instance Method Details
#to_jsii ⇒ Object
1024 1025 1026 1027 1028 1029 1030 1031 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 1024 def to_jsii result = {} result.merge!({ "analysis" => @analysis, "attribute" => @attribute, }) result.compact end |