interface ContainerImageConfig
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ECS.ContainerImageConfig |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#ContainerImageConfig |
![]() | software.amazon.awscdk.services.ecs.ContainerImageConfig |
![]() | aws_cdk.aws_ecs.ContainerImageConfig |
![]() | aws-cdk-lib » aws_ecs » ContainerImageConfig |
Obtainable from
Asset
.bind()
, Container
.bind()
, Ecr
.bind()
, Repository
.bind()
, Tag
.bind()
The configuration for creating a container image.
Example
// 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
Name | Type | Description |
---|---|---|
image | string | Specifies the name of the container image. |
repository | Repository | Specifies the credentials used to access the image repository. |
imageName
Type:
string
Specifies the name of the container image.
repositoryCredentials?
Type:
Repository
(optional)
Specifies the credentials used to access the image repository.