You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::OpsWorks::Types::DataSource

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

Overview

Note:

When making an API call, you may pass DataSource data as a hash:

{
  type: "String",
  arn: "String",
  database_name: "String",
}

Describes an app's data source.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The data source's ARN.

Returns:

  • (String)


2250
2251
2252
2253
2254
2255
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 2250

class DataSource < Struct.new(
  :type,
  :arn,
  :database_name)
  include Aws::Structure
end

#database_nameString

The database name.

Returns:

  • (String)


2250
2251
2252
2253
2254
2255
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 2250

class DataSource < Struct.new(
  :type,
  :arn,
  :database_name)
  include Aws::Structure
end

#typeString

The data source's type, AutoSelectOpsworksMysqlInstance, OpsworksMysqlInstance, or RdsDbInstance.

Returns:

  • (String)


2250
2251
2252
2253
2254
2255
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 2250

class DataSource < Struct.new(
  :type,
  :arn,
  :database_name)
  include Aws::Structure
end