interface DataSourceProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.OpsWorks.CfnApp.DataSourceProperty |
![]() | software.amazon.awscdk.services.opsworks.CfnApp.DataSourceProperty |
![]() | aws_cdk.aws_opsworks.CfnApp.DataSourceProperty |
![]() | @aws-cdk/aws-opsworks » CfnApp » DataSourceProperty |
Describes an app's data source.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as opsworks from '@aws-cdk/aws-opsworks';
const dataSourceProperty: opsworks.CfnApp.DataSourceProperty = {
arn: 'arn',
databaseName: 'databaseName',
type: 'type',
};
Properties
Name | Type | Description |
---|---|---|
arn? | string | The data source's ARN. |
database | string | The database name. |
type? | string | The data source's type, AutoSelectOpsworksMysqlInstance , OpsworksMysqlInstance , RdsDbInstance , or None . |
arn?
Type:
string
(optional)
The data source's ARN.
databaseName?
Type:
string
(optional)
The database name.
type?
Type:
string
(optional)
The data source's type, AutoSelectOpsworksMysqlInstance
, OpsworksMysqlInstance
, RdsDbInstance
, or None
.