Class: AWSCDK::Evidently::CfnProject::S3DestinationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Evidently::CfnProject::S3DestinationProperty
- Defined in:
- evidently/cfn_project.rb
Overview
If the project stores evaluation events in an Amazon S3 bucket, this structure stores the bucket name and bucket prefix.
Instance Attribute Summary collapse
-
#bucket_name ⇒ String
readonly
The name of the bucket in which Evidently stores evaluation events.
-
#prefix ⇒ String?
readonly
The bucket prefix in which Evidently stores evaluation events.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket_name:, prefix: nil) ⇒ S3DestinationProperty
constructor
A new instance of S3DestinationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket_name:, prefix: nil) ⇒ S3DestinationProperty
Returns a new instance of S3DestinationProperty.
662 663 664 665 666 667 |
# File 'evidently/cfn_project.rb', line 662 def initialize(bucket_name:, prefix: nil) @bucket_name = bucket_name Jsii::Type.check_type(@bucket_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketName") @prefix = prefix Jsii::Type.check_type(@prefix, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "prefix") unless @prefix.nil? end |
Instance Attribute Details
#bucket_name ⇒ String (readonly)
The name of the bucket in which Evidently stores evaluation events.
673 674 675 |
# File 'evidently/cfn_project.rb', line 673 def bucket_name @bucket_name end |
#prefix ⇒ String? (readonly)
The bucket prefix in which Evidently stores evaluation events.
678 679 680 |
# File 'evidently/cfn_project.rb', line 678 def prefix @prefix end |
Class Method Details
.jsii_properties ⇒ Object
680 681 682 683 684 685 |
# File 'evidently/cfn_project.rb', line 680 def self.jsii_properties { :bucket_name => "bucketName", :prefix => "prefix", } end |
Instance Method Details
#to_jsii ⇒ Object
687 688 689 690 691 692 693 694 |
# File 'evidently/cfn_project.rb', line 687 def to_jsii result = {} result.merge!({ "bucketName" => @bucket_name, "prefix" => @prefix, }) result.compact end |