NestedCloudAssemblyArtifact

class aws_cdk.cx_api.NestedCloudAssemblyArtifact(assembly, name, *, type, dependencies=None, environment=None, metadata=None, properties=None)

Bases: aws_cdk.cx_api.CloudArtifact

(experimental) Asset manifest is a description of a set of assets which need to be built and published.

Stability

experimental

Parameters
Stability

experimental

Methods

find_metadata_by_type(type)
Parameters

type (str) –

Return type

List[MetadataEntryResult]

Returns

all the metadata entries of a specific type in this artifact.

Stability

experimental

Attributes

assembly

experimental

Type

stability

Return type

CloudAssembly

dependencies

(experimental) Returns all the artifacts that this artifact depends on.

Stability

experimental

Return type

List[CloudArtifact]

directory_name

(experimental) The relative directory name of the asset manifest.

Stability

experimental

Return type

str

display_name

(experimental) Display name.

Stability

experimental

Return type

str

full_path

(experimental) Full path to the nested assembly directory.

Stability

experimental

Return type

str

id

experimental

Type

stability

Return type

str

manifest

(experimental) The artifact’s manifest.

Stability

experimental

Return type

ArtifactManifest

messages

(experimental) The set of messages extracted from the artifact’s metadata.

Stability

experimental

Return type

List[SynthesisMessage]

nested_assembly

(experimental) The nested Assembly.

Stability

experimental

Return type

CloudAssembly

Static Methods

classmethod from_manifest(assembly, id, *, type, dependencies=None, environment=None, metadata=None, properties=None)

(experimental) Returns a subclass of CloudArtifact based on the artifact type defined in the artifact manifest.

Parameters
  • assembly (CloudAssembly) – The cloud assembly from which to load the artifact.

  • id (str) – The artifact ID.

  • type (ArtifactType) – The type of artifact.

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

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

  • metadata (Optional[Mapping[str, List[MetadataEntry]]]) – Associated metadata. Default: - no metadata.

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

Return type

Optional[CloudArtifact]

Returns

the CloudArtifact that matches the artifact type or undefined if it’s an artifact type that is unrecognized by this module.

Stability

experimental