Class: AWSCDK::FIS::CfnExperimentTemplate::ExperimentTemplateTargetFilterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::FIS::CfnExperimentTemplate::ExperimentTemplateTargetFilterProperty
- Defined in:
- fis/cfn_experiment_template.rb
Overview
Specifies a filter used for the target resource input in an experiment template.
For more information, see Resource filters in the AWS Fault Injection Service User Guide .
Instance Attribute Summary collapse
-
#path ⇒ String
readonly
The attribute path for the filter.
-
#values ⇒ Array<String>
readonly
The attribute values for the filter.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(path:, values:) ⇒ ExperimentTemplateTargetFilterProperty
constructor
A new instance of ExperimentTemplateTargetFilterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(path:, values:) ⇒ ExperimentTemplateTargetFilterProperty
Returns a new instance of ExperimentTemplateTargetFilterProperty.
1057 1058 1059 1060 1061 1062 |
# File 'fis/cfn_experiment_template.rb', line 1057 def initialize(path:, values:) @path = path Jsii::Type.check_type(@path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "path") @values = values Jsii::Type.check_type(@values, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "values") end |
Instance Attribute Details
#path ⇒ String (readonly)
The attribute path for the filter.
1068 1069 1070 |
# File 'fis/cfn_experiment_template.rb', line 1068 def path @path end |
#values ⇒ Array<String> (readonly)
The attribute values for the filter.
1073 1074 1075 |
# File 'fis/cfn_experiment_template.rb', line 1073 def values @values end |
Class Method Details
.jsii_properties ⇒ Object
1075 1076 1077 1078 1079 1080 |
# File 'fis/cfn_experiment_template.rb', line 1075 def self.jsii_properties { :path => "path", :values => "values", } end |
Instance Method Details
#to_jsii ⇒ Object
1082 1083 1084 1085 1086 1087 1088 1089 |
# File 'fis/cfn_experiment_template.rb', line 1082 def to_jsii result = {} result.merge!({ "path" => @path, "values" => @values, }) result.compact end |