interface ImageRepositoryProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppRunner.CfnService.ImageRepositoryProperty |
Java | software.amazon.awscdk.services.apprunner.CfnService.ImageRepositoryProperty |
Python | aws_cdk.aws_apprunner.CfnService.ImageRepositoryProperty |
TypeScript | @aws-cdk/aws-apprunner » CfnService » ImageRepositoryProperty |
Describes a source image repository.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as apprunner from '@aws-cdk/aws-apprunner';
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
Name | Type | Description |
---|---|---|
image | string | The identifier of an image. |
image | string | The type of the image repository. |
image | IResolvable | Image | Configuration for running the identified image. |
imageIdentifier
Type:
string
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 in the Amazon ECR User Guide .
imageRepositoryType
Type:
string
The type of the image repository.
This reflects the repository provider and whether the repository is private or public.
imageConfiguration?
Type:
IResolvable
|
Image
(optional)
Configuration for running the identified image.