Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

DataSource

DataSource is a property of the AWS::OpsWorks::App resource that specifies a database to associate with an AWS OpsWorks app.

Syntax

JSON

Copy
{ "Arn" : String, "DatabaseName" : String, "Type" : String }

YAML

Copy
Arn: String DatabaseName: String Type: String

Properties

Arn

The ARN of the data source.

Required: No

Type: String

DatabaseName

The name of the database.

Required: No

Type: String

Type

The type of the data source, such as AutoSelectOpsworksMysqlInstance, OpsworksMysqlInstance, or RdsDbInstance. For valid values, see the DataSource type in the AWS OpsWorks Stacks API Reference.

Required: No

Type: String