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)


830
831
832
833
834
835
836
837
838
839
840
841
# File 'gems/aws-sdk-mainframemodernization/lib/aws-sdk-mainframemodernization/types.rb', line 830

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)


830
831
832
833
834
835
836
837
838
839
840
841
# File 'gems/aws-sdk-mainframemodernization/lib/aws-sdk-mainframemodernization/types.rb', line 830

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



830
831
832
# File 'gems/aws-sdk-mainframemodernization/lib/aws-sdk-mainframemodernization/types.rb', line 830

def unknown
  @unknown
end