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)


2275
2276
2277
2278
2279
2280
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 2275

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

#database_nameString

The database name.

Returns:

  • (String)


2275
2276
2277
2278
2279
2280
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 2275

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

#typeString

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

Returns:

  • (String)


2275
2276
2277
2278
2279
2280
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 2275

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