Class: AWSCDK::FIS::CfnExperimentTemplate::ExperimentReportS3ConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::FIS::CfnExperimentTemplate::ExperimentReportS3ConfigurationProperty
- Defined in:
- fis/cfn_experiment_template.rb
Overview
The S3 destination for the experiment report.
Instance Attribute Summary collapse
-
#bucket_name ⇒ String
readonly
The name of the S3 bucket where the experiment report will be stored.
-
#prefix ⇒ String?
readonly
The prefix of the S3 bucket where the experiment report will be stored.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket_name:, prefix: nil) ⇒ ExperimentReportS3ConfigurationProperty
constructor
A new instance of ExperimentReportS3ConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket_name:, prefix: nil) ⇒ ExperimentReportS3ConfigurationProperty
Returns a new instance of ExperimentReportS3ConfigurationProperty.
731 732 733 734 735 736 |
# File 'fis/cfn_experiment_template.rb', line 731 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 S3 bucket where the experiment report will be stored.
742 743 744 |
# File 'fis/cfn_experiment_template.rb', line 742 def bucket_name @bucket_name end |
#prefix ⇒ String? (readonly)
The prefix of the S3 bucket where the experiment report will be stored.
747 748 749 |
# File 'fis/cfn_experiment_template.rb', line 747 def prefix @prefix end |
Class Method Details
.jsii_properties ⇒ Object
749 750 751 752 753 754 |
# File 'fis/cfn_experiment_template.rb', line 749 def self.jsii_properties { :bucket_name => "bucketName", :prefix => "prefix", } end |
Instance Method Details
#to_jsii ⇒ Object
756 757 758 759 760 761 762 763 |
# File 'fis/cfn_experiment_template.rb', line 756 def to_jsii result = {} result.merge!({ "bucketName" => @bucket_name, "prefix" => @prefix, }) result.compact end |