Class: AWSCDK::NetworkFirewall::CfnFirewallPolicy::PublishMetricActionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::NetworkFirewall::CfnFirewallPolicy::PublishMetricActionProperty
- Defined in:
- network_firewall/cfn_firewall_policy.rb
Overview
Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet.
This setting defines a CloudWatch dimension value to be published.
Instance Attribute Summary collapse
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(dimensions:) ⇒ PublishMetricActionProperty
constructor
A new instance of PublishMetricActionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(dimensions:) ⇒ PublishMetricActionProperty
Returns a new instance of PublishMetricActionProperty.
964 965 966 967 |
# File 'network_firewall/cfn_firewall_policy.rb', line 964 def initialize(dimensions:) @dimensions = dimensions Jsii::Type.check_type(@dimensions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbmV0d29ya2ZpcmV3YWxsLkNmbkZpcmV3YWxsUG9saWN5LkRpbWVuc2lvblByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "dimensions") end |
Instance Attribute Details
#dimensions ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::NetworkFirewall::CfnFirewallPolicy::DimensionProperty> (readonly)
971 972 973 |
# File 'network_firewall/cfn_firewall_policy.rb', line 971 def dimensions @dimensions end |
Class Method Details
.jsii_properties ⇒ Object
973 974 975 976 977 |
# File 'network_firewall/cfn_firewall_policy.rb', line 973 def self.jsii_properties { :dimensions => "dimensions", } end |
Instance Method Details
#to_jsii ⇒ Object
979 980 981 982 983 984 985 |
# File 'network_firewall/cfn_firewall_policy.rb', line 979 def to_jsii result = {} result.merge!({ "dimensions" => @dimensions, }) result.compact end |