@@ -19,6 +19,9 @@ export abstract class CloudAssemblySourceBuilder {
19
19
20
20
/**
21
21
* Create a Cloud Assembly from a Cloud Assembly builder function.
22
+ * @param builder the builder function
23
+ * @param props additional configuration properties
24
+ * @returns the CloudAssembly source
22
25
*/
23
26
public async fromAssemblyBuilder (
24
27
builder : AssemblyBuilder ,
@@ -52,9 +55,8 @@ export abstract class CloudAssemblySourceBuilder {
52
55
53
56
/**
54
57
* Creates a Cloud Assembly from an existing assembly directory.
55
- * @param directory the directory of the AWS CDK app. Defaults to the current working directory.
56
- * @param props additional configuration properties
57
- * @returns an instance of `AwsCdkCli`
58
+ * @param directory the directory of a already produced Cloud Assembly.
59
+ * @returns the CloudAssembly source
58
60
*/
59
61
public async fromAssemblyDirectory ( directory : string ) : Promise < ICloudAssemblySource > {
60
62
const services : ToolkitServices = await this . toolkitServices ( ) ;
@@ -78,9 +80,8 @@ export abstract class CloudAssemblySourceBuilder {
78
80
}
79
81
/**
80
82
* Use a directory containing an AWS CDK app as source.
81
- * @param directory the directory of the AWS CDK app. Defaults to the current working directory.
82
83
* @param props additional configuration properties
83
- * @returns an instance of `AwsCdkCli`
84
+ * @returns the CloudAssembly source
84
85
*/
85
86
public async fromCdkApp ( app : string , props : CdkAppSourceProps = { } ) : Promise < ICloudAssemblySource > {
86
87
const services : ToolkitServices = await this . toolkitServices ( ) ;
0 commit comments