ArtifactManifest

class aws_cdk.cloud_assembly_schema.ArtifactManifest(*, type, additional_metadata_file=None, dependencies=None, display_name=None, environment=None, metadata=None, properties=None)

Bases: object

A manifest for a single artifact within the cloud assembly.

Parameters:
  • type (ArtifactType) – The type of artifact.

  • additional_metadata_file (Optional[str]) – A file with additional metadata entries. The schema of this file is exactly the same as the type of the metadata field. In other words, that file contains an object mapping construct paths to arrays of metadata entries. Default: - no additional metadata

  • dependencies (Optional[Sequence[str]]) – IDs of artifacts that must be deployed before this artifact. Default: - no dependencies.

  • display_name (Optional[str]) – A string that can be shown to a user to uniquely identify this artifact inside a cloud assembly tree. Is used by the CLI to present a list of stacks to the user in a way that makes sense to them. Even though the property name “display name” doesn’t imply it, this field is used to select stacks as well, so all stacks should have a unique display name. Default: - no display name

  • environment (Optional[str]) – The environment into which this artifact is deployed. Default: - no envrionment.

  • metadata (Optional[Mapping[str, Sequence[Union[MetadataEntry, Dict[str, Any]]]]]) – Associated metadata. Metadata can be stored directly in the assembly manifest, as well as in a separate file (see additionalMetadataFile). It should prefer to be stored in the additional file, as that will reduce the size of the assembly manifest in cases of a lot of metdata (which CDK does emit by default). Default: - no metadata.

  • properties (Union[AwsCloudFormationStackProperties, Dict[str, Any], AssetManifestProperties, TreeArtifactProperties, NestedCloudAssemblyProperties, FeatureFlagReportProperties, None]) – The set of properties for this artifact (depends on type). Default: - no properties.

Attributes

additional_metadata_file

A file with additional metadata entries.

The schema of this file is exactly the same as the type of the metadata field. In other words, that file contains an object mapping construct paths to arrays of metadata entries.

Default:
  • no additional metadata

dependencies

IDs of artifacts that must be deployed before this artifact.

Default:
  • no dependencies.

display_name

A string that can be shown to a user to uniquely identify this artifact inside a cloud assembly tree.

Is used by the CLI to present a list of stacks to the user in a way that makes sense to them. Even though the property name “display name” doesn’t imply it, this field is used to select stacks as well, so all stacks should have a unique display name.

Default:
  • no display name

environment

The environment into which this artifact is deployed.

Default:
  • no envrionment.

metadata

Associated metadata.

Metadata can be stored directly in the assembly manifest, as well as in a separate file (see additionalMetadataFile). It should prefer to be stored in the additional file, as that will reduce the size of the assembly manifest in cases of a lot of metdata (which CDK does emit by default).

Default:
  • no metadata.

properties

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

Default:
  • no properties.

type

The type of artifact.