Class: Aws::MainframeModernization::Types::Definition

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mainframemodernization/lib/aws-sdk-mainframemodernization/types.rb

Overview

Note:

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

The application definition for a particular application.

Direct Known Subclasses

Content, S3Location, Unknown

Defined Under Namespace

Classes: Content, S3Location, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#contentString

The content of the application definition. This is a JSON object that contains the resource configuration/definitions that identify an application.

Returns:

  • (String)


920
921
922
923
924
925
926
927
928
929
930
931
# File 'gems/aws-sdk-mainframemodernization/lib/aws-sdk-mainframemodernization/types.rb', line 920

class Definition < Struct.new(
  :content,
  :s3_location,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Content < Definition; end
  class S3Location < Definition; end
  class Unknown < Definition; end
end

#s3_locationString

The S3 bucket that contains the application definition.

Returns:

  • (String)


920
921
922
923
924
925
926
927
928
929
930
931
# File 'gems/aws-sdk-mainframemodernization/lib/aws-sdk-mainframemodernization/types.rb', line 920

class Definition < Struct.new(
  :content,
  :s3_location,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Content < Definition; end
  class S3Location < Definition; end
  class Unknown < Definition; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



920
921
922
# File 'gems/aws-sdk-mainframemodernization/lib/aws-sdk-mainframemodernization/types.rb', line 920

def unknown
  @unknown
end