NestedCloudAssemblyArtifact
Asset manifest is a description of a set of assets which need to be built and published.
Initializers
import { NestedCloudAssemblyArtifact } from '@alicloud/ros-cdk-cxapi'
new NestedCloudAssemblyArtifact(assembly: CloudAssembly, name: string, artifact: ArtifactManifest)
| Name | Type | Description |
|---|---|---|
assembly |
CloudAssembly |
No description. |
name |
string |
No description. |
artifact |
@alicloud/ros-cdk-assembly-schema.ArtifactManifest |
No description. |
assemblyRequired
- Type: CloudAssembly
nameRequired
- Type: string
artifactRequired
- Type: @alicloud/ros-cdk-assembly-schema.ArtifactManifest
Methods
| Name | Description |
|---|---|
findMetadataByType |
No description. |
findMetadataByType
public findMetadataByType(type: string): MetadataEntryResult[]
- Type: string
Static Functions
| Name | Description |
|---|---|
fromManifest |
Returns a subclass of CloudArtifact based on the artifact type defined in the artifact manifest. |
fromManifest
import { NestedCloudAssemblyArtifact } from '@alicloud/ros-cdk-cxapi'
NestedCloudAssemblyArtifact.fromManifest(assembly: CloudAssembly, id: string, artifact: ArtifactManifest)
Returns a subclass of CloudArtifact based on the artifact type defined in the artifact manifest.
- Type: CloudAssembly
The cloud assembly from which to load the artifact.
- Type: string
The artifact ID.
- Type: @alicloud/ros-cdk-assembly-schema.ArtifactManifest
The artifact manifest.
Properties
| Name | Type | Description |
|---|---|---|
assembly |
CloudAssembly |
No description. |
id |
string |
No description. |
manifest |
@alicloud/ros-cdk-assembly-schema.ArtifactManifest |
The artifact's manifest. |
messages |
SynthesisMessage[] |
The set of messages extracted from the artifact's metadata. |
dependencies |
CloudArtifact[] |
Returns all the artifacts that this artifact depends on. |
directoryName |
string |
The relative directory name of the asset manifest. |
displayName |
string |
Display name. |
fullPath |
string |
Full path to the nested assembly directory. |
nestedAssembly |
CloudAssembly |
The nested Assembly. |
assemblyRequired
public readonly assembly: CloudAssembly;
- Type: CloudAssembly
idRequired
public readonly id: string;
- Type: string
manifestRequired
public readonly manifest: ArtifactManifest;
- Type: @alicloud/ros-cdk-assembly-schema.ArtifactManifest
The artifact's manifest.
messagesRequired
public readonly messages: SynthesisMessage[];
- Type: SynthesisMessage[]
The set of messages extracted from the artifact's metadata.
dependenciesOptional
public readonly dependencies: CloudArtifact[];
- Type: CloudArtifact[]
Returns all the artifacts that this artifact depends on.
directoryNameRequired
public readonly directoryName: string;
- Type: string
The relative directory name of the asset manifest.
displayNameRequired
public readonly displayName: string;
- Type: string
Display name.
fullPathRequired
public readonly fullPath: string;
- Type: string
Full path to the nested assembly directory.
nestedAssemblyRequired
public readonly nestedAssembly: CloudAssembly;
- Type: CloudAssembly
The nested Assembly.