# ImageRepositoryProperty

Describes a source image repository.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apprunner as apprunner } from 'aws-cdk-lib';
const imageRepositoryProperty: apprunner.CfnService.ImageRepositoryProperty = {
  imageIdentifier: 'imageIdentifier',
  imageRepositoryType: 'imageRepositoryType',

  // the properties below are optional
  imageConfiguration: {
    port: 'port',
    runtimeEnvironmentSecrets: [{
      name: 'name',
      value: 'value',
    }],
    runtimeEnvironmentVariables: [{
      name: 'name',
      value: 'value',
    }],
    startCommand: 'startCommand',
  },
};
```

## Properties

- `imageConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnService.ImageConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_apprunner.CfnService.ImageConfigurationProperty.html) — Configuration for running the identified image.

- `imageIdentifier`: string (required) — The identifier of an image.

  For an image in Amazon Elastic Container Registry (Amazon ECR), this is an image name. For the image name format, see [Pulling an image](https://docs.aws.amazon.com/AmazonECR/latest/userguide/docker-pull-ecr-image.html) in the *Amazon ECR User Guide* .

- `imageRepositoryType`: string (required) — The type of the image repository.

  This reflects the repository provider and whether the repository is private or public.
