Skip to content
v2.273.0

ContainerImageConfig Struct ​

The configuration for creating a container image.

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 containerImageConfig: ecs.ContainerImageConfig = {
  imageName: 'imageName',

  // the properties below are optional
  repositoryCredentials: {
    credentialsParameter: 'credentialsParameter',
  },
};

Properties ​

imageNamestringimage_namestrimageNameStringImageNamestringImageName*stringrequired#
Specifies the name of the container image.
Specifies the credentials used to access the image repository.