TagParameterContainerImageProps Struct
Properties for TagParameterContainerImage.
| Source | aws-ecs/lib/images/tag-parameter-container-image.ts |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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
};
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
isImageDigestoptionalbooleanis_image_digestoptionalboolisImageDigestoptionalBooleanIsImageDigestoptionalboolIsImageDigestoptional*bool = 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.