class Manifest
Language | Type name |
---|---|
![]() | Amazon.CDK.CloudAssembly.Schema.Manifest |
![]() | software.amazon.awscdk.cloudassembly.schema.Manifest |
![]() | aws_cdk.cloud_assembly_schema.Manifest |
![]() | @aws-cdk/cloud-assembly-schema » Manifest |
Protocol utility class.
Methods
Name | Description |
---|---|
static load(filePath) | Deprecated. |
static load | Load and validates the cloud assembly manifest from file. |
static load | Load and validates the asset manifest from file. |
static load | Load and validates the integ manifest from file. |
static save(manifest, filePath) | Deprecated. |
static save | Validates and saves the cloud assembly manifest to file. |
static save | Validates and saves the asset manifest to file. |
static save | Validates and saves the integ manifest to file. |
static version() | Fetch the current schema version number. |
static load(filePath)
public static load(filePath: string): AssemblyManifest
⚠️ Deprecated: use loadAssemblyManifest()
Parameters
- filePath
string
Returns
Deprecated.
static loadAssemblyManifest(filePath, options?)
public static loadAssemblyManifest(filePath: string, options?: LoadManifestOptions): AssemblyManifest
Parameters
- filePath
string
— - path to the manifest file. - options
Load
Manifest Options
Returns
Load and validates the cloud assembly manifest from file.
static loadAssetManifest(filePath)
public static loadAssetManifest(filePath: string): AssetManifest
Parameters
- filePath
string
— - path to the manifest file.
Returns
Load and validates the asset manifest from file.
static loadIntegManifest(filePath)
public static loadIntegManifest(filePath: string): IntegManifest
Parameters
- filePath
string
— - path to the manifest file.
Returns
Load and validates the integ manifest from file.
static save(manifest, filePath)
public static save(manifest: AssemblyManifest, filePath: string): void
⚠️ Deprecated: use saveAssemblyManifest()
Parameters
- manifest
Assembly
Manifest - filePath
string
Deprecated.
static saveAssemblyManifest(manifest, filePath)
public static saveAssemblyManifest(manifest: AssemblyManifest, filePath: string): void
Parameters
- manifest
Assembly
— - manifest.Manifest - filePath
string
— - output file path.
Validates and saves the cloud assembly manifest to file.
static saveAssetManifest(manifest, filePath)
public static saveAssetManifest(manifest: AssetManifest, filePath: string): void
Parameters
- manifest
Asset
— - manifest.Manifest - filePath
string
— - output file path.
Validates and saves the asset manifest to file.
static saveIntegManifest(manifest, filePath)
public static saveIntegManifest(manifest: IntegManifest, filePath: string): void
Parameters
- manifest
Integ
— - manifest.Manifest - filePath
string
— - output file path.
Validates and saves the integ manifest to file.
static version()
public static version(): string
Returns
string
Fetch the current schema version number.