Class: AWSCDK::Apptest::CfnTestCase::M2NonManagedApplicationActionProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
apptest/cfn_test_case.rb

Overview

Specifies the Mainframe Modernization non-managed application action.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(action_type:, resource:) ⇒ M2NonManagedApplicationActionProperty

Returns a new instance of M2NonManagedApplicationActionProperty.

Parameters:

  • action_type (String)

    The action type of the Mainframe Modernization non-managed application action.

  • resource (String)

    The resource of the Mainframe Modernization non-managed application action.



1110
1111
1112
1113
1114
1115
# File 'apptest/cfn_test_case.rb', line 1110

def initialize(action_type:, resource:)
  @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")
end

Instance Attribute Details

#action_typeString (readonly)

The action type of the Mainframe Modernization non-managed application action.



1121
1122
1123
# File 'apptest/cfn_test_case.rb', line 1121

def action_type
  @action_type
end

#resourceString (readonly)

The resource of the Mainframe Modernization non-managed application action.



1126
1127
1128
# File 'apptest/cfn_test_case.rb', line 1126

def resource
  @resource
end

Class Method Details

.jsii_propertiesObject



1128
1129
1130
1131
1132
1133
# File 'apptest/cfn_test_case.rb', line 1128

def self.jsii_properties
  {
    :action_type => "actionType",
    :resource => "resource",
  }
end

Instance Method Details

#to_jsiiObject



1135
1136
1137
1138
1139
1140
1141
1142
# File 'apptest/cfn_test_case.rb', line 1135

def to_jsii
  result = {}
  result.merge!({
    "actionType" => @action_type,
    "resource" => @resource,
  })
  result.compact
end