Interface CfnApp.DataSourceProperty
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- CfnApp.DataSourceProperty.Jsii$Proxy
- Enclosing class:
- CfnApp
@Stability(Stable)
public static interface CfnApp.DataSourceProperty
extends software.amazon.jsii.JsiiSerializable
Example:
 
 // 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();
 - See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApp.DataSourcePropertystatic final classAn implementation forCfnApp.DataSourceProperty
- 
Method SummaryMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getArnThe data source's ARN.- See Also:
 
- 
getDatabaseNameThe database name.- See Also:
 
- 
getTypeThe data source's type,AutoSelectOpsworksMysqlInstance,OpsworksMysqlInstance,RdsDbInstance, orNone.- See Also:
 
- 
builder- Returns:
- a CfnApp.DataSourceProperty.BuilderofCfnApp.DataSourceProperty
 
 
-