Class: AWSCDK::EKS::CfnCluster::ClusterLoggingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EKS::CfnCluster::ClusterLoggingProperty
- Defined in:
- eks/cfn_cluster.rb
Overview
The cluster control plane logging configuration for your cluster.
When updating a resource, you must include this
ClusterLoggingproperty if the previous CloudFormation template of the resource had it.
Instance Attribute Summary collapse
-
#enabled_types ⇒ AWSCDK::IResolvable, ...
readonly
The enabled control plane logs for your cluster.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enabled_types: nil) ⇒ ClusterLoggingProperty
constructor
A new instance of ClusterLoggingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enabled_types: nil) ⇒ ClusterLoggingProperty
Returns a new instance of ClusterLoggingProperty.
952 953 954 955 |
# File 'eks/cfn_cluster.rb', line 952 def initialize(enabled_types: nil) @enabled_types = enabled_types Jsii::Type.check_type(@enabled_types, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWtzLkNmbkNsdXN0ZXIuTG9nZ2luZ1R5cGVDb25maWdQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "enabledTypes") unless @enabled_types.nil? end |
Instance Attribute Details
#enabled_types ⇒ AWSCDK::IResolvable, ... (readonly)
The enabled control plane logs for your cluster. All log types are disabled if the array is empty.
When updating a resource, you must include this
EnabledTypesproperty if the previous CloudFormation template of the resource had it.
963 964 965 |
# File 'eks/cfn_cluster.rb', line 963 def enabled_types @enabled_types end |
Class Method Details
.jsii_properties ⇒ Object
965 966 967 968 969 |
# File 'eks/cfn_cluster.rb', line 965 def self.jsii_properties { :enabled_types => "enabledTypes", } end |
Instance Method Details
#to_jsii ⇒ Object
971 972 973 974 975 976 977 |
# File 'eks/cfn_cluster.rb', line 971 def to_jsii result = {} result.merge!({ "enabledTypes" => @enabled_types, }) result.compact end |