interface DataSourceProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.OpsWorks.CfnApp.DataSourceProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsopsworks#CfnApp_DataSourceProperty |
Java | software.amazon.awscdk.services.opsworks.CfnApp.DataSourceProperty |
Python | aws_cdk.aws_opsworks.CfnApp.DataSourceProperty |
TypeScript | aws-cdk-lib » aws_opsworks » CfnApp » DataSourceProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_opsworks as opsworks } from 'aws-cdk-lib';
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
.