Class: AWSCDK::ObservabilityAdmin::CfnOrganizationTelemetryRule::LabelNameConditionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ObservabilityAdmin::CfnOrganizationTelemetryRule::LabelNameConditionProperty
- Defined in:
- observability_admin/cfn_organization_telemetry_rule.rb
Overview
Condition that matches based on WAF rule labels, with label names limited to 1024 characters.
Instance Attribute Summary collapse
-
#label_name ⇒ String?
readonly
The label name to match, supporting alphanumeric characters, underscores, hyphens, and colons.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(label_name: nil) ⇒ LabelNameConditionProperty
constructor
A new instance of LabelNameConditionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(label_name: nil) ⇒ LabelNameConditionProperty
Returns a new instance of LabelNameConditionProperty.
951 952 953 954 |
# File 'observability_admin/cfn_organization_telemetry_rule.rb', line 951 def initialize(label_name: nil) @label_name = label_name Jsii::Type.check_type(@label_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "labelName") unless @label_name.nil? end |
Instance Attribute Details
#label_name ⇒ String? (readonly)
The label name to match, supporting alphanumeric characters, underscores, hyphens, and colons.
960 961 962 |
# File 'observability_admin/cfn_organization_telemetry_rule.rb', line 960 def label_name @label_name end |
Class Method Details
.jsii_properties ⇒ Object
962 963 964 965 966 |
# File 'observability_admin/cfn_organization_telemetry_rule.rb', line 962 def self.jsii_properties { :label_name => "labelName", } end |
Instance Method Details
#to_jsii ⇒ Object
968 969 970 971 972 973 974 |
# File 'observability_admin/cfn_organization_telemetry_rule.rb', line 968 def to_jsii result = {} result.merge!({ "labelName" => @label_name, }) result.compact end |