Class: AWSCDK::MSK::CfnCluster::S3Property
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MSK::CfnCluster::S3Property
- Defined in:
- msk/cfn_cluster.rb
Overview
The details of the Amazon S3 destination for broker logs.
Instance Attribute Summary collapse
-
#bucket ⇒ String?
readonly
The name of the S3 bucket that is the destination for broker logs.
-
#enabled ⇒ Boolean, AWSCDK::IResolvable
readonly
Specifies whether broker logs get sent to the specified Amazon S3 destination.
-
#prefix ⇒ String?
readonly
The S3 prefix that is the destination for broker logs.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enabled:, bucket: nil, prefix: nil) ⇒ S3Property
constructor
A new instance of S3Property.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enabled:, bucket: nil, prefix: nil) ⇒ S3Property
Returns a new instance of S3Property.
1601 1602 1603 1604 1605 1606 1607 1608 |
# File 'msk/cfn_cluster.rb', line 1601 def initialize(enabled:, bucket: nil, prefix: nil) @enabled = enabled Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled") @bucket = bucket Jsii::Type.check_type(@bucket, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucket") unless @bucket.nil? @prefix = prefix Jsii::Type.check_type(@prefix, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "prefix") unless @prefix.nil? end |
Instance Attribute Details
#bucket ⇒ String? (readonly)
The name of the S3 bucket that is the destination for broker logs.
1619 1620 1621 |
# File 'msk/cfn_cluster.rb', line 1619 def bucket @bucket end |
#enabled ⇒ Boolean, AWSCDK::IResolvable (readonly)
Specifies whether broker logs get sent to the specified Amazon S3 destination.
1614 1615 1616 |
# File 'msk/cfn_cluster.rb', line 1614 def enabled @enabled end |
#prefix ⇒ String? (readonly)
The S3 prefix that is the destination for broker logs.
1624 1625 1626 |
# File 'msk/cfn_cluster.rb', line 1624 def prefix @prefix end |
Class Method Details
.jsii_properties ⇒ Object
1626 1627 1628 1629 1630 1631 1632 |
# File 'msk/cfn_cluster.rb', line 1626 def self.jsii_properties { :enabled => "enabled", :bucket => "bucket", :prefix => "prefix", } end |
Instance Method Details
#to_jsii ⇒ Object
1634 1635 1636 1637 1638 1639 1640 1641 1642 |
# File 'msk/cfn_cluster.rb', line 1634 def to_jsii result = {} result.merge!({ "enabled" => @enabled, "bucket" => @bucket, "prefix" => @prefix, }) result.compact end |