@aws-cdk_cloud-assembly-schema.AssemblyManifest

interface AssemblyManifest

LanguageType name
.NETAmazon.CDK.CloudAssembly.Schema.AssemblyManifest
Javasoftware.amazon.awscdk.cloudassembly.schema.AssemblyManifest
Pythonaws_cdk.cloud_assembly_schema.AssemblyManifest
TypeScript (source)@aws-cdk/cloud-assembly-schema » AssemblyManifest

Obtainable from Manifest.load(), Manifest.loadAssemblyManifest()

A manifest which describes the cloud assembly.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';
const assemblyManifest: cloud_assembly_schema.AssemblyManifest = {
  version: 'version',

  // the properties below are optional
  artifacts: {
    artifactsKey: {
      type: cloud_assembly_schema.ArtifactType.NONE,

      // the properties below are optional
      dependencies: ['dependencies'],
      displayName: 'displayName',
      environment: 'environment',
      metadata: {
        metadataKey: [{
          type: 'type',

          // the properties below are optional
          data: 'data',
          trace: ['trace'],
        }],
      },
      properties: {
        templateFile: 'templateFile',

        // the properties below are optional
        assumeRoleArn: 'assumeRoleArn',
        assumeRoleExternalId: 'assumeRoleExternalId',
        bootstrapStackVersionSsmParameter: 'bootstrapStackVersionSsmParameter',
        cloudFormationExecutionRoleArn: 'cloudFormationExecutionRoleArn',
        lookupRole: {
          arn: 'arn',

          // the properties below are optional
          assumeRoleExternalId: 'assumeRoleExternalId',
          bootstrapStackVersionSsmParameter: 'bootstrapStackVersionSsmParameter',
          requiresBootstrapStackVersion: 123,
        },
        parameters: {
          parametersKey: 'parameters',
        },
        requiresBootstrapStackVersion: 123,
        stackName: 'stackName',
        stackTemplateAssetObjectUrl: 'stackTemplateAssetObjectUrl',
        tags: {
          tagsKey: 'tags',
        },
        terminationProtection: false,
        validateOnSynth: false,
      },
    },
  },
  missing: [{
    key: 'key',
    props: {
      account: 'account',
      filters: {
        filtersKey: ['filters'],
      },
      region: 'region',

      // the properties below are optional
      lookupRoleArn: 'lookupRoleArn',
      owners: ['owners'],
    },
    provider: cloud_assembly_schema.ContextProvider.AMI_PROVIDER,
  }],
  runtime: {
    libraries: {
      librariesKey: 'libraries',
    },
  },
};

Properties

NameTypeDescription
versionstringProtocol version.
artifacts?{ [string]: ArtifactManifest }The set of artifacts in this assembly.
missing?MissingContext[]Missing context information.
runtime?RuntimeInfoRuntime information.

version

Type: string

Protocol version.


artifacts?

Type: { [string]: ArtifactManifest } (optional, default: no artifacts.)

The set of artifacts in this assembly.


missing?

Type: MissingContext[] (optional, default: no missing context.)

Missing context information.

If this field has values, it means that the cloud assembly is not complete and should not be deployed.


runtime?

Type: RuntimeInfo (optional, default: no info.)

Runtime information.