Skip to content

ArtifactManifest

A manifest for a single artifact within the cloud assembly.

Initializer

import com.aliyun.ros.cdk.assembly.schema.ArtifactManifest;
ArtifactManifest.builder()
    .type(ArtifactType)
//  .dependencies(java.util.List<java.lang.String>)
//  .metadata(java.util.Map<java.lang.String, java.util.List<MetadataEntry>>)
//  .properties(AliyunRosStackProperties)
//  .properties(TreeArtifactProperties)
//  .properties(NestedCloudAssemblyProperties)
    .build();

Properties

Name Type Description
type ArtifactType The type of artifact.
dependencies java.util.List IDs of artifacts that must be deployed before this artifact.
metadata java.util.Map<java.lang.String, java.util.List<MetadataEntry>> Associated metadata.
properties AliyunRosStackProperties OR TreeArtifactProperties OR NestedCloudAssemblyProperties The set of properties for this artifact (depends on type).

typeRequired

public ArtifactType getType();

The type of artifact.


dependenciesOptional

public java.util.List<java.lang.String> getDependencies();
  • Type: java.util.List
  • Default: no dependencies.

IDs of artifacts that must be deployed before this artifact.


metadataOptional

public java.util.Map<java.lang.String, java.util.List<MetadataEntry>> getMetadata();
  • Type: java.util.Map<java.lang.String, java.util.List<MetadataEntry>>
  • Default: no metadata.

Associated metadata.


propertiesOptional

public java.lang.Object getProperties();

The set of properties for this artifact (depends on type).