Class: AWSCDK::AmazonMQ::CfnBroker::LogListProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AmazonMQ::CfnBroker::LogListProperty
- Defined in:
- amazon_mq/cfn_broker.rb
Overview
The list of information about logs to be enabled for the specified broker.
Instance Attribute Summary collapse
-
#audit ⇒ Boolean, ...
readonly
Enables audit logging.
-
#general ⇒ Boolean, ...
readonly
Enables general logging.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(audit: nil, general: nil) ⇒ LogListProperty
constructor
A new instance of LogListProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(audit: nil, general: nil) ⇒ LogListProperty
Returns a new instance of LogListProperty.
1115 1116 1117 1118 1119 1120 |
# File 'amazon_mq/cfn_broker.rb', line 1115 def initialize(audit: nil, general: nil) @audit = audit Jsii::Type.check_type(@audit, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "audit") unless @audit.nil? @general = general Jsii::Type.check_type(@general, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "general") unless @general.nil? end |
Instance Attribute Details
#audit ⇒ Boolean, ... (readonly)
Enables audit logging.
Every user management action made using JMX or the ActiveMQ Web Console is logged. Does not apply to RabbitMQ brokers.
1128 1129 1130 |
# File 'amazon_mq/cfn_broker.rb', line 1128 def audit @audit end |
#general ⇒ Boolean, ... (readonly)
Enables general logging.
1133 1134 1135 |
# File 'amazon_mq/cfn_broker.rb', line 1133 def general @general end |
Class Method Details
.jsii_properties ⇒ Object
1135 1136 1137 1138 1139 1140 |
# File 'amazon_mq/cfn_broker.rb', line 1135 def self.jsii_properties { :audit => "audit", :general => "general", } end |
Instance Method Details
#to_jsii ⇒ Object
1142 1143 1144 1145 1146 1147 1148 1149 |
# File 'amazon_mq/cfn_broker.rb', line 1142 def to_jsii result = {} result.merge!({ "audit" => @audit, "general" => @general, }) result.compact end |