Class: AWSCDK::ElasticLoadBalancingv2::CfnListenerRule::HostHeaderConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ElasticLoadBalancingv2::CfnListenerRule::HostHeaderConfigProperty
- Defined in:
- elastic_load_balancingv2/cfn_listener_rule.rb
Overview
Information about a host header condition.
Instance Attribute Summary collapse
- #regex_values ⇒ Array<String>? readonly
-
#values ⇒ Array<String>?
readonly
The host names.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(regex_values: nil, values: nil) ⇒ HostHeaderConfigProperty
constructor
A new instance of HostHeaderConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(regex_values: nil, values: nil) ⇒ HostHeaderConfigProperty
Returns a new instance of HostHeaderConfigProperty.
1070 1071 1072 1073 1074 1075 |
# File 'elastic_load_balancingv2/cfn_listener_rule.rb', line 1070 def initialize(regex_values: nil, values: nil) @regex_values = regex_values Jsii::Type.check_type(@regex_values, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "regexValues") unless @regex_values.nil? @values = values Jsii::Type.check_type(@values, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "values") unless @values.nil? end |
Instance Attribute Details
#regex_values ⇒ Array<String>? (readonly)
1079 1080 1081 |
# File 'elastic_load_balancingv2/cfn_listener_rule.rb', line 1079 def regex_values @regex_values end |
#values ⇒ Array<String>? (readonly)
The host names.
The maximum length of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). You must include at least one "." character. You can include only alphabetical characters after the final "." character.
If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
1088 1089 1090 |
# File 'elastic_load_balancingv2/cfn_listener_rule.rb', line 1088 def values @values end |
Class Method Details
.jsii_properties ⇒ Object
1090 1091 1092 1093 1094 1095 |
# File 'elastic_load_balancingv2/cfn_listener_rule.rb', line 1090 def self.jsii_properties { :regex_values => "regexValues", :values => "values", } end |
Instance Method Details
#to_jsii ⇒ Object
1097 1098 1099 1100 1101 1102 1103 1104 |
# File 'elastic_load_balancingv2/cfn_listener_rule.rb', line 1097 def to_jsii result = {} result.merge!({ "regexValues" => @regex_values, "values" => @values, }) result.compact end |