# AssetManifestOptions

Configuration options for the Asset Manifest.

Used as argument in: [AssetManifestBuilder.emitManifest](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.AssetManifestBuilder.html#emitmanifest)

- Source: [`lib/cloud-assembly/artifact-schema.ts`](https://github.com/aws/aws-cdk-cli/blob/HEAD/packages/@aws-cdk/cloud-assembly-schema/lib/cloud-assembly/artifact-schema.ts)
- Type last changed: v2.45.0 · 6 Oct 2022

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { cloud_assembly_schema } from 'aws-cdk-lib';
const assetManifestOptions: cloud_assembly_schema.AssetManifestOptions = {
  bootstrapStackVersionSsmParameter: 'bootstrapStackVersionSsmParameter',
  requiresBootstrapStackVersion: 123,
};
```

Python:

```python
from aws_cdk.cloud_assembly_schema import AssetManifestOptions
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import cloud_assembly_schema

asset_manifest_options = AssetManifestOptions(
    bootstrap_stack_version_ssm_parameter="bootstrapStackVersionSsmParameter",
    requires_bootstrap_stack_version=123
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cloud_assembly_schema.*;

AssetManifestOptions assetManifestOptions = AssetManifestOptions.builder()
        .bootstrapStackVersionSsmParameter("bootstrapStackVersionSsmParameter")
        .requiresBootstrapStackVersion(123)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Cloud_assembly_schema;

var assetManifestOptions = new AssetManifestOptions {
    BootstrapStackVersionSsmParameter = "bootstrapStackVersionSsmParameter",
    RequiresBootstrapStackVersion = 123
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

assetManifestOptions := &AssetManifestOptions{
	BootstrapStackVersionSsmParameter: jsii.String("bootstrapStackVersionSsmParameter"),
	RequiresBootstrapStackVersion: jsii.Number(123),
}
```

## Properties

- `bootstrapStackVersionSsmParameter`: string — SSM parameter where the bootstrap stack version number can be found.

  **Default:** Bootstrap stack version number looked up

  - If this value is not set, the bootstrap stack name must be known at
    deployment time so the stack version can be looked up from the stack
    outputs.
  - If this value is set, the bootstrap stack can have any name because
    we won't need to look it up.

- `requiresBootstrapStackVersion`: number — Version of bootstrap stack required to deploy this stack.

  **Default:** Version 1 (basic modern bootstrap stack)
