# TagParameterContainerImageProps

Properties for `TagParameterContainerImage`.

Used as props by: [TagParameterContainerImage](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.TagParameterContainerImage.html)

- Source: [`aws-ecs/lib/images/tag-parameter-container-image.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-ecs/lib/images/tag-parameter-container-image.ts#L12)
- Type last changed: v2.271.0 · 25 Sep 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const tagParameterContainerImageProps: ecs.TagParameterContainerImageProps = {
  isImageDigest: false,
};
```

Python:

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

tag_parameter_container_image_props = ecs.TagParameterContainerImageProps(
    is_image_digest=False
)
```

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.services.ecs.*;

TagParameterContainerImageProps tagParameterContainerImageProps = TagParameterContainerImageProps.builder()
        .isImageDigest(false)
        .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.AWS.ECS;

var tagParameterContainerImageProps = new TagParameterContainerImageProps {
    IsImageDigest = false
};
```

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"

tagParameterContainerImageProps := &TagParameterContainerImageProps{
	IsImageDigest: jsii.Boolean(false),
}
```

## Properties

- `isImageDigest`: boolean = false — Whether the CloudFormation Parameter holds an image digest (`sha256:...`) rather than a tag.

  When `true`, the separator between the repository URI and the parameter value is `@`
  instead of `:`, producing `ACCOUNT.dkr.ecr.REGION.amazonaws.com/REPO@sha256:...`.

  Use this when your pipeline passes a digest rather than a mutable tag.
