Class: AWSCDK::ApplicationInsights::CfnApplication::LogPatternSetProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ApplicationInsights::CfnApplication::LogPatternSetProperty
- Defined in:
- application_insights/cfn_application.rb
Overview
The AWS::ApplicationInsights::Application LogPatternSet property type specifies the log pattern set.
Instance Attribute Summary collapse
-
#log_patterns ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::ApplicationInsights::CfnApplication::LogPatternProperty>
readonly
A list of objects that define the log patterns that belong to
LogPatternSet. -
#pattern_set_name ⇒ String
readonly
The name of the log pattern.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(log_patterns:, pattern_set_name:) ⇒ LogPatternSetProperty
constructor
A new instance of LogPatternSetProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(log_patterns:, pattern_set_name:) ⇒ LogPatternSetProperty
Returns a new instance of LogPatternSetProperty.
1287 1288 1289 1290 1291 1292 |
# File 'application_insights/cfn_application.rb', line 1287 def initialize(log_patterns:, pattern_set_name:) @log_patterns = log_patterns Jsii::Type.check_type(@log_patterns, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXBwbGljYXRpb25pbnNpZ2h0cy5DZm5BcHBsaWNhdGlvbi5Mb2dQYXR0ZXJuUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "logPatterns") @pattern_set_name = pattern_set_name Jsii::Type.check_type(@pattern_set_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "patternSetName") end |
Instance Attribute Details
#log_patterns ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::ApplicationInsights::CfnApplication::LogPatternProperty> (readonly)
A list of objects that define the log patterns that belong to LogPatternSet .
1298 1299 1300 |
# File 'application_insights/cfn_application.rb', line 1298 def log_patterns @log_patterns end |
#pattern_set_name ⇒ String (readonly)
The name of the log pattern.
A log pattern name can contain up to 30 characters, and it cannot be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore.
1305 1306 1307 |
# File 'application_insights/cfn_application.rb', line 1305 def pattern_set_name @pattern_set_name end |
Class Method Details
.jsii_properties ⇒ Object
1307 1308 1309 1310 1311 1312 |
# File 'application_insights/cfn_application.rb', line 1307 def self.jsii_properties { :log_patterns => "logPatterns", :pattern_set_name => "patternSetName", } end |
Instance Method Details
#to_jsii ⇒ Object
1314 1315 1316 1317 1318 1319 1320 1321 |
# File 'application_insights/cfn_application.rb', line 1314 def to_jsii result = {} result.merge!({ "logPatterns" => @log_patterns, "patternSetName" => @pattern_set_name, }) result.compact end |