Class: AWSCDK::IVSChat::CfnLoggingConfiguration::S3DestinationConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ivs_chat/cfn_logging_configuration.rb

Overview

The S3DestinationConfiguration property type specifies an S3 location where chat logs will be stored.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket_name:) ⇒ S3DestinationConfigurationProperty

Returns a new instance of S3DestinationConfigurationProperty.

Parameters:

  • bucket_name (String)

    Name of the Amazon S3 bucket where chat activity will be logged.



689
690
691
692
# File 'ivs_chat/cfn_logging_configuration.rb', line 689

def initialize(bucket_name:)
  @bucket_name = bucket_name
  Jsii::Type.check_type(@bucket_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketName")
end

Instance Attribute Details

#bucket_nameString (readonly)

Name of the Amazon S3 bucket where chat activity will be logged.



698
699
700
# File 'ivs_chat/cfn_logging_configuration.rb', line 698

def bucket_name
  @bucket_name
end

Class Method Details

.jsii_propertiesObject



700
701
702
703
704
# File 'ivs_chat/cfn_logging_configuration.rb', line 700

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

Instance Method Details

#to_jsiiObject



706
707
708
709
710
711
712
# File 'ivs_chat/cfn_logging_configuration.rb', line 706

def to_jsii
  result = {}
  result.merge!({
    "bucketName" => @bucket_name,
  })
  result.compact
end