AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The data source's ARN.

Returns:

  • (String)


2303
2304
2305
2306
2307
2308
2309
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 2303

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

#database_nameString

The database name.

Returns:

  • (String)


2303
2304
2305
2306
2307
2308
2309
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 2303

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

#typeString

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

Returns:

  • (String)


2303
2304
2305
2306
2307
2308
2309
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 2303

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