Class: AWSCDK::AmazonMQ::CfnBroker::LogListProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(audit: nil, general: nil) ⇒ LogListProperty

Returns a new instance of LogListProperty.

Parameters:



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

#auditBoolean, ... (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

#generalBoolean, ... (readonly)

Enables general logging.



1133
1134
1135
# File 'amazon_mq/cfn_broker.rb', line 1133

def general
  @general
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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