class Manifest
Language | Type name |
---|---|
.NET | Amazon.CDK.CloudAssembly.Schema.Manifest |
Java | software.amazon.awscdk.cloudassembly.schema.Manifest |
Python | aws_cdk.cloud_assembly_schema.Manifest |
TypeScript (source) | @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.
AssemblyManifest(filePath, options?)
static loadpublic 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.
AssetManifest(filePath)
static loadpublic static loadAssetManifest(filePath: string): AssetManifest
Parameters
- filePath
string
— - path to the manifest file.
Returns
Load and validates the asset manifest from file.
IntegManifest(filePath)
static loadpublic 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.
AssemblyManifest(manifest, filePath)
static savepublic 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.
AssetManifest(manifest, filePath)
static savepublic 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.
IntegManifest(manifest, filePath)
static savepublic 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.