Class: AWSCDK::EKS::CfnCluster::LoggingTypeConfigProperty

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type: nil) ⇒ LoggingTypeConfigProperty

Returns a new instance of LoggingTypeConfigProperty.

Parameters:

  • type (String, nil) (defaults to: nil)

    The name of the log type.



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

#typeString? (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_propertiesObject



1378
1379
1380
1381
1382
# File 'eks/cfn_cluster.rb', line 1378

def self.jsii_properties
  {
    :type => "type",
  }
end

Instance Method Details

#to_jsiiObject



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