Class: AWSCDK::Apptest::CfnTestCase::M2ManagedApplicationActionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Apptest::CfnTestCase::M2ManagedApplicationActionProperty
- Defined in:
- apptest/cfn_test_case.rb
Overview
Specifies the Mainframe Modernization managed application action.
Instance Attribute Summary collapse
-
#action_type ⇒ String
readonly
The action type of the Mainframe Modernization managed application action.
-
#properties ⇒ AWSCDK::IResolvable, ...
readonly
The properties of the Mainframe Modernization managed application action.
-
#resource ⇒ String
readonly
The resource of the Mainframe Modernization managed application action.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(action_type:, resource:, properties: nil) ⇒ M2ManagedApplicationActionProperty
constructor
A new instance of M2ManagedApplicationActionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(action_type:, resource:, properties: nil) ⇒ M2ManagedApplicationActionProperty
Returns a new instance of M2ManagedApplicationActionProperty.
1058 1059 1060 1061 1062 1063 1064 1065 |
# File 'apptest/cfn_test_case.rb', line 1058 def initialize(action_type:, resource:, properties: nil) @action_type = action_type Jsii::Type.check_type(@action_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "actionType") @resource = resource Jsii::Type.check_type(@resource, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resource") @properties = properties.is_a?(Hash) ? ::AWSCDK::Apptest::CfnTestCase::M2ManagedActionPropertiesProperty.new(**properties.transform_keys(&:to_sym)) : properties Jsii::Type.check_type(@properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHB0ZXN0LkNmblRlc3RDYXNlLk0yTWFuYWdlZEFjdGlvblByb3BlcnRpZXNQcm9wZXJ0eSJ9XX19")), "properties") unless @properties.nil? end |
Instance Attribute Details
#action_type ⇒ String (readonly)
The action type of the Mainframe Modernization managed application action.
1071 1072 1073 |
# File 'apptest/cfn_test_case.rb', line 1071 def action_type @action_type end |
#properties ⇒ AWSCDK::IResolvable, ... (readonly)
The properties of the Mainframe Modernization managed application action.
1081 1082 1083 |
# File 'apptest/cfn_test_case.rb', line 1081 def properties @properties end |
#resource ⇒ String (readonly)
The resource of the Mainframe Modernization managed application action.
1076 1077 1078 |
# File 'apptest/cfn_test_case.rb', line 1076 def resource @resource end |
Class Method Details
.jsii_properties ⇒ Object
1083 1084 1085 1086 1087 1088 1089 |
# File 'apptest/cfn_test_case.rb', line 1083 def self.jsii_properties { :action_type => "actionType", :resource => "resource", :properties => "properties", } end |
Instance Method Details
#to_jsii ⇒ Object
1091 1092 1093 1094 1095 1096 1097 1098 1099 |
# File 'apptest/cfn_test_case.rb', line 1091 def to_jsii result = {} result.merge!({ "actionType" => @action_type, "resource" => @resource, "properties" => @properties, }) result.compact end |