Class: Aws::AppTest::Types::ResourceType

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-apptest/types.rb

Overview

Note:

ResourceType is a union - when making an API calls you must set exactly one of the members.

Note:

ResourceType is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ResourceType corresponding to the set member.

Specifies the resource type.

Defined Under Namespace

Classes: CloudFormation, M2ManagedApplication, M2NonManagedApplication, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_formationTypes::CloudFormation

The CloudFormation template of the resource type.



2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
# File 'lib/aws-sdk-apptest/types.rb', line 2220

class ResourceType < Struct.new(
  :cloud_formation,
  :m2_managed_application,
  :m2_non_managed_application,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class CloudFormation < ResourceType; end
  class M2ManagedApplication < ResourceType; end
  class M2NonManagedApplication < ResourceType; end
  class Unknown < ResourceType; end
end

#m2_managed_applicationTypes::M2ManagedApplication

The AWS Mainframe Modernization managed application of the resource type.



2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
# File 'lib/aws-sdk-apptest/types.rb', line 2220

class ResourceType < Struct.new(
  :cloud_formation,
  :m2_managed_application,
  :m2_non_managed_application,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class CloudFormation < ResourceType; end
  class M2ManagedApplication < ResourceType; end
  class M2NonManagedApplication < ResourceType; end
  class Unknown < ResourceType; end
end

#m2_non_managed_applicationTypes::M2NonManagedApplication

The AWS Mainframe Modernization non-managed application of the resource type.



2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
# File 'lib/aws-sdk-apptest/types.rb', line 2220

class ResourceType < Struct.new(
  :cloud_formation,
  :m2_managed_application,
  :m2_non_managed_application,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class CloudFormation < ResourceType; end
  class M2ManagedApplication < ResourceType; end
  class M2NonManagedApplication < ResourceType; end
  class Unknown < ResourceType; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



2220
2221
2222
# File 'lib/aws-sdk-apptest/types.rb', line 2220

def unknown
  @unknown
end