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. |
outdirOptional
- Type: *string
The output directory, uses temporary directory if undefined.
propsOptional
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. |
AssetOutdirRequired
func AssetOutdir() *string
- Type: *string
The directory where assets of this Cloud Assembly should be stored.
OutdirRequired
func Outdir() *string
- Type: *string
The root directory of the resulting cloud assembly.