Class: AWSCDK::Elasticache::CfnCacheCluster::CloudWatchLogsDestinationDetailsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Elasticache::CfnCacheCluster::CloudWatchLogsDestinationDetailsProperty
- Defined in:
- elasticache/cfn_cache_cluster.rb
Overview
Configuration details of a CloudWatch Logs destination.
Note that this field is marked as required but only if CloudWatch Logs was chosen as the destination.
Instance Attribute Summary collapse
-
#log_group ⇒ String
readonly
The name of the CloudWatch Logs log group.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(log_group:) ⇒ CloudWatchLogsDestinationDetailsProperty
constructor
A new instance of CloudWatchLogsDestinationDetailsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(log_group:) ⇒ CloudWatchLogsDestinationDetailsProperty
Returns a new instance of CloudWatchLogsDestinationDetailsProperty.
865 866 867 868 |
# File 'elasticache/cfn_cache_cluster.rb', line 865 def initialize(log_group:) @log_group = log_group Jsii::Type.check_type(@log_group, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "logGroup") end |
Instance Attribute Details
#log_group ⇒ String (readonly)
The name of the CloudWatch Logs log group.
874 875 876 |
# File 'elasticache/cfn_cache_cluster.rb', line 874 def log_group @log_group end |
Class Method Details
.jsii_properties ⇒ Object
876 877 878 879 880 |
# File 'elasticache/cfn_cache_cluster.rb', line 876 def self.jsii_properties { :log_group => "logGroup", } end |
Instance Method Details
#to_jsii ⇒ Object
882 883 884 885 886 887 888 |
# File 'elasticache/cfn_cache_cluster.rb', line 882 def to_jsii result = {} result.merge!({ "logGroup" => @log_group, }) result.compact end |