Class: AWSCDK::FIS::CfnExperimentTemplate::CloudWatchDashboardProperty

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

Overview

The CloudWatch dashboards to include as data sources in the experiment report.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dashboard_identifier:) ⇒ CloudWatchDashboardProperty

Returns a new instance of CloudWatchDashboardProperty.

Parameters:

  • dashboard_identifier (String)

    The Amazon Resource Name (ARN) of the CloudWatch dashboard to include in the experiment report.



631
632
633
634
# File 'fis/cfn_experiment_template.rb', line 631

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

Instance Attribute Details

#dashboard_identifierString (readonly)

The Amazon Resource Name (ARN) of the CloudWatch dashboard to include in the experiment report.



640
641
642
# File 'fis/cfn_experiment_template.rb', line 640

def dashboard_identifier
  @dashboard_identifier
end

Class Method Details

.jsii_propertiesObject



642
643
644
645
646
# File 'fis/cfn_experiment_template.rb', line 642

def self.jsii_properties
  {
    :dashboard_identifier => "dashboardIdentifier",
  }
end

Instance Method Details

#to_jsiiObject



648
649
650
651
652
653
654
# File 'fis/cfn_experiment_template.rb', line 648

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