Class: AWSCDK::FIS::CfnExperimentTemplate::ExperimentReportS3ConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
fis/cfn_experiment_template.rb

Overview

The S3 destination for the experiment report.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket_name:, prefix: nil) ⇒ ExperimentReportS3ConfigurationProperty

Returns a new instance of ExperimentReportS3ConfigurationProperty.

Parameters:

  • bucket_name (String)

    The name of the S3 bucket where the experiment report will be stored.

  • prefix (String, nil) (defaults to: nil)

    The prefix of the S3 bucket where the experiment report will be stored.



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_nameString (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

#prefixString? (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_propertiesObject



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_jsiiObject



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