Class: AWSCDK::Elasticache::CfnReplicationGroup::CloudWatchLogsDestinationDetailsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Elasticache::CfnReplicationGroup::CloudWatchLogsDestinationDetailsProperty
- Defined in:
- elasticache/cfn_replication_group.rb
Overview
The configuration details of the 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.
1166 1167 1168 1169 |
# File 'elasticache/cfn_replication_group.rb', line 1166 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.
1175 1176 1177 |
# File 'elasticache/cfn_replication_group.rb', line 1175 def log_group @log_group end |
Class Method Details
.jsii_properties ⇒ Object
1177 1178 1179 1180 1181 |
# File 'elasticache/cfn_replication_group.rb', line 1177 def self.jsii_properties { :log_group => "logGroup", } end |
Instance Method Details
#to_jsii ⇒ Object
1183 1184 1185 1186 1187 1188 1189 |
# File 'elasticache/cfn_replication_group.rb', line 1183 def to_jsii result = {} result.merge!({ "logGroup" => @log_group, }) result.compact end |