Class: AWSCDK::EKS::CfnCluster::LoggingTypeConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EKS::CfnCluster::LoggingTypeConfigProperty
- Defined in:
- eks/cfn_cluster.rb
Overview
The enabled logging type.
For a list of the valid logging types, see the types property of LogSetup in the Amazon EKS API Reference .
Instance Attribute Summary collapse
-
#type ⇒ String?
readonly
The name of the log type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type: nil) ⇒ LoggingTypeConfigProperty
constructor
A new instance of LoggingTypeConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type: nil) ⇒ LoggingTypeConfigProperty
Returns a new instance of LoggingTypeConfigProperty.
1367 1368 1369 1370 |
# File 'eks/cfn_cluster.rb', line 1367 def initialize(type: nil) @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") unless @type.nil? end |
Instance Attribute Details
#type ⇒ String? (readonly)
The name of the log type.
1376 1377 1378 |
# File 'eks/cfn_cluster.rb', line 1376 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
1378 1379 1380 1381 1382 |
# File 'eks/cfn_cluster.rb', line 1378 def self.jsii_properties { :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
1384 1385 1386 1387 1388 1389 1390 |
# File 'eks/cfn_cluster.rb', line 1384 def to_jsii result = {} result.merge!({ "type" => @type, }) result.compact end |