DataSourceProperty Struct
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_opsworks as opsworks
data_source_property = opsworks.CfnApp.DataSourceProperty(
arn="arn",
database_name="databaseName",
type="type"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.opsworks.*;
DataSourceProperty dataSourceProperty = DataSourceProperty.builder()
.arn("arn")
.databaseName("databaseName")
.type("type")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.OpsWorks;
var dataSourceProperty = new DataSourceProperty {
Arn = "arn",
DatabaseName = "databaseName",
Type = "type"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
dataSourceProperty := &DataSourceProperty{
Arn: jsii.String("arn"),
DatabaseName: jsii.String("databaseName"),
Type: jsii.String("type"),
}
Properties
The data source's ARN.
databaseNameoptionalstringdatabase_nameoptionalstrdatabaseNameoptionalStringDatabaseNameoptionalstringDatabaseNameoptional*string #The database name.
The data source's type, `AutoSelectOpsworksMysqlInstance` , `OpsworksMysqlInstance` , `RdsDbInstance` , or `None` .