CloudAssemblyBuilder
Can be used to build a cloud assembly.
Initializers
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcxapi"
alicloudroscdkcxapi.NewCloudAssemblyBuilder(outdir *string, props CloudAssemblyBuilderProps) CloudAssemblyBuilder
Name | Type | Description |
---|---|---|
outdir |
*string |
The output directory, uses temporary directory if undefined. |
props |
CloudAssemblyBuilderProps |
No description. |
outdir
Optional
- Type: *string
The output directory, uses temporary directory if undefined.
props
Optional
Methods
Name | Description |
---|---|
AddArtifact |
Adds an artifact into the cloud assembly. |
AddMissing |
Reports that some context is missing in order for this cloud assembly to be fully synthesized. |
BuildAssembly |
Finalizes the cloud assembly into the output directory returns a 'CloudAssembly' object that can be used to inspect the assembly. |
CreateNestedAssembly |
Creates a nested cloud assembly. |
AddArtifact
func AddArtifact(id *string, manifest ArtifactManifest)
Adds an artifact into the cloud assembly.
- Type: *string
The ID of the artifact.
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkassemblyschema.ArtifactManifest
The artifact manifest.
AddMissing
func AddMissing(missing MissingContext)
Reports that some context is missing in order for this cloud assembly to be fully synthesized.
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkassemblyschema.MissingContext
Missing context information.
BuildAssembly
func BuildAssembly(options AssemblyBuildOptions) CloudAssembly
Finalizes the cloud assembly into the output directory returns a 'CloudAssembly' object that can be used to inspect the assembly.
- Type: AssemblyBuildOptions
CreateNestedAssembly
func CreateNestedAssembly(artifactId *string, displayName *string) CloudAssemblyBuilder
Creates a nested cloud assembly.
- Type: *string
- Type: *string
Properties
Name | Type | Description |
---|---|---|
AssetOutdir |
*string |
The directory where assets of this Cloud Assembly should be stored. |
Outdir |
*string |
The root directory of the resulting cloud assembly. |
AssetOutdir
Required
func AssetOutdir() *string
- Type: *string
The directory where assets of this Cloud Assembly should be stored.
Outdir
Required
func Outdir() *string
- Type: *string
The root directory of the resulting cloud assembly.