# API Reference <a name="API Reference" id="api-reference"></a>

## Constructs <a name="Constructs" id="Constructs"></a>

### ContainerImageBuild <a name="ContainerImageBuild" id="@cdklabs/deploy-time-build.ContainerImageBuild"></a>

- *Implements:* aws-cdk-lib.aws_iam.IGrantable

Build a container image and push it to an ECR repository on deploy-time.

#### Initializers <a name="Initializers" id="@cdklabs/deploy-time-build.ContainerImageBuild.Initializer"></a>

```typescript
import { ContainerImageBuild } from '@cdklabs/deploy-time-build'

new ContainerImageBuild(scope: Construct, id: string, props: ContainerImageBuildProps)
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuild.Initializer.parameter.scope">scope</a></code> | <code>constructs.Construct</code> | *No description.* |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuild.Initializer.parameter.id">id</a></code> | <code>string</code> | *No description.* |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuild.Initializer.parameter.props">props</a></code> | <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps">ContainerImageBuildProps</a></code> | *No description.* |

---

##### `scope`<sup>Required</sup> <a name="scope" id="@cdklabs/deploy-time-build.ContainerImageBuild.Initializer.parameter.scope"></a>

- *Type:* constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="@cdklabs/deploy-time-build.ContainerImageBuild.Initializer.parameter.id"></a>

- *Type:* string

---

##### `props`<sup>Required</sup> <a name="props" id="@cdklabs/deploy-time-build.ContainerImageBuild.Initializer.parameter.props"></a>

- *Type:* <a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps">ContainerImageBuildProps</a>

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuild.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuild.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuild.toEcsDockerImageCode">toEcsDockerImageCode</a></code> | Get the instance of {@link ContainerImage} for an ECS task definition. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuild.toLambdaDockerImageCode">toLambdaDockerImageCode</a></code> | Get the instance of {@link DockerImageCode} for a Lambda function image. |

---

##### `toString` <a name="toString" id="@cdklabs/deploy-time-build.ContainerImageBuild.toString"></a>

```typescript
public toString(): string
```

Returns a string representation of this construct.

##### `with` <a name="with" id="@cdklabs/deploy-time-build.ContainerImageBuild.with"></a>

```typescript
public with(mixins: ...IMixin[]): IConstruct
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="@cdklabs/deploy-time-build.ContainerImageBuild.with.parameter.mixins"></a>

- *Type:* ...constructs.IMixin[]

The mixins to apply.

---

##### `toEcsDockerImageCode` <a name="toEcsDockerImageCode" id="@cdklabs/deploy-time-build.ContainerImageBuild.toEcsDockerImageCode"></a>

```typescript
public toEcsDockerImageCode(): EcrImage
```

Get the instance of {@link ContainerImage} for an ECS task definition.

##### `toLambdaDockerImageCode` <a name="toLambdaDockerImageCode" id="@cdklabs/deploy-time-build.ContainerImageBuild.toLambdaDockerImageCode"></a>

```typescript
public toLambdaDockerImageCode(options?: LambdaDockerImageOptions): DockerImageCode
```

Get the instance of {@link DockerImageCode} for a Lambda function image.

###### `options`<sup>Optional</sup> <a name="options" id="@cdklabs/deploy-time-build.ContainerImageBuild.toLambdaDockerImageCode.parameter.options"></a>

- *Type:* <a href="#@cdklabs/deploy-time-build.LambdaDockerImageOptions">LambdaDockerImageOptions</a>

Optional configuration for Docker image code.

---

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuild.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |

---

##### `isConstruct` <a name="isConstruct" id="@cdklabs/deploy-time-build.ContainerImageBuild.isConstruct"></a>

```typescript
import { ContainerImageBuild } from '@cdklabs/deploy-time-build'

ContainerImageBuild.isConstruct(x: any)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="@cdklabs/deploy-time-build.ContainerImageBuild.isConstruct.parameter.x"></a>

- *Type:* any

Any object.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuild.property.node">node</a></code> | <code>constructs.Node</code> | The tree node. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuild.property.grantPrincipal">grantPrincipal</a></code> | <code>aws-cdk-lib.aws_iam.IPrincipal</code> | The principal to grant permissions to. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuild.property.imageTag">imageTag</a></code> | <code>string</code> | *No description.* |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuild.property.imageUri">imageUri</a></code> | <code>string</code> | *No description.* |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuild.property.repository">repository</a></code> | <code>aws-cdk-lib.aws_ecr.IRepository</code> | *No description.* |

---

##### `node`<sup>Required</sup> <a name="node" id="@cdklabs/deploy-time-build.ContainerImageBuild.property.node"></a>

```typescript
public readonly node: Node;
```

- *Type:* constructs.Node

The tree node.

---

##### `grantPrincipal`<sup>Required</sup> <a name="grantPrincipal" id="@cdklabs/deploy-time-build.ContainerImageBuild.property.grantPrincipal"></a>

```typescript
public readonly grantPrincipal: IPrincipal;
```

- *Type:* aws-cdk-lib.aws_iam.IPrincipal

The principal to grant permissions to.

---

##### `imageTag`<sup>Required</sup> <a name="imageTag" id="@cdklabs/deploy-time-build.ContainerImageBuild.property.imageTag"></a>

```typescript
public readonly imageTag: string;
```

- *Type:* string

---

##### `imageUri`<sup>Required</sup> <a name="imageUri" id="@cdklabs/deploy-time-build.ContainerImageBuild.property.imageUri"></a>

```typescript
public readonly imageUri: string;
```

- *Type:* string

---

##### `repository`<sup>Required</sup> <a name="repository" id="@cdklabs/deploy-time-build.ContainerImageBuild.property.repository"></a>

```typescript
public readonly repository: IRepository;
```

- *Type:* aws-cdk-lib.aws_ecr.IRepository

---


### NodejsBuild <a name="NodejsBuild" id="@cdklabs/deploy-time-build.NodejsBuild"></a>

- *Implements:* aws-cdk-lib.aws_iam.IGrantable

Build Node.js app and optionally publish the artifact to an S3 bucket.

#### Initializers <a name="Initializers" id="@cdklabs/deploy-time-build.NodejsBuild.Initializer"></a>

```typescript
import { NodejsBuild } from '@cdklabs/deploy-time-build'

new NodejsBuild(scope: Construct, id: string, props: NodejsBuildProps)
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.NodejsBuild.Initializer.parameter.scope">scope</a></code> | <code>constructs.Construct</code> | *No description.* |
| <code><a href="#@cdklabs/deploy-time-build.NodejsBuild.Initializer.parameter.id">id</a></code> | <code>string</code> | *No description.* |
| <code><a href="#@cdklabs/deploy-time-build.NodejsBuild.Initializer.parameter.props">props</a></code> | <code><a href="#@cdklabs/deploy-time-build.NodejsBuildProps">NodejsBuildProps</a></code> | *No description.* |

---

##### `scope`<sup>Required</sup> <a name="scope" id="@cdklabs/deploy-time-build.NodejsBuild.Initializer.parameter.scope"></a>

- *Type:* constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="@cdklabs/deploy-time-build.NodejsBuild.Initializer.parameter.id"></a>

- *Type:* string

---

##### `props`<sup>Required</sup> <a name="props" id="@cdklabs/deploy-time-build.NodejsBuild.Initializer.parameter.props"></a>

- *Type:* <a href="#@cdklabs/deploy-time-build.NodejsBuildProps">NodejsBuildProps</a>

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.NodejsBuild.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#@cdklabs/deploy-time-build.NodejsBuild.with">with</a></code> | Applies one or more mixins to this construct. |

---

##### `toString` <a name="toString" id="@cdklabs/deploy-time-build.NodejsBuild.toString"></a>

```typescript
public toString(): string
```

Returns a string representation of this construct.

##### `with` <a name="with" id="@cdklabs/deploy-time-build.NodejsBuild.with"></a>

```typescript
public with(mixins: ...IMixin[]): IConstruct
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="@cdklabs/deploy-time-build.NodejsBuild.with.parameter.mixins"></a>

- *Type:* ...constructs.IMixin[]

The mixins to apply.

---

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.NodejsBuild.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |

---

##### `isConstruct` <a name="isConstruct" id="@cdklabs/deploy-time-build.NodejsBuild.isConstruct"></a>

```typescript
import { NodejsBuild } from '@cdklabs/deploy-time-build'

NodejsBuild.isConstruct(x: any)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="@cdklabs/deploy-time-build.NodejsBuild.isConstruct.parameter.x"></a>

- *Type:* any

Any object.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.NodejsBuild.property.node">node</a></code> | <code>constructs.Node</code> | The tree node. |
| <code><a href="#@cdklabs/deploy-time-build.NodejsBuild.property.grantPrincipal">grantPrincipal</a></code> | <code>aws-cdk-lib.aws_iam.IPrincipal</code> | The principal to grant permissions to. |

---

##### `node`<sup>Required</sup> <a name="node" id="@cdklabs/deploy-time-build.NodejsBuild.property.node"></a>

```typescript
public readonly node: Node;
```

- *Type:* constructs.Node

The tree node.

---

##### `grantPrincipal`<sup>Required</sup> <a name="grantPrincipal" id="@cdklabs/deploy-time-build.NodejsBuild.property.grantPrincipal"></a>

```typescript
public readonly grantPrincipal: IPrincipal;
```

- *Type:* aws-cdk-lib.aws_iam.IPrincipal

The principal to grant permissions to.

---


### SociIndexBuild <a name="SociIndexBuild" id="@cdklabs/deploy-time-build.SociIndexBuild"></a>

Build and publish a SOCI index for a container image.

A SOCI index helps start Fargate tasks faster in some cases.
Please read the following document for more details: https://docs.aws.amazon.com/AmazonECS/latest/userguide/container-considerations.html

#### Initializers <a name="Initializers" id="@cdklabs/deploy-time-build.SociIndexBuild.Initializer"></a>

```typescript
import { SociIndexBuild } from '@cdklabs/deploy-time-build'

new SociIndexBuild(scope: Construct, id: string, props: SociIndexBuildProps)
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexBuild.Initializer.parameter.scope">scope</a></code> | <code>constructs.Construct</code> | *No description.* |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexBuild.Initializer.parameter.id">id</a></code> | <code>string</code> | *No description.* |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexBuild.Initializer.parameter.props">props</a></code> | <code><a href="#@cdklabs/deploy-time-build.SociIndexBuildProps">SociIndexBuildProps</a></code> | *No description.* |

---

##### `scope`<sup>Required</sup> <a name="scope" id="@cdklabs/deploy-time-build.SociIndexBuild.Initializer.parameter.scope"></a>

- *Type:* constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="@cdklabs/deploy-time-build.SociIndexBuild.Initializer.parameter.id"></a>

- *Type:* string

---

##### `props`<sup>Required</sup> <a name="props" id="@cdklabs/deploy-time-build.SociIndexBuild.Initializer.parameter.props"></a>

- *Type:* <a href="#@cdklabs/deploy-time-build.SociIndexBuildProps">SociIndexBuildProps</a>

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexBuild.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexBuild.with">with</a></code> | Applies one or more mixins to this construct. |

---

##### ~~`toString`~~ <a name="toString" id="@cdklabs/deploy-time-build.SociIndexBuild.toString"></a>

```typescript
public toString(): string
```

Returns a string representation of this construct.

##### ~~`with`~~ <a name="with" id="@cdklabs/deploy-time-build.SociIndexBuild.with"></a>

```typescript
public with(mixins: ...IMixin[]): IConstruct
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="@cdklabs/deploy-time-build.SociIndexBuild.with.parameter.mixins"></a>

- *Type:* ...constructs.IMixin[]

The mixins to apply.

---

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexBuild.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexBuild.fromDockerImageAsset">fromDockerImageAsset</a></code> | A utility method to create a SociIndexBuild construct from a DockerImageAsset instance. |

---

##### ~~`isConstruct`~~ <a name="isConstruct" id="@cdklabs/deploy-time-build.SociIndexBuild.isConstruct"></a>

```typescript
import { SociIndexBuild } from '@cdklabs/deploy-time-build'

SociIndexBuild.isConstruct(x: any)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="@cdklabs/deploy-time-build.SociIndexBuild.isConstruct.parameter.x"></a>

- *Type:* any

Any object.

---

##### ~~`fromDockerImageAsset`~~ <a name="fromDockerImageAsset" id="@cdklabs/deploy-time-build.SociIndexBuild.fromDockerImageAsset"></a>

```typescript
import { SociIndexBuild } from '@cdklabs/deploy-time-build'

SociIndexBuild.fromDockerImageAsset(scope: Construct, id: string, imageAsset: DockerImageAsset)
```

A utility method to create a SociIndexBuild construct from a DockerImageAsset instance.

###### `scope`<sup>Required</sup> <a name="scope" id="@cdklabs/deploy-time-build.SociIndexBuild.fromDockerImageAsset.parameter.scope"></a>

- *Type:* constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="@cdklabs/deploy-time-build.SociIndexBuild.fromDockerImageAsset.parameter.id"></a>

- *Type:* string

---

###### `imageAsset`<sup>Required</sup> <a name="imageAsset" id="@cdklabs/deploy-time-build.SociIndexBuild.fromDockerImageAsset.parameter.imageAsset"></a>

- *Type:* aws-cdk-lib.aws_ecr_assets.DockerImageAsset

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexBuild.property.node">node</a></code> | <code>constructs.Node</code> | The tree node. |

---

##### ~~`node`~~<sup>Required</sup> <a name="node" id="@cdklabs/deploy-time-build.SociIndexBuild.property.node"></a>

- *Deprecated:* Use {@link SociIndexV2Build } instead. Customers new to SOCI on AWS Fargate can only use SOCI index manifest v2.
See [this article](https://aws.amazon.com/blogs/containers/improving-amazon-ecs-deployment-consistency-with-soci-index-manifest-v2/) for more details.

```typescript
public readonly node: Node;
```

- *Type:* constructs.Node

The tree node.

---


### SociIndexV2Build <a name="SociIndexV2Build" id="@cdklabs/deploy-time-build.SociIndexV2Build"></a>

Build and publish a SOCI index for a container image.

A SOCI index helps start Fargate tasks faster in some cases.
Please read the following document for more details: https://docs.aws.amazon.com/AmazonECS/latest/userguide/container-considerations.html

#### Initializers <a name="Initializers" id="@cdklabs/deploy-time-build.SociIndexV2Build.Initializer"></a>

```typescript
import { SociIndexV2Build } from '@cdklabs/deploy-time-build'

new SociIndexV2Build(scope: Construct, id: string, props: SociIndexV2BuildProps)
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexV2Build.Initializer.parameter.scope">scope</a></code> | <code>constructs.Construct</code> | *No description.* |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexV2Build.Initializer.parameter.id">id</a></code> | <code>string</code> | *No description.* |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexV2Build.Initializer.parameter.props">props</a></code> | <code><a href="#@cdklabs/deploy-time-build.SociIndexV2BuildProps">SociIndexV2BuildProps</a></code> | *No description.* |

---

##### `scope`<sup>Required</sup> <a name="scope" id="@cdklabs/deploy-time-build.SociIndexV2Build.Initializer.parameter.scope"></a>

- *Type:* constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="@cdklabs/deploy-time-build.SociIndexV2Build.Initializer.parameter.id"></a>

- *Type:* string

---

##### `props`<sup>Required</sup> <a name="props" id="@cdklabs/deploy-time-build.SociIndexV2Build.Initializer.parameter.props"></a>

- *Type:* <a href="#@cdklabs/deploy-time-build.SociIndexV2BuildProps">SociIndexV2BuildProps</a>

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexV2Build.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexV2Build.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexV2Build.toEcsDockerImageCode">toEcsDockerImageCode</a></code> | Get the instance of image embedded with SOCI v2 index for an ECS task definition. |

---

##### `toString` <a name="toString" id="@cdklabs/deploy-time-build.SociIndexV2Build.toString"></a>

```typescript
public toString(): string
```

Returns a string representation of this construct.

##### `with` <a name="with" id="@cdklabs/deploy-time-build.SociIndexV2Build.with"></a>

```typescript
public with(mixins: ...IMixin[]): IConstruct
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="@cdklabs/deploy-time-build.SociIndexV2Build.with.parameter.mixins"></a>

- *Type:* ...constructs.IMixin[]

The mixins to apply.

---

##### `toEcsDockerImageCode` <a name="toEcsDockerImageCode" id="@cdklabs/deploy-time-build.SociIndexV2Build.toEcsDockerImageCode"></a>

```typescript
public toEcsDockerImageCode(): EcrImage
```

Get the instance of image embedded with SOCI v2 index for an ECS task definition.

When using this image returned from this function, your deployment waits until
the index build complete and then start deploying after the image with index ready.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexV2Build.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexV2Build.fromDockerImageAsset">fromDockerImageAsset</a></code> | A utility method to create a SociIndexBuild construct from a DockerImageAsset instance. |

---

##### `isConstruct` <a name="isConstruct" id="@cdklabs/deploy-time-build.SociIndexV2Build.isConstruct"></a>

```typescript
import { SociIndexV2Build } from '@cdklabs/deploy-time-build'

SociIndexV2Build.isConstruct(x: any)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="@cdklabs/deploy-time-build.SociIndexV2Build.isConstruct.parameter.x"></a>

- *Type:* any

Any object.

---

##### `fromDockerImageAsset` <a name="fromDockerImageAsset" id="@cdklabs/deploy-time-build.SociIndexV2Build.fromDockerImageAsset"></a>

```typescript
import { SociIndexV2Build } from '@cdklabs/deploy-time-build'

SociIndexV2Build.fromDockerImageAsset(scope: Construct, id: string, imageAsset: DockerImageAsset)
```

A utility method to create a SociIndexBuild construct from a DockerImageAsset instance.

###### `scope`<sup>Required</sup> <a name="scope" id="@cdklabs/deploy-time-build.SociIndexV2Build.fromDockerImageAsset.parameter.scope"></a>

- *Type:* constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="@cdklabs/deploy-time-build.SociIndexV2Build.fromDockerImageAsset.parameter.id"></a>

- *Type:* string

---

###### `imageAsset`<sup>Required</sup> <a name="imageAsset" id="@cdklabs/deploy-time-build.SociIndexV2Build.fromDockerImageAsset.parameter.imageAsset"></a>

- *Type:* aws-cdk-lib.aws_ecr_assets.DockerImageAsset

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexV2Build.property.node">node</a></code> | <code>constructs.Node</code> | The tree node. |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexV2Build.property.outputImageTag">outputImageTag</a></code> | <code>string</code> | *No description.* |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexV2Build.property.repository">repository</a></code> | <code>aws-cdk-lib.aws_ecr.IRepository</code> | *No description.* |

---

##### `node`<sup>Required</sup> <a name="node" id="@cdklabs/deploy-time-build.SociIndexV2Build.property.node"></a>

```typescript
public readonly node: Node;
```

- *Type:* constructs.Node

The tree node.

---

##### `outputImageTag`<sup>Required</sup> <a name="outputImageTag" id="@cdklabs/deploy-time-build.SociIndexV2Build.property.outputImageTag"></a>

```typescript
public readonly outputImageTag: string;
```

- *Type:* string

---

##### `repository`<sup>Required</sup> <a name="repository" id="@cdklabs/deploy-time-build.SociIndexV2Build.property.repository"></a>

```typescript
public readonly repository: IRepository;
```

- *Type:* aws-cdk-lib.aws_ecr.IRepository

---


## Structs <a name="Structs" id="Structs"></a>

### AssetConfig <a name="AssetConfig" id="@cdklabs/deploy-time-build.AssetConfig"></a>

#### Initializer <a name="Initializer" id="@cdklabs/deploy-time-build.AssetConfig.Initializer"></a>

```typescript
import { AssetConfig } from '@cdklabs/deploy-time-build'

const assetConfig: AssetConfig = { ... }
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.AssetConfig.property.assetHash">assetHash</a></code> | <code>string</code> | Specify a custom hash for this asset. |
| <code><a href="#@cdklabs/deploy-time-build.AssetConfig.property.assetHashType">assetHashType</a></code> | <code>aws-cdk-lib.AssetHashType</code> | Specifies the type of hash to calculate for this asset. |
| <code><a href="#@cdklabs/deploy-time-build.AssetConfig.property.bundling">bundling</a></code> | <code>aws-cdk-lib.BundlingOptions</code> | Bundle the asset by executing a command in a Docker container or a custom bundling provider. |
| <code><a href="#@cdklabs/deploy-time-build.AssetConfig.property.exclude">exclude</a></code> | <code>string[]</code> | File paths matching the patterns will be excluded. |
| <code><a href="#@cdklabs/deploy-time-build.AssetConfig.property.followSymlinks">followSymlinks</a></code> | <code>aws-cdk-lib.SymlinkFollowMode</code> | A strategy for how to handle symlinks. |
| <code><a href="#@cdklabs/deploy-time-build.AssetConfig.property.ignoreMode">ignoreMode</a></code> | <code>aws-cdk-lib.IgnoreMode</code> | The ignore behavior to use for `exclude` patterns. |
| <code><a href="#@cdklabs/deploy-time-build.AssetConfig.property.deployTime">deployTime</a></code> | <code>boolean</code> | Whether or not the asset needs to exist beyond deployment time; |
| <code><a href="#@cdklabs/deploy-time-build.AssetConfig.property.displayName">displayName</a></code> | <code>string</code> | A display name for this asset. |
| <code><a href="#@cdklabs/deploy-time-build.AssetConfig.property.readers">readers</a></code> | <code>aws-cdk-lib.aws_iam.IGrantable[]</code> | A list of principals that should be able to read this asset from S3. |
| <code><a href="#@cdklabs/deploy-time-build.AssetConfig.property.sourceKMSKey">sourceKMSKey</a></code> | <code>aws-cdk-lib.interfaces.aws_kms.IKeyRef</code> | The ARN of the KMS key used to encrypt the handler code. |
| <code><a href="#@cdklabs/deploy-time-build.AssetConfig.property.path">path</a></code> | <code>string</code> | The disk location of the asset. |
| <code><a href="#@cdklabs/deploy-time-build.AssetConfig.property.commands">commands</a></code> | <code>string[]</code> | Shell commands executed right after the asset zip is extracted to the build environment. |
| <code><a href="#@cdklabs/deploy-time-build.AssetConfig.property.extractPath">extractPath</a></code> | <code>string</code> | Relative path from a build directory to the directory where the asset is extracted. |

---

##### `assetHash`<sup>Optional</sup> <a name="assetHash" id="@cdklabs/deploy-time-build.AssetConfig.property.assetHash"></a>

```typescript
public readonly assetHash: string;
```

- *Type:* string
- *Default:* based on `assetHashType`

Specify a custom hash for this asset.

If `assetHashType` is set it must
be set to `AssetHashType.CUSTOM`. For consistency, this custom hash will
be SHA256 hashed and encoded as hex. The resulting hash will be the asset
hash.

NOTE: the hash is used in order to identify a specific revision of the asset, and
used for optimizing and caching deployment activities related to this asset such as
packaging, uploading to Amazon S3, etc. If you chose to customize the hash, you will
need to make sure it is updated every time the asset changes, or otherwise it is
possible that some deployments will not be invalidated.

---

##### `assetHashType`<sup>Optional</sup> <a name="assetHashType" id="@cdklabs/deploy-time-build.AssetConfig.property.assetHashType"></a>

```typescript
public readonly assetHashType: AssetHashType;
```

- *Type:* aws-cdk-lib.AssetHashType
- *Default:* the default is `AssetHashType.SOURCE`, but if `assetHash` is explicitly specified this value defaults to `AssetHashType.CUSTOM`.

Specifies the type of hash to calculate for this asset.

If `assetHash` is configured, this option must be `undefined` or
`AssetHashType.CUSTOM`.

---

##### `bundling`<sup>Optional</sup> <a name="bundling" id="@cdklabs/deploy-time-build.AssetConfig.property.bundling"></a>

```typescript
public readonly bundling: BundlingOptions;
```

- *Type:* aws-cdk-lib.BundlingOptions
- *Default:* uploaded as-is to S3 if the asset is a regular file or a .zip file, archived into a .zip file and uploaded to S3 otherwise

Bundle the asset by executing a command in a Docker container or a custom bundling provider.

The asset path will be mounted at `/asset-input`. The Docker
container is responsible for putting content at `/asset-output`.
The content at `/asset-output` will be zipped and used as the
final asset.

---

##### `exclude`<sup>Optional</sup> <a name="exclude" id="@cdklabs/deploy-time-build.AssetConfig.property.exclude"></a>

```typescript
public readonly exclude: string[];
```

- *Type:* string[]
- *Default:* nothing is excluded

File paths matching the patterns will be excluded.

See `ignoreMode` to set the matching behavior.
Has no effect on Assets bundled using the `bundling` property.

---

##### `followSymlinks`<sup>Optional</sup> <a name="followSymlinks" id="@cdklabs/deploy-time-build.AssetConfig.property.followSymlinks"></a>

```typescript
public readonly followSymlinks: SymlinkFollowMode;
```

- *Type:* aws-cdk-lib.SymlinkFollowMode
- *Default:* SymlinkFollowMode.NEVER

A strategy for how to handle symlinks.

---

##### `ignoreMode`<sup>Optional</sup> <a name="ignoreMode" id="@cdklabs/deploy-time-build.AssetConfig.property.ignoreMode"></a>

```typescript
public readonly ignoreMode: IgnoreMode;
```

- *Type:* aws-cdk-lib.IgnoreMode
- *Default:* IgnoreMode.GLOB

The ignore behavior to use for `exclude` patterns.

---

##### `deployTime`<sup>Optional</sup> <a name="deployTime" id="@cdklabs/deploy-time-build.AssetConfig.property.deployTime"></a>

```typescript
public readonly deployTime: boolean;
```

- *Type:* boolean
- *Default:* false

Whether or not the asset needs to exist beyond deployment time;

i.e.
are copied over to a different location and not needed afterwards.
Setting this property to true has an impact on the lifecycle of the asset,
because we will assume that it is safe to delete after the CloudFormation
deployment succeeds.

For example, Lambda Function assets are copied over to Lambda during
deployment. Therefore, it is not necessary to store the asset in S3, so
we consider those deployTime assets.

---

##### `displayName`<sup>Optional</sup> <a name="displayName" id="@cdklabs/deploy-time-build.AssetConfig.property.displayName"></a>

```typescript
public readonly displayName: string;
```

- *Type:* string
- *Default:* Stack-relative construct path

A display name for this asset.

If supplied, the display name will be used in locations where the asset
identifier is printed, like in the CLI progress information. If the same
asset is added multiple times, the display name of the first occurrence is
used.

The default is the construct path of the Asset construct, with respect to
the enclosing stack. If the asset is produced by a construct helper
function (such as `lambda.Code.fromAsset()`), this will look like
`MyFunction/Code`.

We use the stack-relative construct path so that in the common case where
you have multiple stacks with the same asset, we won't show something like
`/MyBetaStack/MyFunction/Code` when you are actually deploying to
production.

---

##### `readers`<sup>Optional</sup> <a name="readers" id="@cdklabs/deploy-time-build.AssetConfig.property.readers"></a>

```typescript
public readonly readers: IGrantable[];
```

- *Type:* aws-cdk-lib.aws_iam.IGrantable[]
- *Default:* No principals that can read file asset.

A list of principals that should be able to read this asset from S3.

You can use `asset.grantRead(principal)` to grant read permissions later.

---

##### `sourceKMSKey`<sup>Optional</sup> <a name="sourceKMSKey" id="@cdklabs/deploy-time-build.AssetConfig.property.sourceKMSKey"></a>

```typescript
public readonly sourceKMSKey: IKeyRef;
```

- *Type:* aws-cdk-lib.interfaces.aws_kms.IKeyRef
- *Default:* the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.

The ARN of the KMS key used to encrypt the handler code.

---

##### `path`<sup>Required</sup> <a name="path" id="@cdklabs/deploy-time-build.AssetConfig.property.path"></a>

```typescript
public readonly path: string;
```

- *Type:* string

The disk location of the asset.

The path should refer to one of the following:
- A regular file or a .zip file, in which case the file will be uploaded as-is to S3.
- A directory, in which case it will be archived into a .zip file and uploaded to S3.

---

##### `commands`<sup>Optional</sup> <a name="commands" id="@cdklabs/deploy-time-build.AssetConfig.property.commands"></a>

```typescript
public readonly commands: string[];
```

- *Type:* string[]
- *Default:* No command is executed.

Shell commands executed right after the asset zip is extracted to the build environment.

---

##### `extractPath`<sup>Optional</sup> <a name="extractPath" id="@cdklabs/deploy-time-build.AssetConfig.property.extractPath"></a>

```typescript
public readonly extractPath: string;
```

- *Type:* string
- *Default:* basename of the asset path.

Relative path from a build directory to the directory where the asset is extracted.

---

### ContainerImageBuildProps <a name="ContainerImageBuildProps" id="@cdklabs/deploy-time-build.ContainerImageBuildProps"></a>

#### Initializer <a name="Initializer" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.Initializer"></a>

```typescript
import { ContainerImageBuildProps } from '@cdklabs/deploy-time-build'

const containerImageBuildProps: ContainerImageBuildProps = { ... }
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.exclude">exclude</a></code> | <code>string[]</code> | File paths matching the patterns will be excluded. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.followSymlinks">followSymlinks</a></code> | <code>aws-cdk-lib.SymlinkFollowMode</code> | A strategy for how to handle symlinks. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.ignoreMode">ignoreMode</a></code> | <code>aws-cdk-lib.IgnoreMode</code> | The ignore behavior to use for `exclude` patterns. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.extraHash">extraHash</a></code> | <code>string</code> | Extra information to encode into the fingerprint (e.g. build instructions and other inputs). |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.assetName">assetName</a></code> | <code>string</code> | Unique identifier of the docker image asset and its potential revisions. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.buildArgs">buildArgs</a></code> | <code>{[ key: string ]: string}</code> | Build args to pass to the `docker build` command. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.buildContexts">buildContexts</a></code> | <code>{[ key: string ]: string}</code> | Build contexts to pass to the `docker build` command. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.buildSecrets">buildSecrets</a></code> | <code>{[ key: string ]: string}</code> | Build secrets. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.buildSsh">buildSsh</a></code> | <code>string</code> | SSH agent socket or keys to pass to the `docker build` command. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.cacheDisabled">cacheDisabled</a></code> | <code>boolean</code> | Disable the cache and pass `--no-cache` to the `docker build` command. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.cacheFrom">cacheFrom</a></code> | <code>aws-cdk-lib.aws_ecr_assets.DockerCacheOption[]</code> | Cache from options to pass to the `docker build` command. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.cacheTo">cacheTo</a></code> | <code>aws-cdk-lib.aws_ecr_assets.DockerCacheOption</code> | Cache to options to pass to the `docker build` command. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.displayName">displayName</a></code> | <code>string</code> | A display name for this asset. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.file">file</a></code> | <code>string</code> | Path to the Dockerfile (relative to the directory). |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.invalidation">invalidation</a></code> | <code>aws-cdk-lib.aws_ecr_assets.DockerImageAssetInvalidationOptions</code> | Options to control which parameters are used to invalidate the asset hash. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.networkMode">networkMode</a></code> | <code>aws-cdk-lib.aws_ecr_assets.NetworkMode</code> | Networking mode for the RUN commands during build. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.outputs">outputs</a></code> | <code>string[]</code> | Outputs to pass to the `docker build` command. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.platform">platform</a></code> | <code>aws-cdk-lib.aws_ecr_assets.Platform</code> | Platform to build for. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.target">target</a></code> | <code>string</code> | Docker target to build to. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.directory">directory</a></code> | <code>string</code> | The directory where the Dockerfile is stored. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.repository">repository</a></code> | <code>aws-cdk-lib.aws_ecr.IRepository</code> | The ECR repository to push the image. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.tag">tag</a></code> | <code>string</code> | The tag when to push the image. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.tagPrefix">tagPrefix</a></code> | <code>string</code> | Prefix to add to the image tag. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.vpc">vpc</a></code> | <code>aws-cdk-lib.aws_ec2.IVpc</code> | The VPC where your build job will be deployed. This VPC must have private subnets with NAT Gateways. |
| <code><a href="#@cdklabs/deploy-time-build.ContainerImageBuildProps.property.zstdCompression">zstdCompression</a></code> | <code>boolean</code> | Use zstd for compressing a container image. |

---

##### `exclude`<sup>Optional</sup> <a name="exclude" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.exclude"></a>

```typescript
public readonly exclude: string[];
```

- *Type:* string[]
- *Default:* nothing is excluded

File paths matching the patterns will be excluded.

See `ignoreMode` to set the matching behavior.
Has no effect on Assets bundled using the `bundling` property.

---

##### `followSymlinks`<sup>Optional</sup> <a name="followSymlinks" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.followSymlinks"></a>

```typescript
public readonly followSymlinks: SymlinkFollowMode;
```

- *Type:* aws-cdk-lib.SymlinkFollowMode
- *Default:* SymlinkFollowMode.NEVER

A strategy for how to handle symlinks.

---

##### `ignoreMode`<sup>Optional</sup> <a name="ignoreMode" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.ignoreMode"></a>

```typescript
public readonly ignoreMode: IgnoreMode;
```

- *Type:* aws-cdk-lib.IgnoreMode
- *Default:* IgnoreMode.GLOB

The ignore behavior to use for `exclude` patterns.

---

##### `extraHash`<sup>Optional</sup> <a name="extraHash" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.extraHash"></a>

```typescript
public readonly extraHash: string;
```

- *Type:* string
- *Default:* hash is only based on source content

Extra information to encode into the fingerprint (e.g. build instructions and other inputs).

---

##### `assetName`<sup>Optional</sup> <a name="assetName" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.assetName"></a>

```typescript
public readonly assetName: string;
```

- *Type:* string
- *Default:* no asset name

Unique identifier of the docker image asset and its potential revisions.

Required if using AppScopedStagingSynthesizer.

---

##### `buildArgs`<sup>Optional</sup> <a name="buildArgs" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.buildArgs"></a>

```typescript
public readonly buildArgs: {[ key: string ]: string};
```

- *Type:* {[ key: string ]: string}
- *Default:* no build args are passed

Build args to pass to the `docker build` command.

Since Docker build arguments are resolved before deployment, keys and
values cannot refer to unresolved tokens (such as `lambda.functionArn` or
`queue.queueUrl`).

---

##### `buildContexts`<sup>Optional</sup> <a name="buildContexts" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.buildContexts"></a>

```typescript
public readonly buildContexts: {[ key: string ]: string};
```

- *Type:* {[ key: string ]: string}
- *Default:* no additional build contexts

Build contexts to pass to the `docker build` command.

Build contexts can be used to specify additional directories or images
to use during the build. Each entry specifies a named build context
and its source (a directory path, a URL, or a docker image).

Since Docker build contexts are resolved before deployment, keys and
values cannot refer to unresolved tokens (such as `lambda.functionArn` or
`queue.queueUrl`).

> [https://docs.docker.com/build/building/context/#additional-build-contexts](https://docs.docker.com/build/building/context/#additional-build-contexts)

---

##### `buildSecrets`<sup>Optional</sup> <a name="buildSecrets" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.buildSecrets"></a>

```typescript
public readonly buildSecrets: {[ key: string ]: string};
```

- *Type:* {[ key: string ]: string}
- *Default:* no build secrets

Build secrets.

Docker BuildKit must be enabled to use build secrets.

> [https://docs.docker.com/build/buildkit/](https://docs.docker.com/build/buildkit/)

---

*Example*

```typescript
import { DockerBuildSecret } from 'aws-cdk-lib';

const buildSecrets = {
  'MY_SECRET': DockerBuildSecret.fromSrc('file.txt')
};
```


##### `buildSsh`<sup>Optional</sup> <a name="buildSsh" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.buildSsh"></a>

```typescript
public readonly buildSsh: string;
```

- *Type:* string
- *Default:* no --ssh flag

SSH agent socket or keys to pass to the `docker build` command.

Docker BuildKit must be enabled to use the ssh flag

> [https://docs.docker.com/build/buildkit/](https://docs.docker.com/build/buildkit/)

---

##### `cacheDisabled`<sup>Optional</sup> <a name="cacheDisabled" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.cacheDisabled"></a>

```typescript
public readonly cacheDisabled: boolean;
```

- *Type:* boolean
- *Default:* cache is used

Disable the cache and pass `--no-cache` to the `docker build` command.

---

##### `cacheFrom`<sup>Optional</sup> <a name="cacheFrom" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.cacheFrom"></a>

```typescript
public readonly cacheFrom: DockerCacheOption[];
```

- *Type:* aws-cdk-lib.aws_ecr_assets.DockerCacheOption[]
- *Default:* no cache from options are passed to the build command

Cache from options to pass to the `docker build` command.

> [https://docs.docker.com/build/cache/backends/](https://docs.docker.com/build/cache/backends/)

---

##### `cacheTo`<sup>Optional</sup> <a name="cacheTo" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.cacheTo"></a>

```typescript
public readonly cacheTo: DockerCacheOption;
```

- *Type:* aws-cdk-lib.aws_ecr_assets.DockerCacheOption
- *Default:* no cache to options are passed to the build command

Cache to options to pass to the `docker build` command.

> [https://docs.docker.com/build/cache/backends/](https://docs.docker.com/build/cache/backends/)

---

##### `displayName`<sup>Optional</sup> <a name="displayName" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.displayName"></a>

```typescript
public readonly displayName: string;
```

- *Type:* string
- *Default:* Stack-relative construct path

A display name for this asset.

If supplied, the display name will be used in locations where the asset
identifier is printed, like in the CLI progress information. If the same
asset is added multiple times, the display name of the first occurrence is
used.

If `assetName` is given, it will also be used as the default `displayName`.
Otherwise, the default is the construct path of the ImageAsset construct,
with respect to the enclosing stack. If the asset is produced by a
construct helper function (such as `lambda.Code.fromAssetImage()`), this
will look like `MyFunction/AssetImage`.

We use the stack-relative construct path so that in the common case where
you have multiple stacks with the same asset, we won't show something like
`/MyBetaStack/MyFunction/Code` when you are actually deploying to
production.

---

##### `file`<sup>Optional</sup> <a name="file" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.file"></a>

```typescript
public readonly file: string;
```

- *Type:* string
- *Default:* 'Dockerfile'

Path to the Dockerfile (relative to the directory).

---

##### `invalidation`<sup>Optional</sup> <a name="invalidation" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.invalidation"></a>

```typescript
public readonly invalidation: DockerImageAssetInvalidationOptions;
```

- *Type:* aws-cdk-lib.aws_ecr_assets.DockerImageAssetInvalidationOptions
- *Default:* hash all parameters

Options to control which parameters are used to invalidate the asset hash.

---

##### `networkMode`<sup>Optional</sup> <a name="networkMode" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.networkMode"></a>

```typescript
public readonly networkMode: NetworkMode;
```

- *Type:* aws-cdk-lib.aws_ecr_assets.NetworkMode
- *Default:* no networking mode specified (the default networking mode `NetworkMode.DEFAULT` will be used)

Networking mode for the RUN commands during build.

Support docker API 1.25+.

---

##### `outputs`<sup>Optional</sup> <a name="outputs" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.outputs"></a>

```typescript
public readonly outputs: string[];
```

- *Type:* string[]
- *Default:* no outputs are passed to the build command (default outputs are used)

Outputs to pass to the `docker build` command.

> [https://docs.docker.com/engine/reference/commandline/build/#custom-build-outputs](https://docs.docker.com/engine/reference/commandline/build/#custom-build-outputs)

---

##### `platform`<sup>Optional</sup> <a name="platform" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.platform"></a>

```typescript
public readonly platform: Platform;
```

- *Type:* aws-cdk-lib.aws_ecr_assets.Platform
- *Default:* no platform specified (the current machine architecture will be used)

Platform to build for.

_Requires Docker Buildx_.

---

##### `target`<sup>Optional</sup> <a name="target" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.target"></a>

```typescript
public readonly target: string;
```

- *Type:* string
- *Default:* no target

Docker target to build to.

---

##### `directory`<sup>Required</sup> <a name="directory" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.directory"></a>

```typescript
public readonly directory: string;
```

- *Type:* string

The directory where the Dockerfile is stored.

Any directory inside with a name that matches the CDK output folder (cdk.out by default) will be excluded from the asset

---

##### `repository`<sup>Optional</sup> <a name="repository" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.repository"></a>

```typescript
public readonly repository: IRepository;
```

- *Type:* aws-cdk-lib.aws_ecr.IRepository
- *Default:* create a new ECR repository

The ECR repository to push the image.

---

##### `tag`<sup>Optional</sup> <a name="tag" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.tag"></a>

```typescript
public readonly tag: string;
```

- *Type:* string
- *Default:* use assetHash as tag

The tag when to push the image.

---

##### `tagPrefix`<sup>Optional</sup> <a name="tagPrefix" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.tagPrefix"></a>

```typescript
public readonly tagPrefix: string;
```

- *Type:* string
- *Default:* no prefix

Prefix to add to the image tag.

---

##### `vpc`<sup>Optional</sup> <a name="vpc" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.vpc"></a>

```typescript
public readonly vpc: IVpc;
```

- *Type:* aws-cdk-lib.aws_ec2.IVpc
- *Default:* No VPC used.

The VPC where your build job will be deployed. This VPC must have private subnets with NAT Gateways.

Use this property when you want to control the outbound IP addresses that base images are pulled from.

---

##### `zstdCompression`<sup>Optional</sup> <a name="zstdCompression" id="@cdklabs/deploy-time-build.ContainerImageBuildProps.property.zstdCompression"></a>

```typescript
public readonly zstdCompression: boolean;
```

- *Type:* boolean
- *Default:* false

Use zstd for compressing a container image.

---

### LambdaDockerImageOptions <a name="LambdaDockerImageOptions" id="@cdklabs/deploy-time-build.LambdaDockerImageOptions"></a>

Options for configuring Lambda Docker image code.

#### Initializer <a name="Initializer" id="@cdklabs/deploy-time-build.LambdaDockerImageOptions.Initializer"></a>

```typescript
import { LambdaDockerImageOptions } from '@cdklabs/deploy-time-build'

const lambdaDockerImageOptions: LambdaDockerImageOptions = { ... }
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.LambdaDockerImageOptions.property.cmd">cmd</a></code> | <code>string[]</code> | Specify or override the CMD on the specified Docker image or Dockerfile. |
| <code><a href="#@cdklabs/deploy-time-build.LambdaDockerImageOptions.property.entrypoint">entrypoint</a></code> | <code>string[]</code> | Specify or override the ENTRYPOINT on the specified Docker image or Dockerfile. |
| <code><a href="#@cdklabs/deploy-time-build.LambdaDockerImageOptions.property.workingDirectory">workingDirectory</a></code> | <code>string</code> | Specify or override the WORKDIR on the specified Docker image or Dockerfile. |

---

##### `cmd`<sup>Optional</sup> <a name="cmd" id="@cdklabs/deploy-time-build.LambdaDockerImageOptions.property.cmd"></a>

```typescript
public readonly cmd: string[];
```

- *Type:* string[]
- *Default:* use the CMD specified in the docker image or Dockerfile.

Specify or override the CMD on the specified Docker image or Dockerfile.

This needs to be in the 'exec form', viz., `[ 'executable', 'param1', 'param2' ]`.

> [ <https://docs.docker.com/engine/reference/builder/#cmd>]( <https://docs.docker.com/engine/reference/builder/#cmd>)

---

##### `entrypoint`<sup>Optional</sup> <a name="entrypoint" id="@cdklabs/deploy-time-build.LambdaDockerImageOptions.property.entrypoint"></a>

```typescript
public readonly entrypoint: string[];
```

- *Type:* string[]
- *Default:* use the ENTRYPOINT in the docker image or Dockerfile.

Specify or override the ENTRYPOINT on the specified Docker image or Dockerfile.

An ENTRYPOINT allows you to configure a container that will run as an executable.
This needs to be in the 'exec form', viz., `[ 'executable', 'param1', 'param2' ]`.

> [ <https://docs.docker.com/engine/reference/builder/#entrypoint>]( <https://docs.docker.com/engine/reference/builder/#entrypoint>)

---

##### `workingDirectory`<sup>Optional</sup> <a name="workingDirectory" id="@cdklabs/deploy-time-build.LambdaDockerImageOptions.property.workingDirectory"></a>

```typescript
public readonly workingDirectory: string;
```

- *Type:* string
- *Default:* use the WORKDIR in the docker image or Dockerfile.

Specify or override the WORKDIR on the specified Docker image or Dockerfile.

A WORKDIR allows you to configure the working directory the container will use.

> [ <https://docs.docker.com/engine/reference/builder/#workdir>]( <https://docs.docker.com/engine/reference/builder/#workdir>)

---

### NodejsBuildProps <a name="NodejsBuildProps" id="@cdklabs/deploy-time-build.NodejsBuildProps"></a>

#### Initializer <a name="Initializer" id="@cdklabs/deploy-time-build.NodejsBuildProps.Initializer"></a>

```typescript
import { NodejsBuildProps } from '@cdklabs/deploy-time-build'

const nodejsBuildProps: NodejsBuildProps = { ... }
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.NodejsBuildProps.property.assets">assets</a></code> | <code><a href="#@cdklabs/deploy-time-build.AssetConfig">AssetConfig</a>[]</code> | The AssetProps from which s3-assets are created and copied to the build environment. |
| <code><a href="#@cdklabs/deploy-time-build.NodejsBuildProps.property.destinationBucket">destinationBucket</a></code> | <code>aws-cdk-lib.aws_s3.IBucket</code> | S3 Bucket to which your build artifacts are finally deployed. |
| <code><a href="#@cdklabs/deploy-time-build.NodejsBuildProps.property.nodejsVersion">nodejsVersion</a></code> | <code>number</code> | The version of Node.js to use in a build environment. Available versions: 12, 14, 16, 18, 20, 22, and 24. |
| <code><a href="#@cdklabs/deploy-time-build.NodejsBuildProps.property.outputSourceDirectory">outputSourceDirectory</a></code> | <code>string</code> | Relative path from the working directory to the directory where the build artifacts are output. |
| <code><a href="#@cdklabs/deploy-time-build.NodejsBuildProps.property.buildCommands">buildCommands</a></code> | <code>string[]</code> | Shell commands to build your project. |
| <code><a href="#@cdklabs/deploy-time-build.NodejsBuildProps.property.buildEnvironment">buildEnvironment</a></code> | <code>{[ key: string ]: string}</code> | Environment variables injected to the build environment. |
| <code><a href="#@cdklabs/deploy-time-build.NodejsBuildProps.property.cache">cache</a></code> | <code><a href="#@cdklabs/deploy-time-build.CacheType">CacheType</a></code> | Cache type for the npm cache directory. |
| <code><a href="#@cdklabs/deploy-time-build.NodejsBuildProps.property.computeType">computeType</a></code> | <code>aws-cdk-lib.aws_codebuild.ComputeType</code> | The type of compute to use for this build. |
| <code><a href="#@cdklabs/deploy-time-build.NodejsBuildProps.property.destinationKeyPrefix">destinationKeyPrefix</a></code> | <code>string</code> | Key prefix to deploy your build artifact. |
| <code><a href="#@cdklabs/deploy-time-build.NodejsBuildProps.property.distribution">distribution</a></code> | <code>aws-cdk-lib.aws_cloudfront.IDistribution</code> | The distribution you are using to publish you build artifact. |
| <code><a href="#@cdklabs/deploy-time-build.NodejsBuildProps.property.excludeCommonFiles">excludeCommonFiles</a></code> | <code>boolean</code> | If true, common unnecessary files/directories such as .DS_Store, .git, node_modules, etc are excluded from the assets by default. |
| <code><a href="#@cdklabs/deploy-time-build.NodejsBuildProps.property.outputEnvFile">outputEnvFile</a></code> | <code>boolean</code> | If true, a .env file is uploaded to an S3 bucket with values of `buildEnvironment` property. You can copy it to your local machine by running the command in the stack output. |
| <code><a href="#@cdklabs/deploy-time-build.NodejsBuildProps.property.workingDirectory">workingDirectory</a></code> | <code>string</code> | Relative path from the build directory to the directory where build commands run. |

---

##### `assets`<sup>Required</sup> <a name="assets" id="@cdklabs/deploy-time-build.NodejsBuildProps.property.assets"></a>

```typescript
public readonly assets: AssetConfig[];
```

- *Type:* <a href="#@cdklabs/deploy-time-build.AssetConfig">AssetConfig</a>[]

The AssetProps from which s3-assets are created and copied to the build environment.

---

##### `destinationBucket`<sup>Required</sup> <a name="destinationBucket" id="@cdklabs/deploy-time-build.NodejsBuildProps.property.destinationBucket"></a>

```typescript
public readonly destinationBucket: IBucket;
```

- *Type:* aws-cdk-lib.aws_s3.IBucket

S3 Bucket to which your build artifacts are finally deployed.

---

##### `nodejsVersion`<sup>Required</sup> <a name="nodejsVersion" id="@cdklabs/deploy-time-build.NodejsBuildProps.property.nodejsVersion"></a>

```typescript
public readonly nodejsVersion: number;
```

- *Type:* number

The version of Node.js to use in a build environment. Available versions: 12, 14, 16, 18, 20, 22, and 24.

---

##### `outputSourceDirectory`<sup>Required</sup> <a name="outputSourceDirectory" id="@cdklabs/deploy-time-build.NodejsBuildProps.property.outputSourceDirectory"></a>

```typescript
public readonly outputSourceDirectory: string;
```

- *Type:* string

Relative path from the working directory to the directory where the build artifacts are output.

---

##### `buildCommands`<sup>Optional</sup> <a name="buildCommands" id="@cdklabs/deploy-time-build.NodejsBuildProps.property.buildCommands"></a>

```typescript
public readonly buildCommands: string[];
```

- *Type:* string[]
- *Default:* ['npm run build']

Shell commands to build your project.

They are executed on the working directory you specified.

---

##### `buildEnvironment`<sup>Optional</sup> <a name="buildEnvironment" id="@cdklabs/deploy-time-build.NodejsBuildProps.property.buildEnvironment"></a>

```typescript
public readonly buildEnvironment: {[ key: string ]: string};
```

- *Type:* {[ key: string ]: string}
- *Default:* {}

Environment variables injected to the build environment.

You can use CDK deploy-time values as well as literals.

---

##### `cache`<sup>Optional</sup> <a name="cache" id="@cdklabs/deploy-time-build.NodejsBuildProps.property.cache"></a>

```typescript
public readonly cache: CacheType;
```

- *Type:* <a href="#@cdklabs/deploy-time-build.CacheType">CacheType</a>
- *Default:* No caching

Cache type for the npm cache directory.

---

##### `computeType`<sup>Optional</sup> <a name="computeType" id="@cdklabs/deploy-time-build.NodejsBuildProps.property.computeType"></a>

```typescript
public readonly computeType: ComputeType;
```

- *Type:* aws-cdk-lib.aws_codebuild.ComputeType
- *Default:* ComputeType.SMALL

The type of compute to use for this build.

---

##### `destinationKeyPrefix`<sup>Optional</sup> <a name="destinationKeyPrefix" id="@cdklabs/deploy-time-build.NodejsBuildProps.property.destinationKeyPrefix"></a>

```typescript
public readonly destinationKeyPrefix: string;
```

- *Type:* string
- *Default:* '/'

Key prefix to deploy your build artifact.

---

##### `distribution`<sup>Optional</sup> <a name="distribution" id="@cdklabs/deploy-time-build.NodejsBuildProps.property.distribution"></a>

```typescript
public readonly distribution: IDistribution;
```

- *Type:* aws-cdk-lib.aws_cloudfront.IDistribution
- *Default:* No distribution

The distribution you are using to publish you build artifact.

If any specified, the caches are invalidated on new artifact deployments.

---

##### `excludeCommonFiles`<sup>Optional</sup> <a name="excludeCommonFiles" id="@cdklabs/deploy-time-build.NodejsBuildProps.property.excludeCommonFiles"></a>

```typescript
public readonly excludeCommonFiles: boolean;
```

- *Type:* boolean
- *Default:* true

If true, common unnecessary files/directories such as .DS_Store, .git, node_modules, etc are excluded from the assets by default.

---

##### `outputEnvFile`<sup>Optional</sup> <a name="outputEnvFile" id="@cdklabs/deploy-time-build.NodejsBuildProps.property.outputEnvFile"></a>

```typescript
public readonly outputEnvFile: boolean;
```

- *Type:* boolean
- *Default:* false

If true, a .env file is uploaded to an S3 bucket with values of `buildEnvironment` property. You can copy it to your local machine by running the command in the stack output.

---

##### `workingDirectory`<sup>Optional</sup> <a name="workingDirectory" id="@cdklabs/deploy-time-build.NodejsBuildProps.property.workingDirectory"></a>

```typescript
public readonly workingDirectory: string;
```

- *Type:* string
- *Default:* assetProps[0].extractPath

Relative path from the build directory to the directory where build commands run.

---

### SociIndexBuildProps <a name="SociIndexBuildProps" id="@cdklabs/deploy-time-build.SociIndexBuildProps"></a>

#### Initializer <a name="Initializer" id="@cdklabs/deploy-time-build.SociIndexBuildProps.Initializer"></a>

```typescript
import { SociIndexBuildProps } from '@cdklabs/deploy-time-build'

const sociIndexBuildProps: SociIndexBuildProps = { ... }
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexBuildProps.property.imageTag">imageTag</a></code> | <code>string</code> | The tag of the container image you want to build index for. |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexBuildProps.property.repository">repository</a></code> | <code>aws-cdk-lib.aws_ecr.IRepository</code> | The ECR repository your container image is stored. |

---

##### `imageTag`<sup>Required</sup> <a name="imageTag" id="@cdklabs/deploy-time-build.SociIndexBuildProps.property.imageTag"></a>

```typescript
public readonly imageTag: string;
```

- *Type:* string

The tag of the container image you want to build index for.

---

##### `repository`<sup>Required</sup> <a name="repository" id="@cdklabs/deploy-time-build.SociIndexBuildProps.property.repository"></a>

```typescript
public readonly repository: IRepository;
```

- *Type:* aws-cdk-lib.aws_ecr.IRepository

The ECR repository your container image is stored.

You can only specify a repository in the same environment (account/region).
The index artifact will be uploaded to this repository.

---

### SociIndexV2BuildProps <a name="SociIndexV2BuildProps" id="@cdklabs/deploy-time-build.SociIndexV2BuildProps"></a>

#### Initializer <a name="Initializer" id="@cdklabs/deploy-time-build.SociIndexV2BuildProps.Initializer"></a>

```typescript
import { SociIndexV2BuildProps } from '@cdklabs/deploy-time-build'

const sociIndexV2BuildProps: SociIndexV2BuildProps = { ... }
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexV2BuildProps.property.inputImageTag">inputImageTag</a></code> | <code>string</code> | The tag of the container image you want to build index for. |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexV2BuildProps.property.repository">repository</a></code> | <code>aws-cdk-lib.aws_ecr.IRepository</code> | The ECR repository your container image is stored. |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexV2BuildProps.property.computeType">computeType</a></code> | <code>aws-cdk-lib.aws_codebuild.ComputeType</code> | The compute type to use for the CodeBuild project. |
| <code><a href="#@cdklabs/deploy-time-build.SociIndexV2BuildProps.property.outputImageTag">outputImageTag</a></code> | <code>string</code> | The tag of the output container image embedded with SOCI index. |

---

##### `inputImageTag`<sup>Required</sup> <a name="inputImageTag" id="@cdklabs/deploy-time-build.SociIndexV2BuildProps.property.inputImageTag"></a>

```typescript
public readonly inputImageTag: string;
```

- *Type:* string

The tag of the container image you want to build index for.

---

##### `repository`<sup>Required</sup> <a name="repository" id="@cdklabs/deploy-time-build.SociIndexV2BuildProps.property.repository"></a>

```typescript
public readonly repository: IRepository;
```

- *Type:* aws-cdk-lib.aws_ecr.IRepository

The ECR repository your container image is stored.

You can only specify a repository in the same environment (account/region).
The index artifact will be uploaded to this repository.

---

##### `computeType`<sup>Optional</sup> <a name="computeType" id="@cdklabs/deploy-time-build.SociIndexV2BuildProps.property.computeType"></a>

```typescript
public readonly computeType: ComputeType;
```

- *Type:* aws-cdk-lib.aws_codebuild.ComputeType
- *Default:* ComputeType.SMALL

The compute type to use for the CodeBuild project.

---

##### `outputImageTag`<sup>Optional</sup> <a name="outputImageTag" id="@cdklabs/deploy-time-build.SociIndexV2BuildProps.property.outputImageTag"></a>

```typescript
public readonly outputImageTag: string;
```

- *Type:* string
- *Default:* `${inputImageTag}-soci`

The tag of the output container image embedded with SOCI index.

---



## Enums <a name="Enums" id="Enums"></a>

### CacheType <a name="CacheType" id="@cdklabs/deploy-time-build.CacheType"></a>

Cache type for NodejsBuild.

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.CacheType.S3">S3</a></code> | S3 caching. |
| <code><a href="#@cdklabs/deploy-time-build.CacheType.LOCAL">LOCAL</a></code> | Local caching. |

---

##### `S3` <a name="S3" id="@cdklabs/deploy-time-build.CacheType.S3"></a>

S3 caching.

Stores the npm cache directory in an S3 bucket.
Good for builds that run on different hosts.

---


##### `LOCAL` <a name="LOCAL" id="@cdklabs/deploy-time-build.CacheType.LOCAL"></a>

Local caching.

Stores the npm cache directory on the build host.
Faster than S3 but only effective if builds run on the same host.
Not supported with VPC or certain compute types.

---


### ComputeType <a name="ComputeType" id="@cdklabs/deploy-time-build.ComputeType"></a>

Build machine compute type.

> [https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types)

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#@cdklabs/deploy-time-build.ComputeType.SMALL">SMALL</a></code> | *No description.* |
| <code><a href="#@cdklabs/deploy-time-build.ComputeType.MEDIUM">MEDIUM</a></code> | *No description.* |
| <code><a href="#@cdklabs/deploy-time-build.ComputeType.LARGE">LARGE</a></code> | *No description.* |
| <code><a href="#@cdklabs/deploy-time-build.ComputeType.X_LARGE">X_LARGE</a></code> | *No description.* |
| <code><a href="#@cdklabs/deploy-time-build.ComputeType.X2_LARGE">X2_LARGE</a></code> | *No description.* |
| <code><a href="#@cdklabs/deploy-time-build.ComputeType.LAMBDA_1GB">LAMBDA_1GB</a></code> | *No description.* |
| <code><a href="#@cdklabs/deploy-time-build.ComputeType.LAMBDA_2GB">LAMBDA_2GB</a></code> | *No description.* |
| <code><a href="#@cdklabs/deploy-time-build.ComputeType.LAMBDA_4GB">LAMBDA_4GB</a></code> | *No description.* |
| <code><a href="#@cdklabs/deploy-time-build.ComputeType.LAMBDA_8GB">LAMBDA_8GB</a></code> | *No description.* |
| <code><a href="#@cdklabs/deploy-time-build.ComputeType.LAMBDA_10GB">LAMBDA_10GB</a></code> | *No description.* |
| <code><a href="#@cdklabs/deploy-time-build.ComputeType.ATTRIBUTE_BASED">ATTRIBUTE_BASED</a></code> | *No description.* |
| <code><a href="#@cdklabs/deploy-time-build.ComputeType.CUSTOM_INSTANCE_TYPE">CUSTOM_INSTANCE_TYPE</a></code> | *No description.* |

---

##### `SMALL` <a name="SMALL" id="@cdklabs/deploy-time-build.ComputeType.SMALL"></a>

---


##### `MEDIUM` <a name="MEDIUM" id="@cdklabs/deploy-time-build.ComputeType.MEDIUM"></a>

---


##### `LARGE` <a name="LARGE" id="@cdklabs/deploy-time-build.ComputeType.LARGE"></a>

---


##### `X_LARGE` <a name="X_LARGE" id="@cdklabs/deploy-time-build.ComputeType.X_LARGE"></a>

---


##### `X2_LARGE` <a name="X2_LARGE" id="@cdklabs/deploy-time-build.ComputeType.X2_LARGE"></a>

---


##### `LAMBDA_1GB` <a name="LAMBDA_1GB" id="@cdklabs/deploy-time-build.ComputeType.LAMBDA_1GB"></a>

---


##### `LAMBDA_2GB` <a name="LAMBDA_2GB" id="@cdklabs/deploy-time-build.ComputeType.LAMBDA_2GB"></a>

---


##### `LAMBDA_4GB` <a name="LAMBDA_4GB" id="@cdklabs/deploy-time-build.ComputeType.LAMBDA_4GB"></a>

---


##### `LAMBDA_8GB` <a name="LAMBDA_8GB" id="@cdklabs/deploy-time-build.ComputeType.LAMBDA_8GB"></a>

---


##### `LAMBDA_10GB` <a name="LAMBDA_10GB" id="@cdklabs/deploy-time-build.ComputeType.LAMBDA_10GB"></a>

---


##### `ATTRIBUTE_BASED` <a name="ATTRIBUTE_BASED" id="@cdklabs/deploy-time-build.ComputeType.ATTRIBUTE_BASED"></a>

---


##### `CUSTOM_INSTANCE_TYPE` <a name="CUSTOM_INSTANCE_TYPE" id="@cdklabs/deploy-time-build.ComputeType.CUSTOM_INSTANCE_TYPE"></a>

---

